← blog

2026-10-25

Running shipkit on auto: what it covers and where it stops

A recent ticket went from spec to three signed-off PRs on auto, and I touched it twice. I picked between two options the plan offered, and I told it to keep going when it hit the round cap. It is now waiting on a third decision from me.

In my first post about shipkit the pipeline mostly stopped to ask me things. Since then I have spent most of my time on one question: if I start /run-pipeline <ticket> auto and walk away, what do I come back to? This post is my answer so far. It has no "percent handled without me" figure, because shipkit doesn't record one yet and I'd rather say so than make one up. How the sessions find and talk to each other is covered in a separate post.

Three terms first. The orchestrator is /run-pipeline, which walks a ticket through its stages. A coordinator is the Claude session that owns one ticket in its own git worktree, and a worker is a short-lived session that writes code in a single repo.

One ticket, read from its state file

The evidence is the state file of a run that is still open as I write this: a feature that spans a backend, a web frontend and the root spec.

The run reached round 12 against a cap of 6, mostly review and verify fixes, and I lifted the cap by telling it to continue. Its last re-verify needs a real model call and a restart, so the staging API key is mine to approve. A product owner's question is posted and unanswered. The run stopped where only I or someone else could decide, and a stop like that doesn't count against it, which is also why I can't reduce the run to one percentage.

What auto means

Auto mode doesn't loop until something looks done. Each stage passes on a result I can check: a spec passes when every requirement has a source, and a plan passes when its review finds nothing missing and nothing marked unverified. When a stage doesn't pass, the orchestrator sorts the failure into one of three classes, and the class decides what happens next.

Only class A has rounds, and the orchestrator never edits code itself: every fix is a dispatched skill with its own brief. A review with zero blocking findings is a pass, and its advisory findings get up to six fix passes before anyone is asked. A Slack post from /pr's review loop goes out without waiting. A Jira comment waits for me, and so does a Slack DM. The merge stage runs only when every precondition holds, among them reviewer sign-off on each PR, a current verify PASS, no conflict with the destination branch, and no open follow-up that another team would see.

Cover the scenarios before the work starts

Rework usually starts with a scenario nobody thought of until a reviewer or /verify hit it: a role that sees too much, a flag that never resets, a state the mockup doesn't show. Each one costs a fix round, a review and a verify run. So I moved the thinking to the front, to spec, clarify, plan and tasks, and made it sweep every scenario in one pass.

On a UI ticket, /design-recon runs right after the spec and before the clarify gate, and it is never optional. It opens the mockup in a real browser, reads the computed styles, snaps each value to a Tailwind class and writes a design-contract.md. It clicks every trigger, since dropdowns, modals and tabs stay hidden until clicked, and it derives the states the ticket's logic implies but the mockup never draws: blocked, error, empty, other roles and statuses. The mockup then answers what it can before the product owner is asked, and whatever it leaves out joins the same clarify gate.

In the spec, an Input rules table makes unit and source mandatory, so a bound nobody specified becomes a question for the product owner instead of a number the planner picks. A requirement that says "cached" or "not repeated" without a lifetime is an open question. /cross-check tests any rule that limits access to own, team or assigned records against every route that touches the noun, and it checks the premise of a question that splits on a type, role or status before the question reaches the product owner.

In the plan, a task that adds a ref, a memo or a flag carries a lifecycle: line, and the worker's brief then requires a test where each enabling input goes from false to true and a test for each reset event. A plan that leans on a capability owned by another ticket has to verify that capability first.

/verify expands each check into a matrix of variants instead of passing a surface it reached once. For a role it checks both sides: the role that has the right sees exactly its scope, and one that doesn't gets a hidden menu entry, a blocked URL and a 401 or 403 from the API. For a plan or feature flag it seeds a workspace on that plan. For "who sees what did not change" it sends the same request on the same data to the base branch and to this one. Anything the client enforces gets a variant that bypasses the client, and anything that remembers state gets the re-entry variants: leave and return, clear, reload, switch source. With fidelity: exact, every computed-style difference from the design is a failure.

How leftover findings are recorded

Auto mode fixes the small advisory findings itself, up to six passes. What is left is real but not for that pass: it needs data work, ops, the product owner or a policy. Those go into .shipkit/follow-ups-<ticket>.md, one entry each. For the api.yml case below, an entry reads like this:

## api.yml maximum disagrees with the server
kind: contract
visible: consumer
decision needed: raise the api.yml maximum to 30, or clamp the server to 12
decider: product owner
why it was not fixed here: changes the API contract

visible: says whether anyone outside the diff can see the problem (no, consumer or docs). An entry of kind PO, policy or contract needs a decision needed line and a decider, or it isn't an entry. Nothing is created in Jira until I approve the draft.

The visible: field exists because of one ticket. A limit in api.yml said 12 while the server clamped to 30, and the frontend didn't handle the new 400, 409 and 429 responses. Both sat among 23 entries of a list that /merge never read, and I found them after the fact. Now a leftover that names a new error code or status that another repo or a user sees, or that leaves two docs saying different things, is a question before the merge. The merge precondition that reads the follow-up file stops the run with follow-up <title> needs a decision while any open entry is visible and has no decision. A finding the PR's own change caused doesn't go on the list at all, because it is fixed in that round. The list is deduped and reordered by impact on every append, and the report counts distinct open entries instead of raw findings.

Where this leaves me

On the ticket above, auto carried the work through spec, design check, plan, implementation, review rounds, verify and PRs, and stopped at decisions that belong to a person. What I can't say yet is how often a run reaches the end without me, because shipkit doesn't record its stops. Until it does, each ticket's state file is what I have.