Add audit command and outbox foundations

This commit is contained in:
2026-07-11 00:46:09 +02:00
parent 00ac048fca
commit ae70cac70f
9 changed files with 384 additions and 6 deletions

View File

@@ -7,6 +7,14 @@ This repository owns the live `audit_log` table, audit API route
contributions, and the target boundary for future audit sink/export capability
work.
It also owns the audit command/event separation and production delivery
foundation:
- `govoplan_audit.backend.commands` defines an in-process command bus for
requested work.
- `govoplan_audit.backend.outbox` persists governed platform events in
`audit_outbox_events` and dispatches pending rows with retry metadata.
See [docs/AUDIT_TRACE_CONTEXT.md](docs/AUDIT_TRACE_CONTEXT.md) for the standard
operational context fields used by admin, installer, and module lifecycle audit
entries.