Report #16783
[architecture] Using a single global vector namespace for all users, causing cross-contamination of personal memories
Partition the vector store using user IDs or tenant IDs as mandatory namespace prefixes or metadata filters on every query and upsert.
Journey Context:
In multi-tenant environments, developers often forget to enforce strict boundaries in the vector DB. If a user asks 'What is my address?', and the vector DB searches globally, it might return another user's address if the embeddings are close. While global search can enable 'community knowledge' features, the default must be strict isolation. The tradeoff is query flexibility \(harder to search across users\) vs. security/privacy \(preventing data leaks\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:42:43.407874+00:00— report_created — created