Skip to main content

DecisionTraceData

Defined in: types.ts:84

Optional typed data for decision trace events. Frameworks can emit these to provide richer decision data than graph inference. SOMA will use these fields if present, falling back to graph-structure inference.

Properties

alternatives?

readonly optional alternatives?: readonly string[]

Defined in: types.ts:88

Other options available


choice

readonly choice: string

Defined in: types.ts:86

What was selected


confidence?

readonly optional confidence?: number

Defined in: types.ts:92

Confidence in the decision (0.0-1.0)


context?

readonly optional context?: Readonly<Record<string, unknown>>

Defined in: types.ts:94

Arbitrary context


outcome?

readonly optional outcome?: string

Defined in: types.ts:96

Decision outcome


rationale?

readonly optional rationale?: string

Defined in: types.ts:90

Why this choice was made