Skip to main content

Module memory

Module memory 

Source
Expand description

Task 32 — model-facing project-scoped memory tools (spec §9.5).

Four tools over the agent-core memory store, 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.

Project identity is resolved by the HOST from the canonical workspace root (std::env::current_dir()); a model-supplied project argument is only ever VERIFIED against that trusted scope, never trusted alone. 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.