af-workflow 0.2.0

Spec-driven workflow chassis: typed node expressions composed into a branched DAG. Port of agent_core/workflow/v2.
Documentation

af-workflow — spec-driven workflow chassis.

A workflow is typed node expressions composed into a branched DAG. Port of agent_core/workflow/v2.

  • Spec model ([Spec], [Branch], [Node], [Edge]) — deserializes existing Python builtin JSON specs unchanged.
  • Runtime — [Event] / [StepResult] / [WorkflowContext] / [State] and the [StepNode] trait (one event in, one result out).
  • Registry ([NodeRegistry]) — maps node types to factories. Ships the generic node types via [NodeRegistry::with_builtins]; products register their own business types and side-effect guards.
  • Durable host ([WorkflowHost]) — validates and compiles a branch DAG; claimed work is scheduled only by [run_due_pass].