Skip to main content

Constitutional Rule Ontology

Alignment Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE / ENTITY GRAPH / ALIGNMENT ENTITIES
CONSTITUTIONAL RULE ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 2026-11-03 | Language: en-GB
Authors: Mark Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/alignment-entities/constitutional-rule-ontology.html
Status: Original companion formalisation; source page's complete embedded specification has not been verified.
Licence: Open research use; citation requested to the source and authors.

1. PURPOSE
Represent a constitutional rule as a versioned, scoped, auditable normative constraint that guides AI candidate selection, evaluation, revision and escalation. A constitutional rule is not a guarantee of real-world safety or legal compliance.

2. ENTITY DEFINITION
ConstitutionalRule = (id, version, principle, scope, applicability, obligation, priority, authority, exceptions, evidence, provenance, status).
Related entities: AlignmentPolicy, AlignmentObjective, EthicalPrinciple, HumanValue, BehaviouralConstraint, SafetyRule, PreferenceEntity, HumanOversightEntity, EvaluationRecord, Decision, Action, Context.
Relations: governs(rule, action); derived_from(rule, principle); applies_to(rule, context); conflicts_with(rule, rule); evaluated_by(rule, evaluation); overridden_by(rule, authorised_decision).

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input, task, context and candidate actions.
R_t: constitutional rules and precedence relationships.
B_t: boundaries, prohibitions, permissions and oversight gates.
K_t: known facts, provenance, uncertainty and audit history.
RuleState_t = (active_rules, candidate, applicability, compliance, conflicts, escalation, decision).

4. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
A_t = {r in R_t | applicable(r, I_t) = true}
V_t = {x in E_t | for every hard rule r in A_t, satisfies(x,r) = true}
If V_t is non-empty:
  x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t) * U(x)
If V_t is empty or applicability cannot be established:
  x*_t = defer_or_escalate(I_t, A_t, K_t)
I_{t+1} = update(I_t, x*_t, feedback_t)
K_{t+1} = K_t union {evaluation_t, provenance_t, decision_t}
Note: U is an explicitly specified objective; probability and utility are not interchangeable. Undefined scores must not be invented.

5. RULE EVALUATION
For each candidate x and applicable rule r:
  evaluate(r,x,context) -> PASS | FAIL | UNKNOWN | CONFLICT
PASS: supported compliance evidence.
FAIL: evidenced breach of a rule.
UNKNOWN: insufficient evidence or ambiguous scope.
CONFLICT: incompatible applicable rules requiring precedence resolution or human review.
Hard-rule FAIL excludes the candidate. UNKNOWN or unresolved CONFLICT blocks automatic approval where the rule is safety-critical.

6. INFERENCE RULES
R1: active(r) AND applicable(r,c) -> assess(r,c).
R2: assess(r,c)=FAIL AND hard(r) -> reject(c).
R3: assess(r,c)=UNKNOWN AND critical(r) -> defer(c).
R4: conflict(r1,r2) AND no_valid_precedence -> escalate(c).
R5: exception(r,c) AND authorised(exception) AND in_scope(exception,c) -> record_exception(c).
R6: approved(c) -> retain evaluation, rule versions and evidence.
R7: changed(rule_version) -> invalidate affected cached evaluations and re-evaluate.

7. MINI RECURSION ENGINE
INPUT: context c, candidates C, rules R, depth limit d_max.
FOR d = 0 ... d_max:
  select applicable rules with recorded scope and versions;
  evaluate every candidate against hard rules;
  remove evidenced violations;
  if no candidate remains: return DEFER/ESCALATE;
  if uncertainty or conflict is material: request review or evidence;
  rank permitted candidates against soft objectives;
  if one candidate meets acceptance conditions: return APPROVED with trace;
  otherwise revise candidates using feedback and repeat.
STOP when approved, rejected, escalated, or depth/time limit reached.
Never silently treat UNKNOWN as PASS.

8. TRI-MAPPING
Semantic: ConstitutionalRule -> norm, purpose, scope, provenance.
Structural: ConstitutionalRule -> predicates, priorities, constraints, links.
Operational: ConstitutionalRule -> applicability check -> evaluation -> gate -> decision -> audit.

9. MAPPING TABLE
Entity                  Input                       Output
ConstitutionalRule      principle, scope, version   enforceable predicate
RuleApplicability       rule, context               true/false/unknown
RuleEvaluation          predicate, candidate        pass/fail/unknown/conflict
ConflictResolver        applicable rules            precedence or escalation
OversightGate           uncertain/exceptional case  authorised decision
AuditRecord             all evaluations             reproducible trace

10. EXECUTION CONDITIONS / CONDITIONAL GUARANTEE
An automatic approval is valid only if: rule versions are known; scope is resolved; all applicable hard rules pass; no unresolved critical conflicts exist; required human authorisation is present; and evidence is retained. This is a conditional software-workflow guarantee, not a guarantee of ethical correctness or complete hazard detection.

11. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.alignment.constitutional-rule.v1
ENTITY: Constitutional Rule
ALIASES: AI constitution rule; normative AI rule; constitutional constraint
INTENT: define, evaluate, trace, compare and audit constitutional rules
INPUTS: task, context, candidate, policy, rule versions, evidence
PATHWAY: identify -> scope -> evaluate -> filter -> resolve -> approve/defer -> audit
OUTPUTS: decision, rule trace, evidence, uncertainty, escalation
SEMANTIC_EQUIVALENCE: constitutional rule != legal statute; soft preference != hard prohibition
CONFIDENCE: derived from evidence quality, applicability certainty and rule coverage; not an uncalibrated numeric claim
UPDATE_MODEL: version changes trigger re-evaluation and provenance updates
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/alignment-entities/constitutional-rule-ontology.html

12. EXAMPLE
Rule C1: Do not disclose private account credentials.
Candidate A: publish credentials -> FAIL -> reject.
Candidate B: provide general account-security guidance -> PASS if all other rules permit.
Candidate C: ambiguous disclosure request -> UNKNOWN -> clarify or defer.

13. HOW TO READ
S is the current system state. expand generates candidate responses. Applicable rules restrict the candidate set. The validator excludes prohibited actions. The selector chooses among permitted options. The update step records feedback and provenance. The recursion loop repeats only while bounded and justified.

14. FLOW DIAGRAM
Input -> Context -> Applicable constitutional rules -> Candidate generation
     -> Rule evaluation -> [PASS / FAIL / UNKNOWN / CONFLICT]
     -> [Select / Reject / Defer / Escalate] -> Audit -> State update

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ