goal-flight sends coding chunks to CLI workers and reviews each commit independently
Source read in fullRead first
Overview
A developer turns supervision of multiple coding agents into an overnight workflow. The orchestrator owns requirements and architecture and dispatches chunks to coding CLIs on the local machine or SSH nodes.
Workflow
- Trigger: Make one session the control desk for a long-running project. goal-flight is a plugin and scripts. Bring a goal and let the orchestrator collect requirements worth your attention and agree on architecture with you before coding. It dispatches to codex, grok, cursor, claude or other agents locally or over SSH. Each worker runs plan/act/test/review and every commit goes through independent review. Grok Bot and Claude Code are first-class orchestrators. Grok Bot gets a wake-on-exit doorbell controller wrapper (docs/hosts/grok-bot.md). The default workflows root is /home/box/agent-data/workflows.
- Bot: Follow four steps. /goal-flight init audits the repo, creates persistent run state, tests which worker CLIs are installed and healthy, measures machine capacity and optionally builds a RAG corpus. ask-questions reads the repo and goal in a subagent and asks only about product decisions the code cannot answer. Answers go in the goal file and survive compaction. decompose-plan splits the plan into self-contained chunks with SCOPE/CHECKLIST/ACCEPTANCE/FORBIDDEN, marks parallelism and reviews the decomposition. execute --parallel N sends each chunk to the best worker, follows status files instead of watching terminals and routes around rate-limited providers. Each chunk gets a worker self-review and independent review before landing, and pushes need authorization.
- Bot: Preserve context. Before compaction have the controller update the handoff file with repo state, assignments in flight and intended next steps. After /compact use /goal-flight resume. The same command works after a restart or an absence of days without depending on chat memory.
- Bot: Review and route. Each /goal chunk runs seven types of adversarial self-review in the worker until convergence. Chunks worth committing get independent review and milestone reviews scan periodically. New bug patterns become durable criteria for rescanning reviewed code and archives. Routing picks an executor and communication channel for the shape of each chunk. Use ACP where there is an adapter and bash-tail to watch logs otherwise. Reroute when a provider is rate-limited.
- Check: /goal-flight doctor is a read-only check for plugin and runtime readiness, model freshness, rate-limit pressure and install drift. The author also supplies a read-only post-install acceptance prompt. Tests default to hermetic and free. GOALFLIGHT_AUTOREVIEW=1 enables a real review smoke test using one Claude ACP review allowance each time.
Key points and results
- The orchestrator delegates and verifies. Its session handles requirements, architecture, escalations and monitoring, "not execution". Real work runs in subagent contexts and can last beyond any one session.
- Dispatch pointers instead of asserted facts. The author says "Frontier models trust orchestrator-text uncritically". The wrapper points to files to investigate, forcing workers to verify against current disk contents.
- The project documents when the overhead is not worth it. Jobs under 8 chunks or within 2000 lines, pairing with a person watching every round, sensitive actions that should not be auto-triggered (production deploys, changing production data, rotating credentials), and cases where speed matters more than rigor.
- Usage is spread across providers. Routing favors subscription workers by default (codex/cursor/grok). It is calibrated to the maintainer's plans and readers can edit the routing table. The author describes the setup without savings comparisons.
Source
- Platform
- GitHub
- Author
- simonrowland
- Published
- Categories
- Code and repos, Multi-bot teams
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.