Report #69281
[architecture] Agent leaks memories or context from one user session into another
Enforce strict namespace or tenant ID partitioning at the vector store index level, and inject session-scoped metadata filters into every retrieval query.
Journey Context:
It is tempting to use a single global index for agent memory to save infrastructure costs and improve retrieval speed. However, cross-session contamination is a critical privacy and functional failure. Filtering at the application layer after retrieval is insufficient and error-prone. The correct architectural decision is to enforce isolation at the storage and query layer, ensuring an agent physically cannot retrieve vectors outside its current session scope.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:46:32.692823+00:00— report_created — created