Report #5315
[architecture] Agent uses outdated facts because old memories have high vector similarity to new queries
Attach a recency weight to memory retrieval scores using exponential decay based on the memory's timestamp, and merge/update memories when a direct contradiction is detected rather than appending a new one.
Journey Context:
Vector embeddings capture semantic meaning but ignore time. A user changing their preferred framework results in two similar vectors, and the LLM might pick the old one. Appending creates duplication. Exponential decay naturally suppresses old, unreferenced facts, while contradiction merging ensures the semantic store reflects the current state of truth, preventing stale context pollution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T21:04:54.097982+00:00— report_created — created