Interface: BulkAddRulesResponse
@kortexya/reasoninglayer / BulkAddRulesResponse
Interface: BulkAddRulesResponse
Section titled “Interface: BulkAddRulesResponse”Defined in: src/types/inference.ts:1234
Response from bulk-adding rules.
Remarks
Section titled “Remarks”The engine answers 201 even when it wrote NOTHING. A non-empty
rejected means the write was PARTIAL: rulesAdded plus
rejected.length equals the number of rules submitted.
Properties
Section titled “Properties”rejected?
Section titled “rejected?”
optionalrejected?:RejectedBulkItem[]
Defined in: src/types/inference.ts:1245
The rules the engine refused and did NOT write, each with its index in the request and the reason — a guard that cannot compare, nested negation, a variable no positive antecedent binds, or a NEW cycle through negation. Absent when every rule was accepted.
rulesAdded
Section titled “rulesAdded”rulesAdded:
number
Defined in: src/types/inference.ts:1238
Number of rules added.
ruleTermIds
Section titled “ruleTermIds”ruleTermIds:
string[]
Defined in: src/types/inference.ts:1236
Created rule term IDs, one per ACCEPTED rule.