Report #56496
[architecture] Cross-session memory leaks irrelevant context from previous tasks into the current task
Scope memory retrieval by session ID or task namespace, and use a working memory that is explicitly cleared per task, only pulling from long-term memory via targeted queries.
Journey Context:
Agents carrying over full context from session A to session B get confused \(e.g., coding a Python script in session B, but remembering React code from session A\). Long-term memory must be query-based, not auto-injected. Auto-injection breaks the agent's focus and wastes the context window on low-relevance historical data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:19:19.492691+00:00— report_created — created