One Process, One Interpreter

REAL

The local runtime is a tree-walking interpreter in src/playbook_runner.rs (CLI v6.4.1). It reads the YAML, checks the kinds, and then calls steps: running a step means running its tool and then calling execute_step on each next target it takes. So:

  • Everything is sequential. An inclusive router or a fan-out runs its targets one after another, in one process.
  • A back-edge is a recursive call. A loop of N passes is N nested calls. An unguarded back-edge simply keeps running: one was observed still running, with no output, when it was stopped at 60 seconds.
  • The first failing step ends the run with an error. There is no failure routing (6.5).
  • It starts at the first step in workflow, not at start, unless you pass --target <step> (4.3).

The differences from the server

Every difference the book has found so far, in one place. Each row links to where it is shown, and most are CI examples that would fail if the behaviour changed.

AreaServer (v3.161.2)Local (CLI v6.4.1)Shown in
First stepstartfirst in the listexamples/ch04/step-order
Templatesminijinja; undefined → emptyexact {{ name }} tokens, 4 filters; unknown left in placeexamples/ch04/templating
Passing valuesstep set:step vars:examples/ch04/variables-local
A step's result{{ step.field }}{{ step.result }} (text)5.3
next: name, next: [a, b]takenignoredexamples/ch06/next-names-ignored-local
False step whenskip, follow its nextskip, branch endsexamples/ch06/when-skip-local
Undefined name in a guardfalsetrueexamples/ch06/when-undefined-local
Conditionsfull Jinja==, !=, in, truthy6.2
loop:iteratesruns onceexamples/ch08/loop-runs-once
Tool list (task_sequence)one commandparse errorexamples/ch05/pipeline-refused-local
shell fieldcommand:cmds: (command: ignored)examples/ch05/shell-command-local
case: blocksrefusedstill run4.3
Event trailevery passeach step onceCh. 2

Warning

Several of these differences fail silently: the run ends with status ok and no warning. A playbook that "works locally" has been checked against the local runtime, not against a server.

Check your understanding