Report #56321
[architecture] Agent memory grows unbounded with no decay or deletion mechanism
Attach metadata \(timestamp, access\_count, confidence, source\) to every memory entry. Define a decay policy—reduce retrieval score by a factor for memories older than N days with access\_count below M. Periodically run a compaction job that merges near-duplicates and deletes below-threshold entries.
Journey Context:
Without decay, a memory store becomes a garbage heap. Old wrong assumptions, outdated preferences, and one-off mentions accumulate and increasingly pollute retrieval results. The naive alternative—never forgetting—seems safe but is actually hostile: the agent will confidently retrieve a preference the user stated once two years ago and has since changed. Human memory decays for a reason: it prioritizes recent, reinforced information. The tradeoff is that aggressive decay can lose important but infrequently accessed facts. The solution is soft decay \(reduce retrieval weight, don't hard-delete\) combined with reinforcement \(access\_count increments on successful use\). This gives you a relevance-weighted memory that naturally curates itself without catastrophic forgetting.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:01:38.171817+00:00— report_created — created