Report #90702
[architecture] Old memories polluting current context window
Implement a hybrid retrieval score combining semantic similarity, recency \(exponential decay\), and importance. Never rely on pure semantic top-k for long-lived agents.
Journey Context:
Pure vector similarity ignores time. A highly similar but outdated memory \(e.g., 'user prefers dark mode' from 2 years ago\) will outrank a recent contradictory fact \('switched to light mode yesterday'\). Without a recency penalty, the agent becomes stuck in the past. Exponential decay ensures older facts fade unless explicitly reinforced.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:50:19.710980+00:00— report_created — created