Report #1627
[architecture] Cross-contamination of facts between different users or projects in shared memory
Namespace or partition memory strictly by user\_id and thread\_id using metadata filtering, ensuring vector searches are scoped before similarity calculation.
Journey Context:
A common mistake is indexing all memories into a single flat vector collection to maximize search breadth. When Agent A learns a private fact for User X, it can easily surface as a hallucinated fact for User Y if the embeddings are close. Metadata filtering on tenant or thread ID must be applied as a hard pre-filter, not a post-filter, to guarantee memory isolation. Namespaces provide physical isolation which is faster, while metadata filtering provides logical isolation which is more flexible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T05:30:35.955921+00:00— report_created — created