Minimal deterministic workflow contract for Jidoka.
A workflow is application-owned deterministic code exposed to an agent as one
model-callable operation. It is separate from the Runic agent turn spine: the
agent chooses when to call it, while the workflow module owns the ordered
process inside run/2.
Summary
Functions
Defines a deterministic workflow module for agent tool exposure.
Returns the normalized operation definition for a workflow module.
Returns a workflow definition or raises when the workflow module is invalid.
Runs a workflow with normalized map input and optional context.
Types
Callbacks
Functions
Defines a deterministic workflow module for agent tool exposure.
@spec definition(module()) :: {:ok, definition()} | {:error, term()}
Returns the normalized operation definition for a workflow module.
@spec definition!(module()) :: definition()
Returns a workflow definition or raises when the workflow module is invalid.
Runs a workflow with normalized map input and optional context.