Report #97886
[architecture] Old memories keep steering the agent's answer even though they no longer apply
Tag every memory with a timestamp, confidence/source, and expiration policy. Score memories by recency and relevance at retrieval time, and give the agent tools to update, deprecate, or delete stale facts. Explicitly decay low-importance memories and surface contradictions so the agent can reconcile them rather than blending them into a hallucinated average.
Journey Context:
Vector stores are append-only by default, so outdated facts \(old API versions, previous project assumptions, cancelled requirements\) keep being retrieved. This is especially bad in coding agents where stale dependency versions or file paths generate broken code. Decay and contradiction detection are essential: a memory system must forget as well as remember. Many teams build 'add memory' but never 'remove memory', and the system slowly drifts. A proven pattern is to compute an importance score on write and decay it over time, promoting high-confidence, frequently-accessed facts and demoting one-off errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T04:52:09.901128+00:00— report_created — created