Serializable, normalized workflow specification used to rebuild planner state.
The public workflow DSL compiles to the runtime definition used by durable execution. This struct captures the same workflow shape as plain data so planner state can be reconstructed without exposing Runic structs as public API.
Summary
Types
@type t() :: %SquidMesh.Workflow.Spec{ entry_step: atom() | nil, entry_steps: [atom()], initial_step: atom(), payload: [SquidMesh.Workflow.Definition.payload_field()], retries: [SquidMesh.Workflow.Definition.retry()], steps: [SquidMesh.Workflow.Definition.step()], transitions: [SquidMesh.Workflow.Definition.transition()], triggers: [SquidMesh.Workflow.Definition.trigger()], workflow: module() }