Skip to content

Interface: ConformanceRepairResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConformanceRepairResponse

Defined in: src/types/conformance.ts:239

Response from a conformance repair pass.

applied + rolledBack + residuated accounts for every one of the totalViolations detected. records carries the per-violation disposition in the detector’s deterministic order.

const result = await client.conformance.repair({ format: 'turtle', ontology });
console.log(`${result.applied} repaired, ${result.residuated} left for review`);

applied: number

Defined in: src/types/conformance.ts:243

Violations whose swap was applied and verified sound.


durabilityFailures: string[]

Defined in: src/types/conformance.ts:257

Repairs applied in memory but not persisted. Each entry names a term whose applied correction reached only the engine process’s resident store: the term routes still answer that term’s pre-repair state, and the next hydration undoes the correction. Empty on a clean pass — show a non-empty list as “applied but not saved”.


records: CorrectionRecordDto[]

Defined in: src/types/conformance.ts:249

One record per detected violation, in the detector’s deterministic order.


residuated: number

Defined in: src/types/conformance.ts:247

Violations left residuated for the LLM/human layer.


rolledBack: number

Defined in: src/types/conformance.ts:245

Violations whose swap was reversed (would have been unsound).


totalViolations: number

Defined in: src/types/conformance.ts:241

Total number of violations detected.