Schema and write-path: org_id migration and audit coverage #494

Closed
opened 2026-10-27 13:36:33 +00:00 by sam · 0 comments
Owner

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

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_
sam added the hightask labels 2026-10-27 13:36:33 +00:00
sam self-assigned this 2026-10-27 13:36:33 +00:00
sam closed this issue 2026-10-27 13:36:33 +00:00
sam added a new dependency 2026-10-27 13:42:07 +00:00
sam added a new dependency 2026-10-27 13:42:07 +00:00
sam added a new dependency 2026-10-27 13:42:08 +00:00
sam added a new dependency 2026-10-27 13:42:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#494