Skip to main content

AI Entity Update Ontology

AI Semantic Library Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI ENTITY UPDATE — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Semantic Library Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Prepared: 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-semantic-library-entities/ai-entity-update-ontology.html
Status: Companion formalisation; not a verbatim transcription of hidden page specifications.

01. PURPOSE
Represent a controlled, evidence-backed change to an existing semantic entity while preserving canonical identity, provenance, version history, and graph consistency.

02. HST STATE
S_t = (I_t, R_t, B_t, K_t)
I_t: entity identity, attributes, and observed inputs.
R_t: update and inference rules.
B_t: permissions, invariants, temporal and semantic boundaries.
K_t: validated knowledge, provenance, and version history.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t) only after validation and authorised commit.

03. ENTITY MODEL
Update U = (update_id, entity_id, base_version, patch, reason, actor, evidence, timestamp, policy, status).
Entity E = (canonical_id, type, attributes, relations, version, provenance, validity).
Patch = ordered set of typed operations: add, replace, remove, link, unlink, correct, supersede.
UpdateResult = (new_version, diff, checks, provenance_record, status).

04. RELATIONSHIP GRAPH
Update --targets--> Entity
Update --derived_from--> Evidence
Update --authorised_by--> Actor/Policy
Update --modifies--> Attribute/Relationship
Update --supersedes--> PreviousVersion
NewVersion --preserves_identity_of--> CanonicalEntity
Update --produces--> AuditRecord
Update --may_trigger--> DependentValidation

05. PRECONDITIONS
P1: canonical_id resolves to exactly one entity within the selected namespace.
P2: base_version matches the intended current version or a conflict is explicitly resolved.
P3: actor possesses permission for each requested operation.
P4: evidence and reason are recorded where required by policy.
P5: patch has a valid schema and well-defined operation order.
P6: dependencies and affected graph edges are discoverable or marked unresolved.

06. FORMAL UPDATE FLOW
F0: Receive proposed update U.
F1: Resolve canonical entity E and retrieve immutable base snapshot E_v.
F2: Check permissions, policy, scope and expected base_version.
F3: Normalise identifiers, field names, values, units and relation types.
F4: Construct candidate E' = apply_patch(E_v, U.patch).
F5: Validate E' against schema, type, identity and graph invariants.
F6: Compare evidence, resolve conflicts and assess uncertainty.
F7: Compute affected dependency closure D(E').
F8: Revalidate impacted entities and relationships within a bounded scope.
F9: If every mandatory gate passes, atomically commit E' as version v+1.
F10: Append provenance, timestamp, actor, change reason and content digest.
F11: Publish updated index/search references and invalidate stale derived views.
F12: Return committed version and audit evidence; otherwise reject or queue review.

07. UPDATE ALGEBRA
Candidate(U,E_v) = apply_patch(E_v, U.patch)
Valid(U,E_v) = IdentityOK AND SchemaOK AND PolicyOK AND EvidenceOK AND GraphOK AND VersionOK
Commit(U,E_v) = E_(v+1) if Valid(U,E_v); otherwise E_v remains unchanged.
Delta_v = diff(E_v, E_(v+1))
History(E) = [E_0, E_1, ..., E_v] with immutable version references.
For each update, canonical_id(E_(v+1)) = canonical_id(E_v), unless an explicit identity-migration process is authorised.

08. INFERENCE RULES
R1: If version mismatch occurs, mark CONFLICT; never silently overwrite.
R2: If a patch violates a mandatory invariant, reject candidate.
R3: If a relationship target is unresolved, defer that relationship or reject according to policy.
R4: If evidence is insufficient, mark REVIEW_REQUIRED rather than assert correctness.
R5: If an attribute is superseded, retain the former value in immutable history.
R6: If an update changes an indexed property, schedule index refresh.
R7: If dependent assertions rely on changed evidence, flag them for revalidation.
R8: If two canonical IDs are to be merged, invoke identity-resolution policy, not an ordinary update.
R9: If the update contains sensitive data, apply access and retention controls.
R10: If an operation is idempotent, repeated application must not create duplicate relationships.

09. RECURSIVE VALIDATION
Let D_0 = {E'} and D_(n+1) = D_n union affected_neighbours(D_n).
Stop when D_(n+1) = D_n, a configured depth/size limit is reached, or a policy boundary is encountered.
Track visited canonical IDs to prevent cyclic traversal.
If validation is incomplete at a limit, record PARTIAL_VALIDATION and do not claim global consistency.

10. TRI-MAPPING
ENTITY: canonical entity, attributes, relations and version snapshots.
RELATIONSHIP: typed edges linking updates, evidence, versions and dependencies.
FLOW: authorised transitions from proposal to validated commit or rejection.
Mapping: EntityState -> UpdateOperation -> ValidatedEntityState.

11. UNCERTAINTY AND CONFIDENCE
Represent uncertainty as typed evidence gaps, conflicting claims or calibrated confidence estimates.
Do not treat an arbitrary confidence score as proof of truth.
Separate source reliability, match confidence and validation status.
Human review is required when mandated by risk or governance policy.

12. STATE MACHINE
DRAFT -> NORMALISED -> AUTHORISED -> CANDIDATE -> VALIDATING -> COMMITTED.
Alternative paths: AUTHORISATION_DENIED, CONFLICT, REJECTED, REVIEW_REQUIRED, PARTIAL_VALIDATION.
Only COMMITTED changes the published canonical version.

13. EXECUTION GUARANTEE — CONDITIONAL
Given deterministic patch semantics, complete required inputs, stable version references,
valid permissions, terminating bounded validation and atomic storage, the flow either:
(a) commits one validated new version with an audit record; or
(b) leaves the prior committed version unchanged and returns an explicit failure state.
This is a specification-level property, not a guarantee of correctness for unverified implementations.

14. TEST CASES
T1: Valid attribute replacement -> new version and retained history.
T2: Stale base_version -> conflict without overwrite.
T3: Invalid relation target -> rejection or explicit deferred state.
T4: Unauthorised actor -> denial with no mutation.
T5: Duplicate idempotent patch -> no duplicate edge.
T6: Changed evidence -> dependent assertions flagged for review.
T7: Recursive cycle -> traversal terminates using visited set.
T8: Storage failure -> atomic rollback or no published partial update.

15. OUTPUT CONTRACT
Return update_id, canonical_id, base_version, resulting_version,
status, applied_diff, validation_summary, unresolved_issues,
provenance_reference and timestamp.
Never label a proposal as committed without verified commit evidence.

16. CITATION AND LICENCE
Authors: Mark Anthony Higgins — Sky Recursive AI.
Source attribution: Kireth Research, AI Entity Update Ontology (URL above).
Use under the applicable published Kireth Research Open Research Licence; citation required.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ