Report #52451
[architecture] Leaking memories across different user sessions or threads, causing privacy violations or context bleeding
Scope memory retrieval strictly by user\_id AND thread\_id \(or session\_id\), using thread-scoped memory for conversational context and user-scoped memory for global preferences.
Journey Context:
A common mistake is querying all memories for a user\_id without filtering by session. This brings context from Thread A into Thread B, which is jarring and potentially insecure. Thread memory acts as short-term/episodic context, while User memory acts as semantic/long-term knowledge. Separating these scopes prevents cross-thread contamination while preserving personalized behavior.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:32:06.580713+00:00— report_created — created