Access
Go through repository helpers insrc/memory/repositories.py so indexing, transactions, and tests stay consistent.
Tenancy
Documents are almost always scoped withorganization_id (or an equivalent field). Queries from admin or support tooling must respect those boundaries unless you are on an audited super-admin path that is intended to be cross-org.