- Module dossiers: attestor, authority, cli, graph, scanner - Policy assistant parameters guide - UI v2-rewire navigation rendering policy - Test suite overview update - Workflow engine requirements and tutorial series (01-08) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tutorial 1: Hello World
The simplest possible workflow: initialize state from a start request, activate a single human task, and complete the workflow when the task is done.
Concepts Introduced
IDeclarativeWorkflow<T>— the contract every workflow implementsWorkflowSpec.For<T>()— the builder entry point.InitializeState()— transforms the start request into workflow state.StartWith(task)— sets the first task to activateWorkflowHumanTask.For<T>()— defines a human task.OnComplete(flow => flow.Complete())— terminal step
What Happens at Runtime
- Client calls
StartWorkflowAsyncwithWorkflowName = "Greeting"and payload{ "customerName": "John" } - State initializes to
{ "customerName": "John" } - Task "Greet Customer" is created with status "Pending"
- A user assigns the task to themselves, then completes it
OnCompleteexecutes.Complete()— the workflow finishes
Variants
Next
Tutorial 2: Service Tasks — call external services before or after human tasks.