← All Solo, Not Alone posts

ai-coding process

The Whole Branch Review Caught What Every Task Review Missed

An overnight polish run on Earfh shipped four stacked slices, every task reviewed on its own. The reviews of the whole branch still found a player removed from the party by the Glossary button, input leaking under the pause menu, and a rule the game had never followed.

Overnight into 2026-11-10 I asked for a cohesion and quality of life run on Earfh's Arcade mode (readability, flow, loose ends) and went to bed. An audit produced 35 items. They were built in four stacked slices, each a pull request on top of the last: #467 (Arcade says what it means), #468 (an Arcade glossary), #469 (run flow) and #470 (bigger loose ends).

Each slice had its own spec and plan. Each task inside a slice was reviewed when it was done, and fixes went in before the next task started. Then each slice got a final review of the whole branch, and the stack got a deeper review by three reviewers at the end. The per task reviews were not idle. Four of the seven tasks in slice 1 needed fix rounds, and three in slice 2. They still missed the bugs below, and every one of those sat in the seam between tasks.

What the per task reviews could not see

The worst one was in slice 2, the Glossary. Its shortcut is Select on a pad. Separately, the hub has a rule that a second player leaves the party by pressing Select. Both pieces were correct on their own. Put together, a second player pressing Select on a break screen to read the Glossary was removed from the party. No task touched both the shortcut and the leave rule, so no task review was looking at both. The final review found it, along with a press that closed the Glossary and then also opened pause, a Glossary that could open behind the pause menu, and focus escaping on the one seat Loadout screen.

The deep review of the whole stack found that the shop and Orders screens still acted on pad input underneath the pause menu, and that break screens lost their focus after a pause. Slice 1's final review had found a Critical in stale mod data tests and a race that could record a quit run twice. Slice 3's reviews found that RESTART could record a run and then fail if a pad dropped while its confirm was open.

One of the slice 3 findings only showed in CI. A test sent the real joystick connection signal to fake a pad disconnect and left a paused tree behind, so suites that ran after it in CI's order broke.

A rule that was never true

Slice 4 made every shove belong to the seat that caused it, so the slam kills it causes pay that player. The ruling written up for the owner said a barrel set off by a swing belonged to the swinger and paid, and one set off by a shot paid nothing. The owner's answer on the smoke sheet was that both should pay.

Building that in slice 5 turned up a finding. Swing set barrels had never paid either. The barrel's fuse is 0.15 s, and it outlives the window in which a swing's shove counts, so by the time the barrel went off, nobody owned it. The text written in slice 4 described a rule the code did not follow, and the reviews had read the code and the text separately. Now the barrel records the seat that lit it.

Slice 5's own review found a test that could not fail. It was fixed and then shown red without the fix before the PR went up, and the test plan says so.

CI only runs on pull requests

The stack was built on branches, and the repo's tests workflow only runs on pull requests. A stacked branch with no PR open has no CI at all, however many commits it carries. The lesson recorded from this run is to open a draft PR for each slice as soon as it exists, so CI runs while the work is still in progress and not only at the end.

How it ended

I smoked the build that day and passed it, and the four PRs merged in order. Slice 5 merged the same afternoon as #471, with CI at 381,941 assertions and 0 failures.

What I changed

Nothing new, which is the point. The whole branch review is already a fixed step in this process, after the per task reviews and before a merge. This run is one more set of reasons it stays. Every finding above came from two correct pieces meeting, and a review scoped to one task is scoped to one piece. On a stack, the review of the whole stack is the only place the last slice's code meets the first slice's.

More on the game at /games/earfh, and the rest of this series at /notes.

← All Solo, Not Alone posts