| 28 | export const DECISION_SOURCES: readonly DecisionSource[] = ["user", "skill", "agent"]; |
| 29 | |
| 30 | export interface DecisionEvent { |
| 31 | id: string; |
| 32 | kind: DecisionKind; |
| 33 | decision?: string; |
| 34 | rationale?: string; |
| 35 | alternatives_considered?: string; |
| 36 | /** For supersede/redact: the id of the `decide` event being acted on. */ |
| 37 | supersedes?: string; |
| 38 | scope: DecisionScope; |
| 39 | branch?: string; |
| 40 | issue?: string; |
| 41 | date: string; |
| 42 | session?: string; |
| 43 | source: DecisionSource; |
| 44 | confidence?: number; |
| 45 | } |
| 46 | |
| 47 | export interface ActiveDecision extends DecisionEvent { |
| 48 | kind: "decide"; |
nothing calls this directly
no outgoing calls
no test coverage detected