The day we "lost" a month of port work (we hadn't): an audit, a branch, and six agents killed by a spend limit
On the evening of July 19, an agent wrote a document that said, in bold, that a month of work on the eleven fresh ports had never existed. It named what it had searched and drew the procedural lesson in bold too. Four hours later, a different session merged the work it said was gone. Both documents are still in the repository, one stacked on top of the other, and the wrong one is not stupid. It is careful, well-evidenced, and wrong in a way that is very easy to be.
What was supposed to exist
The eleven ports from article 11 landed on June 16 and 17 with the base apps and one game each. Four of the project's eleven cross-port reference apps (Tracker, OutLast, Pac-Man, Paint) were launcher placeholders on every one of them, and none had storage. Bringing those four apps to the fresh ports was the next job, and it started the same evening.
c5dc719f, June 17, 22:31: "Fresh-port parity push: complete Tier A (rpi/pinephone/ppcmac/gba) + SMS 3/4 apps". Forty-three files, 12,148 lines added. The message is specific about what it is and is not: "Add the four apps each fresh port was missing — Tracker, Pac-Man, OutLast, Paint — plus a USV1 byte-heap filesystem (Files browser + Notepad save), all harness-verified." Ten minutes later, bb4cb627 fixed the PC Engine's real-hardware black screen (the zero-page and stack map were swapped, and the assembler had been folding VDC writes into zero page, so "all VDC/VRAM writes silently landed in RAM"). Then, from June 20 to June 25, a run of PinePhone commits: a full DSI panel bring-up with seven bugs fixed (5452495d), and a hardware investigation that ended with "the clock hypothesis dead" (33d32790) and every display register matched against the working reference.
Here is the detail that matters for everything that follows: none of those commits went to master. They went to a branch, parity-push-fresh-ports, and master itself went quiet. The last commit on master's first-parent line before the gap is June 17; the next is July 15 (886649c9, the pc64 world). Between June 18 and July 14 there is not a single commit on master. Every commit reachable from master with a date in that window is there because the branch was merged later.
The branch did not stay in June. On July 18, between 02:15 and 02:35, nine more commits landed on it: the NES brought to all eleven apps on a new headless PPU harness (6c0f48bb), the Master System's Pac-Man (19cb16b9, "The 4th and final SMS app"), a DWC2 USB keyboard driver for the Pi, a PinePhone panel probe, and a status doc (090180ef) that updated the feature matrix to say NES was at full parity. Then a handoff doc (3a326fa1) describing how to add a parity app to the remaining tile-based ports. That was the branch's tip. It was about forty-three hours before the audit.
The audit
July 19 was a heavy day on master: thirty-eight commits, most of them pc64. In parallel with that, I ran a family-wide parity audit: go through every port, find what each one claims versus what it ships, and fix what can be fixed. The audit's report is 70c1d57c, 21:55, "docs: parity program handoff - what landed, what is parked on parity-wip, resume order", and the file it added, docs/PARITY-HANDOFF.md, opens with the finding that started the program:
docs/FEATURE-MATRIX.mdand the project notes claimed the eleven "3.1-fresh" ports had been brought to the 11-app roster in June. They had not. A whole-tree survey (this repo, the legacy remote, and a disk search) found no Tracker/OutLast/Pac-Man/Paint sources for any fresh port. What survives of that June effort is a set of orphan compiled binaries in gitignored build directories (unodos_ol/_pm/_tk/_paint,_fs*) — outputs whose source was never committed. The June session worked in an untracked copy of the tree.
And then, a paragraph down, the lesson, also in bold: "uncommitted work does not exist."
Read that as a piece of reasoning and it holds together. The agent looked for the source files parity would require and did not find them. It did find compiled binaries with the right names (unodos_ol, unodos_pm, the OutLast and Pac-Man builds) sitting in build directories that .gitignore excludes (the Pi's ignore file is build/* plus an exception for the kernel image). A binary with no source next to it is exactly what a lost working tree leaves behind. The agent did not just say "not found"; it explained its evidence, proposed a mechanism ("an untracked copy of the tree"), and stated the scope of its search: the repo, the legacy remote, the disk. Three places. It was thorough within them.
One smaller thing in that paragraph was also off, and it shows where the claim came from. Master's feature matrix at that moment did not say the fresh ports had eleven apps; its rows read "M1–M3 + Dostris game + PSG audio" and the like. The claim of full parity lived in "the project notes", which is to say the agent's own memory of the June session, the one that had done the work on the branch. It was auditing a claim it had itself made, from a session it could not see into, against a tree that could not show it.
The six agents
The audit's fix program is where the only multi-agent episode in this repository's history happened, and it did not go well. The program fanned out worker agents, one per port, to write the four missing apps. Then the account's monthly spend limit hit, and every worker was killed wherever its cursor happened to be.
b2e40c1, 21:54, on a branch named parity-wip, is what was salvaged. Its message:
WIP (DOES NOT BUILD): interrupted parity-app work on nes/vic20/gba/rpi/ppcmac/pinephone Parked deliberately so it is not lost. Six agents were killed mid-edit by an account spend limit on 2026-07-19; this is exactly the failure mode that lost the June parity push (its code was never committed and is gone).
It then lists the state of each of the six ports at the moment of death: two build, four do not, with the exact reason for each ("kernel.s:697 includes outlast.inc.s, not yet written"; "undefined reference t_tracker"). Forty-seven files, 11,572 lines, committed to a branch because the audit had just concluded that leaving work in a working tree is how work dies. Ten minutes later the CLAUDE.md that every future agent reads was updated (8ed7b388, 22:05) to say that an earlier attempt "was lost to being uncommitted" and that parity-wip "must not be merged as-is."
The response to the kill was correct: park the partial state, record what builds and what does not, write the resume steps, tell the next session. The lesson the audit drew is a true lesson. It was just being applied to a loss that had not happened, and the 11,572 lines it protected were a second implementation of the 12,148 lines on the branch nobody had listed.
The correction
The next session started from the handoff doc, as instructed, and went looking at the branches. 442fa5b1, July 20, 02:10, "Merge parity-push-fresh-ports: the fresh-port parity work, recovered":
The 2026-07-19 parity audit concluded the June parity attempt "was never committed and is lost". That is not what happened: the work is committed on parity-push-fresh-ports and pushed to origin. It carries Tracker, OutLast, Pac-Man and Paint for six fresh ports (sms, nes, gba, rpi, pinephone, ppcmac), none of which master had, plus the PC Engine real-hardware black-screen fix, the rpi DWC2 USB-HID keyboard host driver, and the PinePhone cold-panel-init investigation.
The merge brought 127 files and 22,724 lines onto master. Every source file auto-merged; the three conflicts were a doc, a .gitignore comment and one binary, and the message says which side won each and why. The verification line is the kind the series keeps coming back to: "sms, nes, gba, pce and rpi all build from the merged tree, and pc64 still builds to an identical 1108587-byte BOOTX64.EFI."
Two minutes later, 735009c2, "docs: correct the parity audit - the June work was never lost", explains the miss in one sentence: "The 2026-07-19 audit surveyed the repo, the legacy remote and the disk, but not the branch parity-push-fresh-ports, and concluded from the orphan build outputs that the source had never been committed. It had: those binaries were that branch's outputs." The orphans were never orphans. The branch had been checked out and built in that working tree; the survey ran its search against master and saw the outputs without the inputs.
What I like most about this commit is a decision it records about the document it was correcting: "Corrects CLAUDE.md and prepends a correction to the handoff doc rather than rewriting it, so the audit's reasoning stays legible." The handoff doc at v3.34.0 still opens with a block-quoted correction, and underneath it the original audit, bold "They had not" and all, exactly as written. The correction's own statement of the lesson is the one I would keep: "The procedural lesson still stands, but the accurate form of it is: before concluding work is lost, check every branch and remote, not just the mainline."
And the six agents' work? The correction settles that too: "parity-wip is now fully superseded: master has strictly more (six ports at four apps each, versus wip's five ports with gba at one app and pinephone missing Paint), and master builds where wip by design does not. Nothing needs to be recovered from it." On August 6 (70ac183c) a tidy-up commit noted that both parity-wip and the branch it was parked beside had already been deleted, and that b2e40c1 "is still an unreachable object in the store, so the ref was deleted rather than never created." The only multi-agent run in the repo's history produced a branch whose entire content was a duplicate of something that already existed, and the only thing left of it is an unreferenced commit.
What the miss cost, and what it did not
Nothing was lost. The work had been committed and pushed; it was recoverable with one git branch -r, and it was recovered within about four hours of the audit saying it was gone. The cost was the fix program: a parallel run, one worker per port, re-deriving apps that were already on a branch, killed by a spend limit before any finished, for an output that was then superseded in its entirety. That is real money and a real evening.
The second thing to say is that the wrong document was a better document than most correct ones. It stated its scope, showed its evidence, proposed a mechanism that fit, and applied its own lesson immediately. When it was wrong, its reasoning was legible enough that the next reader could see exactly which step had failed, and the correction named the missing search term in a single clause. An audit that had said only "parity was not done" would have been just as wrong and impossible to debug.
The lesson
An audit's "not found" is a claim about a search scope, and it is only as strong as the scope it names. The July 19 document did everything right except enumerate the places a commit can live, and "this repo" silently meant "this repo's mainline." The fix for that is not to trust audits less; it is to read the scope line as carefully as the finding, and to treat a thorough negative over a partial scope as exactly what it is: a partial result with a confident tone.
The transferable version, for anyone running agents over a codebase: when an agent tells you something does not exist, ask where it looked, and check whether that list covers every place the thing could be. Branches and remotes are the obvious case; the other worktree, the other machine, the sibling repository are the same case. "Check every branch" is the procedural rule this project wrote down. The rule under it is that absence of evidence is a measurement, a measurement has an instrument, and you have to know what the instrument can see.
The next essay goes back to where this series started, the 8088, to look at the same repository forty years of hardware later: from real-mode assembly to x86-64 UEFI, with the same window manager and the same eleven apps on both ends.
Sources: https://github.com/hmofet/unodos, commits c5dc719f, bb4cb627, 5452495d, 33d32790 (June 17-25, on parity-push-fresh-ports); 6c0f48bb, 19cb16b9, 090180ef, 3a326fa1 (July 18, same branch); 70c1d57c, b2e40c1, 8ed7b388 (July 19); 442fa5b1, 735009c2 (July 20); 886649c9 (July 15); 70ac183c (August 6); docs/PARITY-HANDOFF.md and CLAUDE.md at 70c1d57c and at v3.34.0 (82a7fe90); docs/FEATURE-MATRIX.md and rpi/.gitignore at 70c1d57c.