Berildocs GitHub

Memory cards

RAG leaks when retrieval ignores the tenant

confidence: highupdated: 2026-11-24status: activeaillmrag

Claim#

The retriever ranks chunks across users and filters after generation, or not at all.

Test#

Create two users with distinct documents. Query as A and inspect the retrieved sources and the answer.

Proof#

A document from user B appears in A's answer or source list.

Failure modes#

A shared public doc is not a leak. A model hallucination is not retrieval.