Skip to content

R11 - Overlap of the code and security reviews

Purpose: How much the code review and the security review of one pull request overlap, what each catches that the other misses, and which review lanes follow from that. Measured over every reviewed pull request of campaigns I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10, I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40: 34 pull requests and 93 posted reviews, from 2026-11-08 to 2026-11-29. The code was read at each finding’s head commit. The base is main at 97fdeb34 and the train of I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 at 7c6a7f2c. Issue I818I818 (closed): R11: overlap of code and security reviews, review lanes, and a reference defect listA research note for the researcher agent: R11, docs/research/R11-review-overlap.md., parent I816I816 (closed): Harness experiments: review lanes, cheaper models, and a campaign efficiency baselineTracks a set of experiments on the agent harness.. The data and the scripts are on the kept branch data/818-review-findings.

Requirements: none. This note is about the agent harness, not the product. Its recommendations change .claude/agents/ and docs/agents/, which a maintainer decision covers, and leave every SEC* control unchanged.

  • Overlap. On the 25 pull requests with both reviews, the two reviewers posted 347 findings, and 54 pairs are the same defect. Of the acted-on findings (rated must-fix or fold, then fixed or deferred), the code reviewer had 107 and the security reviewer 122, and 44 are shared: 185 defects seen.
  • Must-fix defects. 25 defects of must-fix weight on those pull requests, and one more on a pull request with only a code review. Both reviewers found 13. The code reviewer alone found 7, five of them specs or documents the change left behind, and the security reviewer alone 5, all fail-closed, audit or control defects. Of the 13 shared, both rated must-fix in 3.
  • What both missed. A capture-recapture estimate puts the defects of must-fix weight at about 28, so 2 or 3 were missed, and the acted-on ones at about 290, so about 100 were missed. The second figure is weak. The defects known to have passed both reviews are flaky tests that CI found later, 3 of them.
  • Where code findings come from. The code-review skill’s fork ran in each of the 37 code reviewer agents’ transcripts and returned a result every time. 59 to 82% of the posted code findings, and 17 of its 20 must-fix findings, are at a location the fork also reported.
  • Cost. A security review cost a median of 648k input-equivalent tokens and 12 minutes per pull request, and a code review 308k and 6 minutes, its fork included.
  • Lanes. The data splits into specs and evidence, boundaries and fail-closed, correctness and concurrency, and tests. Rules and links are a fifth, mechanical one. A synthesis step merges the duplicates and settles the rating.
Campaign Code drop / fold / must-fix Security drop / fold / must-fix
I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10 11 / 22 / 4 0 / 5 / 0
I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30 14 / 24 / 2 0 / 20 / 0
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 31 / 32 / 6 8 / 38 / 1
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 46 / 49 / 8 15 / 58 / 8
Total 102 / 127 / 20 23 / 121 / 9

All 29 must-fix findings were fixed in the same pull request. Of the fold findings, the code reviewer’s were fixed 98 times, deferred 17 and left 11, and one is disputed. The security reviewer’s were fixed 87 times, deferred 26 and left 8.

PR608PR608 (merged): docs(spec): explain the testmanagerd failure in the guest instructions, not on the hostSettles how the testmanagerd failure of an xcodebuild test in the guest is explained (B20 decision 1A, #20), as the maintainer's triage on #224 directed: no host parsing., PR612PR612 (merged): feat(wb): refuse a git directory that holds a link resolving outside itThe project resolver refuses a project whose git directory holds a symbolic link that resolves outside it, as the decision of 2026-10-26 on #388 says., PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions., PR625PR625 (merged): fix(swift): wb-vmd-layer gets a layer slot of its ownThe VM daemon that builds the Claude Code layer of an image used to share its slot with the daemon that installs macOS, so the daemon couldn't tell the two apart and a layer build would have taken the provisioning…, PR725PR725 (merged): test(swift): wait for wb-hostd's close before the hand-off send failsTwo wb-vmd tests check that a hand-off send to a wb-hostd that is gone is refused., PR726PR726 (merged): test(guestlink): wait through CONNECTING before the drop in TestDialerRefusesSecondCallOne of the fifteen flaky CI runs in the week of 2026-10-26 came from a test of the guest link's dialer that has no issue of its own., PR801PR801 (merged): docs: list the V1 limits on a user docs pageThe user documentation gets a page of V1 limits, linked from the front page and the sidebar., PR802PR802 (merged): docs(spikes): X33-restore-downgrade result, noThe spike installed old macOS restore images in a VM to see whether a compromised download helper could put an outdated guest OS under the image floor. and PR810PR810 (merged): feat(swift): run ProvisioningCheck in wb-vmd's start pathThe build VM's wb-vmd now really starts a VM with the macOS provisioning options, the step that creates the guest admin user and turns on remote login for the image build's one SSH session. had only a code review. PR612PR612 (merged): feat(wb): refuse a git directory that holds a link resolving outside itThe project resolver refuses a project whose git directory holds a symbolic link that resolves outside it, as the decision of 2026-10-26 on #388 says. adds the checks of SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another. for git links in internal/project, which the security reviewer’s trigger in docs/agents/orchestration.md (“A wave”, step 4) doesn’t name. Its code review found the alternates and includes gap (deferred) and the Windows junction gap (I617I617 (open): Project resolution on Windows: junctions inside .git pass the link walkFound in the code review of #612 (#388), finding 5.).

54 pairs on the 25 pull requests with both reviews. In the table, cF1=s1 is code F1 and security F1, then the class, then the code rating and the security rating (M must-fix, f fold, d drop).

Campaign Pull request Pairs
I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10 PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. cF1=s1 spec-drift M/f, cF2=s4 evidence M/f
I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30 PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. cF3=s6 spec-drift f/f, cF5=s3 sec-control f/f, cF6=s4 sec-control f/f, cF17=s10 spec-drift d/f, cF19=s14 spec-drift f/f, cF20=s13 sec-control f/f
I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30 PR628PR628 (merged): feat(proxyd): a fresh hand-off socket and ActivePeriodStart clear a VM's statewb-proxyd keeps its own checked copy of each VM's DNS names, a count of the wildcard names it accepted, and the VM's policy. cF1=s2 fail-closed f/f, cF2=s1 correctness f/f
I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30 PR638PR638 (merged): fix(go): keep a passed socket open until its receiver holds itThe intermittent invalid argument failures in the proxy's hand-off tests come from macOS, not from the proxy's replacement path. cF1=s1 concurrency f/f, cF2=s2 concurrency f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards. cF1=s3 concurrency M/f, cF2=s6 audit f/d, cF3=s2 audit f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR727PR727 (merged): fix(hostd): keep a passed hand-off socket until wb-proxyd holds itOn macOS, a socket that one process passes to another and closes at once can arrive dead: the kernel's cleanup of sockets in flight flushes it, and the receiver reads an empty record. cF1=s4 fail-closed f/f, cF2=s1 correctness f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR733PR733 (merged): test(netd): decide TestAnswerFails slow cases with a synctest clockA test that checks the address pool refuses a name when the proxy or host answers too slowly sometimes passed the answer through on a busy CI machine. cF1=s1 fail-closed f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR735PR735 (merged): fix(proxyd): refuse a GitLab project id with an empty segmentThe proxy reads the repository a GitLab API write names from the project id in its path, which spells each / as %2F. cF1=s2 guest-input f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR738PR738 (merged): fix(proxyd): check a pass stream's end in one step with its ClientHello sendA pass stream that the policy reset just after its upstream connection opened could still send its ClientHello upstream, because the check that the stream was still open and the write were two separate steps. cF1=s5 concurrency f/d, cF2=s1 test-gap f/f, cF4=s3 fail-closed d/d
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR739PR739 (merged): feat(netd): drop DNS queries over the rate at once, not heldA DNS query over the VM's query rate is now dropped at once, with no answer, instead of being held for 4 seconds like the other refusals. cF1=s3 spec-drift M/f, cF2=s2 fail-closed f/f, cF4=s1 spec-drift f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. cF1=s2 audit M/f, cF3=s1 fail-closed f/f, cF4=s4 audit f/f, cF9=s6 spec-drift f/f
I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. cF1=s4 spec-drift M/f, cF2=s2 audit f/f, cF3=s3 test-gap f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR794PR794 (merged): fix(netd): send the hand-off refusals to the event channelwb-netd's hand-off sender and its control channel now send every refusal and socket end they record to the VM's event channel, not only to the daemon log. cF1=s1 audit f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR795PR795 (merged): fix(proxyd): write a wildcard name again when a period starts during its writewb-proxyd now counts a new wildcard name only when no new active period started while it was telling wb-hostd about that name. cF2=s4 prose f/d
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused. cF1=s1 fail-closed f/M, cF5=s4 design d/d
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. cF1=s2 fail-closed M/M, cF3=s3 concurrency f/f, cF5=s6 spec-drift f/f, cF11=s8 audit f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR803PR803 (merged): fix(guestd): hold back two guestsock conformance checks and record T22A guest-side operation on one guest macOS version stopped the guest's kernel, and two in-guest conformance checks are held back until the cause is narrowed down. cF1=s5 test-gap f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. cF1=s1 fail-closed M/M
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR806PR806 (merged): feat(netd): ActivePeriodStart clears a running wb-netd's wildcard debitsThe network daemon used to keep the names it had charged to a VM's wildcard budget until it restarted, because nothing could tell a running daemon that a new active period began. cF1=s4 concurrency f/d, cF3=s2 test-gap f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. cF1=s1 correctness M/M, cF2=s2 audit M/f, cF3=s5 prose f/f, cF4=s3 fail-closed f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. cF1=s8 correctness M/f, cF4=s5 fail-closed f/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal. cF1=s1 correctness M/f, cF6=s2 spec-drift d/f
I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 PR814PR814 (merged): feat(download): wb-download, its entries, confinement, fetches and recordsThis adds wb-download, the one program that fetches what an image build needs from the internet: Apple's restore image catalog and a restore image, or the Claude Code channel file and a release. cF2=s9 fail-closed f/d, cF6=s6 test-gap f/f

By class group, the pairs are security 24, docs 13, correctness 11, test 5 and other 1. By rating, 32 pairs are fold on both sides, 10 are fold against must-fix, 7 drop against fold, 3 must-fix on both sides and 2 drop on both. PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already… has none: its spec-drift findings name different gaps. PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. code F10 and security F9 describe the same drop of an honest wb-proxyd’s late records, but ask for different fixes, and security F9 was left as it was after the fix of code F10, so by the rule they aren’t a pair.

Acted-on findings on the 25 pull requests with both reviews, by class. “Both” counts a pair once.

Class Code only Security only Both
fail-closed 7 18 10
guest-input 0 1 0
audit 7 11 7
sec-control 1 10 3
correctness 6 0 5
concurrency 3 3 4
flaky-test 3 0 0
test-gap 6 19 5
spec-drift 16 9 8
evidence 6 4 1
prose 4 1 1
rule 4 1 0
design 0 1 0

Most boundary defects and test gaps came from the security reviewer, which found 40 boundary defects and 19 test gaps the code reviewer didn’t. Plain correctness, flaky tests and drift between documents came more often from the code reviewer. Neither has a class to itself in concurrency.

One row per defect. c r1 F1 M is code round 1 F1 rated must-fix. Each row’s defect was read at its head (see Method). Paths drop the packages/wraithbox-go/internal/ and docs/ prefixes.

Pull request Findings Class Location at the head Head Fix
PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions. c r1 F1 M spec-drift spec/S17-install-and-upgrade/S17-04-restore-and-release.md:93 609f3000 5a7d7b2c
PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. c r1 F1 M, s r1 F1 f spec-drift tests/C09-guest-and-sessions.md:705 cbb81372 bd499f08
PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. c r1 F2 M, s r1 F4 f evidence briefs/B448-admin-channel.mdx:63 cbb81372 bd499f08
PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. c r2 F11 M evidence spec/S15-least-privilege/S15-05-admin-path.md:142 bd499f08 72ca3dcf
PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. c r1 F1 M spec-drift S06-14-xcode-imageS06-14-xcode-image: The Xcode ImageHow an image gets full Xcode and the simulator runtimes from the host, as a read-only disk the host builds, and who runs Xcode's first launch., line 21 4cf5f1de d646b781
PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. c r1 F2 M sec-control spec/S04-architecture/S04-04-vm-processes.md:111 4cf5f1de d646b781
PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already… c r1 F1 M spec-drift spec/S04-architecture/S04-02-vm-provider.md:51 47c9dcfb 312ee3f6
PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. c r1 F1 M, s r1 F4 f spec-drift netd/handoff/stream.go:113 f51e3474 4d1a491f
PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. s r1 F1 M audit netd/handoff/stream.go:261 f51e3474 4d1a491f
PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. c r1 F1 M, s r1 F2 f audit hostd/netdproc/process.go:320 1dd01357 2184ba1b
PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. c r3 F12 M spec-drift tests/C11-host-daemons.md:357 58cbad59 738557c8
PR739PR739 (merged): feat(netd): drop DNS queries over the rate at once, not heldA DNS query over the VM's query rate is now dropped at once, with no answer, instead of being held for 4 seconds like the other refusals. c r1 F1 M, s r1 F3 f spec-drift spec/S07-egress-gateway/S07-02-packet-path.md:102 6c64faab ea0cdb3a
PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards. c r1 F1 M, s r1 F3 f concurrency netd/handoff/socket.go:74 202f204d 32771b32
PR814PR814 (merged): feat(download): wb-download, its entries, confinement, fetches and recordsThis adds wb-download, the one program that fetches what an image build needs from the internet: Apple's restore image catalog and a restore image, or the Claude Code channel file and a release. s r1 F1 M audit download/fetch.go:198 924df9ee 9dc47719
PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal. c r1 F1 M, s r1 F1 f correctness guestroot/shell.go:225 1c5a08cf e959bd09
PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. c r1 F1 M, s r1 F8 f correctness proxyd/http1/respond.go:42 08e77a6e a34982d6
PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. c r1 F2 M correctness proxyd/http1/http1.go:218 08e77a6e a34982d6
PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. s r1 F1 M sec-control proxyd/http1/respond.go:230 08e77a6e a34982d6
PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. c r1 F1 M, s r1 F1 M correctness proxyd/handoff/writebound.go:28 5de12735 4a37832d
PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. c r1 F2 M, s r1 F2 f audit proxyd/handoff/stream.go:169 5de12735 4a37832d
PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. c r1 F1 M, s r1 F1 M fail-closed hostd/egress/vmend.go:118 7f96a0ca e63754c5
PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. s r2 F9 M fail-closed proxyd/handoff/socket.go:552 d6478d2e d7de4335
PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. c r1 F1 M, s r1 F2 M fail-closed hostd/events/margin.go:47 7d42ae52 0aeb02cf
PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. s r1 F1 M fail-closed hostd/events/margin.go:57 7d42ae52 0aeb02cf
PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. c r2 F9 M flaky-test hostd/events/flood_darwin_test.go:236 0aeb02cf 54211999
PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused. c r1 F1 f, s r1 F1 M fail-closed netd/within.go:25 12dc7251 38a84d8f

On the 25 pull requests with both reviews (all rows but PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions.):

Capture-recapture over the acted-on findings on the 25 pull requests:

Group Code Security Shared Seen Chapman
All 107 122 44 185 294
security 35 60 20 75 104
correctness 21 12 9 24 28
test 11 24 5 30 49
docs 36 24 10 50 83
other 4 2 0 6 14

Lincoln-Petersen gives 297 for all. The groups sum to 278. How far to trust it:

  • The samples aren’t independent. Both reviewers read the same diff, the same pull request body and the same issue, and the lead’s prompt names the same risks to both. Defects that a diff shows are found by both more often than chance, which biases the estimate low.
  • Defects aren’t equally easy to find. A model with equal catch rates undercounts when some defects are much harder, again biasing low.
  • The population is open. Many fold findings are hardening, and no fixed list of them exists to be found. For fold findings the estimate says how much more the same two reviewers would suggest, not how many defects remain.

So the must-fix estimate, 2 or 3 missed out of about 28, is a floor on a well-defined set. The acted-on estimate, about 100 missed, is a rough size only. The correctness group, with 9 shared of 24, is the best covered, and test and docs the least.

Defects that passed both reviews and were found later are below, each read at its head and traced to the pull request that added it:

Pull request Head Location Defect Found by Fix
PR628PR628 (merged): feat(proxyd): a fresh hand-off socket and ActivePeriodStart clear a VM's statewb-proxyd keeps its own checked copy of each VM's DNS names, a count of the wildcard names it accepted, and the VM's policy. 68c4f856 proxyd/handoff/harness_darwin_test.go:311 The harness closes its copy of a passed socket right after the send, so TestFreshStartClears fails with fdchan send EINVAL on macOS 27 CI on the train, I633I633 (closed): TestFreshStartClears fails intermittently: fdchan send EINVAL on the train's fresh hand-offTestFreshStartClears (internal/proxyd/handoff/fresh_darwin_test.go), added by #628 for #573, fails intermittently with fdchan: send: invalid argument: 8b3eae36 (PR638PR638 (merged): fix(go): keep a passed socket open until its receiver holds itThe intermittent invalid argument failures in the proxy's hand-off tests come from macOS, not from the proxy's replacement path.)
PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. 1dd01357 hostd/events/flood_darwin_test.go:146 TestFloodHeldBack takes a full socket to mean the receiver read up to the cap of the audit queue local mise run ci, I780I780 (closed): test: TestFloodHeldBack in internal/hostd/events failed once under a full mise run ciSeen while building #724, on branch fix/724-fuzzsmoke-deadline (99db3285, a change to internal/tools/fuzzsmoke and ci.yml only), in a local mise run ci on macOS: adf80cba (PR790PR790 (merged): test(hostd): wait for the receiver's hold in TestFloodHeldBackA test of the audit event channel's flood protection failed once under a heavily loaded local gate.)
PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. c37439fe hostd/netdproc/netdproc_darwin_test.go:385 TestStopBoundsASenderThatIgnoresIt, added in a fold round, needs the stand-in to pass the allowance within a 1 s StopTimeout CI run 42853548938 on the pull request 58cbad59

All three are timing assumptions in darwin tests. PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory.’s second one came from a fold round that no reviewer read before CI. Two more are open and not traced: I797I797 (closed): wb-netd: TestAnswerBlocked/report_blocked refused after 1 s instead of 100 ms on CI (flaky)TestAnswerBlocked/report_blocked (packages/wraithbox-go/internal/netd/hostlink/order_darwin_test.go:236) failed once on train/792 at 4e66afcfa132e52e76b5277ff4cd000299d82fb7, job Go (xcode-27) of run 46187520268: (TestAnswerBlocked, possibly from PR794PR794 (merged): fix(netd): send the hand-off refusals to the event channelwb-netd's hand-off sender and its control channel now send every refusal and socket end they record to the VM's event channel, not only to the daemon log.) and I815I815 (closed): wb-hostd: TestC11StoppedUnexpectedly reads the log before the stop is loggedTestC11StoppedUnexpectedly (packages/wraithbox-go/internal/hostd/vm/vm_test.go:554) failed on train/792 at 0f9b2314, job Go (windows-2025) of run 46213043888: (TestC11StoppedUnexpectedly on Windows, possibly from PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM.). I634I634 (closed): Flaky: TestShellOpenHeld reads kills = [] on LinuxTwo intermittent failures in the CI of train/622 (campaign #622), in code the train doesn't change:, I632I632 (closed): Flaky: TestStreamPolicy reads stream-refused count 0 on WindowsTestStreamPolicy in internal/netd/stack failed once on windows-2025 in the train CI of campaign #622:, I742I742 (closed): datadisk: TestProcessShimKilled can fail under load with child.pid holds ""Seen in the round 2 code review of #740 (#541)., I781I781 (closed): WraithBoxVMDTests: swiftpm-testing-helper exited with signal 11 once in a local mise run ciSeen once in a local mise run ci on a macOS 27 (Darwin 27.2) host while building #731 (PR #779), which changes only a Go test. and I731I731 (closed): wb-netd TestChildServes: the test's handoff() closes its copy of the passed socket at once (flaky on macOS 27)Fix the test helper that breaks S04-12-descriptor-passing's keep rule (#754, PR #758). trace to code no reviewed pull request of these campaigns added.

Deferred findings that later pull requests fixed show what the reviews handed on: PR628PR628 (merged): feat(proxyd): a fresh hand-off socket and ActivePeriodStart clear a VM's statewb-proxyd keeps its own checked copy of each VM's DNS names, a count of the wildcard names it accepted, and the VM's policy. code F2 and security F1 (I630I630 (closed): wb-proxyd: a wildcard report in flight across ActivePeriodStart undercounts the second layer in wb-hostdFound in the review of #628 (#573): code review F2 and security review F1., PR795PR795 (merged): fix(proxyd): write a wildcard name again when a period starts during its writewb-proxyd now counts a new wildcard name only when no new active period started while it was telling wb-hostd about that name.), PR733PR733 (merged): test(netd): decide TestAnswerFails slow cases with a synctest clockA test that checks the address pool refuses a name when the proxy or host answers too slowly sometimes passed the answer through on a busy CI machine.’s pair (I736I736 (closed): wb-netd: Pool.within misses a call that returns after the deadline before the timer firesPool.within (packages/wraithbox-go/internal/netd/synth/pool.go:390) decides whether an accounting write or a name report was late by reading ctx.Err() after the call returns., PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused.), PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards. security F1 (I730I730 (closed): wb-netd's hand-off refusals never reach the audit log (Sender has no Events)Builds S07-20-handoff-sockets, "Audit", for wb-netd (#754, PR #758)., PR794PR794 (merged): fix(netd): send the hand-off refusals to the event channelwb-netd's hand-off sender and its control channel now send every refusal and socket end they record to the VM's event channel, not only to the daemon log.), PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory.’s pair on F3 (I741I741 (closed): Audit event holds: one VM's budget can hold the shared wb-proxyd channel for every VMFollow-up from the reviews of #740 (#541): code review F3, security review F1., PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM.), PR638PR638 (merged): fix(go): keep a passed socket open until its receiver holds itThe intermittent invalid argument failures in the proxy's hand-off tests come from macOS, not from the proxy's replacement path.’s findings (I637I637 (closed): Descriptor senders close their copy before the receiver holds it (darwin socket GC)Found while fixing #633., then PR727PR727 (merged): fix(hostd): keep a passed hand-off socket until wb-proxyd holds itOn macOS, a socket that one process passes to another and closes at once can arrive dead: the kernel's cleanup of sockets in flight flushes it, and the receiver reads an empty record., PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. and PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already…), PR625PR625 (merged): fix(swift): wb-vmd-layer gets a layer slot of its ownThe VM daemon that builds the Claude Code layer of an image used to share its slot with the daemon that installs macOS, so the daemon couldn't tell the two apart and a layer build would have taken the provisioning… code F1 (I629I629 (closed): wb-vmd: call ProvisioningCheck where provisioning options reach a VMFound in the review of #625 (#463), code review F1., PR810PR810 (merged): feat(swift): run ProvisioningCheck in wb-vmd's start pathThe build VM's wb-vmd now really starts a VM with the macOS provisioning options, the step that creates the guest admin user and turns on remote login for the image build's one SSH session.) and PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. security F3 (I536I536 (closed): wb-proxyd: bound writes to a stream's socket (stream-write-timeout) and close upstream when it endsBuilds S07-20-handoff-sockets, "Stream bounds", on wb-proxyd's side (#754, PR #758)., PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take.).

PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already…’s rebase left a commit in the middle of its stack that didn’t build. The code reviewer’s round 3 F6 found it and rated it drop.

The code-review skill ran in every one of the 37 code reviewer transcripts, as medium <worktree> origin/<base>...HEAD. Of those, 8 ran in the background and their result came later. All 37 forks ended with a JSON list of findings (253 in all, 3 to 10 per run). None failed by the rules of .claude/agents/code-reviewer.md, step 2.

Posted code findings From the fork, same file within 10 lines From the fork, same file Own steps (lower bound)
must-fix (20) 14 18 2
fold (127) 75 104 23
drop (102) 59 82 20
All (249) 148 (59%) 204 (82%) 45 (18%)

Read by hand, 17 of the 20 must-fix findings are in the fork’s list, some at another line of the same defect (PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal. F1 at shell.go:589, PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. F1 at margin.go:71). The 3 that came from the reviewer’s own steps are PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. F11 (round 2, a spec read against the spike), PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already… F1 (a rule list the spec lost) and PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. F9 (a flaky test the reviewer ran). Of the 253 fork findings, 120 match a posted finding within 10 lines. The reviewer drops or merges about half of what the fork reports.

Reviewer Model Agents Turns Cost Of it, the fork Minutes
Code Opus 5.5 37 56 13.87M 4.73M 217
Security Fable 5.2 22 33 16.29M 277
Security Fable 5.1 5 7 1.87M 39

Cost is in input-equivalent tokens of the reviewer’s own model. PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already…’s round 2 security review names Opus 5.5 in its attribution lines, but its transcript (“Security re-review PR 747 rebase”) ran on Fable 5.2, so its cost is in the Fable 5.2 row.

  • Per pull request, a code review cost a median of 308k (148k to 992k) and took 5.7 minutes. A security review cost a median of 648k (288k to 2.21M) and took 12.0 minutes.
  • A first round took a median of 4.6 minutes for code and 9.9 for security. A later round took 1.7 and 2.4.
  • Per acted-on finding, the code reviewer spent 103k (135 findings on all 34 pull requests) and the security reviewer 149k (122). Per must-fix-weight defect it found, whatever it rated it, the code reviewer spent 660k (21) and the security reviewer 1.01M (18). Per must-fix finding it rated, 694k (20) and 2.02M (9).
  • The fork is 34% of the cost of the code reviews.

Each lane is one reviewer with one question. In this design the lanes read the same shared context: the diff, the pull request body, the issue’s trusted text, the specs the issue names, and the list of earlier findings. The counts are entries of the reference list below that fall in the lane.

Lane Looks for Reads besides the shared context Kind Reference entries
Specs and evidence A spec, test case (C*), brief or index that the change contradicts or leaves behind. A claim with no source in the evidence. The S* and C* pages the diff touches or names, and every page that names the same rule or process (git grep of the rule names the diff adds) Mechanical first pass, then judgment 63: 9 must-fix (PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. three, PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions., PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. F1, PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already…, PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. F1, PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. F12, PR739PR739 (merged): feat(netd): drop DNS queries over the rate at once, not heldA DNS query over the VM's query rate is now dropped at once, with no answer, instead of being held for 4 seconds like the other refusals.) and 54 applied fold
Boundaries Input from the guest or a less trusted process, a check that fails open, a lost or misattributed audit record, a SEC* control SEC00-indexSEC00-index: Security requirementsThe security controls Wraith Box enforces., T00-indexT00-indexboundary 6 is the host terminal stream., S04-architectureS04-architecture: ArchitectureName the processes, the boundaries between them, and which requirement each boundary serves., S04-08-records-and-boundsS04-08-records-and-bounds: Records, Versions and BoundsThe records daemons send wb-hostd, the build version rules between processes, the bounds on host work a guest can cause, and logs., and the code on both sides of each boundary Judgment 61: 11 must-fix (PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. F2, PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. F1, PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. F1, PR814PR814 (merged): feat(download): wb-download, its entries, confinement, fetches and recordsThis adds wb-download, the one program that fetches what an image build needs from the internet: Apple's restore image catalog and a restore image, or the Claude Code channel file and a release., PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. F1, PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. F2, PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. both, PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. two, PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused.) and 50 applied fold
Correctness and concurrency Wrong behavior on a valid input, a race, a lock order, a protocol state the code mishandles The functions each changed function calls and is called by Judgment, with the code-review fork as its first pass 18: 6 must-fix (PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards., PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal., PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. two, PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. F1, and PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. F9 with tests) and 12 applied fold
Tests A new check with no test that feeds it a violation, a new parser of guest bytes with no fuzz target, a test that depends on timing The tests the diff adds or changes, and go test -race -count=5 on them Mechanical (missing tests, fuzz targets) and judgment (timing) 32: 29 applied fold and the 3 later-found flaky tests, which the reference list files under correctness
Rules AGENTS.md rules: lint disables, ID references, pinned tools, the runtime.GOOS rule The rules in AGENTS.md Mechanical, a script where it can be 7 applied fold

reference.json on the data branch has one entry per defect: every must-fix defect, every fold finding that was applied, and the later-found defects. A pair is one entry, filed under the higher rating, and its ratings field records each reviewer’s own rating, so a scorecard can report a difference in either direction without treating the higher one as right. Each entry has the pull request, the head where the defect is present, the class, the rating, file:line, a one-sentence description, the fix commit, who found it, the mechanical checks, and, for the must-fix and later-found entries, the hand note of what the code shows.

Kind security correctness test docs other All
must-fix 11 6 0 9 0 26
applied fold 50 12 29 54 7 152
Later-found 0 3 0 0 0 3
All 61 21 29 63 7 181

Every entry’s head exists and its file exists at the head. For 177 entries, the fix changes the file or one beside it. For the other 4, the fix is elsewhere: PR735PR735 (merged): fix(proxyd): refuse a GitLab project id with an empty segmentThe proxy reads the repository a GitLab API write names from the project id in its path, which spells each / as %2F. code F2’s location was corrected by hand, and the fixes of PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal. code F6, PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. code F6 and PR806PR806 (merged): feat(netd): ActivePeriodStart clears a running wb-netd's wildcard debitsThe network daemon used to keep the names it had charged to a VM's wildcard budget until it restarted, because nothing could tell a running daemon that a new active period began. security F1 change the caller or the source instead.

A design only, and none of the recipes has been run. Each candidate puts one real defect in front of the reviewers, so the defect is known to be real and the right finding is known. A lane set or a reviewer prompt is measured by how many it finds and how it rates them. A later spike builds each seeded tree, runs the checklist below, and only then scores a seed.

A seed has to be clean, with nothing else in the tree or its history that gives it away. Besides the code, a fix commit adds tests that fail once the defect is back, and it changes C* test cases, spec lines and comments so that they describe the fixed behavior. A seed that undoes only the code leaves those in the diff the reviewer reads. The recipes come from reading each fix commit in full (git show <fix>, and review-findings/bin/fixdiff.py on the data branch, which lists the files, the test functions and the changed lines of a commit, with seedbase.py beside it for the “Diff from” column). Reading can miss a leak. The checklist searches for one too. Each candidate takes one of two forms:

The presence of each defect at its head was checked by reading the code: p.receiver.Stopping has no match at 1dd01357, boundedConn has no CloseWrite at 5de12735, the upgrade of proxyd/http1/respond.go registers the open-stream check only for a WebSocket at 08e77a6e, checkStatus has no match at 924df9ee, status in guestroot/shell.go sends SigHup and SigKill after the reap at 1c5a08cf, S04-04-vm-processesS04-04-vm-processes: Per-VM ProcessesOne wb-vmd for each VM, the wb-vmd-layer entry of the Claude Code layer build, the wb-vmd-recipe entry of a named image's recipe, and wb-diskfmt, which formats a VM's new data disk. names no xcode.img at 4cf5f1de, and handoffWith closes a right after the send at 68c4f856.

Answer key. A seed’s key is the reference entries of its pull request that are present and not yet fixed at the seed’s commit, plus the findings.json entries with outcome deferred whose head is an ancestor of the seed’s commit. At a fix commit the seed’s own entry comes on top. review-findings/bin/seedkey.py lists them, and the “Key” column gives the counts as reference entries plus deferred defects, with a duplicate pair of deferred findings counted once. A finding outside the key goes to the maintainer to judge, and isn’t counted as a false alarm by default.

# Pull request Applies at Diff from Key Seed Class Lane that should find it Found in the campaign by
1 PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused. fix 38a84d8f dc880619 1 + 0 In netd/within.go Within, read time.Until(deadline) before start := now(), and recipe 1 fail-closed Boundaries security (must-fix), code (fold)
2 PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards. fix 32771b32 a46b50fb 1 + 2 In netd/handoff/socket.go, make isEnded return k.ended without waiting for done, and recipe 2 concurrency Correctness both, rated apart
3 PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. head 1dd01357 ea47bd32 6 + 1 None: Stop in hostd/netdproc/process.go doesn’t tell the receiver it stops. The holds release only at SenderGone, after the exit audit Boundaries both, rated apart
4 PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. fix 4d1a491f 2dbafa66 1 + 0 In netd/handoff/stream.go guestWriteRule, test only errors.Is(err, os.ErrDeadlineExceeded) and drop the net.Error timeout test, and recipe 4 audit Boundaries security only
5 PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. fix e63754c5 6c07b44e 5 + 3 In hostd/egress/vmend.go, have waitEnd call dropEnd on ctx.Done(), which deletes the wait for the answer on a cancel, and recipe 5 fail-closed Boundaries both, must-fix
6 PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. head 5de12735 25d46a01 4 + 1 None: boundedConn in proxyd/handoff/writebound.go has no CloseWrite, so the embedded net.Conn hides the socket’s own correctness Correctness both, must-fix
7 PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. head 08e77a6e 0f9b2314 10 + 1 None: proxyd/http1 registers checker.OpenCheck(req) only when a WebSocket upgrade passes sec-control Boundaries security only
8 PR814PR814 (merged): feat(download): wb-download, its entries, confinement, fetches and recordsThis adds wb-download, the one program that fetches what an image build needs from the internet: Apple's restore image catalog and a restore image, or the Claude Code channel file and a release. head 924df9ee 0f9b2314 9 + 3 None: download/fetch.go copies any status into rep.Status, and finish has no minimal report after a report outside its form audit Boundaries security only
9 PR813PR813 (merged): feat(guestroot): add wb-guestroot, the guest end of the admin pathThe guest now has a second daemon of its own, wb-guestroot, that gives the host a root login shell on a terminal. head 1c5a08cf 0f9b2314 5 + 0 None: status in guestroot/shell.go sends the hangup and the kill to the group after the reap, and signal has no ended check correctness Correctness both, rated apart
10 PR739PR739 (merged): feat(netd): drop DNS queries over the rate at once, not heldA DNS query over the VM's query rate is now dropped at once, with no answer, instead of being held for 4 seconds like the other refusals. fix ea0cdb3a ea47bd32 1 + 0 In S07-02-packet-pathS07-02-packet-path: Packet PathHow wb-netd carries the guest's frames: the packet transport, the stack, the link filter, its caps, addressing, the MTU and connections., list only dns-hold-full among the dropped queries that are rate-limited. No more to undo spec-drift Specs both, rated apart
11 PR628PR628 (merged): feat(proxyd): a fresh hand-off socket and ActivePeriodStart clear a VM's statewb-proxyd keeps its own checked copy of each VM's DNS names, a count of the wildcard names it accepted, and the VM's policy. head 68c4f856 68facb86 3 + 2 None: handoffWith in proxyd/handoff/harness_darwin_test.go closes a right after the send flaky-test Tests neither, CI later
12 PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. head 4cf5f1de 68facb86 13 + 0 None: S04-04-vm-processesS04-04-vm-processes: Per-VM ProcessesOne wb-vmd for each VM, the wb-vmd-layer entry of the Claude Code layer build, the wb-vmd-recipe entry of a named image's recipe, and wb-diskfmt, which formats a VM's new data disk. gives wb-vmd-layer no rule for xcode.img, and wb-diskfmt’s sandbox no exception for the Xcode entry’s files sec-control Specs code only

The recipes, beyond the code change in the table:

  1. In the doc comment of Within, restore the sentences on the order of the two reads to their text at the fix’s parent, which says the time ctx allows is read once before the call, and the time the call took on now. The fix’s text says the start is read first, so that any time between the two reads counts toward late, which names the defect. The sentence on a ctx without a deadline stays, with the ErrNoDeadline code and tests of another finding. No test in within_test.go depends on the order of the reads.
  2. Restore the three comments the fix rewrote to their text at the fix’s parent: the comment on end in socket.go, the doc of isEnded, and the comment on case sock.isEnded() in stream.go. Each says that isEnded waits for done. TestHandshakeFailed, changed in the same commit, tests another finding and stays.
  3. (none, at the head)
  4. Restore the doc of guestWriteRule to “names the rule of a failed write to the guest.”, remove the “stack timeout” case and the stackTimeout type from handoff_darwin_test.go, and restore the TestGuestWriteFails line of C11-host-daemonsC11-host-daemons: Host Daemons, Audit, and DisksThe test cases for the host daemons' own checks: wb-vmd's device set and slots, the image build bundle, supervision, the accounting and event channels, the daemon log pipes, the audit writer, free space, and the data… to its text at the fix’s parent, without ”, the stack’s own timeout error included”. The sentence the fix added to S07-05-stream-hand-offS07-05-stream-hand-off: Stream Hand-offHow wb-netd hands each stream to wb-proxyd, and the checks that keep a compromised wb-netd from widening what a stream may reach. on resets stays: it fixes another reference entry, PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. code F1 with security F4.
  5. Remove TestStopEndCanceled from vmend_test.go, which fails with the seed, and restore the doc of waitEnd to its text at the fix’s parent, which says only that a cancel gives up the wait. The fix’s text says the wait stays.
  6. to 9. (none, at the head)
  7. Nothing: the fix’s other changes, to S07-03-dnsS07-03-dns: DNSHow wb-netd answers the guest's DNS queries: synthetic addresses, the name form, negative answers and the wildcard budget., S07-04-dns-refusalsS07-04-dns-refusals: DNS RefusalsHow wb-netd refuses a name: approval events, the hold before each refusal, quiet refusals, and the answer that is the same for every reason., C01-network-and-dnsC01-network-and-dns: Network and DNSThe test cases for the guest's network path: the link endpoint, addressing, and the DNS gateway with its hold, quiet refusals, and negative answers., resolver.go and serve.go, close other findings of the round and don’t mention the S07-02-packet-pathS07-02-packet-path: Packet PathHow wb-netd carries the guest's frames: the packet transport, the stack, the link filter, its caps, addressing, the MTU and connections. list.
  8. and 12. (none, at the head)

Seed 10 is the only fix-commit seed whose recipe is its code change alone. Seeds 1, 2, 4 and 5 need the comment, test and test-plan changes above. Seed 11 is at PR628PR628 (merged): feat(proxyd): a fresh hand-off socket and ActivePeriodStart clear a VM's statewb-proxyd keeps its own checked copy of each VM's DNS names, a count of the wildcard names it accepted, and the VM's policy.’s own head and not at the fix commit, 8b3eae36 in PR638PR638 (merged): fix(go): keep a passed socket open until its receiver holds itThe intermittent invalid argument failures in the proxy's hand-off tests come from macOS, not from the proxy's replacement path., where the comment the fix added names the I633I633 (closed): TestFreshStartClears fails intermittently: fdchan send EINVAL on the train's fresh hand-offTestFreshStartClears (internal/proxyd/handoff/fresh_darwin_test.go), added by #628 for #573, fails intermittently with fdchan: send: invalid argument: cause.

At its fix commit 4a37832d, seed 6 would have to remove CloseWrite, errNoHalfClose, TestCloseWriteForwarded, TestC02StreamHalfClose and the doc sentence on half-close, and restore conn: proxy in stream/harness_test.go, without which TestC02RawRelay fails. The same commit turns newBoundedConn into BoundWrites for that change and for the record step of another finding, so the reviewed head is the smaller risk. Seed 9’s fix commit also adds the RuleWaitFailed rule, TestStartFailedGivesBack, a comment in wb-guestroot/main.go and two S15-05-admin-pathS15-05-admin-path: The Admin PathHow the person at the host's terminal gets a root shell in their own guest, on a path that no agent, session, or guest process can start or reach. edits for other findings, and seeds 3, 7, 8 and 12 are in commits of 13, 11, 15 and 9 files that fix a round each.

Building a seeded tree. Each seeded tree is one commit on its “Diff from” commit, with a neutral message and the pull request body of its first head, so that no commit message in the history names the fix. The reviewer gets the issue text up to the head as a file, with no access to the repository on GitHub (“Replay set”). A fix commit’s own message names its defect, for example e63754c5’s “keep a canceled end’s wait”.

Checklist. Before a replay scores a seed, it checks that:

  • the history from “Diff from” to the seeded tree holds only the one seeded commit;
  • every comment in the issue file predates the head;
  • the diff the reviewers see is exactly the diff from “Diff from” to the seeded tree;
  • the seeded tree builds;
  • the defect is back: for a fix-commit seed, the test the recipe removes fails on the seeded tree before the recipe removes it. For a seed with no such test, a run reproduces the scenario the review describes. For seeds 1, 2 and 10, whose recipes don’t remove a test, the check is a read of the seeded code against the review’s scenario, recorded with the seed, and the maintainer reads a sample of those records;
  • the touched package’s tests pass once the recipe is complete, seed 11 aside, which fails only some of the time on macOS, as the original did, and is scored by whether a reviewer names the timing assumption, not by a failing run;
  • a search of the seeded diff and history for the fix’s own terms, its rule names, test names and the words of its commit message, finds none of them, outside code the seed doesn’t touch.

The darwin tests need a VM.

Candidates 4, 7 and 8 test whether a lane set keeps what only the security reviewer found, 10 and 12 what only the code reviewer found, and 11 a defect neither found.

A replay runs a new lane set on a pull request’s first head and compares its findings with the reference list.

A reviewer normally reads the issue its pull request closes. That issue now holds comments from after the head, which name the real pull request and its fixes. A replayed reviewer gets instead the issue’s body and its comments up to the time of the head, as a file, with no gh and no web access to the repository on GitHub. Before a replay scores, it checks that every comment in that file predates the head. This holds for every replayed head, seeded or not.

Pull request Campaign Why
PR722PR722 (merged): fix(netd): record a refusal before the guest can see itWhen the network stack refused a guest connection, it sent the guest the reset first and counted and logged the refusal afterwards. I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 A concurrency must-fix that both found and rated apart
PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory. I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 Three rounds, a must-fix in round 3, and two later-found flaky tests
PR746PR746 (merged): fix(netd): keep a handed-off stream's end open until wb-proxyd holds itThe network daemon used to close its own copy of each connection's socket the moment it passed that socket to the proxy. I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 A must-fix only the security reviewer found, next to a shared spec-drift one
PR798PR798 (merged): fix(netd): decide a late write or send on the clock, not ctx.Err()A record write to the host or a send to the proxy that takes longer than its 100 ms bound must count as failed, so the DNS answer it backs is refused. I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 Small, with the one must-fix the security reviewer rated higher
PR799PR799 (merged): feat(hostd): stop the VM whose event sender ignores its budgetBefore this change, a guest's network daemon that kept sending audit records past its VM's budget could get the host to pause reading the shared proxy's records, and that froze the network of every VM. I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 Both rated must-fix, one security-only must-fix, and a flaky test in round 2
PR804PR804 (merged): feat(egress): number hand-off sockets, acknowledge both ends, run the end exchangeEach VM's hand-off socket now has a number that rises and is never reused, and every acknowledgment and close notice names it. I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 A shared must-fix and a regression found in round 2
PR808PR808 (merged): feat(proxyd): bound stream writes and close upstream on a stream's endThe egress proxy now limits how long each write to a stream it took over from the network process may take. I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 A shared must-fix and a second shared defect rated apart
PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 One must-fix each for code only, security only and both
PR734PR734 (merged): test(hostd): TestShellOpenHeld waits for the handler's end before the killsTestShellOpenHeld sometimes failed on Linux with kills = []. I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 A control: both reviews, no must-fix, a measure of false alarms

Each changes Go code under packages/wraithbox-go, and has both reviews and its fixes on the record. Left out: PR747PR747 (merged): fix(vmd): keep a passed descriptor until wb-hostd acknowledges itOn the newest macOS the kernel can throw away a socket that is in transit between two processes once the sender has closed its copy, so a guest connection or the VM's network link could reach the host daemon already… (a stack whose middle commit didn’t build, and Swift that needs macOS to run), PR803PR803 (merged): fix(guestd): hold back two guestsock conformance checks and record T22A guest-side operation on one guest macOS version stopped the guest's kernel, and two in-guest conformance checks are held back until the cause is narrowed down. (some of its security findings are left out), and the spec-only pull requests of I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10 and I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, which replay the Specs lane only. Those, PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions., PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions. and PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. among them, are the replay cases for spec drift, most of which the code reviewer caught alone (PR619PR619 (merged): docs(spikes): X31-admin-channel answered yes, with conditionsX31-admin-channel answered yes, with conditions. code F11, PR620PR620 (merged): docs(spikes): X30 result, the installer refuses a changed restore imageResult of spike X30-installer-trust: yes, with conditions.’s, and PR626PR626 (merged): docs(spec): Xcode image from a host-built read-only diskAn image that needs full Xcode now gets it from the Mac it runs on, never from the internet. code F1).

  • Classes, outcomes and duplicate pairs are one reader’s judgment. The data branch has the annot.txt line of every finding counted here.
  • Some security findings are left out, so the security counts are lower than the reviews show.
  • The source of a code finding is a location match. The strict and loose bounds differ by 23 points. The must-fix findings were also matched by reading, the others weren’t.
  • Cost is in each model’s input-equivalent tokens. A Fable token and an Opus token don’t cost the same. The reviewers’ costs compare only after the prices of R12-model-fit-by-roleR12-model-fit-by-role: Model fit by agent roleWhich agent roles could run on Sonnet 5.5, or at a lower effort, at the same quality, what each move would save, and how to test each one before deciding..
  • A reviewer resumed for a later round shares one transcript, so a round’s minutes are those of its turn. The turns weren’t matched to the posted reviews one by one, and their counts differ by a few: 56 code turns against 54 code reviews, and 40 security turns against 39.
  • Later-found defects are those already found. The first campaign ended about three weeks ago and the last one today, and most of their code has no production caller yet.
  • No measurement here needed a VM or the maintainer’s Mac.
  • Add the security reviewer to more pull requests. docs/agents/orchestration.md, “A wave”, step 4: add pull requests that change a SEC* check anywhere, the audit and event paths of wb-hostd (internal/hostd/events, internal/hostd/audit), and internal/project. PR612PR612 (merged): feat(wb): refuse a git directory that holds a link resolving outside itThe project resolver refuses a project whose git directory holds a symbolic link that resolves outside it, as the decision of 2026-10-26 on #388 says. had none. The 5 security-only must-fix defects say what such a review catches.
  • Settle ratings in one place. Today the lead reads two reviews that rate the same defect apart 10 times in 13. Add a synthesis step to docs/agents/orchestration.md, step 5, and to .claude/agents/wave-lead.md: merge duplicates, set one rating (this note proposes the higher, a rule the maintainer hasn’t adopted, and the scorecard reports differences in both directions), and apply “a check that fails open or loses an audit record is must-fix” to both reviewers’ findings. Repeat that rule in .claude/agents/code-reviewer.md’s must-fix list.
  • Give each reviewer its lane. Tell the security reviewer that the code reviewer covers spec and document drift, and the code reviewer that the security reviewer covers boundaries (.claude/agents/code-reviewer.md, .claude/agents/security-reviewer.md). Both still report what they see. The aim is fewer of the 54 duplicate pairs, and the replay set checks that none of the 12 one-sided must-fix defects is lost.
  • Add a mechanical Specs pass. A script lists the rule names, process names and test names a diff adds or renames, and greps docs/ for each. The code reviewer reads its output. This needs a spike first, against the replay set.
  • Re-read fold commits. docs/agents/orchestration.md, step 5: the commit of a fold round gets the same check as that of a fix round. PR740PR740 (merged): feat(hostd): hold back an event sender that ignores its budgetA compromised network daemon could send well-formed audit records as fast as it liked and ignore every budget notice, and the host daemon would queue them all in memory.’s second flaky test came from one.
  • Run new darwin tests repeatedly. .claude/agents/code-reviewer.md, step 5: run each test the diff adds with -count=5 on darwin. The later-found defects above are all timing assumptions in new tests.
  • Keep the code-review fork. It supplied 17 of the 20 must-fix code findings for a third of the cost, and never failed here.
  • Measure lanes before adopting them. Run the replay set and the seeded candidates against today’s two reviewers and against the lanes, and compare finds, ratings and cost. The scorecard reports rating differences in both directions and doesn’t count the lower rating as wrong.

Status: Measured 2026-11-29 over 34 pull requests and 93 reviews of I604I604 (closed): Campaign 2026-11-08 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 2 --usd 30 --issues 10 --prs 10, I622I622 (closed): Campaign 2026-11-09 (V1-M3-network-floor, lane mac)/campaign 5 --lane mac --vm-slots 2 --hours 3 --usd 300 --issues 30 --prs 30, I720I720 (closed): Campaign 2026-11-10 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 and I792I792 (closed): Campaign 2026-11-28 (V1-M3-network-floor, lane mac)/campaign --lane mac --vm-slots 2 --hours 12 --usd 300 --issues 40 --prs 40 (2026-11-08 to 2026-11-29). 54 duplicate pairs, 13 of 25 must-fix defects found by both reviewers, 7 by code only and 5 by security only. Recommends review lanes and a synthesis step, to be measured on a replay set and seeded defects first. The seed recipes haven’t been run yet