Report #1917
[architecture] Agent remembers irrelevant old facts and contradicts itself across sessions
Split memory into episodic traces and semantic facts, then consolidate: query semantic memory first, fall back to episodic only when needed, and rewrite semantic entries when contradicted rather than endlessly appending.
Journey Context:
Appending every turn to a vector store creates a noisy recall surface where five different versions of the same API key, preference, or fact coexist. The fix is a two-store design: episodic memory stores verbatim event traces, while semantic memory holds distilled, consolidated knowledge. On recall, hit semantic first; if the answer is incomplete, use episodic to reconstruct context. When a new observation contradicts an old semantic entry, update or replace it rather than appending. This is the consolidation pattern used by MemGPT and described in the canonical memory-management literature. Teams often get this wrong by using a single vector collection and wondering why retrieval returns contradictory garbage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T08:56:55.386496+00:00— report_created — created