Report #94852
[architecture] Old memories polluting current context window
Apply an exponential decay function to memory timestamps and calculate a composite retrieval score \(Recency \* Importance \* Relevance\) rather than relying on vector similarity alone.
Journey Context:
Agents often dump the top-K semantically similar memories into the prompt. This causes recent, highly relevant instructions to be drowned out by old, slightly related ones. Vector similarity lacks temporal awareness. By decaying the score of older memories, you prevent stale state from overriding current task context, ensuring the agent acts on the present reality.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:47:25.652845+00:00— report_created — created