Tianyi Cui 80250a8f2e workflow: drop the dead abandon-timer guard in drive()'s finally 3 miesięcy temu
..
tool-workflow 2accf85714 workflow: simplify to the trust premise; settle result on cancellation 3 miesięcy temu
workflow 2accf85714 workflow: simplify to the trust premise; settle result on cancellation 3 miesięcy temu
workflow-vm 80250a8f2e workflow: drop the dead abandon-timer guard in drive()'s finally 3 miesięcy temu
README.md 1d43ea3cd5 workflow: dynamic workflows — script-driven multi-agent orchestration 3 miesięcy temu

README.md

workflow/ — dynamic-workflow capability family

The workflow seam: a model-written JavaScript orchestration script that fans out subagents at scale (phases, structured per-agent results, concurrency caps), modeled on Claude Code's dynamic workflows. A capability seam (see capability seams) in the bash shape: ONE engine implementation per context registers as ctx.workflows; the model-facing tool consumes it.

Package Role ctx key
workflow/ Abstract workflow seam: service base class + run vocabulary + workflow/* events ctx.workflows
workflow-vm/ In-process node:vm engine: parses the script, injects the hooks, drives ctx.subagents (provides ctx.workflows)
tool-workflow/ Model-facing workflow tool over ctx.workflows (registers on ctx.tools)

The interface lives at workflow/workflow/. The engine's agent() hook rides the subagent seam (any registered provider; the shipped examples use spawn), and agent({ schema }) rides the structured-output support the in-process backends implement. The seam split exists for engine hardening: node:vm is in-process and cannot kill a pathological synchronous spin — a worker-thread or isolated-vm engine swaps in behind the same interface if that ever matters.

The proposal, decisions, and deferred work: docs/rfc/implemented/feature/2026-07-05-dynamic-workflows.md.