Report #13710
[architecture] Agent leaks data between different user sessions or tenants when retrieving from shared long-term memory
Namespace or partition vector stores and memory graphs strictly by user\_id or tenant\_id at the collection/index level, and enforce scoping in all retrieval queries.
Journey Context:
To save costs, developers often dump all user memories into a single vector index and try to filter by metadata post-retrieval or via metadata filters. This is prone to leakage if filters fail, and degrades ANN performance. Strict tenant isolation at the collection/namespace level is the only secure architecture for cross-session persistence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:38:09.590385+00:00— report_created — created