Skip to main content

Module memory

Module memory 

Source
Expand description

Model-facing repository memory and explicitly opted-in user notes.

Four tools over the host memory binding, registered in the standard catalog and therefore DEFERRED under progressive disclosure (they are not in the essential core set — discovery/activation gates apply):

  • memory_search: bounded descriptors + snippets, never full bodies;
  • memory_fetch: exact ids only, sensitivity-enforced;
  • memory_store: explicit project binding, provenance, sensitivity, retention;
  • memory_forget: append-only tombstone.

Repository scope is the default (shared across worktrees in Axel). Only explicit scope=user selects user-wide notes, subject to host opt-in; it never grants user-wide history or capture. The HOST resolves both scopes; a model-supplied project argument only CONFIRMS the selected scope. Stored record scope validation and migration belong to the host, not these tools. Results enter model context as LOWER-AUTHORITY data with provenance — every output opens with LOWER_AUTHORITY_HEADER. secret-class bodies are never returned to model context.

Structs§

MemoryFetchTool
MemoryForgetTool
MemorySearchTool
MemoryStoreTool

Constants§

LOWER_AUTHORITY_HEADER
Authority banner prepended to every memory tool result.