Report #6064
[architecture] Old memories polluting current context window
Implement a two-tier memory system \(core working memory vs. archival memory\) and use recency-weighted retrieval scoring. Only promote archival memories to working memory if they exceed a strict relevance threshold, and evict them once the immediate task is done.
Journey Context:
Agents often dump all retrieved vector embeddings into the prompt. If a user asks a new question, old, slightly similar memories override the current intent, causing the agent to hallucinate or repeat past actions. The tradeoff is recall vs. precision: you lose some long-tail recall, but you gain precision on the current task by keeping the context window clean.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:07:09.866499+00:00— report_created — created