Commit Graph

73 Commits

Author SHA1 Message Date
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