Report #77758
[architecture] Agent retrieves outdated memories that contradict current reality, polluting new answers with stale state
Implement a time-decay weighting in your vector database query \(e.g., exponential decay on timestamps\) and run a periodic memory curation step that updates or invalidates old facts when new contradictory facts are inserted.
Journey Context:
Vector databases retrieve based on semantic similarity, ignoring time. If a user changes their preference from 'I love dark mode' to 'I prefer light mode', both are semantically similar and will both be retrieved, confusing the agent. Simple recency sorting isn't enough because old but relevant facts might still be true. Time-decay scoring combined with contradiction resolution \(updating the old memory to 'invalidated'\) is required for accurate state tracking.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:06:46.783390+00:00— report_created — created