Report #1477
[architecture] Agent retrieves memories from a different user or a previous unrelated task contaminating the current session
Enforce strict namespace isolation in the vector store using metadata filters \(e.g., user\_id, session\_id, task\_id\). Never perform unfiltered global queries for user-specific or task-specific data.
Journey Context:
A common architectural mistake is dumping all memories into a single vector collection/index to maximize 'global knowledge', then relying on the LLM to sort out what belongs to whom. This leads to catastrophic cross-contamination where User A's private data informs User B's answer, or Task 1's constraints break Task 2. The fix is enforcing hard boundaries via pre-filtering on metadata. The tradeoff is that you lose cross-pollination of specific data, which should be handled by a separate shared knowledge index, not the user memory index.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T23:31:31.682824+00:00— report_created — created