Skip to content

Interface: ProofTraceNodeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ProofTraceNodeDto

Defined in: src/types/conversation.ts:343

A proof trace node for backward chaining derivation trees.

optional children?: ProofTraceNodeDto[]

Defined in: src/types/conversation.ts:365

Child nodes in the proof tree.


optional confidence?: number

Defined in: src/types/conversation.ts:355

Optional confidence score.


optional detail?: string

Defined in: src/types/conversation.ts:351

Optional detail text.


id: string

Defined in: src/types/conversation.ts:345

Unique node ID.


label: string

Defined in: src/types/conversation.ts:347

Display label for the node.


nodeType: string

Defined in: src/types/conversation.ts:349

Node type (e.g., “goal”, “rule”, “fact”).


optional rule?: string

Defined in: src/types/conversation.ts:353

Optional rule name/ID used at this step.


optional substitutions?: Record<string, string>

Defined in: src/types/conversation.ts:363

Variable bindings applied at this step, keyed by variable name.

The keys are the variable names as the proof writes them (?X, Person), passed verbatim — they are data, not schema, and are never re-cased.