Report #44018
[architecture] Old memories polluting current context window and causing hallucinations
Implement memory decay or scoring. Only inject memories with high recency/relevance scores into the prompt. Use a working memory buffer that is flushed or deprioritized when the task or session changes.
Journey Context:
Agents often dump all retrieved memories into the context. If a user changes topic, old memories cause confusion or the agent hallucinates connections between unrelated contexts. The tradeoff is potentially forgetting useful long-tail info vs. context pollution. Recency weighting and explicit working memory boundaries prevent stale data from overriding current instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:21:20.899436+00:00— report_created — created