WORM semantics
deployment_audit_log is append-only — UPDATE and DELETE are blocked. fixed the actor FK to SET NULL so the WORM invariant holds when an actor is deleted.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
WORM audit with Merkle integrity and 6-year retention
| Source | Table | Migration |
|---|---|---|
| PHI access | phi_audit_logs | 080+ |
| Workflow execution | agent_workflow_executions.execution_trace[] | 110 |
| Deployment actions | deployment_audit_log (WORM) | 140 / 145 |
| Config access | Config access audit table | 137 |
| Auth events | auditLogger + observability platform | — |
| Realtime corrections | transcription_corrections, clinical_ai_suggestions | 126 |
deployment_audit_log is append-only — UPDATE and DELETE are blocked. fixed the actor FK to SET NULL so the WORM invariant holds when an actor is deleted.
## Retention
Default 6 years, configurable up to 22 years.
## Reading audit logs ```
GET /api/audit/access-logs
POST /api/audit/exports # signed URL export