Skip to main content

Module event

Module event 

Source
Expand description

The serde event spine (ADR-0008).

One versioned, serde-able Event enum is the single source of truth for live progress and persistence: the JSONL run record is the appended event stream — there is no second record format. Changes are additive-only; the stream head (Event::RunStarted) declares EVENT_SCHEMA_VERSION.

Secret values never enter events — captures are reported by name only (redaction invariant, ADR-0005).

Structs§

EventSink
Fan-out point for Events — reporters subscribe here (borrowed events). Cheap to clone; threads share the same sink.

Enums§

Event
One event in a run’s stream. Serialized as JSONL, tagged by event.

Constants§

EVENT_SCHEMA_VERSION
Version of the event schema, declared once per stream in Event::RunStarted.