Skip to main content

Module engine

Module engine 

Source
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§

MemoryEngine
Everything that outlives a conversation.
MemorySession
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.