How mahesh-mettireddy/triagepilot works
TriagePilot is an incident-analysis and evidence-verification product: an analyst submits a ticket, the engine gathers operational and code evidence, verifies citations, grades trust, and produces a verdict and next check for review. Its documented capabilities also include live transfer-app telemetry, parallel specialists, A2A delegation, SSE activity, revision-aware audit persistence, and evaluation. The transfer applications are target systems investigated by the product, not its primary workflow. Some API and engine modules were not excerpted; links to them rely on README statements or SOURCE INDEX references rather than direct source inspection.
Main entry points: orchestrator.py Investigation orchestrator · main.py HTTP API · live_adapter.py Live telemetry adapter · CockpitScreen.tsx Investigation cockpit
Components 24
Analyst experience
- Investigation cockpit
ui/src/screens/CockpitScreen.tsx - UI API client
ui/src/api.ts - Evaluation screen
ui/src/screens/EvalScreen.tsx - Architecture screen
ui/src/screens/ArchitectureScreen.tsx
Triage engine
- Investigation orchestrator
engine/orchestrator.py - Privacy masking
engine/masking.py - Intake and routing
engine/planner.py - Specialist swarm
engine/agents/specialists.py - Investigation data models
engine/schemas.py - Verdict synthesis
engine/agents/report_agent.py
Evidence sources
- Evidence source ports
engine/ports/base.py - Fixture evidence adapter
engine/adapters/fixture_adapter.py - Live telemetry adapter
engine/adapters/live_adapter.py - Transfer target application
transfers-demo-app/app
Verification and state
- Citation verifier
engine/verifier.py - Trust gate
engine/trust.py - Next-check selector
engine/next_check.py - Investigation persistence
engine/persistence.py - Hash-chain audit
engine/audit.py
Interfaces and evaluation
- HTTP API
api/main.py - Activity stream
api/sse.py - A2A delegation
api/a2a.py - Evaluation suite
eval/runner.py
Other components
- Incident analyst
Connections 28
- Incident analyst → Investigation cockpit: submits incident
- Investigation cockpit → UI API client: requests analysis
ui/src/App.tsx - UI API client → HTTP API: calls endpoints
- HTTP API → Investigation orchestrator: starts investigation
- Investigation orchestrator → Privacy masking: masks intake
engine/orchestrator.py - Investigation orchestrator → Intake and routing: routes ticket
engine/orchestrator.py - Investigation orchestrator → Specialist swarm: runs specialists
engine/orchestrator.py - Specialist swarm → Evidence source ports: queries evidence
engine/agents/specialists.py - Fixture evidence adapter → Evidence source ports: implements ports
- Live telemetry adapter → Evidence source ports: implements ports
engine/adapters/live_adapter.py - Live telemetry adapter → Transfer target application: executes requests
- Investigation orchestrator → Fixture evidence adapter: selects fixtures
engine/orchestrator.py - Investigation orchestrator → Live telemetry adapter: selects live data
engine/orchestrator.py - Investigation orchestrator → Citation verifier: verifies citations
engine/orchestrator.py - Investigation orchestrator → Trust gate: grades evidence
engine/orchestrator.py - Investigation orchestrator → Next-check selector: selects next check
- Investigation orchestrator → Verdict synthesis: synthesizes verdict
engine/orchestrator.py - Investigation orchestrator → Investigation persistence: persists state
engine/orchestrator.py - Investigation orchestrator → Hash-chain audit: seals transitions
engine/orchestrator.py - Investigation orchestrator → Investigation data models: uses models
engine/orchestrator.py - HTTP API → Activity stream: streams activity
- Incident analyst → A2A delegation: delegates task
- A2A delegation → Investigation orchestrator: delegates investigation
- Evaluation screen → Evaluation suite: runs benchmarks
- Incident analyst → Evaluation screen: reviews benchmarks
- Incident analyst → Architecture screen: views architecture
- Investigation orchestrator → Activity stream: emits events
- Verdict synthesis → Investigation cockpit: shows verdict