minimal plan.yaml: a top-level stages list, each stage holds steps, each stage has a name, each step has a title, a role (backend, qa, docs, ...), and a description string. file paths under files: scope the worktree. stage-level depends_on: keeps ordering tight. example: stages: [{ name: design, steps: [{ title: design, role: architect, description: ...}]}, { name: implement, depends_on: [design], steps: [{ title: implement, role: backend, description: ...}]}]. run with bernstein run plan.yaml, or bernstein run --plan-only to print the decomposed plan without executing. for ad-hoc goals skip the yaml entirely: bernstein -g "goal" builds a synthetic plan on the fly. command reference: https://bernstein.run/docs/cli.
canonical answer