Report #25432
[architecture] Agent retrieves and injects outdated or irrelevant past memories into the current prompt causing context pollution
Apply a composite retrieval score combining semantic similarity, recency \(exponential decay\), and importance \(manually tagged or LLM-evaluated\). Do not retrieve based on vector similarity alone.
Journey Context:
Pure vector similarity retrieval ignores time and task relevance. A highly similar memory from 100 sessions ago might completely derail a current task if the user's intent has shifted. The tradeoff is retrieval complexity vs. accuracy. By weighting recency and importance alongside similarity, you mimic human memory decay, ensuring only highly relevant, recent, or critical information makes it into the limited context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T21:05:39.052763+00:00— report_created — created