In the first post we described a fleet of agent sessions, each with one issue, one worktree and one lane. This post follows a single change through that pipeline, from a rough idea to a squash merge, and shows what the review step finds when you count it.
Every count here comes from our repository and issue history, and we re-run the queries before publishing.
An idea becomes a ranked issue
Every feature or fix starts as an issue. A product-owner skill handles intake and ranking. Incoming work is sorted into one of four kinds: a product feature (which also needs an entry in our list of features), an engineering item such as a bug, a chore or debt, an item migrated in bulk from our old backlog files, or a problem report a customer sends from the product. Most are engineering items. For what we notice ourselves, the intake workflow files the issue with the fields we require every time: a priority from P0 to P3, a milestone, a type and area labels.
Priority is decided only by the product-owner skill's rules, never ad hoc by whichever session happens to file the issue. That rule exists because unprioritised issues pile up, and a pile cannot be ranked.
A large requirement then gets sliced into units sized for one session. Each unit states one sentence of intent, the files it changes, and an outcome written as a command with the expected output. It also names the kind of evidence that settles it: local, CI, or a check against a live environment. If a unit would touch more than three files, need more than one kind of evidence, need more than one command or have more than one acceptance criterion, it is split again. The test for independence is plain: name the customer-visible outcome this unit alone delivers, and if the sentence needs the word "then", the unit is not independent yet.
The product-owner skill produces a ranked shortlist. A person picks which lanes to start.
Investigate, plan, review the plan
Given an issue number, an implementation skill runs the build side. Its standing rules fit in a sentence each:
- Data-driven only. Every claim about a root cause needs a citation: a schema read, a log line, a traced code path. A function name or a comment is not evidence.
- Never defer a real gap. If investigation finds a real problem, it gets fixed in the same pass. Deferral is for work that is genuinely another lane's, or needs a product decision.
- Nothing reaches the human as approved until a fresh reviewer signs off. A separate Claude Opus agent writes the plan, then a fresh Opus reviewer attacks it, three rounds by default. Round one is a full adversarial pass, round two checks the fixes and what they broke, round three only verifies.
If the third round is not clean, work stops and the open items go to a person. When it is clean, the person gets a summary and a choice: implement, revise, or drop. Reaching that prompt is not the same as approval. Only the person's pick starts the build.
Build in a worktree
The build happens in an isolated worktree on its own branch. For a bulk change we prefer a Claude Sonnet subagent as the builder. The session itself runs on Sonnet too, and makes only small, mechanical fixes. Who types the code is a cost choice. Engineering judgement is not: separate Opus agents write the plan, run each review round, find the root cause of a failure and make any fix that needs judgement. The phases are not optional.
These are the rules as we run them today. We are starting to try other coding agents, such as OpenAI's Codex and the open-source OpenCode, on low-risk work, so some of them will change.
The builder gets the approved plan and a short list of rules: implement the full plan, add no abstraction nobody asked for, return any decision the plan did not settle instead of guessing, run no tests locally and only lint what changed, and do not push or open a pull request. The orchestrating session reads the diff before the next step.
Three rounds of code review
Our code review runs through a dedicated review skill. It runs a fresh reviewer each round, one at a time, never several in parallel. The reviewer only reports; it changes no code. The session that ran the build fixes the findings the same way it builds: small, mechanical fixes itself, a bulk fix through a Sonnet builder, and any fix that needs judgement through an Opus agent.
- Round one is exhaustive. A shallow first round is what causes round four and beyond.
- Round two verifies the fixes and looks for what those fixes introduced.
- Round three only verifies. If it is clean, the change is approved.
Two rules do most of the work. A real finding is fixed in the same pass, across every severity, not parked in a backlog. And a fix is trusted only after you check what sits next to it: the same function, the same caller, the same data shape. For fixes with new or changed tests, the session removes the fix and checks that the test fails, then restores it and checks that it passes. When local execution is prohibited or the test skips, the session traces the test and reports that the check was not run.
We hold the cap because of our own history. One branch once reached round 43 before it closed, and another ran 24 rounds in a single week. Both were reviews that never converged. The cap, plus the rule that each round has a specific job, is what replaced that.
One pull request, at the end
The pull request opens only when the work is done: plan approved, build finished, review clean. Opening it earlier would trigger a cloud CI run on every push, which costs capacity for no gain. The body links the issue with a "refs" line and never with a closing keyword, because a pull request never closes its own issue. By default, an issue with a live check closes only after that check passes; long calendar waits and production-only checks move to their own issues; changes with nothing to check live (docs, tests) close with a recorded reason. That is the subject of the next post.
CI runs entirely in the cloud. When it is green on the exact commit under review, the change is squashed and merged.
What review finds when you count it
Our pull request descriptions record how many findings each review round raised, by severity. We parsed those counts for the 390 pull requests merged in one recent week, with a single fixed pattern: a number followed by Critical, Warning or Suggestion. Plan reviews and code reviews are counted together.
- 251 of the 390 descriptions report counts.
- 102 Critical, 708 Warning and 1,967 Suggestion findings as parsed, which is at least 2,700 in one week. About 810 of them were Critical or Warning.
- 227 of the 251 pull requests had at least one Critical or Warning.
Three caveats keep that honest. The count mostly undercounts, because abbreviated forms are not matched and the pull requests whose descriptions give no figures are left out. It can also overcount: two descriptions that re-state an earlier round's open finding are counted twice. And a finding is a reviewer's judgement, not a proven defect; we count them to show the process is doing work, not to claim a bug rate.
The takeaway is simple. In 227 of the 251 changes that reported counts, a reviewer raised at least one Critical or Warning before the change merged. Our rule is that a real finding is fixed in the same pass, not noted. Of the 390 changes merged that week, 251 reported counts, so we say nothing about the other 139.
Why 48 minutes is not the lead time
Last month the median pull request took 48 minutes from opening to merge, and the median was 604 changed lines. That sounds fast. It is fast because the pull request opens last. Everything slow, the plan review, the human approval and the three review rounds, happens on the branch before it exists. The measure that includes the slow part is issue open to issue close, our lead time: a median of 32.5 hours across the 739 work issues closed last month (parent issues, which only group other issues, left out).
We would rather show both numbers than quote only the flattering one.
Next
A merged pull request is not a finished issue. In the next post we cover how validation before closure works: by default, the follow-up check against a live environment has to pass before an issue with a live check closes, while long calendar waits and production-only checks move to their own issues, and why we made that a rule instead of a habit.