Skip to content

Interface: RuleProofStep

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleProofStep

Defined in: src/types/document-check.ts:65

One step of a KB rule’s proof trace, as carried by a rule_violation CheckFinding.

The trace is a flat, ordered list of these steps, from the first reasoning step to the verdict.

confidence: number

Defined in: src/types/document-check.ts:71

Confidence at this step (0.0-1.0).


description: string

Defined in: src/types/document-check.ts:69

Human-readable description of the step.


optional ruleUsed?: string | null

Defined in: src/types/document-check.ts:73

The rule or fact the step used, when it used one.


stepType: string

Defined in: src/types/document-check.ts:67

Step type (e.g. backward_chain, unification, fact_match).