← System handbook

Memory, Context & Knowledge

Partialknowledge

Three different information authorities: what is retained, what is relevant now, and what has been accepted as reusable truth.

TL;DR

Memory is retained information that may help later. Context is a task-specific package compiled from authorised sources for one execution. Knowledge is reviewed, accepted and reusable institutional information. Primitive deliberately keeps them separate so a remembered note cannot silently become canon and a useful context snippet cannot silently become authority.

ELI5

Imagine a desk, a notebook and a reference manual. Context is what is laid out on the desk for this job. Memory is the notebook of things worth remembering. Knowledge is the reference manual that has been checked and accepted. The same sentence can move between them, but only through explicit steps.

Synthesis

Workspace now has five visible Memory lanes, candidate review, metadata for confidence/salience/retrieval strength, lifecycle maintenance, a Context Compiler that enforces scope and budgets, and a Knowledge boundary that admits accepted items only. Context compilation can draw from current objects, chats, files, compacted history, accepted memory, accepted knowledge, retrieval and prior runs while preserving public source provenance.

Mental model

Retained is not relevant; relevant is not canonical

Three information roles
MemoryRetained recollection with provenance, confidence and lifecycle
ContextAuthorised subset assembled for the current objective
KnowledgeReviewed and accepted reusable institutional information
Memory

The five visible Memory lanes

LaneWhat it is forImportant behaviour
ShortTransient working notesMay fade/expire unless pinned or promoted
LongDurable retained facts/contextStays retrievable but is not automatically canonical Knowledge
SemanticMeaning, definitions, entity relationshipsUseful for conceptual retrieval
EpisodicWhat happened, in sequencePreserves temporal/provenance-heavy recollection
SharedCross-user/agent visible memoryA visibility/ownership concern; sharing does not increase truth authority
Memory admission

Candidate review prevents silent memory writes becoming truth

Workspace stores memory candidates separately from active memory. Candidates carry source kind/ref, content, memory kind, confidence, salience, provenance and review state. Accepted/merged candidates may become retained memory; rejected candidates remain evidence of what was considered.

Memory admission
Observation / sourceHuman fact, source claim, AI inference or temporary note
Memory candidateCandidate + provenance + confidence/salience
ReviewAccept / reject / merge
MemoryLane + metadata + lifecycle
Context retrievalOnly when authorised and relevant
Context compiler

A ContextPack is a bounded, authorised projection

The current compiler uses the actor's authorised scope, a context object and objective, then assembles canonical related context, recent conversation, extracted attachments, compacted history, retrieval results and prior successful runs. It enforces character/item budgets and removes revoked or inadmissible material rather than passing everything to the model.

ContextPack fieldWhat it contributes
objectiveThe bounded current task/question
contextThe selected canonical object such as a task/chat/project
relatedContextDirect canonical relationships, including accepted Knowledge only
conversationRecent relevant messages
attachedFilesAuthorised extracted file text with integrity hashes
compactedHistoryOlder chat epochs, explicitly non-authoritative narrative
retrievalRanked accepted Knowledge/Memory/files/messages/other authorised chunks
priorRunsRelevant prior successful execution summaries
provenanceQuery hash, route, versions, selected memory IDs and public source references
budgetWhat was included/excluded under the context limits
Knowledge boundary

Only accepted Knowledge enters canonical compilation

The compiler re-projects Knowledge through KnowledgeService and drops non-accepted items. Source revocation/unavailability is checked again at compile time. That means an old accepted statement can disappear from a future ContextPack if its required source is no longer valid or visible.

Core rule: A model summary, old memory or compacted chat is narrative context unless a canonical service separately admits it as authority-bearing Knowledge/Decision state.
Why this matters

The same system can remember a disagreement without accepting either side

Primitive can retain both claims as Memory/Evidence, retrieve them into Context when relevant, and still keep Knowledge unresolved until review. This is essential for research, debugging, governance and long-running projects where yesterday's assumption may be today's superseded hypothesis.

Keep reading

Related pages

Reference / evidence

Canonical sources

These pages are explanatory read models. Where wording conflicts with implementation or a Control decision, the linked implementation/decision is authoritative and this page should be corrected.