Report #96196
[architecture] Cross-session persistence causes stale context to pollute new answers
Implement memory decay using a time-weighted relevance score \(e.g., exponential decay function on timestamps\) combined with a compaction step that summarizes or archives memories older than a threshold before injecting them.
Journey Context:
Naively persisting all conversational history or extracted facts across sessions leads to context bloat and contradictory instructions \(e.g., user changed their mind last week\). Simple vector similarity search ignores time, retrieving outdated facts that conflict with current preferences. Time-weighted decay ensures recent facts win, while compaction preserves high-level summaries of old interactions without the token cost.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:02:46.893091+00:00— report_created — created