Skip to main content

Alignment Correction Entity 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 / ALIGNMENT ENTITIES
ALIGNMENT CORRECTION ENTITY ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | Date: 2026-11-03 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/alignment-entities/alignment-correction-entity-ontology.html
Status: Original companion formalisation; the source page's embedded specifications were not retrievable as text.

1. PURPOSE
Represent the detection, selection, authorisation, application, and verification of corrections when an AI system's observed behaviour diverges from legitimate objectives, values, or constraints. Corrections must be auditable, bounded, reversible where feasible, and subject to safety gates.

2. ENTITY DEFINITION
AlignmentCorrectionEntity := (id, target, trigger, evidence, objective, constraint_set, proposed_change, authority, scope, status, evaluation, provenance, version).
A correction is a proposed or executed change to behaviour, policy, model configuration, training process, or operating context. A detected discrepancy is not itself proof that the proposed correction is valid.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: observed inputs, system behaviour, evaluations, and feedback.
R_t: alignment objectives, correction rules, and permitted transformations.
B_t: hard boundaries, safety constraints, authority limits, and rollback conditions.
K_t: provenance, past incidents, uncertainty, model versions, and correction history.
CorrectionState_t = (D_t, C_t, A_t, X_t, Q_t)
D_t: detected deviations; C_t: candidate corrections; A_t: authorisation state;
X_t: applied changes; Q_t: post-change quality and safety evidence.

4. FORMAL FLOW ALGEBRA
E_t = expand(I_t, R_t)
D_t = detect_deviation(E_t, K_t)
C_t = generate_corrections(D_t, R_t, K_t)
V_t = {c in C_t | satisfies(c, B_t) AND supported(c, evidence_t)}
A_t = {c in V_t | authorised(c, authority_t, scope_t)}
c*_t = argmax_{c in A_t} U(c | I_t, R_t, B_t, K_t)
I_{t+1} = apply_and_observe(I_t, c*_t) ONLY IF gate(c*_t) = PASS
K_{t+1} = update(K_t, provenance(c*_t), evaluation(I_{t+1}))
If A_t is empty, abstain, preserve the safe state, and escalate when required.
U must incorporate safety, objective improvement, robustness, reversibility, and uncertainty; no soft score may override a hard boundary.

5. CORRECTION LIFECYCLE
OBSERVE -> DETECT -> EVIDENCE_CHECK -> PROPOSE -> BOUNDARY_CHECK -> AUTHORISE -> TEST -> APPLY -> VERIFY -> RECORD.
Failure at any mandatory gate -> HOLD / ESCALATE / ROLLBACK as appropriate.
Status values: proposed, awaiting_evidence, awaiting_approval, approved, testing, applied, verified, rejected, rolled_back, escalated.

6. ENTITY RELATIONSHIPS
AlignmentCorrectionEntity CORRECTS MisalignmentEntity.
AlignmentCorrectionEntity ADDRESSES GoalConflict or ValueConflict where evidenced.
AlignmentCorrectionEntity CONSTRAINED_BY AlignmentConstraint and SafetyBoundary.
AlignmentCorrectionEntity EVALUATED_BY AlignmentEvaluationEntity.
AlignmentCorrectionEntity AUTHORISED_BY HumanOversightEntity where required.
AlignmentCorrectionEntity IMPLEMENTS AlignmentPolicy and AlignmentRule.
AlignmentCorrectionEntity MAY_TRIGGER SafetyInterventionEntity.
AlignmentCorrectionEntity REFERENCES EvidenceEntity, ModelVersion, and AuditRecord.

7. INFERENCE RULES
R1: observed deviation + credible evidence -> candidate discrepancy; not automatic correction.
R2: candidate correction + violated hard boundary -> reject candidate.
R3: high-impact or irreversible change + absent authority -> hold and escalate.
R4: proposed correction + insufficient evidence -> request evaluation, do not deploy.
R5: authorised correction + successful sandbox tests + passing safety gates -> eligible for controlled application.
R6: post-change regression or new safety violation -> suspend or roll back where technically feasible.
R7: repeated unresolved deviation -> escalate for policy, objective, or model review.
R8: conflicting objectives without an authorised priority rule -> do not silently resolve conflict.

8. MINI RECURSION ENGINE
function CORRECT(S_t, depth, max_depth):
  if depth >= max_depth: return HOLD("recursion limit")
  deviations = detect_deviation(expand(S_t.I, S_t.R), S_t.K)
  if deviations is empty: return VERIFIED_NO_CHANGE
  candidates = generate_corrections(deviations, S_t.R, S_t.K)
  admissible = filter_authorised_and_safe(candidates, S_t.B)
  if admissible is empty: return ESCALATE
  chosen = select_best_supported(admissible)
  outcome = controlled_test_and_apply(chosen)
  if outcome fails: return ROLLBACK_OR_HOLD
  next_state = update_state(S_t, outcome)
  if verified(next_state): return VERIFIED
  return CORRECT(next_state, depth + 1, max_depth)
This is an abstract specification, not executable code or a guarantee of safety.

9. TRI-MAPPING
Semantic: deviation, evidence, correction, authority, outcome.
Structural: entities, typed edges, constraints, lifecycle states, provenance.
Operational: detect -> validate -> propose -> authorise -> test -> apply -> verify.

10. MAPPING TABLE
Input evidence       | ObservationEntity / EvaluationEntity | Detection input
Detected discrepancy | MisalignmentEntity                    | Correction trigger
Candidate change      | AlignmentCorrectionEntity             | Proposed action
Hard restriction      | AlignmentConstraint / SafetyBoundary  | Rejection gate
Human authorisation   | HumanOversightEntity                  | Approval gate
Test result           | AlignmentEvaluationEntity             | Validation evidence
Applied change        | ModelVersion / PolicyVersion          | Versioned transition
Outcome log           | AuditRecord                           | Traceability

11. EXECUTION CONDITIONS AND GUARANTEE
Preconditions: evidence integrity, explicit scope, applicable policy, known authority, bounded test plan, and a recovery route where feasible.
Invariants: hard constraints remain binding; unauthorised actions are not executed; all material changes are recorded; failed verification does not count as success.
Conditional guarantee: IF the specified checks are correctly implemented and pass, the process yields an auditable, policy-admissible correction transition. It does NOT guarantee global alignment, absence of unknown hazards, or correctness of incomplete evidence.

12. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.alignment.alignment-correction-entity.v1
TITLE: Alignment Correction Entity Ontology — Flow Algebra
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/alignment-entities/alignment-correction-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/alignment-entities/alignment-correction-entity-ontology.html
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
PURPOSE: Formalise evidence-based, authorised, bounded alignment correction.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: AlignmentCorrectionEntity, MisalignmentEntity, AlignmentObjective, AlignmentConstraint, AlignmentPolicy, HumanOversightEntity, AlignmentEvaluationEntity, AuditRecord.
PATHWAYS: observe > detect > validate > propose > gate > authorise > test > apply > verify > record.
MINI_RECURSION_ENGINE: bounded correction loop with escalation and rollback.
INFERENCE_RULES: R1-R8 above.
CONFIDENCE: conceptual formalisation; implementation-dependent; no empirical safety claim.
SEMANTIC_EQUIVALENCE: corrective alignment action; alignment remediation; policy-compliant behaviour correction.
FLOW_HASH: compute SHA-256 from final published TXT bytes; not pre-populated.
UPDATE_MODEL: version on ontology, policy, evidence, or evaluation changes; preserve prior audit history.

13. HOW TO READ
Read the entity definition as the schema, the state model as the available context, the algebra as admissible transitions, the inference rules as constraints on interpretation, and the execution conditions as prerequisites rather than an unconditional promise.

14. TEXT DIAGRAM
[Observed behaviour] -> [Deviation evidence] -> [Candidate correction]
                                               -> [Safety + policy gates]
                                               -> [Authority + controlled test]
                                               -> [Apply] -> [Verify] -> [Audit]
                                     [Gate fails] -> [Hold / Escalate]
                                   [Test fails] -> [Reject / Roll back]

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