Report #59629
[architecture] Old memories polluting current context window
Implement a two-phase retrieval: semantic search followed by temporal decay scoring, and only inject memories with a relevance score above a dynamic threshold into the active context.
Journey Context:
Agents often dump all semantically similar memories into the prompt. This causes distraction and hallucination. Alternatives: strict time-to-live \(too rigid\). Tradeoff: dynamic threshold might miss distant but crucial memories, but protects the context window from noise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:34:33.247335+00:00— report_created — created