Skip to main content
Complete runnable example (renders with bunx smithers-orchestrator graph). async parks the gate without blocking the run: the deploy lane waits on the decision through needs, while the update-docs lane proceeds in parallel.

Notes

  • mode="select" returns { selected, notes }; mode="rank" returns { ranked, notes }.
  • Deferred and keyed on (run, node, iteration); survives restarts. The operating agent relays the request, gets the decision, and resolves it via bunx smithers-orchestrator approve/deny (never hand the command to the human).
  • For a pre-task pause without persisted decision, use <Task needsApproval>.