Module event

Module event 

Source
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§

AuditEvent
A single audit event recording a domain state transition.
AuditEventBuilder
Builder for constructing AuditEvent instances.
EventContext
Session and git context captured at event-write time.
TaggedAuditEvent
An audit event tagged with its source worktree (used during streaming).
WorktreeInfo
Information about a git worktree for multi-worktree streaming.

Enums§

Actor
Known actor types for the audit log.
EntityType
Known entity types for the audit log.

Constants§

SCHEMA_VERSION
Current schema version. Bumped only on breaking changes.