Report #3325
[architecture] Old conversation context leaks into new tasks after session restart
Scope every memory write with a session\_id and a TTL; at turn start, retrieve only memories whose session\_id matches or that are explicitly marked global, and purge expired entries during compaction.
Journey Context:
Without session scoping, a user asking about Python in chat A can pollute chat B. Cross-session persistence is a feature only for explicitly shared knowledge such as facts and preferences, not ephemeral context. Store ephemeral turns with a TTL and run a compaction job.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T16:31:35.303074+00:00— report_created — created