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.
The trial
Section titled “The trial”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.
Method
Section titled “Method”- Records. The
## Recordstable 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
effortthat 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.
Results
Section titled “Results”Medium against high, by parity
Section titled “Medium against high, by parity”| 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:
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.
Security-sensitive pull requests
Section titled “Security-sensitive 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.
The second code reviewer
Section titled “The second code reviewer”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.
Rebases
Section titled “Rebases”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.
Limits
Section titled “Limits”- Six and eight pull requests are few. Zero against four
must-fixfindings 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.
Recommendations
Section titled “Recommendations”- Builders at medium. High failed both conditions of the rule: it
had more first-review
must-fixfindings 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.
Decision
Section titled “Decision”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