Skip to content

Interface: ProofTraceNodeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ProofTraceNodeDto

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

A proof trace node for backward chaining derivation trees.

optional children?: ProofTraceNodeDto[]

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

Child nodes in the proof tree.


optional confidence?: number

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

Optional confidence score.


optional detail?: string

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

Optional detail text.


id: string

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

Unique node ID.


label: string

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

Display label for the node.


nodeType: string

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

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


optional rule?: string

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

Optional rule name/ID used at this step.


optional substitutions?: Record<string, string>

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

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.