Skip to content

Interface: RuleValidationResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RuleValidationResponse

Defined in: src/types/inference.ts:1195

What addRule would do with a rule — answered without writing it.

ok: boolean

Defined in: src/types/inference.ts:1197

true exactly when addRule would accept the rule.


refusals: RuleIssue[]

Defined in: src/types/inference.ts:1199

Why the write would refuse it — empty when ok.


optional rule?: PsiTermDto | null

Defined in: src/types/inference.ts:1206

The rule as the write would build it. Its term ids are scratch ids unless rule ids are content-addressed on the engine.


warnings: RuleIssue[]

Defined in: src/types/inference.ts:1201

What the write accepts but the program may not mean (NAF safety).