Files
audit-core/workplans/AUDIT-WP-0002-pluggable-audit-backend.md
2026-07-04 00:39:03 +02:00

896 B

id, type, title, domain, repo, status, owner, topic_slug, created, updated, state_hub_workstream_id
id type title domain repo status owner topic_slug created updated state_hub_workstream_id
AUDIT-WP-0002 workplan Pluggable audit backend contract infotech audit-core finished codex custodian 2026-06-22 2026-06-24 14725dbf-16ae-43e5-bf52-3f93238cf264

Pluggable audit backend contract

Define the replaceable audit backend interface beyond the mock JSONL writer and document retention guarantees.

Author backend interface contract

id: AUDIT-WP-0002-T01
status: done
priority: high
state_hub_task_id: "588ac6fa-eb41-49ce-8a1c-850d5791de0b"

Result 2026-06-24: Added docs/audit-backend-contract.md; expanded AuditBackend with RetentionPolicy, validate_event(), and module docstrings; 13 tests pass.

Document AuditBackend protocol, event schema, retention policy, and migration path from the mock file backend in docs/ or module docstrings.