Report #20871
[architecture] Agent retrieves conflicting facts from memory and hallucinates or fails to act
Store memories with strict temporal metadata and implement a last-write-wins deduplication or conflict resolution step during retrieval, explicitly presenting the timeline of facts to the LLM rather than dumping contradictory chunks.
Journey Context:
Vector stores return similar chunks regardless of chronological order. If a user says I like cats and later says I actually prefer dogs, naive retrieval returns both, confusing the LLM. The tradeoff is that explicitly resolving conflicts before injection takes an extra LLM call or complex post-processing, but it prevents the agent from making contradictory statements. Alternatively, updating the vector in-place \(last-write-wins\) risks losing context about why the preference changed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:26:35.439965+00:00— report_created — created