Skip to main content

Memory Trace Ontology

Memory Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — MEMORY TRACE ONTOLOGY
FLOW ALGEBRA COMPANION FORMALISATION
Version: 1.0 | Date: 2026-11-02 | Language: en-GB
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/memory-entities/memory-trace-ontology.html
Status: Independent companion formalisation; not a verbatim extraction of source code.

01 PURPOSE
Model a memory trace as a persistent, identifiable representation of an encoded event, observation, state or experience, with provenance, temporal evolution, retrieval and revision.

02 ENTITY DEFINITION
MemoryTrace := (id, payload_ref, encoding, context, provenance, created_at, last_accessed, strength, confidence, links, status, version).
The payload_ref may refer to content stored elsewhere; a trace need not store the original event in full.

03 STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: incoming observations, queries and feedback.
R_t: encoding, retrieval, consolidation and decay rules.
B_t: capacity, access, privacy, provenance and validity boundaries.
K_t: known traces and their semantic/temporal relationships.

04 INPUTS
INPUT := event | observation | retrieved cue | correction | deletion request | consolidation signal.
Reject or quarantine malformed or unauthorised input.

05 FORMAL FLOW
F_trace(S_t, x) = Validate(x, B_t) -> ResolveIdentity(x, K_t) -> Encode(x, R_t) -> LinkContext(x, K_t) -> Score(x) -> Commit(x) -> Audit(x).
If validation fails, do not commit.

06 EXPANSION
E_t = expand(I_t, R_t): derive candidate associations, temporal neighbours and retrieval cues. Expansion creates candidates, not verified facts.

07 VALIDITY FILTER
V_t = {e in E_t : permitted(e, B_t) AND provenance_ok(e) AND schema_ok(e)}.

08 SELECTION
x* = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t).
Scores are rankings, not calibrated probabilities unless separately validated.

09 UPDATE
K_{t+1} = Apply(K_t, x*, provenance, timestamp, version).
Preserve revision history and distinguish updates from new observations.

10 TRACE ENCODING
Encode(event, context) -> (payload_ref, feature_representation, timestamp, source, links).
Store explicit uncertainty and distinguish observation from inference.

11 TRACE STRENGTH
strength_{t+1} = clamp(0,1, strength_t * decay(delta_t) + reinforcement_t).
Decay and reinforcement are configurable model assumptions; not universal biological laws.

12 RETRIEVAL
Retrieve(cue) = rank({trace in K_t : accessible(trace)}, similarity(cue,trace), recency, relevance, reliability).
Return trace identifiers and evidence references; do not equate high similarity with truth.

13 CONSOLIDATION
Consolidate(traces) -> grouped representation + links to source traces.
Maintain lineage so summaries can be inspected and corrected.

14 RECONSOLIDATION
Recalled trace + new evidence -> candidate revision; verify provenance before replacing prior representation.

15 RELATIONSHIPS
MemoryTrace --encodedFrom--> Event
MemoryTrace --hasContext--> Context
MemoryTrace --derivedFrom--> Source
MemoryTrace --linkedTo--> MemoryTrace
MemoryTrace --summarisedBy--> MemoryRecord
MemoryTrace --retrievedBy--> RetrievalCue

16 INFERENCE RULES
IF two traces share verified referents AND compatible timestamps THEN propose a contextual link.
IF sources conflict THEN flag a contradiction; do not silently merge.
IF provenance is absent THEN lower confidence or quarantine according to policy.
IF retention expires THEN apply the configured deletion/archival policy.

17 MINI RECURSION ENGINE
repeat until fixed_point OR max_iterations:
  candidates := expand(current_traces, rules)
  valid := filter(candidates, boundaries)
  additions := deduplicate(valid, current_traces)
  current_traces := current_traces UNION additions
Terminate on no new accepted links; bound cycles and resource usage.

18 TRI-MAPPING
Natural language: A memory trace records an encoded remnant of an event or state.
Formal: trace = (identity, representation, context, time, provenance, links).
Operational: validate -> encode -> link -> retrieve -> revise or expire.

19 MAPPING TABLE
Identity -> stable trace identifier -> deduplication
Encoding -> representation -> storage and matching
Context -> surrounding conditions -> disambiguation
Provenance -> origin evidence -> auditability
Strength -> retention score -> retrieval ranking
Links -> semantic/temporal edges -> graph traversal
Version -> revision state -> reproducibility

20 AI SEARCH FLOW
QUERY -> NORMALISE -> AUTHORISE -> MATCH CUES -> TRAVERSE LINKS -> FILTER EVIDENCE -> RANK -> EXPLAIN -> RETURN.
Return trace IDs, confidence qualifications and provenance when permitted.

21 VALIDATION CONDITIONS
Unique identifiers; valid timestamps; authorised access; bounded graph expansion; consistent references; versioned changes; traceable provenance; no ungrounded promotion of inferred links into facts.

22 EXECUTION GUARANTEE (CONDITIONAL)
Given finite input, deterministic rules, bounded recursion and valid storage operations, execution terminates with either an accepted trace update or an explicit error. No guarantee of factual correctness is implied.

23 PRIVACY AND RETENTION
Apply purpose limitation, access controls, deletion propagation, data minimisation and retention schedules. Do not restore deleted traces from derived summaries.

24 UPDATE MODEL
Create -> Encode -> Index -> Retrieve -> Reinforce/Revise -> Consolidate/Archive/Delete.
Every change records version, actor/process, time and reason where authorised.

25 EXAMPLE
Input: 'A sensor measured 21 C at 10:00.'
Trace: {id:T001, representation:'21 C', context:'sensor reading', created_at:'10:00', provenance:'sensor log', status:'observed'}.
Later correction: retain an auditable revision and mark superseded values; do not overwrite history silently.

26 SCOPE NOTE
This file provides a formal companion model for the named ontology. The live page's full underlying specification has not been verified in this file.

CITATION
Mark Anthony Higgins — Sky Recursive AI, 'Memory Trace Ontology — Flow Algebra Companion Formalisation', Semantic Library, 2026.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ