Report #9978
[architecture] Agent bleeds context from previous unrelated user sessions
Scope memory retrieval by a strict session\_id or user\_id namespace at the vector database level, and explicitly reset the working context window between sessions.
Journey Context:
In multi-tenant systems, embeddings from User A might be topologically close to User B's. Namespace isolation in the vector DB is mandatory, not optional. Relying on metadata filtering alone is prone to query construction errors by the LLM, whereas DB-level isolation guarantees zero leakage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:37:08.821035+00:00— report_created — created