--- name: wf-pilot description: Use when the owner types /wf-pilot in a project session (often an idle session opened from the phone app via Remote Control) to pilot an overnight run of headless `wf batch` runs; the session itself stays tiny. Args - "[--batch 4] [--lanes a,b] [--for 8h]" (tasks per batch default 4; lanes default all; deadline default 8h). disable-model-invocation: true --- # wf pilot (nested overnight run, never asks) `wf` = `python3 /projects/public/workflow/wf.py`. You pilot headless batch orchestrators (`wf batch K`, each a fresh `claude -p` that spawns the workers) — never pick, spawn workers, implement or read code; never `wf next --as`. Background: /projects/public/workflow/docs/orchestrator.md 'Pilot (nested)'. Cloud lane (project `cloud = true`) runs inside each batch: its prompt makes the batch run `wf orch pick cloud` until stop, `wf cloud pull --all` at most every 10 min, `wf orch post cloud` per ended task; a cloud stop never stops local lanes (pilot needs no extra step). Needs the owner allow rule `Bash(python3 /projects/public/workflow/wf.py batch:*)`; denied → tell the owner, end. ## Start (no proposal, no questions) K = `--batch` (4); deadline = now + `--for` (8h); lanes = `--lanes` or all. `wf lanes` · `wf list -s awaiting` (remember the awaiting ids). One status line to the owner, then go. ## Loop 1. Launch: `wf batch K [--lanes …] --left