Skip to content

R02 - Builder effort trial

Purpose: Whether builders should run at high effort instead of medium. Reports the effort trial of docs/agents/orchestration.md (“Effort”) over the V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi… runs I307I307 (closed): Run 2026-10-16 (V1-M2-walking-skeleton, lane any)Size 4, 1 wave, lane any, milestone V1-M2-walking-skeleton (default: first open milestone in the version page's order with ready work for the lane)., I314I314 (closed): Run 2026-10-16 (V1-M2-walking-skeleton, lane any)Size 4, 1 wave, lane any, milestone V1-M2-walking-skeleton (default: first open milestone in the version page's order with ready work for the lane)., I323I323 (closed): Run 2026-10-16 (V1-M2-walking-skeleton, lane mac)Size 4, 5 waves, lane mac, milestone V1-M2-walking-skeleton (default: first open milestone in the version page's order with ready work for the lane)., I340I340 (closed): Run 2026-10-17 (V1-M2-walking-skeleton, lane mac)Approval: the maintainer typed /wave --waves 5 --lane mac --merge in this session (2026-10-17). and I367I367 (closed): Run 2026-10-20 (V1-M2-walking-skeleton, lane mac)Approval: the maintainer typed /wave --waves 5 --lane mac --merge in this session (2026-10-20). (2026-10-16 to 2026-10-21), and recommends a setting.

Requirements: none. This note is about the agent harness, not the product.

orchestration.md set a builder’s effort by the issue it builds:

Work Effort
Builder of a spike, or of security-sensitive code high
Any other builder high for an even issue number, medium for an odd one
Code reviewer medium, high on a pull request that gets a security review
Security reviewer Fable at high

Security-sensitive code is the code that gets a security review (“A wave”, step 4). Each wave report recorded, per pull request, the builder’s effort, the review rounds until approve, the must-fix findings in the first review, the tokens of the builder and its reviewers, the minutes from spawn to approve, and how often the maintainer stepped in. On the first six code pull requests of V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi… a second code reviewer at high also reviewed the same head.

The rule for the result, written before the trial: raise a role’s default when high cuts first-review must-fix findings by a third or more, or saves half a review round per pull request, while tokens per merged pull request rise by less than about a quarter. Otherwise keep medium.

  • Records. The ## Records table and the wave report comments of each run issue.
  • Effort check. The wave reports say that a lead can’t see the effort an agent ran at, because the notifications don’t show it. The effort that each lead passed when it spawned a builder or reviewer is in the session transcripts, and it matches the records for every pull request below. Nobody checked whether Claude Code applied it.
  • Size and labels. Lines changed and the comp: labels from GitHub, and whether a security review was posted.
  • Groups. Every odd-numbered issue built at high had a security review. The leads applied the rule as written. The comparison uses only the issues the parity rule decided: odd numbers at medium against even numbers at high, without a security review. Rebase items are counted apart.
Pull request Issue Effort Lines Rounds must-fix 1st Tokens Minutes
PR308PR308 (merged): docs: list S15-least-privilege in the README and docs site spec tablesAdds the S15-least-privilege row to the spec table in README.md and in the docs site's design.md. I169I169 (closed): README and docs site spec tables miss S15-least-privilegeThe spec tables in README.md ("Spec | Topic") and packages/wraithbox-doc/src/content/docs/design.md ("Specifications") list S03 to S13, and S16-terminal-stream once #168 merges. medium 2 1 0 68k 6
PR309PR309 (merged): fix(ci): build covdata before go:test to stop text-file-busy flakego:test now runs go tool -n covdata before go test -cover, on every OS. I217I217 (closed): go:test flakes on Linux: go tool covdata text file busygo test -race -cover ./... medium 12 1 0 105k 12
PR310PR310 (merged): fix(doc): render every page in the docs build so reference errors fail itThe CI Docs job runs doc:check before doc:build. I243I243 (closed): Docs PR check passes content errors that fail the Pages deployPR #241 passed its Docs check, and the Pages deploy of the same commit on main failed (run 38502805294). medium 25 1 0 133k 12
PR368PR368 (merged): fix(wb): drop DECSTR (CSI ! p) from the terminal filter allowlistFollows the maintainer's decision on #345 (option 1): the filter drops a guest's soft reset CSI ! I345I345 (closed): wb: kitty clears the user's kitty keyboard entry on a guest's soft resetThe filter passes CSI ! medium 60 1 0 100k 21
PR377PR377 (merged): feat(wb): refuse a host terminal whose charset isn't UTF-8wb now refuses to relay a guest terminal stream when the host terminal's charset isn't UTF-8, as the maintainer decided on #341: refuse, no warn mode, no override flag. I341I341 (closed): wb: refuse or warn when the host terminal's charset isn't UTF-8The terminal filter writes UTF-8 for a terminal that reads UTF-8 (S16-01-filter, "Where"). medium 475 1 0 179k 28
PR346PR346 (merged): feat(wb): terminal reset on exit, checked against a terminal state modelFilter.ExitReset() []byte in internal/termfilter/reset.go returns the bytes that undo what the guest may have changed in the terminal, for the filter's state at that moment. I301I301 (closed): wb: terminal reset on exit, checked against a terminal state modelThe guest can leave the user's terminal in a state that hides what wb prints next. medium 1186 1 0 239k 40
PR316PR316 (merged): docs(threats): record the data disk, login code, config link and graphics cache residualsRecords four accepted residual risks in T00-index and points the specs that state each one at its entry. I236I236 (closed): T00-index: guest root persists on the data disk across system disk swaps and break-glassA guest root that wrote to the data disk keeps what it wrote after a system disk swap, because only the system disk is replaced (S06-vm-lifecycle, "Updates"). high 119 2 1 206k 18
PR371PR371 (merged): ci(swift): trim the Swift cache, run the bundle for every Go change, measure the warm runFollow-ups from the review of #357 (#354). I362I362 (closed): ci(swift): trim the Swift cache, run the bundle for every Go change, and measure the warm runFollow-ups from the code review of #357 (#354), which merged as is. high 138 1 0 249k 80
PR324PR324 (merged): feat(swift): name guest-written bundle files so a double click doesn't mount themThe 2026-10-16 decision on #312 renames the guest-written disk images, so a double click on one doesn't make Launch Services attach a guest-written image on the host. I312I312 (closed): Bundle file names: sys.img and aux.img against S06-05 "Names on the host"Review of #311 (#160) found a conflict between two rules for the file names in a VM bundle. high 163 1 0 161k 11
PR327PR327 (merged): ci: add go:fuzz, which runs every Go fuzz target for 10sAdds mise run go:fuzz, the fuzz smoke run that S11-verification-and-spikes ("Fuzzing", "CI") asks for. I162I162 (closed): ci: go:fuzz task that runs every Go fuzz target brieflyS11-verification-and-spikes asks for "fuzz smoke runs" in CI and a fuzz target for every parser of guest bytes. high 459 1 0 294k 21
PR317PR317 (merged): ci: run the go and swift jobs and the docs site steps only when their inputs changedOn a pull request, CI now skips the go and swift jobs and the docs site check and build steps when no file they read changed. I58I58 (closed): CI: run the go, swift and docs jobs only when their inputs changedEvery push and pull request runs all jobs in .github/workflows/ci.yml: go (a matrix over three OSes), swift (macos-26), docs, vuln and actions. high 556 1 0 265k 21
PR315PR315 (merged): chore(agents): add spike:clean for spike VM bundlesSpikes that boot a macOS guest leave VM bundles in ~/Library/Caches/wraithbox-spikes/, and nothing removed them. I120I120 (closed): Clean up spike VM bundles under ~/Library/Caches/wraithbox-spikes after each spikeSpikes that need a macOS guest keep VM bundles under ~/Library/Caches/wraithbox-spikes/<spike/, and nothing removes them. high 651 2 0 275k 25
PR311PR311 (merged): feat(swift): wb-vmd device-set check and the refused-class lint rule- WraithBoxVM gets VMDescription (VMDevice and its kinds), wb-vmd's own description of a VM configuration. I160I160 (closed): wb-vmd: the device-set check, refusing any network or sharing deviceS04-architecture has wb-vmd check its own description of every VM configuration against a fixed device set, before it creates any Virtualization object, and refuse everything else with a named rule. high 957 2 1 331k 26
PR342PR342 (merged): feat(wb): keep the links the terminal filter drops, with their marksThe terminal filter keeps each OSC 8 link it drops, with a mark, for M4.11 to record and list. I300I300 (closed): wb: keep the links the terminal filter drops, with their marksThe terminal filter (M2.11a (#299)) drops every OSC 8 hyperlink, and its text stays as plain text (S16-02-drops-and-links, "Links"). high 1278 2 2 550k 53
Medium (6) High (8)
Review rounds per pull request 1.0 1.5
First-review must-fix per pull request 0 0.5
Tokens per pull request 137k 291k
Minutes to approve 20 32
Maintainer stepped in 0 0

All six medium pull requests were approved in the first round, and four of the eight high ones needed a second round.

The medium group got smaller issues by chance: its median is about 40 changed lines, against about 500 for the high group. Pull requests of about the same size show the same difference:

Medium Lines Tokens Rounds, must-fix High Lines Tokens Rounds, must-fix
PR346PR346 (merged): feat(wb): terminal reset on exit, checked against a terminal state modelFilter.ExitReset() []byte in internal/termfilter/reset.go returns the bytes that undo what the guest may have changed in the terminal, for the filter's state at that moment. 1186 239k 1, 0 PR342PR342 (merged): feat(wb): keep the links the terminal filter drops, with their marksThe terminal filter keeps each OSC 8 link it drops, with a mark, for M4.11 to record and list. 1278 550k 2, 2
PR377PR377 (merged): feat(wb): refuse a host terminal whose charset isn't UTF-8wb now refuses to relay a guest terminal stream when the host terminal's charset isn't UTF-8, as the maintainer decided on #341: refuse, no warn mode, no override flag. 475 179k 1, 0 PR327PR327 (merged): ci: add go:fuzz, which runs every Go fuzz target for 10sAdds mise run go:fuzz, the fuzz smoke run that S11-verification-and-spikes ("Fuzzing", "CI") asks for. 459 294k 1, 0
PR377PR377 (merged): feat(wb): refuse a host terminal whose charset isn't UTF-8wb now refuses to relay a guest terminal stream when the host terminal's charset isn't UTF-8, as the maintainer decided on #341: refuse, no warn mode, no override flag. 475 179k 1, 0 PR317PR317 (merged): ci: run the go and swift jobs and the docs site steps only when their inputs changedOn a pull request, CI now skips the go and swift jobs and the docs site check and build steps when no file they read changed. 556 265k 1, 0
PR368PR368 (merged): fix(wb): drop DECSTR (CSI ! p) from the terminal filter allowlistFollows the maintainer's decision on #345 (option 1): the filter drops a guest's soft reset CSI ! 60 100k 1, 0 PR324PR324 (merged): feat(swift): name guest-written bundle files so a double click doesn't mount themThe 2026-10-16 decision on #312 renames the guest-written disk images, so a double click on one doesn't make Launch Services attach a guest-written image on the host. 163 161k 1, 0

PR346PR346 (merged): feat(wb): terminal reset on exit, checked against a terminal state modelFilter.ExitReset() []byte in internal/termfilter/reset.go returns the bytes that undo what the guest may have changed in the terminal, for the filter's state at that moment. and PR342PR342 (merged): feat(wb): keep the links the terminal filter drops, with their marksThe terminal filter keeps each OSC 8 link it drops, with a mark, for M4.11 to record and list. are the closest pair: both change the terminal filter of wb (comp:wb), by about the same amount. At a matched size, high used 1.5 to 2.3 times the tokens. Tokens per changed line differ by only about 15% over the whole groups, but a pull request costs about 70k to 100k tokens before it changes a line, which raises the per-line cost of the small medium pull requests.

All 17 security-sensitive pull requests had a builder at high, so the trial has no comparison for them. They had 0.76 first-review must-fix findings and 1.5 rounds per pull request, at 661k tokens each. They used about three quarters of the tokens of all the pull requests in the records.

PR325PR325 (merged): feat(proto): first contracts for wb-vmd and wb-guestd, with buf checksThe first .proto contracts, the buf tooling, and committed generated code for Go and Swift (B52-proto-contracts, decision A). (I159I159 (closed): proto: first contracts, wb-vmd boot, state and guest connections, wb-guestd helloThe first production code for wb-vmd and wb-guestd needs a contract to build against., the first protos) is the one exception. Its builder ran at medium, and the lead added a security review because guest.proto is the host-guest boundary. About 5,000 changed lines got 0 must-fix findings and were approved in one round.

High effort didn’t stop defects from reaching main either. PR380PR380 (merged): fix(go): guestlink Close returns nil after a clean closeguestlink.Link.Close joined the errors of closing the gRPC client and the connection. and PR382PR382 (merged): fix(go): guestlink's watch waits for READY before it takes a state as a dropTestSetTime/restore (internal/guestd, #381) failed on main's CI on ubuntu-24.04 after #381 merged (run 39681529947): SetTime: rpc error: code = Canceled desc = grpc: the client connection is closing. fixed the guest link after PR376PR376 (merged): feat(hostd): guest link with port routing, connection caps, reconnect, version match and gRPC limitsThe link wb-hostd keeps to each running VM's wb-guestd: the ports it connects to, the caps on its connections, the reconnect waits and rate, the build version match of the hello, the clock schedule, and the gRPC… (I285I285 (closed): wb-hostd: guest link with port routing, connection caps, reconnect, build version match and gRPC limitsOnce a VM boots, wb-hostd must reach wb-guestd, check it, keep the link, and get it back after a drop, within the bounds of SEC13-bounded-resources.) merged, which had a builder and a code reviewer at high and a security review.

A second code reviewer at high ran on PR309PR309 (merged): fix(ci): build covdata before go:test to stop text-file-busy flakego:test now runs go tool -n covdata before go test -cover, on every OS., PR310PR310 (merged): fix(doc): render every page in the docs build so reference errors fail itThe CI Docs job runs doc:check before doc:build., PR311PR311 (merged): feat(swift): wb-vmd device-set check and the refused-class lint rule- WraithBoxVM gets VMDescription (VMDevice and its kinds), wb-vmd's own description of a VM configuration., PR315PR315 (merged): chore(agents): add spike:clean for spike VM bundlesSpikes that boot a macOS guest leave VM bundles in ~/Library/Caches/wraithbox-spikes/, and nothing removed them., PR317PR317 (merged): ci: run the go and swift jobs and the docs site steps only when their inputs changedOn a pull request, CI now skips the go and swift jobs and the docs site check and build steps when no file they read changed. and PR319PR319 (merged): feat(go): hostgit, resolve and check the host git, run it scrubbedAdds internal/hostgit, the library wb and wb-hostd will use to run the host's git.. All 15 of its unique findings held. On PR315PR315 (merged): chore(agents): add spike:clean for spike VM bundlesSpikes that boot a macOS guest leave VM bundles in ~/Library/Caches/wraithbox-spikes/, and nothing removed them. it found must-fix findings that the first reviewer missed: the spike cache path followed $HOME, and the cleanup emptied a volume mounted inside a target. The others were folds and drops. On PR319PR319 (merged): feat(go): hostgit, resolve and check the host git, run it scrubbedAdds internal/hostgit, the library wb and wb-hostd will use to run the host's git. it missed the must-fix that the first reviewer, also at high, found.

This shows that a second, independent review finds things. It doesn’t separate the effect of the effort from that of a second pass, so it isn’t evidence for a higher code reviewer default. A code review at medium cost about 50k tokens, and one at high 100k to 190k.

Rebase builders ran at high for PR373PR373 (merged): feat(vmd): ConnectGuest hands off the guest connection, with the host receiver and wb-dev-vmwb-vmd now serves ConnectGuest: it opens a vsock connection to a guest port below 1024 and sends the descriptor to the host in one HandoffMessage on fd 4., PR375PR375 (merged): feat(wb): terminal-stream contract and the wb end of the shell relayThe terminal-stream contract, and wb's end of the shell relay. and PR376PR376 (merged): feat(hostd): guest link with port routing, connection caps, reconnect, version match and gRPC limitsThe link wb-hostd keeps to each running VM's wb-guestd: the ports it connects to, the caps on its connections, the reconnect waits and rate, the build version match of the hello, the clock schedule, and the gRPC… and at medium for PR329PR329 (merged): feat(go): terminal filter for guest output, with drop counts and fuzz propertiesAdds packages/wraithbox-go/internal/termfilter, the allowlist filter of S16-01-filter for the host terminal stream (boundary 6 of T00-index). and PR330PR330 (merged): feat(go): wb-hostd state.db with migrations, closed config keys, refusing mode, daemon log pipesPart M2.7a of wb-hostd core: libraries with unit tests, not wired into cmd/wb-hostd (that is #287).. Each used 28k to 65k tokens, with no difference between the two levels.

  • Six and eight pull requests are few. Zero against four must-fix findings could be chance, but none of the measures favors high.
  • Builders at high may write more code and tests for the same issue, which gives the reviewer more to find. The records can’t tell this apart from worse code.
  • The reviewer decides what is must-fix. The code reviewers of both groups ran at medium, so they judged both groups alike.
  • Some token counts in the records are the lead’s estimates (~).
  • The records don’t cover the effort of the dispatcher, the wave lead or attended sessions, so they say nothing about the levels above high.
  • Builders at medium. High failed both conditions of the rule: it had more first-review must-fix findings and more rounds, not fewer, and about twice the tokens. End the parity split. Every builder that isn’t a spike or security-sensitive runs at medium, rebases included.
  • Security-sensitive builders stay at high for now. The trial has no comparison for them, and the one medium build, PR325PR325 (merged): feat(proto): first contracts for wb-vmd and wb-guestd, with buf checksThe first .proto contracts, the buf tooling, and committed generated code for Go and Swift (B52-proto-contracts, decision A)., went well. Most of the tokens go there, so the next trial is the parity split for these builders, with the code reviewer at high and the security review unchanged, because the reviews are the control.
  • Reviewers unchanged. The code reviewer stays at medium, and at high on a pull request that gets a security review. The security reviewer stays at Fable, high.
  • Records. Keep the table per pull request. A lead fills it from the notifications it already gets, and the milestone review and the next trial read it.

The maintainer decided on 2026-10-22, and orchestration.md (“Effort”) now says:

  • Builders run at medium, spikes and security-sensitive work included.
  • Code reviewers run at medium, also on pull requests that get a security review.
  • Security reviewers, wave leads and the maintainer’s own sessions run at high. Claude Code’s default stays at high.
  • The per-PR records and the second code reviewer end with the trial. No further effort trials are planned. After the current wave the next harness experiment counts the valid findings of Claude Security.

Status: Measured 2026-10-22 over 32 pull requests of V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi…. Decided 2026-10-22: builders and code reviewers at medium