Report #46535
[architecture] Retrieved long-term memories polluting current task context with obsolete facts
Apply a composite retrieval score combining semantic similarity, recency \(exponential decay based on time\), and importance \(LLM-rated score\), rather than relying on pure vector similarity.
Journey Context:
Pure vector similarity retrieves semantically matching text regardless of temporal relevance. A user's preference from a year ago might directly contradict their preference today, but both have high similarity to the query. Without recency and importance weighting, stale context gets injected, causing the agent to hallucinate outdated behaviors or contradict current instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:34:56.750629+00:00— report_created — created