Structured access to runtime history and trace data.
The engine maintains two audit trails in the runtime:
:history— state transition log (from,to,event,at):trace— fine-grained execution trace (actions, steps, breakpoints)
These helpers provide stable read access and controlled append without depending on internal list structure.
Summary
Functions
Appends a custom event to the history.
Appends a custom entry to the trace.
Returns the full history list from the runtime.
Returns history entries filtered by event name.
Returns the last history entry, or nil.
Returns the full trace list from the runtime.
Returns trace entries filtered by kind.
Returns the number of state transitions recorded.
Functions
Appends a custom event to the history.
Appends a custom entry to the trace.
Returns the full history list from the runtime.
Returns history entries filtered by event name.
Returns the last history entry, or nil.
Returns the full trace list from the runtime.
Returns trace entries filtered by kind.
@spec transition_count(map()) :: non_neg_integer()
Returns the number of state transitions recorded.