Report #99764
[architecture] Agent memory grows forever and retrieval latency increases with every session
Implement active forgetting: evict memories below an importance threshold, collapse near-duplicate embeddings, and archive cold snapshots to cheap storage. Do not keep every embedding hot.
Journey Context:
Unbounded memory is a hidden scalability bug. Vector search latency degrades with index size, and noise rises as stale facts accumulate. The fix is a lifecycle policy: recency decay \(older facts lose rank unless reinforced\), usage-based promotion \(frequently retrieved facts stay hot\), and compaction \(merge similar memories\). A common mistake is to assume storage is cheap and skip eviction; in practice, retrieval quality decays. For coding agents, a six-month-old workaround for a library version that has since been upgraded is harmful if it keeps surfacing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T05:01:05.608450+00:00— report_created — created