MCPcopy
hub / github.com/garrytan/gstack / DecisionEvent

Interface DecisionEvent

lib/gstack-decision.ts:30–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28export const DECISION_SOURCES: readonly DecisionSource[] = ["user", "skill", "agent"];
29
30export 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
47export interface ActiveDecision extends DecisionEvent {
48 kind: "decide";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected