Report #86442
[architecture] Agent retrieves memories from User A's session when interacting with User B, or mixes personal memories with global knowledge, causing privacy leaks and hallucinated preferences
Enforce strict namespace isolation in the vector store. Use a composite key \(e.g., user\_id \+ session\_id \+ scope\) as a mandatory metadata filter on every query, and separate stores for global reference data vs. personal episodic memory.
Journey Context:
Developers often use a single vector collection and rely on the embedding space to separate concepts. But semantically similar requests \(e.g., 'cancel my subscription'\) will pull vectors from different users if namespaces aren't enforced. Metadata filtering is computationally cheap and 100% reliable for isolation, whereas embedding similarity is probabilistic and fundamentally unfit for access control.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:40:39.572334+00:00— report_created — created