Skip to main content

Module trace

Module trace 

Source
Expand description

Causal chains of events.

A Trace is the canonical container for a sequence of related events (e.g. all events in one agent invocation). The shape mirrors BUILD_SPEC §9.2.

Lifecycle:

  • TraceStatus::Open — accepting new events; not yet sealed.
  • TraceStatus::Closed — sealed; the chain integrity check has passed and closed_at is set. Closed traces are immutable.
  • TraceStatus::Quarantined — closed but flagged: integrity check failed, an unresolved contradiction was attached, or an explicit operator action quarantined it. Reflection MUST skip quarantined traces unless explicitly asked.

Structs§

Trace
A causal chain of events.

Enums§

TraceStatus
Lifecycle state of a Trace.