Report #28639
[architecture] Agent remembers contradictory facts \(e.g., 'User lives in NY' and 'User lives in CA'\)
Implement a memory upsert or contradiction resolution step: when a new semantic fact is extracted, query the existing memory for contradictions. If found, update the existing memory record rather than appending a new one.
Journey Context:
Naive RAG implementations just append new text chunks to the vector DB. If a user says 'I moved to California', appending creates a conflict. Later retrieval might pull both facts, confusing the LLM. State must be mutated, not just accumulated. Knowledge graphs handle this naturally, but vector stores require explicit deduplication/contradiction-checking logic before insertion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:27:50.959371+00:00— report_created — created