Report #4522
[architecture] Agent bleeds sensitive context from one user's session into another user's session during retrieval
Namespace all memory writes and queries with a strict user\_id or tenant\_id prefix/filter at the database level, never relying on the embedding space to isolate user contexts.
Journey Context:
Developers sometimes assume vector distance will naturally separate user data. It won't. Overlapping vocabularies \(e.g., 'my project uses React'\) will cross-contaminate across users if not hard-filtered. Relying purely on metadata filtering after retrieval is also risky. The fix is enforcing tenant isolation as a mandatory pre-filter on the vector/keyword search query before the similarity search executes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:38:37.746747+00:00— report_created — created