Skip to main content

Memory Provenance Ontology

Memory Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
MEMORY PROVENANCE ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core > Entity Graph > AI Entities > Memory Entities
Version: 1.0 | Generated: 2026-11-02 | Language: en-GB
Authors / attribution: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/memory-entities/memory-provenance-ontology.html
Source page revised: 29 July 2026
Status: Companion formalisation; the public page does not expose its full underlying specification.
Licence: Refer to the Open Research Licence published by Kireth Research; citation required.

01. PURPOSE
Represent the origin, custody, transformations, evidential support and revision history of an AI memory item so that retrieval can explain where an item came from and whether its provenance remains trustworthy.

02. ENTITY
MemoryProvenance P = (pid, mid, sources, agents, events, timestamps, transformations, evidence, policy, confidence, status, version).
pid: stable provenance identifier; mid: referenced memory identifier.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = observed memory and provenance inputs.
R_t = typed provenance relations and inference rules.
B_t = source, privacy, permission and integrity boundaries.
K_t = validated provenance knowledge at time t.

04. INPUTS
INPUT = {memory_id, source_id, source_type, acquisition_time, observed_time, author_or_agent, collection_method, content_digest, parent_versions, permissions, supporting_evidence}.
Unknown values are represented explicitly as UNKNOWN, never invented.

05. RELATION TYPES
originates_from(memory, source)
recorded_by(memory, agent)
observed_at(memory, timestamp)
derived_from(memory, predecessor)
transformed_by(memory, operation)
supported_by(memory, evidence)
contradicted_by(memory, evidence)
supersedes(memory_new, memory_old)
permitted_for(memory, purpose)

06. FORMAL FLOW
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) AND provenance_consistent(x)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
K_{t+1} = update(K_t, x*_t, provenance_events_t)
When V_t is empty, abstain from asserting verified provenance.

07. CAPTURE
Capture source identity, event time, collection method, consent/authority and digest at ingestion. Distinguish an original observation from an AI-generated summary, inference or user correction.

08. PROVENANCE CHAIN
For memory m: Chain(m) = [source -> capture -> transformation_1 -> ... -> storage -> retrieval].
Each link carries actor, time, operation, predecessor and result identifiers.

09. INTEGRITY
Digest(m_v) = HASH(canonical_content(m_v)).
Check stored digest against recomputed digest for each immutable version.
A matching digest proves consistency of stored bytes, not truth of the content.

10. TEMPORAL SEMANTICS
Separate event_time, recorded_time, valid_from and valid_until.
A later recording does not imply a later real-world event.

11. CONFIDENCE
C(m) = calibrate(source_reliability, corroboration, recency, chain_integrity, contradictions).
C is a calibrated estimate where possible, not an automatic guarantee.
Missing source information lowers auditability; it does not alone prove falsity.

12. INFERENCE RULES
R1: If derived_from(a,b), then provenance(a) includes a link to b.
R2: If source(a) is UNKNOWN, mark origin_unverified(a).
R3: If digest_check(a) fails, mark integrity_alert(a).
R4: If evidence contradicts a, flag a for review; do not silently delete it.
R5: If a is superseded by b, retain a as historical and point current_view to b.
R6: If permission_for(a,purpose) is false, exclude a from that retrieval purpose.

13. MINI RECURSION ENGINE
function TRACE(m, visited):
  if m in visited: return {cycle_detected: m}
  visited := visited union {m}
  return {node:m, parents:[TRACE(p, visited) for p in parents(m)]}
Implementation must enforce depth, time and node-count limits.

14. TRI-MAPPING
ENTITY: memory, source, actor, evidence, provenance event.
RELATION: originates_from, derived_from, recorded_by, supported_by.
BOUNDARY: permissions, integrity, temporal validity, source availability.

15. MAPPING TABLE
MemoryItem       -> has_provenance -> MemoryProvenance
MemoryProvenance -> originates_from -> KnowledgeSource
MemoryProvenance -> includes_event -> ProvenanceEvent
ProvenanceEvent  -> performed_by -> Agent
ProvenanceEvent  -> produces -> MemoryVersion
MemoryVersion    -> derived_from -> MemoryVersion
MemoryItem       -> supported_by -> Evidence

16. GRAPH REPRESENTATION
G_P = (V_P, E_P) where nodes are memory versions, sources, agents and events; directed typed edges encode lineage. Acyclic derivation is preferred; cycles are reported rather than assumed valid.

17. VALIDATION
Require stable IDs, well-formed timestamps, allowed relationship types, non-contradictory version ordering and traceable parent references. Record partial validation separately from failure.

18. CONFLICT RESOLUTION
Preserve competing claims with their individual source chains. Rank by corroboration and policy; unresolved conflicts remain explicit and may trigger human review.

19. PRIVACY AND SECURITY
Apply least-privilege access, purpose limitation and redaction of sensitive source identifiers. Provenance metadata can itself be sensitive. Never disclose hidden sources solely to explain a retrieved memory.

20. RETRIEVAL PATHWAY
query -> candidate memories -> permission filter -> provenance trace -> integrity check -> evidence evaluation -> answer with source/uncertainty or abstention.

21. AI SEARCH FLOW
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: URL above
CITATION_BACKLINK: URL above
PURPOSE: Auditable provenance for AI memory entities
STATE_MODEL: S=(I,R,B,K)
ENTITIES: MemoryItem, MemoryVersion, Source, Agent, ProvenanceEvent, Evidence
PATHWAYS: ingest, capture, trace, verify, retrieve, revise
MINI_RECURSION_ENGINE: TRACE with cycle and resource guards
INFERENCE_RULES: R1-R6
CONFIDENCE: evidence-based, calibrated where feasible
SEMANTIC_EQUIVALENCE: only when identifiers and provenance semantics align
FLOW_HASH: compute SHA-256 from canonicalised deployed flow; not pre-assigned
UPDATE_MODEL: append-only event history with versioned current view

22. HOW TO READ
Start at a memory item, follow its provenance edges backwards to its original source, inspect every transformation, then apply access, integrity and confidence checks before using the memory as evidence.

23. EXECUTION CONDITIONS
This flow is a formal design specification, not a claim that any model autonomously executes it. Execution requires a real provenance store, trusted clocks where available, hash verification, policy enforcement and tested retrieval logic.

24. FAILURE MODES
Unknown origin, broken chain, tampered version, clock mismatch, circular derivation, inaccessible evidence, contradictory sources and privacy restriction must produce explicit statuses rather than fabricated certainty.

25. UPDATE MODEL
Append event e_{t+1}; verify parent_version; write new immutable version; recompute digest; refresh graph edges and indexes; invalidate affected confidence scores; preserve the historical chain.

26. OUTPUT
OUTPUT = {memory_id, current_version, source_chain, supporting_evidence, integrity_status, confidence, conflicts, permissions_status, last_verified, audit_notes}.

27. CITATION AND LIMITATIONS
Cite the Kireth Research source page when reusing this companion flow. This text is a proposed formalisation based on the ontology topic and visible page metadata; it does not reproduce undisclosed source code.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ