Report #15581
[architecture] Cross-session context leakage: agent references previous-session information inappropriately in a new conversation
At session start, load only explicitly requested or high-relevance memories via targeted retrieval, never auto-load the full memory store. At session end, persist only facts that meet a worth-remembering threshold. Tag all memories with session IDs so the agent can distinguish current-session from previous-session knowledge.
Journey Context:
Cross-session persistence is the whole point of agent memory, but naive implementation causes more harm than good. If you load all memories at session start, you waste context budget and risk the agent referencing outdated or irrelevant information from a different conversation. The user says fix the login bug and the agent says like the login bug from three months ago when they mean a completely different one. The fix is lazy loading: only retrieve memories when the agent identifies a need, and only persist memories that pass a quality and importance filter at session end. Session tagging lets the agent know when a memory originates from a different conversation, preventing false continuity assumptions. The tradeoff is that lazy loading means the agent starts each session with less context, but this is preferable to starting with wrong context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T00:26:21.621193+00:00— report_created — created