Shim over Mobus.Stepwise.Engine for :stepwise workflows.
Since workflow_stem v0.2.0, this module delegates to the foundation
engine in mobus_stepwise. Consumers gain transitively:
- telemetry span wrapping on all lifecycle phases
{:wait, ...}short-circuit in advance / entry-action stages- transition-policy hooks
- projection-enricher hooks
metapassthrough to capability input- init-error propagation (
{:error, {:initial_entry_action_failed, ...}})
Pipeline indirection
The engine reads pipeline_mod from runtime_context (set by
WorkflowStem.Registry for per-agent compiled pipelines). When no
pipeline is injected, defaults to WorkflowStem.Pipelines.Stepwise,
not the foundation's static pipeline, because workflow_stem components
carry additional action types (e.g. :conversation).
Adapter configuration bridging
On application start, workflow_stem copies its own adapter config keys
(:workflow_stem, :capability_runner_adapter and
:workflow_stem, :capability_runner_strict) into mobus_stepwise's
application env so the foundation engine picks them up transparently.