Type Alias: RuleRefusalCode
@kortexya/reasoninglayer / RuleRefusalCode
Type Alias: RuleRefusalCode
Section titled “Type Alias: RuleRefusalCode”RuleRefusalCode =
"rule_holds_derivations"|"not_a_rule"|"rule_system_owned"|"rule_plugin_owned"|"rule_bootstrap"|"rule_not_found"|string&object
Defined in: src/types/inference.ts:1537
The stable code of a rule-lifecycle refusal (the engine’s RuleRefusalResponse).
Remarks
Section titled “Remarks”rule_holds_derivations— the rule proves materialized conclusions; re-issue withderivations: 'retract'.not_a_rule— the id names a term that is not a rule.rule_system_owned/rule_plugin_owned/rule_bootstrap— the rule is not the tenant’s to change; the plugin or engine lifecycle owns it.rule_not_found— no rule has this id.
The engine can add a code, so any other string is admitted.