Report #28637
[architecture] Cross-session memory leaks between different users or tenants
Namespace all memory writes and queries strictly by a unique user/tenant ID at the vector store collection or partition level. Never perform unfiltered retrieval across the entire database.
Journey Context:
When building multi-tenant agents, it's easy to throw all memories into one index and rely on metadata filtering. However, embedding spaces can overlap, and missing a metadata filter in a single retrieval step leaks PII from User A to User B. Hard isolation at the collection/partition level is architecturally safer than soft metadata filtering.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:27:44.014469+00:00— report_created — created