Expand description
Audit event types and builder.
Defines the core AuditEvent struct and associated enums for the
append-only audit log. Events are serialized as single-line JSON objects
(JSONL) and are never modified or deleted after creation.
Modules§
- ops
- Operation type constants for each entity.
Structs§
- Audit
Event - A single audit event recording a domain state transition.
- Audit
Event Builder - Builder for constructing
AuditEventinstances. - Event
Context - Session and git context captured at event-write time.
- Tagged
Audit Event - An audit event tagged with its source worktree (used during streaming).
- Worktree
Info - Information about a git worktree for multi-worktree streaming.
Enums§
- Actor
- Known actor types for the audit log.
- Entity
Type - Known entity types for the audit log.
Constants§
- SCHEMA_
VERSION - Current schema version. Bumped only on breaking changes.