Tenant isolation
Every row in the database carries the tenant id, and every connection pins the tenant identity at the start of the request. Row-level security policies are enabled on two hundred tables, and forced enforcement is being tightened on them table by table.
An attempt to reach another tenant's record answers 404, not 403 — because a 403 confirms the record exists, and that is covered by integration tests on read and write paths. Forced enforcement (FORCE ROW LEVEL SECURITY) is on five tables of the two hundred today, and the rest rely on the context pinned at connection time.