Expand description
BasicMemoryProvider — the v1 backing implementation.
In-process, in-memory, deliberately simple. Real bodies for the methods the
embedded agent and NL compiler actually invoke in v1
(retrieve, write,
session lifecycle, simple deletes, export,
stats); Err(NotImplemented) for summarization
and re-embed; no-ops for update_importance and supersede since v1 does
not score importance.
Lexical retrieval only — substring + recency. A full storage backend
(e.g. the cel-memory-sqlite crate) replaces this with hybrid
(vector + FTS + recency) retrieval.
The persistence layer here is Arc<Mutex<State>>. The daemon will eventually
back this with a search_knowledge-style SQLite table; in this crate’s tests
and during the v1 Phase 0 -> Phase 1 transition the in-memory store is
sufficient because no caller depends on durability across daemon restarts.
Structs§
- Basic
Memory Provider - The v1 backing implementation. Cheap to construct;
Cloneis shallow (shares the underlying state). Safe to share across tasks.