Report #61561
[architecture] Appending every new memory leading to duplicate or contradictory facts
Use a memory update tool that performs entity resolution: search for existing facts about the entity, and use the LLM to merge or overwrite before saving, rather than just inserting a new vector.
Journey Context:
Naive RAG systems just append new documents. For agent memory, if a user says 'Actually, my dog's name is Buster, not Buddy', appending this creates two vectors. Later retrieval might yield 'Buddy' or cause the agent to hallucinate a dog with two names. The agent needs an update\_memory function that finds the old fact and replaces it, maintaining a single source of truth for core entities.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:49:07.020914+00:00— report_created — created