[P0] Audit Log infrastructure (immutable append-only) #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
All sensitive operations must be logged in an immutable append-only audit log that cannot be deleted.
Fields
timestamp, actor_id, actor_role, action (CREATE/UPDATE/DELETE/LOGIN), resource_type, resource_id, before_snapshot (JSON), after_snapshot (JSON), ip_address, user_agent
Tasks
Reference
PLANNING.md Section 3.8 - Audit Log