Report #2257
[architecture] Treating all long-term memories as immutable facts, leading to stale context pollution
Implement a decay factor \(e.g., exponential time decay or access-frequency weighting\) and upsert/deduplicate memory by semantic similarity rather than just appending.
Journey Context:
Append-only memory is easy to build but creates a garbage barge over time. Agents retrieve outdated preferences or resolved bugs. Alternatives include manual curation \(doesn't scale\) or TTL on everything \(too aggressive\). The right call is scoring memories by recency, relevance, and frequency \(RRF\), and when inserting a new memory, checking if it contradicts an existing one to update it rather than append.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T10:32:57.672225+00:00— report_created — created