Expand description
Memory chunk — the primary persisted unit.
One row in memory_chunks. Every category of memory (chat / action / fire /
observation / correction / job_summary / context / rollup) is a chunk, with
the kind discriminator and kind-specific structured fields living in
metadata. The single embedded/FTS-indexed text is content.
See cellar-memory-manager.md §6.2 for the corresponding SQL schema.
Structs§
- Memory
Chunk - A persisted memory unit.
- NewMemory
Chunk - Input to
crate::MemoryProvider::write. The fields the provider fills in (id, created_at, tier, embedding model+dim) are absent here.
Enums§
- Chunk
Kind - Categories of memory. Drives kind-filtered retrieval and per-kind retention horizons.
- Chunk
Source - Where the chunk came from. Distinct from
caller_id:sourceis the producer in the daemon;caller_idis the originator of the underlying activity (an external MCP client name, the embedded agent, etc.). - Memory
Tier - Which tier a chunk currently lives in.