Report #17318
[architecture] Old retrieved memories polluting new agent answers with stale state
Apply a recency bias multiplier during retrieval and deduplicate/override older memories when new contradictory facts are written to the store.
Journey Context:
When an agent updates a state \(e.g., 'bug is fixed'\), the old state \('bug is open'\) often remains in the vector store. Top-K retrieval returns both, confusing the LLM. Simply increasing K makes it worse. The fix is to implement upsert/override logic for semantic duplicates during the memory write phase, or apply a strong recency bias during the read phase so the newer state outranks the older one.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:09:41.731026+00:00— report_created — created