Ship plan
You run unattended: nobody answers questions. Never stop to ask. When something needs a decision, take the option closest to the plan's intent and keep going. If that changes something the user approved (what the feature does, its scope, an acceptance criterion, a Record entry), add a divergence note to plan.md saying what you did instead and why. Stop early only when an unrecoverable error blocks all progress; then go straight to Report back.
Arguments: the plan folder as an absolute path (a fresh worktree has no .plans/), the loop to run, and optionally the orb pane to report to.
Never: merge, force-push, push to the main line, or touch files outside the repo.
You orchestrate, helpers do the work
Your context is for decisions, not file contents. Run every step below in a fresh subagent and keep only what it reports back. Use subagents, not orb sessions or colonists: helpers must work in this worktree, and a new session would get a different checkout.
- Each helper gets the plan folder, the step's skill and arguments, the unattended rule above (never ask; note divergences in
plan.mdand risks inrisks.md), and what to return: at most ten lines on what it did, what it changed, what failed, and what's left open. - You read only those reports,
tasks.md,ship.mdandgit status. Don't open source files, diffs or test logs yourself. If a report is unclear, send a helper to find out. - Keep a step log in
ship.md, in the plan folder. After each step, add one line: the step's number and name, done or skipped, and the two lines of its report a successor would need, such as which findings falsify ruled on, what is still open, or the PR link. Before step 1, read the log: if it exists, start at the first step it doesn't list. After a compaction, read it again before the next step. - One helper at a time, since they share the worktree. The only exception is the review step's reviewers, which only read.
- A helper that has reported is done. If it's still running (in the background, in a pane, in a session you started), stop it.
- Helpers may start their own helpers when their skill says so, like interrogate's reviewers or the phased loop's per-phase agents.
- If you have no subagent tool, run the step yourself.
Pipeline
Run the steps in order. Each step names the skill it uses, so changing this list changes the pipeline.
check, test, lint and format are the repo's own commands, resolved the way Project commands in the task loops' rules says. Pass a helper the role names, never a tool you picked.
Before the first step you run, check that you can push. Run git push --dry-run origin HEAD yourself. It asks the remote for write access and sends nothing. If it fails, stop and go to Report back with its error. Step 11 would fail the same way, after every step before it had run.
Then set up the worktree. A fresh worktree has the repo's tracked files but nothing its install generates, such as dependencies and commit hooks. Run the repo's install command yourself, resolved the same way as the commands above. Then run test -d "$(git rev-parse --git-path hooks)". Git skips commit hooks without a word when their folder is missing, so if this fails, stop and go to Report back with the missing path.
-
Build. A helper runs the chosen loop:
/run-<loop>-loop <plan folder>. For the phased loop, the helper is that loop's orchestrator, so don't tell it to run solo. -
Taste test. A helper runs taste-test on the plan folder. Its broke lines go to the fixer. Its couldn't-try lines go to Known limitations. Any change it made to the recipe goes in your report back, not the PR.
-
Review. Helpers at the same time, read-only:
- interrogate, told to run correctness only when the loop is micro;
- check-blast-radius on the branch's diff;
- the repo's own review skill or agent, if it has one.
Tell each reviewer to skip style (lint and deslop cover it) and to back every finding with proof: a real run that shows it, or a test that fails now and would pass with the fix. Merge their reports and drop duplicates. The must-fix findings are interrogate's Act on, a blast-radius risk it confirmed, and a broken written rule of the repo.
-
Falsify. A helper runs falsify on the must-fix findings, with the plan folder and the branch's diff. No proof, no fix: an unproven finding is left open or dismissed.
-
Fix, once. One helper does what falsify ruled (cut, narrow, fix) and fixes taste-test's broke lines. Each fix comes with a test that fails without it, where a test can show it. A fix that needs a new rule or special case (a branch for one input, a new setting or flag) isn't made: it goes to Known limitations, since it often means the design is wrong. There is no second fix round.
-
Simplify. A helper runs the
simplifyskill if you have it, then deslop, on the branch's changes, then runstest. -
Spec check. A helper runs check-gaps on the plan folder, fixes every gap it lists, then runs
checkandtestuntil both pass. -
Verify. A helper runs
check,test,lintandformat, and fixes the files that changed until everything passes. -
Taste test again, only if code changed. If no step since the first taste test changed code, skip this; the first run's verdicts stand. Otherwise a helper runs taste-test's second run. Anything still broken goes to Known limitations; don't fix it.
-
Tidy the branch. A helper runs make-pr-easy-to-review before anything is pushed: it squashes noise into clean commits, writes the PR description (see below) to a file, and lists the pictures to attach. Give it the plan folder.
-
Open the PR. A helper pushes the branch and opens the PR with that description, using the repo's own PR skill if it has one, else
gh pr create. It attaches the listed pictures as make-pr-easy-to-review says, withgh pr editafter if the repo's skill can't attach. It returns the link. Then stop every helper still running. -
Babysit CI. A helper runs babysit with
ci-onlyon the new PR: it fixes failing checks and merge conflicts, then stops. It never waits for reviewers. -
Report back. You do this one.
The PR description
Short, so the user reads all of it. Teammates review it too, so it only points at what they can open: the diff, the ticket, linked PRs. Never the plan folder, the recipe, or a path on this machine. Put these at the top, before the repo's usual template:
- Summary: what changed, at most 5 bullets.
- How it was tried: what taste-test did and saw, in a few lines, with the pictures make-pr-easy-to-review picked. Script output and logs go in as a table or code block, never as a picture of text. Commands to try it only if they run from the repo itself.
- Known limitations: stated as facts for a reviewer, worst first, not as asks. Anything still broken after the second taste test, checks it couldn't try, fixes held back because they need a new rule, divergences, and open findings worth a look. Write each one out; don't send readers elsewhere for the rest.
Everything else stays in the plan folder: every divergence note, open and dismissed finding, and the risk list.
Report back
One line: <plan name>: PR <link>. CI <green|red>. <N> known limitations. (or what stopped you, if you stopped early).
- Put the PR on the user's plate (in orb only). When a PR was opened and
$ORB_PANE_IDis set, runorb plate add "Review PR #<n>: <title>" --verb review --link <PR url>before sending the line. If orb refuses withcolonist, you run in a colony: skip it, since your report back covers it. With no PR (you stopped early), add nothing. - With a
report-topane: send it withorb agent prompt <pane> "<line>". That agent tells the user and updates their status board. - Without one: end your final message with it.
