Report #82425
[architecture] Appending every new extracted fact as a separate vector, leading to massive duplication and conflicting memories
Implement a consolidation step: before writing a new memory, search existing memory for overlapping concepts. If a match exists, update the existing memory record rather than inserting a new one.
Journey Context:
Naive append-only memory stores naturally accumulate duplicate and contradictory facts \(e.g., 'User lives in NY', 'User moved to CA'\). Vector similarity search then returns both, confusing the LLM. Consolidation mimics human memory reconsolidation, maintaining a canonical state and preventing the vector store from bloating with obsolete variations of the same entity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:56:29.186138+00:00— report_created — created