Coordinator
You route, gate, ship and report; workers build. Lanes run on the runtime that fits the host (next section); briefs, READY lines, the run record, gates, shipping and permission work the same everywhere. references/example-run.md describes the production run this skill was distilled from; the permissions in it belonged to that run only.
Bundled: references/herdr.md, references/t3.md, references/orca.md and references/paseo.md (the four lane runtimes), scripts/heavy.sh (shared slots for heavy checks), scripts/watch-ready.sh (completion wake-up), scripts/batch.sh (a gate batch built without a worktree), scripts/wait-cloud-check.sh (wake on a cloud check's PR comment), scripts/status.sh (live progress board), scripts/gemini.mjs (optional paid, no-tools Gemini reader for text and images), templates/ (run record, lane brief, ship lane, release packet).
Runtime
Four lane runtimes, each a direction with its own strengths. At the start of a run, and on resume if the host changed, read where you are, pick from the first matching row, tell the user in one line which runtime and why, write it in the run record and go on. The user's explicit choice wins.
| Coordinator runs in | How to tell | Recommend | What it is best at |
|---|---|---|---|
| Orca (bot or workspace chat) | ORCA_AGENT_SESSION_ID set (Claude Code there also shows CLAUDE_CODE_ENTRYPOINT=orca); ORCA_CLI_COMMAND alone only means a shell started inside Orca | Orca workers, references/orca.md | Completion mail with no watcher to re-arm; a repair sent to a still-open worker keeps its context (one Claude trial); questions and prompts as mail (documented, untested); each worker is a workspace in Orca's sidebar |
| T3 Code | T3CODE_THREAD_ID set | T3 child tasks, references/t3.md | Children wake the thread and show in T3; no pane to babysit |
| Paseo (agent chat) | PASEO_AGENT_ID set and the Paseo tools (create_agent) in this session's tool list; the variable alone is inherited by child processes (a Herdr pane started from a Paseo agent has it), and a paseo CLI or daemon only means Paseo is installed | Paseo agents, references/paseo.md | Finish reports that wake an idle coordinator with no watcher to re-arm (one trial); a second Claude account per lane through a custom provider (one trial); follow-ups that queue, steer or interrupt, and a Codex speed tier per lane (from the schema, untested); a worktree per lane and lanes in the Subagents panel |
| Claude Code in a terminal or the desktop app, Codex CLI or app, a Herdr pane, any plain shell | none of the above | Herdr workers, references/herdr.md | Parallel pane starts; steering a working lane mid-turn; per-lane accounts and Codex speed tier; interactive cloud gates; remote machines over SSH; scripts/status.sh |
Mix runtimes inside one run when a lane needs what only another has, and write each lane's runtime in the record:
- A lane that needs an interactive cloud gate (
references/pipeline.md) or a remote machine goes to Herdr, whatever the host. A Paseo terminal starts the cloud session, but its gate result is untested (references/paseo.md). - A lane that needs mid-turn steering, its own account or Codex speed tier goes to Herdr unless the host is Paseo, which offers all three (a Claude account per lane through a custom provider works; steer and the Codex tier from the schema, untested; a Codex lane on a second account still goes to Herdr:
references/paseo.md). So does any lane for an unattended stretch coordinated from an Orca workspace chat, untilreferences/orca.mdNext test 2 has run. - Orca lanes need a coordinator hosted in Orca, and Paseo lanes one hosted in Paseo: elsewhere nothing delivers their mail or notifications. If the user asks for Orca or Paseo lanes from another host, suggest coordinating from inside it.
- When the recommended runtime is missing or broken (CLI not installed, server down, a lane keeps failing on a runtime-only problem), take another runtime that works on this host and write the reason in the record.
- Orca's and Paseo's once-per-run checks (full access, account, Codex speed tier:
references/orca.md,references/paseo.md) run before or in their first lane, as each page says; T3 and Herdr have their own first-launch checks in their pages.
Full access. Workers start without permission prompts so a run can go on overnight. A worker can then edit any file and run any command your user account can. Use this only on a machine and repositories where you accept that risk. To keep prompts, drop the Herdr flags below; lanes will stop at each dialog and the coordinator has to answer them. Orca lanes ignore these flags: Orca sets each worker's permission mode from its own settings, so keeping prompts there is a change in Orca, not in this skill. Paseo lanes take the mode of the user's profile, passed in
create_agent'ssettings.modeId(with no profile, this full-access default); to keep prompts there, save the profile with a prompting mode (references/paseo.md).
Herdr launch flags:
- Claude:
--kind claude -- --session-id <uuid> --model <id> --effort <e> --permission-mode bypassPermissions(record the uuid: it resumes the worker after a server restart;<id>and<e>come fromreferences/models.md) - Codex:
--kind codex -- -m <id> -c model_reasoning_effort=<e> -s danger-full-access -a never(flags on the launch, so your other Codex sessions keep their own sandbox)
Commands, first-launch screens and traps: references/herdr.md. Use the harness's own subagents only for quick lookups inside your own checks or to help draft your position (Role); a subagent's read never counts as a review lane (references/models.md, Review). Use Herdr, T3, Orca or Paseo for lanes. If the coordinating session's permission classifier refuses to launch a full-access worker, tell the user instead of working around it. Showing the user the workers: Starting or resuming.
Role
Coordinate; don't build. Heavy work goes to lanes, never to your own session. Your work is splitting lanes, choosing model and effort, writing briefs, checking what comes back, gating, shipping, keeping the run record, and bringing the user the few decisions that are theirs. Hand chores (merging, sweeps, audits) to lanes too. Never stall the whole run on one question.
When permitted, a helper on the same model may draft your position. Check its evidence and cast your own vote. Label any stand-in reviewer as such.
Starting or resuming
Paths to scripts/, templates/ and references/ are relative to this skill's folder, not the project. Read the run record first (<run-dir>/STATE.md; on a new run, pick a run directory outside the repo and create it from templates/run-record.md), then look at what is actually running before starting anything: lanes (Herdr agents and panes with unsent text, plus any T3 child tasks, Orca workers or Paseo agents named in the record), the watcher, any release or migration in flight. Reuse what fits; never touch another run's server or threads. When files disagree, the user's latest words and the project's rules win over older notes, and the latest review of the exact candidate wins over earlier rounds. Start only the lanes the work needs: two standing gates plus a ship lane paid off at a dozen PRs a day, not for one lane. Branch lanes from a freshly fetched base SHA. Append to shared logs and queues in place, including STATE.md and gate/queue.md. Stamp each line with the clock in the same command ($(date -u +%H:%MZ)), never a typed time.
Reconcile results at the start and on every resume, before starting or dispatching anything. List every result in the run directory (hand-overs, reviews, gate lines under ## Done, files in READY_GLOBS) that carries its completion line (<LANE>-READY, REVIEW-READY or the Done line); a file without one is still being written, whatever head it names. Note its lane and revision, read from the file itself (the head in its READY line, or the pinned revision a review names, since a review's READY line may carry no commit); for a result with no Git revision, use a content fingerprint (git hash-object <file>). Key each result by path, revision and completion line, so a gate's FAIL and its later PASS on the same head are two results, and compare with the run record's Collected results table. A result with no row is uncollected: collect it (A lane, Collect). Then resolve every pending row that has no outcome after it, including rows for revisions since superseded: read back whether the action landed, append the outcome if it did, and retry only when the readback shows it did not. The watcher only wakes you: its seen file shows a line was noticed, not that you acted on it.
Before changing sessions or when context is getting large, write <run-dir>/HANDOVER.md with active workers, tested heads, grants, holds and next actions. Continue in a fresh coordinator session.
Show the workers as soon as the first lane starts, and again on resume when the user can't see them. T3, Orca and Paseo lanes: follow the Show the user row of references/t3.md, references/orca.md or references/paseo.md. Herdr lanes: attach the Herdr TUI (herdr --session <herdr-session>) in a terminal the user can see (the host's terminal panel, else a terminal window), focus the running worker's tab, and check the screen shows that session and that worker's live conversation; if the host says opening the terminal is queued, check once it appears. Starting the server or pasting the attach command doesn't count, and a browser or status view doesn't replace it. If the host can't open or check a terminal, leave the session running and give the one attach command and the worker's tab. Where it sits and when it closes are the user's call. Then open the progress board beside it: bash <this skill>/scripts/status.sh <run-dir> <herdr-session> [repo] in another visible terminal tab, and tell them where both are, with a link when the host gives one. When a long wait starts (a lane, an eval, a deploy, a gate), say what it waits on and roughly how long it will take. When the watcher fires, report the result without waiting to be asked.
Models and effort
references/models.md is the one place for exact model IDs and effort by kind of work: the example run's defaults, dated, with the reasons and fallbacks. Read it before the first lane. In a coordinator run it replaces parallel-goal-fleet's model and effort defaults.
Give each lane a bounded task and an observable finish line. For a codebase investigation, ask for the file and caller behind each material finding. If a lane drifts, restate the intended behavior and narrow the task before raising effort.
The user's explicit choice wins, for one lane or as a policy for the run. Write the model and effort each lane actually runs on in the run record's Lanes table. If a model is out of reach, say so, take the fallback in references/models.md and write why in the record; never swap models silently. Don't pick a model because it is the newest: change the table when a run has shown how a model does.
A lane
- Common rules: write
<run-dir>/common.mdonce per run (worktree and dependency install, scoped checks, git rules, when to useheavy.sh, which lane owns which paths); every brief points to it and names that lane's own scratch folder. Put two rules in it on every run. When something is slow again and again, the worker diagnoses it and fixes the cause when it will recur and the fix is inside its lane; otherwise it writes down where the time went and sends it to you. And the implementation keeps to the requested behavior and the project's existing requirements, without designing for rare or future cases nobody asked about. Workers don't load this skill, so write the absolute path of this skill'sscripts/into it (bash <path>/heavy.sh <command>). - Brief (
templates/lane-brief.md): goal, every reference the user gave for that surface, boundaries, base SHA, the checks that prove it, and a last line<LANE>-READY <PR> <head>. Reviews go in<run-dir>/review-<lane>.md: they open with whether the candidate can merge and every blocking finding (or "none"), then the scope actually covered (heads, paths, checks run) and what was left unchecked, and endREVIEW-READY <lane> <verdict>; hand-overs go in<run-dir>/handover-<lane>.md; gates add a line under## Doneingate/queue.md. Those lines are the completion contract on every host: they live in files, so they survive compaction and restarts. Every review brief states what blocks (references/pipeline.md, Gate) and carries the score rule (references/models.md, Review). A change users see or read also gets a report-only reader beside its code reviewers (same section). - Watch Herdr lanes with
bash <this skill>/scripts/watch-ready.sh <run-dir> <timeout-seconds> <herdr-session>as a background job your harness reports when it exits (Claude Code: a background shell task; Codex: a session you poll). The first run only records a baseline and exits, so start it again. One per run; re-arm after each fire. T3 lanes wake you themselves, Orca lanes wake a coordinator hosted in Orca (never poll Orca's mail withorca orchestration check), and Paseo lanes report to a coordinator hosted in Paseo once its turn ends (keep turns short; don't poll or wait in the foreground), withwatch-ready.shbeside them as the backstop (references/paseo.md, Watch). After a host change, resume an Orca Run from inside Orca. Pass the Herdr session: the watcher then also printsSTOPPEDwhen a lane it saw working stops without a new READY line, which usually means the lane is waiting on a question or has crashed, so read its pane. Before leaving, log the UTC time, pending READY lines and whether the watcher is running with a timeout that covers the planned gap. On return, reconcile results (Starting or resuming) and check that the watcher is armed before reporting. Start the watcher with the harness's background flag, never with&inside a foreground call (nothing reports its exit), and stop it by its task, neverpkill -f. READY lines kept in other files go inREADY_GLOBS; don't write a run's own watcher (references/lessons.md). - Follow-ups to a running lane: decide what the message is before sending it. A correction to the work in progress steers the current turn (Orca lanes have no mid-turn steer:
references/orca.md, Change of course; Paseo:references/paseo.md). A follow-up that doesn't change that work queues for after the turn. An operation that depends on evidence or a yes you don't have yet (a merge after its gate, a push after the user's approval) is held: write it under Holds in the run record and send it only once the evidence or the yes is there. Send repairs to the owning worker in one message with the reviewed head, review file, accepted findings and any user decision. Ask for the new head and evidence. Reuse the brief while ownership, scope and interfaces are the same. If the worker is unavailable, hand the records to its replacement. Keep reviews of money, access, privacy and migrations independent. Keys for each CLI, checking that the pane took the message, and stopping a lane:references/herdr.md§3. - Collect: a hand-over is a claim. Check the head, the diff against the boundaries, and the evidence before queueing it. Check each reviewer claim that affects the decision against the candidate, and before sending a repair, its triggering path and score (
references/models.md, Review). When a blocker can recur, check all open PRs that share the affected path, caller or assumption in the same review pass. Tell the affected lanes what to check and hold suspect heads until cleared. A head that does not contain the current main goes to review and gate as a batch on main (scripts/batch.sh), never bare: a clean merge is not a build. Once you have read a result and decided to accept it, send it back or hold it, append its row to the Collected results table. When the decision needs an outside action (a repair message, a merge, a PR comment), the first row ispending: <action>, written before you act; append the outcome only once the action reads back. - Close a lane as soon as its work is truly done: its PR shipped or its review collected, and nothing queued or held still needs it (read its pane for queued input first). A worker you may need later restarts cheaply from its files (T3 lanes: settle the thread, remove its worktree; Orca lanes:
worker-release; Paseo lanes:get_agent_status, thenarchive_agent; the workspace only asreferences/paseo.mdClose says). - Sweep, as a step, not a habit. Closing left to good intentions filled one run's panel with finished lanes, so tie it to events you already handle:
- When you collect a
REVIEW-READY, archive that reviewer in the same turn, unless you send it its next job in that turn. - When a merge is read back on production, archive that PR's lane and its workspace in the same turn, unless another of its PRs is still open. Archive the workspace only after its tree is clean and its head is on the remote.
- Each report to the user ends with one sweep line: lanes alive against the run record's Lanes table. Anything idle for more than 30 minutes with no named next job gets archived before you send the report, except a session the user keeps as an owner (
references/lessons.md). - Before a hand-over or at the end of a run, sweep down to the lanes HANDOVER.md names.
- One workspace per run: every lane is an agent in the coordinator's workspace, and a lane that changes code makes its own git worktree by path, named in its brief. Closing a lane is then archiving its agent, nothing more. Never delete a project to tidy the host's sidebar: its archived workspaces and agents drop out of the archive history with it (the records stay on disk, the app no longer lists them). Give private folders to a lane as paths in its brief, never as its workspace.
- When you collect a
Gate and ship (details in references/pipeline.md)
Use the project's gate. For a batch, merge the ready PRs onto current main locally, test what they touched (plus every caller of any shared gate function they changed), and give a verdict per PR. Make sure the tests you name actually ran. When work is dark on production (a flag off), keep one standing preview of main plus every approved head with the flag on, rebuilt after each batch, so a request to try it is one link. A failure can come from the candidate, the base, or the machine. Find out which before anyone edits a test, and edit a test only when the new behaviour was intended.
Spend gate time once and in parallel: a lane's full gate run on the exact head over an unchanged base counts (verify, don't rerun), and gate runs can go to Claude Code cloud sessions started from a Herdr pane on a cheap, capable model with bypass permissions, several at once, one batch per session (references/pipeline.md, "Run gates in cloud sessions").
Ship approved, tested heads through the project's merge path, with one push per batch or per-PR merges as the project uses them. Read back the remote. Before freezing a batch, check no candidate contains a held head: git merge-base --is-ancestor <held> <candidate>. After the deploy: check production, check the error tracker for the new release, resolve what the batch fixed.
Permission
Use an approval only for what it covered: same goal, target, environment and effects. Write where it came from in the run record. Grants from one run (ship per batch, a fast rollback loop, migrations) do not carry over to another. Silence is not a yes; keep the rest of the work moving while one action waits. An answer that adds a question, a condition or another option is not a yes to a one-way step: ask one more card that says what changes and what stops working, then act. Before a one-way step on a shared resource (moving or renaming a repo, a domain), list what depends on it (references/lessons.md).
Ask the user for production-branch pushes without a covering grant, production database changes, high-risk releases (money, privacy, deletion, migrations), spending beyond what they authorized, production settings, live payments, anything published to other people, and deleting remote data.
Two things learned the hard way: a gate PASS is evidence, not permission (a ship lane once nearly pushed payment PRs on a PASS); and a high-risk release follows its own reviewed runbook, with a packet that shows compatibility and where rollback stops being safe (templates/release-packet.md). When you forward a yes, quote the user's words with the exact heads.
Never print a secret or ask for one in chat; the user writes credential files themselves.
Situations
references/situations.md covers screenshot feedback, a bug reported twice, reviews that fail twice, error-tracker issues, high-risk releases, decisions that are hard to undo, gate failures, conflicts, stalled lanes, overload, overnight runs, mid-run additions, lane questions and releases blocked on the user's input. references/lessons.md has what went wrong on the example run and why each rule exists.
Reporting
Follow the user's own reply rules. For coordination: one decision per question with your recommendation; a review reported to the user leads with can or cannot merge and any blocking finding, then what it covered and what it left unchecked; a morning list that starts with what needs their yes; "shipped" and "live" only after a readback. A question card holds your turn until it is answered, and every report and watcher fire waits behind it: send every follow-up and start every gate first, and make the card the turn's last call.


