Commit Graph

196 Commits

Author SHA1 Message Date
Shaun Arman
d66934cdf0 fix: remove arm64 from release pipeline — webkit2gtk multiarch conflict on x86_64 host
Cross-compiling webkit2gtk-4.1-dev for arm64 from x86_64 fails due to
held broken packages. arm64 requires native arm64 CI runner.
amd64 release artifacts still upload correctly.
2026-03-15 17:46:54 -05:00
Shaun Arman
076cebb326 Merge branch 'fix/arm64-cross-compile' of sarman/tftsr-devops_investigation into master 2026-03-15 22:29:50 +00:00
Shaun Arman
4dc4b5aed1 fix: arm64 cross-compilation — add multiarch pkg-config sysroot setup
- dpkg --add-architecture arm64 + install arm64 lib variants
- Set PKG_CONFIG_ALLOW_CROSS, PKG_CONFIG_PATH, PKG_CONFIG_SYSROOT_DIR
- Upload step now handles missing arm64 artifacts gracefully
2026-03-15 17:28:53 -05:00
Shaun Arman
79a20001d0 Merge branch 'fix/tauri-ci-env' of sarman/tftsr-devops_investigation into master 2026-03-15 21:51:25 +00:00
Shaun Arman
1bf0a6b111 ci: re-trigger test pipeline for PR review 2026-03-15 16:35:24 -05:00
Shaun Arman
bf7f14b387 fix: set CI=true for cargo tauri build — Woodpecker sets CI=woodpecker which Tauri CLI rejects 2026-03-15 16:34:04 -05:00
Shaun Arman
77fa044c98 Merge branch 'sarman/cicd' of sarman/tftsr-devops_investigation into master 2026-03-15 20:58:59 +00:00
Shaun Arman
7a9a350beb ci: test agent after cleanup 2026-03-15 15:54:16 -05:00
Shaun Arman
36a4a5711a chore: update CI status timestamp — resolves PR conflict via rebase on master 2026-03-15 15:50:49 -05:00
Shaun Arman
a64b6c4798 Merge branch 'fix/release-tag-clone' of sarman/tftsr-devops_investigation into master 2026-03-15 20:29:44 +00:00
Shaun Arman
a7e3a7cd91 fix: use alpine/git with explicit checkout for tag-based release builds
woodpeckerci/plugin-git:latest uses 'git switch' which fails on tag refs.
Switch to alpine/git with explicit git fetch + checkout commands.

Fixes: 'fatal: invalid reference: refs/tags/v*' in release pipeline.
2026-03-15 15:19:43 -05:00
Shaun Arman
06a77fbe95 ci: fix release.yml for Woodpecker 0.15.4 (pipeline: map format, rust 1.88, npm ci fix, clone override) 2026-03-15 15:07:52 -05:00
Shaun Arman
6d749f101a docs: update PLAN.md - Phase 11 complete, redact token references 2026-03-15 15:00:16 -05:00
Shaun Arman
e88d289118 ci: use npm ci --legacy-peer-deps for vite6/vitest peer dep conflict 2026-03-15 14:39:43 -05:00
Shaun Arman
171bac86e5 ci: remove wiki-sync step (incompatible with Woodpecker 0.15.4 secrets syntax) 2026-03-15 14:23:21 -05:00
Shaun Arman
cf41e0d0cb ci: trigger build after Woodpecker restart with new token 2026-03-15 14:19:46 -05:00
Shaun Arman
2915accfd9 ci: verify CI pipeline triggers after token rotation and webhook refresh 2026-03-15 14:17:18 -05:00
Shaun Arman
e62916d0dd ci: verify pipeline after security token rotation 2026-03-15 14:13:46 -05:00
Shaun Arman
362687ad00 security: rotate exposed token, redact from PLAN.md, add secret patterns to .gitignore 2026-03-15 14:04:49 -05:00
Shaun Arman
4a5e70236a fix: retain GPU-VRAM-eligible models in recommender even when RAM is low 2026-03-15 13:48:46 -05:00
Shaun Arman
52f464d8bd docs: add wiki source files and CI auto-sync pipeline
- Add docs/wiki/ with 11 wiki pages (Home, Architecture, Database,
  AI-Providers, PII-Detection, IPC-Commands, CICD-Pipeline,
  Security-Model, Integrations, Development-Setup, Troubleshooting)
- Add wiki-sync step to .woodpecker/test.yml: syncs docs/wiki/*.md to
  the Gogs wiki git repo on every push to master
- Add Wiki Maintenance section to CLAUDE.md: code→wiki file mapping
  so Claude and contributors know which wiki page to update per change

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 13:45:30 -05:00
Shaun Arman
808500b7bd fix: inline format args for Rust 1.88 clippy compatibility 2026-03-15 13:28:59 -05:00
Shaun Arman
5198b6c636 fix: resolve all clippy lints (uninlined format args, range::contains, push_str single chars) 2026-03-15 13:10:26 -05:00
Shaun Arman
b7c49abc4d ci: bump Rust to 1.88-slim (min required by cookie_store, time, darling) 2026-03-15 12:58:28 -05:00
Shaun Arman
d8d012b4dc ci: bump Rust to 1.85-slim for edition 2024 support 2026-03-15 12:51:59 -05:00
Shaun Arman
c8a717adee style: apply cargo fmt formatting 2026-03-15 12:43:46 -05:00
Shaun Arman
1011fc1db4 ci: re-trigger after making repo public 2026-03-15 12:40:36 -05:00
Shaun Arman
b7830fc0c7 ci: re-trigger after enabling repo_trusted 2026-03-15 12:39:14 -05:00
Shaun Arman
f2d578533a ci: put clone step on gogs_default network for hostname resolution 2026-03-15 12:38:08 -05:00
Shaun Arman
11d2ee12fd ci: use host IP for clone URL (step containers can't resolve gogs_app) 2026-03-15 12:33:39 -05:00
Shaun Arman
9bb27ab370 ci: use CI_REPO_CLONE_URL override for plugin-git 2026-03-15 12:32:52 -05:00
Shaun Arman
ba54695793 ci: override clone URL — fix empty DRONE_REMOTE_URL from Gogs 0.14 hook payload 2026-03-15 12:30:46 -05:00
Shaun Arman
d4f4b9d4c7 ci: capture payload v2 2026-03-15 12:10:12 -05:00
Shaun Arman
0194045286 ci: capture webhook payload 2026-03-15 12:06:28 -05:00
Shaun Arman
92f2be64c8 ci: convert test.yml to Woodpecker 0.15.4 pipeline: map format 2026-03-15 12:02:17 -05:00
Shaun Arman
fa0df9cbde ci: test pipeline trigger with single-file config path 2026-03-15 11:57:48 -05:00
Shaun Arman
4475261fa8 ci: test CI trigger after webhook fix 2026-03-15 11:52:08 -05:00
Shaun Arman
7e549545f6 docs: add CLAUDE.md with development guidance
Covers build/test/lint commands, Rust backend and frontend
architecture, key patterns (IssueDetail nesting, rusqlite
lifetime workaround, PII overlap resolution, AI provider factory),
and Woodpecker CI + Gogs compatibility notes.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 00:29:34 -05:00
Shaun Arman
47b7fefc91 docs: update PLAN.md with accurate implementation status
Mark Phases 1-10 complete. Document Woodpecker CI integration
progress and known issues with Gogs 0.14 / Woodpecker 0.15.4
compatibility. Add gotchas section for token auth and DB types.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 00:26:05 -05:00
Shaun Arman
7a972b05d7 ci: verify webhook with token in URL
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 23:41:14 -05:00
Shaun Arman
5733362c06 ci: clean up test file, verify CI pipeline active
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 23:39:44 -05:00
Shaun Arman
d8fd7ce5be ci: test Woodpecker CI build trigger
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 23:36:17 -05:00
Shaun Arman
8e47949114 ci: remove ci test file (webhook is working)
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 23:09:46 -05:00
Shaun Arman
a96038fec0 ci: trigger initial Woodpecker CI test build
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 23:08:25 -05:00
Shaun Arman
9c29b5a766 chore: remove node_modules from version control
node_modules/ was accidentally included in the initial commit because
.gitignore was created after git add had already staged those files.
Run `npm install` after cloning.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:37:18 -05:00
Shaun Arman
8839075805 feat: initial implementation of TFTSR IT Triage & RCA application
Implements Phases 1-8 of the TFTSR implementation plan.

Rust backend (Tauri 2.x, src-tauri/):
- Multi-provider AI: OpenAI-compatible, Anthropic, Gemini, Mistral, Ollama
- PII detection engine: 11 regex patterns with overlap resolution
- SQLCipher AES-256 encrypted database with 10 versioned migrations
- 28 Tauri IPC commands for triage, analysis, document, and system ops
- Ollama: hardware probe, model recommendations, pull/delete with events
- RCA and blameless post-mortem Markdown document generators
- PDF export via printpdf
- Audit log: SHA-256 hash of every external data send
- Integration stubs for Confluence, ServiceNow, Azure DevOps (v0.2)

Frontend (React 18 + TypeScript + Vite, src/):
- 9 pages: full triage workflow NewIssue→LogUpload→Triage→Resolution→RCA→Postmortem→History+Settings
- 7 components: ChatWindow, TriageProgress, PiiDiffViewer, DocEditor, HardwareReport, ModelSelector, UI primitives
- 3 Zustand stores: session, settings (persisted), history
- Type-safe tauriCommands.ts matching Rust backend types exactly
- 8 IT domain system prompts (Linux, Windows, Network, K8s, DB, Virt, HW, Obs)

DevOps:
- .woodpecker/test.yml: rustfmt, clippy, cargo test, tsc, vitest on every push
- .woodpecker/release.yml: linux/amd64 + linux/arm64 builds, Gogs release upload

Verified:
- cargo check: zero errors
- tsc --noEmit: zero errors
- vitest run: 13/13 unit tests passing

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:36:25 -05:00