Expand description
The memory engine facade.
MemoryEngine owns everything that outlives a conversation — the
repository, the compiled index, the event log, the extractor seams — and
MemorySession owns everything that does not: the candidate ledger, the
overlay, the turn counter, and the prepared snapshot the current turn is
being answered from.
The split is the architecture in miniature. A session may end abruptly at any moment; nothing it holds is authoritative until reconciliation writes it through the engine.
Structs§
- Memory
Engine - Everything that outlives a conversation.
- Memory
Session - Everything scoped to one logical conversation.
Constants§
- PLAN_
EXTRACTION_ TIMEOUT_ MS - How long a model-backed retrieval plan may take before the rule-based plan is used instead.