Schema and write-path: org_id migration and audit coverage #494
Notifications
Due Date
No due date set.
Blocks
#503 Coverage: access, orgs and EDA
sam/archie
#504 Coverage: packages and harness secrets
sam/archie
Reference: sam/archie#494
Reference in new issue
Block a user
Migration: sys_audit.org_id with backfill, org/actor/time indexes, events/identity/denial indexes, reject / in org and workspace ids. Writers supply org_id. PutPolicy records old value; DeletePolicy and reset deletions write audit rows. Shared insertAudit helper for privilege paths.
Close reason
Merged in 9bedaaef..b397329d: sys_audit.org_id with backfill, org-scoped indexes, GetSource-style writers, policy old-value/delete audit, advisory lock, auditJSON fail-closed.
Imported from beads
archie-core-wwhoz.1· GitHub #1878 · type task · priority P1 · created 2026-10-25 · closed 2026-10-25