reference-memory

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 15 Imported by: 0

README

Reference Memory Adapter

This is the boring reference implementation for the ADR-021 memory contract.

It is intentionally small:

  • retain stores one derived memory record per stable session-history entry.id
  • duplicate retain for the same agent and entry.id is a no-op
  • forget writes a tombstone and suppresses later recall
  • replaying the same entry.id after forget remains a no-op
  • recall returns a few recent or query-matching summaries from the retained set

State is file-backed under MEMORY_REF_DIR and defaults to /data/reference-memory.

This adapter is used by the capability-wave spike and the rollcall example so the shipped example path exercises the same contract documented in site/guide/memory.md.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL