Skip to main content

Module execution_log

Module execution_log 

Source
Expand description

Canonical execution log: event-sourced log as the source of truth.

ExecutionLog is the canonical record type for one entry in the execution log. The event store holds the log; snapshots/checkpoints are strictly an optimization for replay (see crate::kernel::snapshot).

Structs§

ExecutionLog
One canonical execution log entry: thread (run), step, index, event, and optional state hash.
KernelTraceEvent
Unified kernel trace event shape for audit and observability consumers.

Functions§

scan_execution_log
Scans the event store for the run and returns the canonical execution log (state_hash None).
scan_execution_trace
Scans the event store and returns the unified kernel trace event view.