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-15 03:36:25 +00:00
|
|
|
{"rustc":9435880562281667341,"features":"[]","declared_features":"[]","target":2977321560937920362,"profile":2241668132362809309,"path":6590470600879548928,"deps":[[2448563160050429386,"thiserror",false,12306110916211109163],[2833517083345470495,"os_pipe",false,6984012452369814981],[10445267863358847064,"open",false,7297054197791545983],[10630857666389190470,"log",false,5933974529767802847],[11968910597431257436,"build_script_build",false,413071172551440467],[13298363700532491723,"tokio",false,15662614361045245662],[13548984313718623784,"serde",false,535738971094763500],[13795362694956882968,"serde_json",false,13758373779650404829],[14261240476176424521,"tauri",false,17787493014070117887],[14564311161534545801,"encoding_rs",false,12166840375887044845],[15722096100444777195,"shared_child",false,1374493719014255942],[17109794424245468765,"regex",false,11446939082009847678]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tauri-plugin-shell-0b97e1c6576d5b1e/dep-lib-tauri_plugin_shell","checksum":false}}],"rustflags":[],"config":8247474407144887393,"compile_kind":0}
|