Audit-card states
Each audit run on an expert produces (or supersedes) one audit card
per (project, expert) on the Mission Board.
Lifecycle
[brain calls run_expert_audit] → In Progress (sprintState='working')
↓
Audit completes
↙ ↘
Findings exist? No findings
↓ ↓
Review Auto → Done
↓
(Triage via Brainstorm)
↓
All triaged?
↓
Auto → Done
State table
status | sprintState | auditSpec.error | What it means | Dashboard badge |
|---|---|---|---|---|
in_progress | working | — | Audit is running | ⟳ Running… |
in_progress | review | absent | Audit done, has findings | ● Review → |
in_progress | review | present | Audit failed | ⚠ Failed → |
done | absent | — | Clean / all triaged | ✓ Clean |
Severity chip
Audit cards in Review carry a severity chip (e.g. 2 critical · 3 high) that counts findings whose state is open or in-progress.
Disappears when all critical/high findings are triaged.
Triage-progress chip
Audit cards in Review also carry N / M triaged showing how many
findings have been promoted to fix cards or explicitly dismissed.
The card auto-closes when triaged === total.