Campaign 792: network floor, lane mac
Ended 2026-11-29: The train’s CI failed after wave 4 (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), so the campaign ended after wave 5, at 7.7 of 12 hours and 254 of 300 dollars. Train train/792 in PR793PR793 (merged): Train 792: network floor, lane macTrain for campaign #792 (V1-M3-network-floor, lane mac).. To veto a pull request on the train, comment veto #<pr> on PR793PR793 (merged): Train 792: network floor, lane macTrain for campaign #792 (V1-M3-network-floor, lane mac)..
In short
Section titled “In short”The train makes the hand-off between wb-netd and wb-proxyd safe against stale and forged notices, stops the VM whose audit sender ignores its budget instead of freezing the shared proxy, bounds the proxy’s writes to a stream, and closes smaller gaps in the network floor and wb-vmd’s build slot.
- Each hand-off socket now has a number, and
wb-hostdchecks every notice about it. A late notice about an old socket could fail or end its replacement, and nothing bounded how many notices a daemon sent. Nowwb-hostdkeeps each VM’s last 16 sockets with their owner, refuses a notice that doesn’t match, and runs an end exchange withwb-proxydat a VM’s stop, with a deadline. The second security round caught a regression in which a guest could get the sharedwb-proxydended, and the third confirmed the fix. The egress contract changed with it. wb-hostdstops the VM whose audit event sender passes its margin, and never holds the shared proxy’s channel. Before, one guest’swb-netdthat ignored its budget could pause the shared proxy’s records and freeze the network of every VM. The margin is now counted per sender, and the VM that passes it stops. A new spec page holds the design. Your decision waits on whether the bound it leaves is acceptable.wb-proxydgives each write to a handed-off stream 90 seconds. A stalled write resets the stream and frees its place under the VM’s cap. Every end of a stream now closes the upstream connection first, and a close no longer waits on a write. A guest that reads slowly can also reach the bound.wb-netd’s hand-off refusals reach the audit log. A guest that opened connections faster thanwb-proxydtook them saw resets that the audit log never showed. Every refusal and socket end is now recorded before the guest sees the reset.wb-netddecides on the clock whether a record write or a send to the proxy was late. A call that returned after its 100 ms bound, but before the context’s timer ran, used to pass. Now it fails, and a call without a deadline is refused before it runs.wb-vmd’s build slot accepts the macOS provisioning options, after the provisioning check. Every other slot still refuses them, and the build password is held as bytes that are wiped after the start. No real provisioning boot has run it yet, and it had a code review only.wb-proxydwrites a wildcard name again when a new active period starts during its write. Without it, awb-proxydrestart could let one name past the budget’s second layer.- The restore downgrade spike answered no. Apple’s signing server signed every macOS build tried, back to 13.0, and the version the framework reads from a restore image comes from an unsigned file. So checking the image’s own version can’t stop a downgrade. Your choice of option waits.
- The user docs list the V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. limits on a new page, starting with the
xcodebuildtest limit in a macOS guest.
Not merged, beside the train: wb-download, the largest change of the campaign, waits on your decision on where it sets its file size limit. wb-proxyd’s HTTP/1.1 loop needs its second review. wb-guestroot, the guest end of the admin shell, waits on your approval of an issue split. A control.proto message that clears wb-netd’s wildcard debits waits on your contract approval. A change that holds back two guest socket checks waits on a withheld high-severity finding and an accepted risk.
What needs you
Section titled “What needs you”- Merge the train, or hold it for the Windows failure. The campaign ended because the train’s CI failed once on Windows in
TestC11StoppedUnexpectedly, a test of the VM manager’s unexpected-stop log, on a commit that changed only the report page. The train edits the same file,internal/hostd/vm/stop.go, to add a stop for one run of a VM, and the Windows leg runs only on the train’s pull request, so that change’s own checks never ran this test on Windows. It passed in the other 6 Windows runs on the train, the last on the train’s head. Options: merge now and leave the cause to the issue, or have the issue triaged first. The agent recommends triage first, to rule out that the new stop path drops or reorders the log line. (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:, 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.) - The bound of the audit margin. A sender may now get 8,192 records a minute written past its VM’s budget, and under the bytes budget 32 MiB of audit lines a day, counted per run of the VM. A restarted
wb-netdstarts a new count, bounded by the restart limit. Before, the bound was the budget plus 4,096 records a minute for all senders together, but it froze the shared proxy. Options: accept it against the bounded resources control, or ask for a count kept across windows or across runs. (I800I800 (closed): Audit event margin: decide the per-window reset bound (SEC13)Decide whether the event margin's per-window reset is an acceptable bound under SEC13-bounded-resources, or whether a sender that keeps ignoring budget notices should be stopped across windows., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped.) - The restore downgrade options. A, check the guest’s own version before the image is sealed, which the brief recommends. B, pin the SHA-256 of each accepted restore image in each Wraith Box release. C, keep the gap. Then close I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e)., which planned the image version check, or change its scope. Once the train is merged, tag the spike commit 0d2d9f59 as
spike-x33-restore-downgrade. (B618-restore-downgradeB618-restore-downgrade: Can a compromised wb-download install an older macOS build?Yes, and the image's own version can't stop it., X33-restore-downgradeX33-restore-downgrade: Restore image downgradeCan a compromised wb-download install an older macOS build that Apple's signing server still signs for a VM, by reporting a newer version in its catalog entry?, I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e).) - A triage choice on the wildcard budget’s top end. At the largest budget, 65,535 names, one name
wb-hostdover-counts ends the sharedwb-proxyd. Options: cap the budget below the name limit, which users see, or havewb-hostdaccept a one-name over-count fromwb-proxyd. (I796I796 (open): wb-hostd: a kept wildcard set over-counted by one ends wb-proxyd when the budget is at its maximumFound by the security review of #795 (finding F3, round 1).) - A slow refusal in a
wb-netdtest.TestAnswerBlocked/report_blockedrefused after 1 s instead of 100 ms on the train, on the refusal path the audit change touched. A rerun passed, and it passed 50 times locally. Triage whether the change added a wait or the runner was slow. The issue isn’t labeledflaky. (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:, 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.) - Approve the
control.protochange in thewb-netdperiod reset. Both reviews approved it, every check passed, and GitHub can merge it. It addsHostdToNetd.active_period_start = 4, which reusesActivePeriodStart. The message doesn’t hold a descriptor, andwb-netddoesn’t acknowledge it. The train rules let a contract change ride without you, and the numbered hand-off sockets already put a larger change to the same file on the train. The dispatcher held this one anyway. (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., I627I627 (closed): wb-netd: no control message starts a new active periodThis is a contract change to proto/wraithbox/egress/v1/control.proto (a HostdToNetd kind, its check in internal/egressmsg, a fuzz seed), so the maintainer approves it in review as for #573.) wb-download’s file size limit and its gaps. Both reviews approved it and it passes the train’s merge check, but the dispatcher left it for you. It setsRLIMIT_FSIZEon itself at start, where the design hadwb-launcherset it, and so moves where a bounded resources control is enforced. The strict option is thatwb-launchersets it andwb-downloadrefuses to start with a higher hard limit. It also asks you to accept the Keychain deny case of its self-check as not yet covered, a TLS check that passes only when the program runs from inside its app bundle, and taking a restore image’s SHA-1 from other Mac models’ catalog entries, because theVirtualMac2,1entries have none. (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., I650I650 (closed): wb-download: the program, its two entries, confinement, host checks, deadlines, the fetches and its recordsPackage IMG.1 of docs/implementation-plan.md, part 1 of 4 (IMG.1a)., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., C12-install-and-downloadsC12-install-and-downloads: Install and DownloadsThe test cases for installing and upgrading Wraith Box: wb-download, wb-release-check, the checks wb-hostd makes on what it fetches, wb setup, and the migrations of state.db and configuration., S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release.)- The split of the admin path.
wb-guestroot, the guest end, is approved and green, and the host end moved to a new issue. Approve or reject the split. The pull request closes no issue, so it fails the train’s merge check until you decide. (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., I614I614 (closed): Build the admin path: wb-guestroot, the admin service and wb vm adminFollow-up of #448 (X31-admin-channel), as the triage of #448 asked: no issue exists yet for building the admin path of S15-05-admin-path., I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614.) - A second review of
wb-proxyd’s HTTP/1.1 loop. Both first reviews asked for changes, including three must-fix findings. The fixes are pushed at a34982d6, but wave 5 stopped early on budget before a second review. (PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream., I498I498 (closed): wb-proxyd: HTTP/1.1 on inspected streams: the request form, caps, transfer coding, tunnels and the request stepsPackage M3.6 of docs/implementation-plan.md, part 2 of 4 (M3.6b).) - The guest socket checks and the guest kernel stop. The change that holds back two conformance checks of the guest socket fails the train’s merge check. It closes no issue, and its issue needs a VM run that it doesn’t have. It records a guest-only denial of service as a proposed accepted risk, which only you can accept. Its security review has a high-severity finding, F7, withheld from public text. Ask for it from the wave 3 session transcript (8778f361). Whether toolchain steps run under the session profile’s deny is also yours. (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., I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance.)
- Attended: narrow the guest kernel stop on a VM host. The API’s cyber safeguards stopped the first builder for this issue before it changed anything, so the narrowing and the VM checks weren’t built. A narrower builder built only the docs and the test gating. Start with
mise run vm:provision i615/guest. (I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance.) - Attended: the admin path’s VM check. Run
mise run go:test-vmonce the host end is built. In wave 5’s provisioning boot on macOS 27.2 (26B123), the port 1022 checks couldn’t run, because that boot has no virtio socket device (ENODEV). No guest kernel panic happened. (I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614., I614I614 (closed): Build the admin path: wb-guestroot, the admin service and wb vm adminFollow-up of #448 (X31-admin-channel), as the triage of #448 asked: no issue exists yet for building the admin path of S15-05-admin-path.) - A comment in
vmd.proto. The comment onStartRequest.provisioningstill says every slot refuses it. The permission system refused the builder’s comment-only edit and the regeneration. Make the edit, or allow it. (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., F1) - The guest
CLAUDE.md. The Claude Code commands spec still says the image installs a guestCLAUDE.md, but its issue was closed as not planned. Decide which one is right. (I611I611 (closed): User docs: list the V1 limits, starting with the GUI-session limit of S06-04Found in the code review of #608 (#224)., I607I607 (closed): Claude Code layer: install the managed guest instructions CLAUDE.md (S14-04 Guest instructions)S14-04-commands-and-endpoints, "Guest instructions" (#224) specifies a managed CLAUDE.md that the Claude Code layer installs at /Library/Application Support/ClaudeCode/CLAUDE.md in a macOS guest: owned by root, mode…, S14-04-commands-and-endpointsS14-04-commands-and-endpoints: Commands and EndpointsWhich permission mode Claude Code runs in, the commands that don't work in a guest, the guest instructions that explain the guest's limits to Claude Code, and the endpoints Claude Code in the guest may reach.) - The proxy’s event paths aren’t tested end to end. The margin’s
wb-proxydpaths run only against fakes until its event channel is attached. That issue has a comment with security finding F9, which asks for the hand-off socket to end at the stop decision. (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., I512I512 (closed): wb-proxyd: the program, its confinement and start, hand-off sockets per VM, and restartsPackage M3.12 of docs/implementation-plan.md, part 3 of 4 (M3.12c).) - Triage I805I805 (open): wb-hostd: write the hand-off decisions of S07-20 to the audit logS07-20-handoff-sockets, "Audit", says wb-hostd writes its own hand-off decisions to the audit log. (write the hand-off decisions to the audit log), I807I807 (closed): wb-proxyd: close upstream when wb-netd closes a stream's socket outrightS07-20-handoff-sockets, "Stream bounds", says: when a stream's socket ends, wb-proxyd closes the upstream connection. (
wb-proxydcloses upstream whenwb-netdcloses the socket of a stream outright) and I809I809 (closed): wb-hostd: clear a daemon's wildcard set at an in-band marker on its accounting channelFollow-up from the security review of #806 (#627, campaign #792), finding F1 (fold, low, not exploitable). (wb-hostdclears a daemon’s wildcard set at a marker on its channel, a contract change), and I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614. 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: above. - For the record, refused commands. Security reviewers had their scratch probe writes refused by the worktree isolation check in 7 reviews, in waves 1, 2, 4 and 5, and covered those cases by reading the code. The
vmd.protoedit above was refused in wave 5. - Worktrees kept for 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., 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., PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream., 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. and 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., and for PR772PR772 (open): ON HOLD fix(go): move the policy file parser to go.yaml.in/yaml/v4The policy file parser now reads YAML with version 4 of the Go YAML library, because version 3 only gets security fixes now., which is against
mainfrom another session. - The 254 dollars count the waves alone, because the ledger doesn’t meter the manager’s own session. The maintainer read that session’s cost as about 5 dollars, so the campaign came to about 259 of the 300 dollars.
- A VM check of the admin path, attended (I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614.): run
mise run go:test-vm. The port 1022 checks of PR613PR613 (merged): feat(proxyd): strict HTTP/1.1 request head, request form and stepsPart of #498. and I614I614 (closed): Build the admin path: wb-guestroot, the admin service and wb vm adminFollow-up of #448 (X31-admin-channel), as the triage of #448 asked: no issue exists yet for building the admin path of S15-05-admin-path. didn’t run in the provisioning boot (no vsock, ENODEV) on macOS 27.2 26B123. No guest kernel panic.
Decided after the campaign
Section titled “Decided after the campaign”The maintainer read this page on 2026-11-29 and vetoed nothing. Three changes that waited beside the train were approved and merged into it: the new active period that reaches wb-netd with its control.proto change (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., I627I627 (closed): wb-netd: no control message starts a new active periodThis is a contract change to proto/wraithbox/egress/v1/control.proto (a HostdToNetd kind, its check in internal/egressmsg, a fuzz seed), so the maintainer approves it in review as for #573.), the guest end of the admin path, wb-guestroot (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., with the host end split to I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614.), and wb-download with RLIMIT_FSIZE set in it, its three gaps accepted as they are (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., I650I650 (closed): wb-download: the program, its two entries, confinement, host checks, deadlines, the fetches and its recordsPackage IMG.1 of docs/implementation-plan.md, part 1 of 4 (IMG.1a).). The sections below were written before that, so they still describe these three as open.
- The Windows failure doesn’t hold the train. 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: is ready for an agent at low priority, raised if it fails again.
- The audit margin’s reset bound is accepted as proposed (I800I800 (closed): Audit event margin: decide the per-window reset bound (SEC13)Decide whether the event margin's per-window reset is an acceptable bound under SEC13-bounded-resources, or whether a sender that keeps ignoring budget notices should be stopped across windows., closed).
- Downgrades: option B of B618-restore-downgradeB618-restore-downgrade: Can a compromised wb-download install an older macOS build?Yes, and the image's own version can't stop it., pin the SHA-256 of the known restore images. I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e). now builds that, and a release pipeline for new macOS builds comes later.
- The wildcard budget gets capped below the name limit (I796I796 (open): wb-hostd: a kept wildcard set over-counted by one ends wb-proxyd when the budget is at its maximumFound by the security review of #795 (finding F3, round 1)., ready for an agent). That also covers I809I809 (closed): wb-hostd: clear a daemon's wildcard set at an in-band marker on its accounting channelFollow-up from the security review of #806 (#627, campaign #792), finding F1 (fold, low, not exploitable)., closed.
- Triaged: 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:, I805I805 (open): wb-hostd: write the hand-off decisions of S07-20 to the audit logS07-20-handoff-sockets, "Audit", says wb-hostd writes its own hand-off decisions to the audit log., I807I807 (closed): wb-proxyd: close upstream when wb-netd closes a stream's socket outrightS07-20-handoff-sockets, "Stream bounds", says: when a stream's socket ends, wb-proxyd closes the upstream connection. and I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614. are ready for an agent.
- Held: PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. (I498I498 (closed): wb-proxyd: HTTP/1.1 on inspected streams: the request form, caps, transfer coding, tunnels and the request stepsPackage M3.6 of docs/implementation-plan.md, part 2 of 4 (M3.6b).) goes to the next campaign for its round 2 review.
- Merged after the train: 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. (I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance.) merged into
mainafter the maintainer accepted T22-guest-kernel-panicT22-guest-kernel-panic: A guest process can panic its own VM's kernelIn X31-admin-channel a guest-side operation by an unprivileged user in a macOS 27.2 guest stopped the guest's kernel, and the guest rebooted.. I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance. stays open for the VM work. - The guest
CLAUDE.md: the spec is right. I607I607 (closed): Claude Code layer: install the managed guest instructions CLAUDE.md (S14-04 Guest instructions)S14-04-commands-and-endpoints, "Guest instructions" (#224) specifies a managed CLAUDE.md that the Claude Code layer installs at /Library/Application Support/ClaudeCode/CLAUDE.md in a macOS guest: owned by root, mode… is folded into I677I677 (closed): Claude Code install: run wb-release-check, stream the checked bytes, and install the binary and the guest instructionsPackage IMG.7 of docs/implementation-plan.md, part 2 of 5 (IMG.7b)., which builds it later.
What changed where
Section titled “What changed where”The changes, largest first
Section titled “The changes, largest first”wb-download fetches what an image build needs, not merged
Section titled “wb-download fetches what an image build needs, not merged”Code, spec and contract, open beside the train. Security: a new parser of bytes from the internet, and it moves where a bounded resources control is enforced (SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter.). 2,546 lines of Go and proto added, 131 of them the new download.proto, and 2,818 lines of tests. 175 lines of spec and test plan added and 30 removed. 810 lines of generated code left out.
The problem. The image build needs a restore image from Apple and a Claude Code release, and the design puts every such fetch in one confined helper program (I650I650 (closed): wb-download: the program, its two entries, confinement, host checks, deadlines, the fetches and its recordsPackage IMG.1 of docs/implementation-plan.md, part 1 of 4 (IMG.1a)., S17-03-downloadsS17-03-downloads: DownloadsHow wb-download fetches what an image build needs from the internet.).
What was built. A new program, cmd/wb-download, and its packages in internal/download. It takes its entry from WB_DOWNLOAD_ENTRY, confines itself with a compiled-in Seatbelt profile that allows only port 443, DNS and trustd, sets its own file size limit, and accepts only the hosts compiled into its entry, through wb-proxyd’s upstream dialer. It reads Apple’s catalog plist, picks the newest build above the floor, and resumes a partial file with Content-Range. Each request is reported in fixed-form records on its own descriptor, which wb-hostd is to check with the same code. Each of its parsers has a fuzz target: FuzzParse, FuzzContentRange, FuzzResults and FuzzRequests. New platform packages filelimit and fdmode return errors.ErrUnsupported on Windows. wb image build doesn’t start it yet.
Choices made, which you can veto:
- The file size limit moves into
wb-download(“What needs you”).TestConfinedchecks the running child’s limit withgetrlimitand that it can’t raise it. The risk is a later edit that reads input beforefilelimit.Set. - The downloads spec gains the “Start interface” and “The records” sections it didn’t define, and six new refusal rules, such as
download-response-invalidfor a status outside 100 to 599. - The profile needs
sysctl-readofnet.routetable, measured on macOS 27.2, and passes the TLS check only from inside the app bundle, measured, not decided. - A request refused before a connection is reported with its rule and no host or path, so no request loses its audit record.
- The catalog’s
VirtualMac2,1builds have no SHA-1 (measured 2026-11-29). It takes the SHA-1 from the same image under other models, leaves out a build with none, and refuses two different values for one image.
Reviews. Both reviews approved after the fix of the security review’s one must-fix, a status outside 100 to 599 that could drop a report. Two CI failures on the pull request were real defects, fixed there: a race between versions and cancel on Linux, and an inherited descriptor on the macOS runner that wb-download rightly refused.
Not covered yet. The wb-hostd reader of its records, which must refuse sequences a compromised wb-download can send (I651I651 (closed): wb-hostd: the restore image download: the run, its records and audit, free space, resume, the hash, the floor and the rollback checkPackage IMG.1 of docs/implementation-plan.md, part 2 of 4 (IMG.1b)., I652I652 (open): wb-hostd: the Claude Code release download: the channel and release runs, the files in downloads, and exit before checkPackage IMG.1 of docs/implementation-plan.md, part 3 of 4 (IMG.1c).). A scan of inherited descriptors that a non-blocking one can make refuse a valid start (I653I653 (open): wb-download and wb-hostd: the Command Line Tools entryPackage IMG.1 of docs/implementation-plan.md, part 4 of 4 (IMG.1d).). An unbounded log of left-out catalog builds (“Review findings not resolved”). The Keychain deny probe, which needs a cgo call.
Each hand-off socket has a number, and wb-hostd checks every notice
Section titled “Each hand-off socket has a number, and wb-hostd checks every notice”Code, spec and contract. Security: the hand-off socket between wb-netd and wb-proxyd, a trust boundary between host processes where a guest controls one end (SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter.). 2,168 lines of Go and proto changed, 1,701 added and 467 removed, and 2,134 lines of tests. 48 lines of spec. 577 lines of generated code left out.
The problem. The notices about a VM’s hand-off socket, from wb-proxyd that it holds or closed one, didn’t say which socket they meant. A late notice about an old socket could fail or end its replacement, and no daemon was bounded in how many notices it sent. wb-netd didn’t acknowledge the end it held, and a VM’s stop had no exchange with wb-proxyd (I728I728 (closed): Hand-off socket contract of S07-20: socket number, HandoffSocketHeld, states, close reports, and a VM's endBuilds the hand-off socket contract of S07-20-handoff-sockets and the end exchange of S07-21-vm-end (#754, PR #758) in one change, before #480., which folded in I571I571 (closed): egress contract: HandoffSocketClosed rule for a StreamReset that can't be sentPR #570 (#491) added a rule to S07-05-stream-hand-off, "Resets": when a StreamReset send fails (ENOBUFS or past its deadline), wb-proxyd closes the VM's hand-off socket before the stream's socket, and wb-netd resets… and I729I729 (closed): wb-netd can't acknowledge that it holds its end of the hand-off socketFollow-up from the security review of #727 (F2), for #637.).
What was built.
control.protonumbers each socket per VM, rising and never reused whilewb-hostdruns, and addsHandoffSocketHeldfromwb-netd,HandoffSocketEndfromwb-hostdandHandoffSocketEndedfromwb-proxyd. Every new decoder is inFuzzControlMessage.wb-hostd(internal/hostd/egress) keeps each VM’s last 16 sockets with their generation, owner and the notice kinds they got. A stale notice is ignored. A notice for a socket its sender never got, or a second one of a kind, is refused and ends its sender, which bounds a flood.- A VM starts only once both daemons hold their ends. A missed
HandoffSocketHeldfails withheld-timeout. - At a stop,
Endsends the stop end and waits forwb-proxyd’s answer. A canceledEndreturns at once but keeps its wait, so a late answer still matches and no answer by the deadline endswb-proxydwithhandoff-end-timeout. After a stop end, a socket of that generation is refused withvm-stopped. wb-netdkeeps its hand-off socket open through the event flush at a stop, which fixed a finding from the review of the audit change.
A failure on a running VM ends the daemon it is charged to:
wb-proxyd’s failed send |
Rule and check | Ends |
|---|---|---|
ENOBUFS, EAGAIN |
stream-reset-unsent, buffer-full |
wb-netd |
EBADF, ENOMEM, ENOTSOCK, EFAULT |
handoff-socket-ended, send-failed |
wb-proxyd |
any other error, such as EINVAL or EDESTADDRREQ |
handoff-socket-ended, peer-closed |
wb-netd |
Choices made, which you can veto:
- The default charge is on
wb-netd, because it controls the state of its end and must never be able to end the sharedwb-proxyd. Awb-proxydfault outside those four errors then costs only that VM’s network, the safe direction. - When code review F4 and security review F9 disagreed on who a send error is charged to, the strict side was taken.
egress.Handofftakes aHandoffRequestand waits forHandoffSocketHelditself, soProxyd.Confirmis gone, with no spec or control change.wb-netddoesn’t sendHandoffSocketHeldfor an end whose version record it couldn’t send, and logswithhold-held.- A socket’s owner is recorded when it is handed over, not offered, so a notice for a socket whose socket pair failed is refused.
- The contract change merged into the train without you, as the train rules allow.
Reviews. It took two code rounds and three security rounds. The first round found that a canceled End dropped its wait, and a correct answer then ended the shared wb-proxyd (F1, medium). The round 1 fix for the charge of send errors brought a high-severity regression (security F9). A guest-controlled wb-netd could make sends fail with EINVAL or EDESTADDRREQ, measured on Darwin 27.2, and get the shared wb-proxyd ended, so both VMs lost egress. Round 3 confirmed the fix, with TestPeerCausedSendErrors on a real socket pair. The code wasn’t on main, so no advisory is needed.
Not covered yet. The VM stop wiring that calls End, the event sequence in the stop answer (I512I512 (closed): wb-proxyd: the program, its confinement and start, hand-off sockets per VM, and restartsPackage M3.12 of docs/implementation-plan.md, part 3 of 4 (M3.12c).) and the wb-proxyd program. Three hand-off decisions reach only wb-hostd’s log, not the audit log (I805I805 (open): wb-hostd: write the hand-off decisions of S07-20 to the audit logS07-20-handoff-sockets, "Audit", says wb-hostd writes its own hand-off decisions to the audit log.). A supervisor whose End waits on its VMs could deadlock with the wb-netd exit path, noted for I480I480 (open): wb-hostd daemon supervision: control channels, restarts with backoff, giving up, and process healthPackage M3.11 of docs/implementation-plan.md, part 3 of 3 (M3.11c)..
wb-proxyd serves HTTP/1.1 on an inspected stream, not merged
Section titled “wb-proxyd serves HTTP/1.1 on an inspected stream, not merged”Code and spec, open beside the train, without its second review. Security: guest requests in wb-proxyd, for default deny, bounded resources and no secrets in the guest (SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential.). 1,359 lines of Go changed and 1,363 of tests. 146 lines of spec and test plan added and 12 removed.
What was built. The request loop for inspected streams (I498I498 (closed): wb-proxyd: HTTP/1.1 on inspected streams: the request form, caps, transfer coding, tunnels and the request stepsPackage M3.6 of docs/implementation-plan.md, part 2 of 4 (M3.6b).). Each request is read by the strict head reader already on main, passed through the request steps, and only then sent upstream as a request wb-proxyd builds itself, with the canonical path, Host from the stream’s name and no hop-by-hop fields. The upstream connection opens at the first request that passes and is kept for the next. Deadlines bound a head (10 s), an idle stream (2 min), a pause in a body (30 s), a write upstream (30 s), a response head (10 min) and a pause in a response body (5 min), and a response head is capped at 1 MiB. Each policy change rechecks the request in flight on every stream. TRACE and TRACK get a 403 with the new rule http-trace, and a field name with _ is refused so a server can’t read it as - past the credential step. cmd/wb-proxyd doesn’t start the handler yet.
Choices made, which you can veto: no total cap on a request body, which streams with constant memory. The guest’s end of a stream doesn’t cut the response waits short. The new bounds went into the non-HTTP streams spec, because the requests spec is at its page limit.
Reviews. The first code review asked for two must-fix changes: an HTTP/1.0 guest could get an unframed body on a kept stream, and a server’s idle close turned the guest’s next request into a 502. The must-fix of the security review was that a policy change rechecked only WebSocket streams (“Review findings not resolved”). The body says each is fixed at a34982d6, and no review has checked that.
wb-hostd stops the VM whose event sender passes its margin
Section titled “wb-hostd stops the VM whose event sender passes its margin”Code and spec. Security: bounded resources and the audit, on the event channels from wb-netd and wb-proxyd into wb-hostd, and the threat model’s shared proxy entry (SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter., T14-shared-proxydT14-shared-proxyd: One proxy process serves both VMsOne wb-proxyd serves the work VM and the isolated VM (S04-architecture, "Processes").). 620 lines of Go changed and 985 of tests. 363 lines of spec, test plan and threat model, with a new spec page, S09-13-event-sendersS09-13-event-senders: Event SendersHow wb-hostd tells the senders of event records about the audit budgets, what it holds back, and when it stops a VM for its records..
The problem. Campaign 720 held back a sender past its VM’s budget, but a VM’s budget counted all its senders. A wb-netd that ignored its notices could get wb-hostd to pause the shared wb-proxyd’s records, and with it the network of every VM. On 10 November you chose to count the margin per sender and stop the VM (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.).
What was built.
internal/hostd/events/margin.gocounts each sender’s records per UTC minute under either budget, and under the bytes budget the audit line bytes the writer counted, over the day. A sender that goes past 8,192 records, or past 32 MiB, has its VM stopped throughvm.Manager.ForceStopRunwithevent-budget-ignored. That call skips a run of another generation, so a stop can’t reach the slot’s next run.- From the decision on,
wb-netd’s channel is held until the VM is stopping, then read under the stop allowance of 8,192.wb-proxyd’s records of that VM go the late way. - A
wb-proxydrecord for a VM that just ended is written after its stop record, up to 8,192 per end of the slot, then dropped. The exact count goes into oneevent-vm-endedaudit record at the slot’s next end, when the receiver exits, and each minute while it isn’t zero. Before, such a record endedwb-proxydas a crash. - The new spec page takes “Telling the senders” from the audit spec and adds “Stops for the audit log”, because the audit and supervision pages were each at 299 of their 300 lines.
Choices made, which you can veto:
- The bound (“What needs you”, I800I800 (closed): Audit event margin: decide the per-window reset bound (SEC13)Decide whether the event margin's per-window reset is an acceptable bound under SEC13-bounded-resources, or whether a sender that keeps ignoring budget notices should be stopped across windows.). The records margin goes from 4,096 to 8,192, a sender’s full queue plus as many again in its socket buffer.
- The count is per sender process and per run, not per slot. A count per slot would stop a VM’s next run on its first record over budget the same day.
- Code review F6 asked to count only after a delivered notice. The builder skipped it because it fails open. A sender that never drains its socket would never start the count. The security review agreed.
- After another sender’s overrun stopped a VM, an honest
wb-proxyd’s records of that VM share the plain late allowance of 8,192. - The threat model and the supervision spec now say that a compromised
wb-proxydcan get any running VM stopped. That costs availability, and it could already refuse that VM’s streams.
Reviews. It took three code rounds and two security rounds, with a re-check, and used both revision rounds. The first round found that over the bytes budget the margin counted channel bytes, not audit lines, so one sender could add 650 to 700 MiB to the log past a 64 MiB budget, and that the stop’s 10 to 30 s tail was unbounded. Both were must-fix and are fixed. Round 2 found TestFloodStopsVM flaky, failing 1 of 5 runs, and it passed 20 runs under stress after the fix.
Not covered yet. The wb-proxyd paths run only against fakes until its event channel is attached (I512I512 (closed): wb-proxyd: the program, its confinement and start, hand-off sockets per VM, and restartsPackage M3.12 of docs/implementation-plan.md, part 3 of 4 (M3.12c).). After a stop decision, an honest wb-proxyd may admit requests whose records drop past the allowance, a case the issue that attaches the channel has as security F9.
wb-guestroot gives the host a root shell in the guest, not merged
Section titled “wb-guestroot gives the host a root shell in the guest, not merged”Code, spec and contract, open beside the train, waiting for your approval of a split. Security: a new root daemon in the guest on vsock port 1022 (SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another., SEC11-root-gains-nothingSEC11-root-gains-nothing: Guest root is not a privilegeFull control of the guest grants no control over enforcement, secrets, or policy.). 832 lines of Go and proto changed, 74 of them the new guestroot.proto, and 473 lines of tests. 26 lines of spec, brief and test plan. 601 lines of generated code left out.
The guest end of the admin path (I614I614 (closed): Build the admin path: wb-guestroot, the admin service and wb vm adminFollow-up of #448 (X31-admin-channel), as the triage of #448 asked: no issue exists yet for building the admin path of S15-05-admin-path.): a second guest daemon, apart from wb-guestd, so it answers while that one is dead or wedged. It takes connections from the host only, on a port only root can bind, runs one /bin/zsh -l at a time, and on a hangup sends SIGHUP and SIGCONT to the shell’s process group, then SIGKILL after 10 s. It updates only itself from the guest tools disk, and wb-guestd no longer installs it. The host end, with a new service on wb-hostd, the mark on the system disk and wb vm admin, went to I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614., because it is a contract change of its own and well over 300 lines. Choices made, which you can veto: the split itself. A job the shell moved to another process group runs until the VM stops, and whether the admin shell gets a session kill is I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614.’s. Your decision of 10 November is recorded: wb-guestroot doesn’t get Full Disk Access. A VM run passed its three root tests in a provisioning boot, but the port checks couldn’t run there (“What needs you”). Code review round 1 found that a signal could reach a reused group ID after the shell was reaped, and round 2 confirmed the fix.
wb-proxyd gives each write to a stream 90 seconds
Section titled “wb-proxyd gives each write to a stream 90 seconds”Code. Security: bounded resources at the stream socket from wb-netd (SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped.). 333 lines of Go changed and 779 of tests. No spec change. The pull request’s own size line says 271 and 685.
A stalled wb-netd could hold a stream, its upstream connection and a place under the VM’s stream cap without end (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).). handoff.StreamWriteTimeout now bounds each write to a stream at 90 s, longer than wb-netd’s 60 s guest write timeout, and a test keeps that order. When the bound passes, the stream resets with stream-write-timeout, check write-deadline, and its upstream connection closes. Every end of a stream closes the upstream connection it registered with CloseOnEnd first. A close then never waits on a write to a peer. Choices made, which you can veto: the bound covers a whole write, not progress, so a guest that reads slowly can reach it too, and the record doesn’t say which side stalled. Upstream closes through the end of the stream, not an idle timeout. Reviews. Round 1 found a regression in both reviews: the write wrapper hid CloseWrite, so the guest never got a FIN when upstream ended. A second finding was an allow record that could follow a reset. Both are fixed, with tests. Not covered yet. A stream is left open when wb-netd closes its socket outright while upstream is silent, which needs platform code (I807I807 (closed): wb-proxyd: close upstream when wb-netd closes a stream's socket outrightS07-20-handoff-sockets, "Stream bounds", says: when a stream's socket ends, wb-proxyd closes the upstream connection.).
wb-netd’s hand-off refusals reach the audit log
Section titled “wb-netd’s hand-off refusals reach the audit log”Code. Security: the audit (SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter.). 178 lines of Go changed and 534 of tests. 2 lines of spec.
The hand-off sender and the control channel recorded their refusals in the daemon log only (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).). Now every refusal and socket end they record goes to the VM’s event channel, rate-limited per rule, and is queued before the guest sees the reset. TestRecordedBeforeReset fails if the record moves after the reset. Both parts are made before the event channel exists, so they record through a holder that points at the channel once it does, and an event after the VM’s runs end is logged as not sent with its rule. New decision close-socket for handoff-socket-ended and proxyd-message-refused. Choices made, which you can veto: the pool, the DNS server and the stack also record through the holder, beyond the first round’s findings, and the holder is cut off right before the VM’s runs end, not after. A failed release of a synthetic address stays a log line, as it refuses nothing to the guest. It took two code and two security rounds.
wb-netd clears its wildcard debits at a new active period, not merged
Section titled “wb-netd clears its wildcard debits at a new active period, not merged”Code, spec and contract, open beside the train, waiting for your contract approval. Security: the wildcard budget against DNS names (SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped., T02-dns-namesT02-dns-names: Data in DNS namesData encoded in DNS names under allowed wildcards, bounded by a lookup budget per VM (S07-03-dns).). 244 lines of Go and proto changed and 343 of tests. 17 lines of spec. 56 lines of generated code left out.
wb-netd kept the names it charged to a VM’s wildcard budget until it restarted, because nothing could tell a running wb-netd that a new period began (I627I627 (closed): wb-netd: no control message starts a new active periodThis is a contract change to proto/wraithbox/egress/v1/control.proto (a HostdToNetd kind, its check in internal/egressmsg, a fuzz seed), so the maintainer approves it in review as for #573.). wb-hostd now clears its own record of those charges, then sends ActivePeriodStart on the control channel. wb-netd clears its debits and count, keeps its mapping, logs active-period-start, and doesn’t acknowledge. A message for another VM, or one with a descriptor, ends the channel. Choices made, which you can veto: the contract change (“What needs you”), and the host’s clear split into State.NewNetdPeriod and State.NewProxydPeriod, each just before its own daemon’s message. A failed send ends wb-netd, because a lost reset nobody saw would leave the old debits in place. The session wiring, which decides when a period begins, doesn’t call the new entry point yet (I490I490 (open): wb-hostd: compute each VM's effective policy at session start and end, with modes, limits and conflicts over the unionPackage M3.3 of docs/implementation-plan.md, part 3 of 3 (M3.3c).).
wb-netd decides on the clock whether a call was late
Section titled “wb-netd decides on the clock whether a call was late”Code. Security: wb-netd’s 100 ms bound on accounting writes and hand-off sends, which now fails closed (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., 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.). 110 lines of Go changed and 444 of tests. One word in the spell list.
A call that returned after its bound but before its context’s timer fired passed as on time (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.). The new netd.Within reads the time allowed before the call, times the call on a clock tests can move, and fails a call that took at least that long, even when it returned no error. It covers the name pool, the wildcard debit, the hand-off socket’s sends and the accounting writes. Choices made, which you can veto: a context without a deadline fails with netd.ErrNoDeadline before the call runs (security F2), one rule for all four places instead of a timeout inside each. Late means at or past the deadline. The must-fix of the security review, the order of the clock reads, is fixed. A test file on loopback TCP doesn’t run on Windows.
wb-vmd’s build slot takes the provisioning options after the check
Section titled “wb-vmd’s build slot takes the provisioning options after the check”Code and spec. Security: least privilege and no secrets in the guest, in wb-vmd’s start path (SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts., SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential.). 295 lines of Swift changed and 246 of tests. 51 lines of spec and test plan.
Every slot refused a start with the macOS provisioning options, the step that creates the guest admin user for the image build (I629I629 (closed): wb-vmd: call ProvisioningCheck where provisioning options reach a VMFound in the review of #625 (#463), code review F1.). Now VMSupervisor.start runs ProvisioningCheck first, so the work, isolated and layer slots refuse with vmd-provisioning-refused before they touch the password. The build slot reads the password from its pipe only after every other check, keeps it in ProvisioningPassword, a buffer it wipes after the framework call, and closes the pipe when the first start returns. Choices made, which you can veto: a later provisioning start is refused with vmd-provisioning-password-invalid, so a build whose first start fails needs a new wb-vmd-install. A build slot start without the options is allowed, for the second-stage boots. The full name in the options is Wraith Box admin. It got a code review only, because the wave rules ask for a security review on the network daemons, the guest daemon and wb-hostd’s socket handlers, not on wb-vmd. Not covered yet. A real provisioning boot (I661I661 (closed): Image build: the build VM's network device and wb-netd, the provisioning boot, and the SSH session on a VMPackage IMG.3 of docs/implementation-plan.md, part 3 of 3 (IMG.3c).), the password read that blocks the main actor for up to 5 s (I661I661 (closed): Image build: the build VM's network device and wb-netd, the provisioning boot, and the SSH session on a VMPackage IMG.3 of docs/implementation-plan.md, part 3 of 3 (IMG.3c).), and the stale vmd.proto comment (“What needs you”).
wb-proxyd writes a wildcard name again across a period start
Section titled “wb-proxyd writes a wildcard name again across a period start”Code and spec. Security: the second layer of the wildcard budget (S07-06-name-mappingS07-06-name-mapping: Name MappingHow wb-proxyd keeps its own checked copy of the names wb-netd gave synthetic addresses: name reports, releases, replay, lifetime, the second count of the wildcard budget, and the copy wb-hostd keeps.), only stricter. 101 lines of Go changed and 403 of tests. 32 lines of spec.
A name written to wb-hostd just before a new active period could be counted in the old period, which wb-hostd then cleared, and by wb-proxyd in the new one. After a wb-proxyd restart the count handed back was one short, and one extra name could pass (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.). Now wb-proxyd applies a name only when no period started during its write, and writes it again otherwise, logged as wildcard-name-rewritten. After 3 crossed writes it refuses the name. The name mapping spec states the invariant that wb-hostd’s set covers wb-proxyd’s count. TestWildcardReportsRaceActivePeriods races 2,000 reports against period starts and failed before the fix. Choices made, which you can veto: the code fix over stating an undercount bound in the spec, and the bound of 3 writes. The spec now says “fails closed” doesn’t cover the availability case of an over-count at the largest budget (I796I796 (open): wb-hostd: a kept wildcard set over-counted by one ends wb-proxyd when the budget is at its maximumFound by the security review of #795 (finding F3, round 1).).
The guest socket checks are held back, not merged
Section titled “The guest socket checks are held back, not merged”Code comments, tests and threat model, open beside the train. Security: a guest-only availability threat at the VM boundary, with a high-severity finding withheld from public text. 18 lines of code comments and 26 of tests. 69 lines of spec, threat model and test plan.
On macOS 27.2 a guest-side operation stopped the guest’s kernel, and the cause isn’t narrowed down (I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance.). TestGuestdPortRefused and TestSelfCIDFlood now skip unless WB_CONFORMANCE_I615=1 is set, so a test run doesn’t stop the test VM. The VM provider spec and the guest socket code no longer state a 27.0.1 measurement as true of every guest. A new threat entry records the cost as a proposed accepted risk: the sessions of one VM, flushed writes only, and a refused VM after a pending kill. The bind assertion of the first test is skipped along with it until a VM run checks a replacement (code F1, security F5). Security F7 is with you (“What needs you”).
The restore downgrade spike: the image’s version can’t stop it
Section titled “The restore downgrade spike: the image’s version can’t stop it”Spike result, brief and spec, with the spike code on its branch at 0d2d9f59. Security: the guest OS a compromised wb-download can pick (SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another.). 303 lines of spike result and brief, and 15 lines of spec.
The question. Can wb-vmd-install refuse an old restore image by its own version, which a compromised wb-download could pick (I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust)., X33-restore-downgradeX33-restore-downgrade: Restore image downgradeCan a compromised wb-download install an older macOS build that Apple's signing server still signs for a VM, by reporting a newer version in its catalog entry?)?
What was measured. On the dedicated Mac, host 27.2.1, five installs, and each passed Apple’s signing server:
| Image | The framework reports | Result |
|---|---|---|
| 27.2 (26B123), superseded | 26B123 | installed, 218 s |
| 27.0 (26A428), below the floor | 26A428 | installed, 190 s |
| 26.0 (25A354) | 25A354 | installed, 150 s |
| 27.0 with its manifest rewritten to 27.2.1 | 26B131 | installed, 144 s, guest reports 27.0 (26A428) |
| 13.0 (22A380) | 22A380 | installed, 126 s |
VZMacOSRestoreImage reads the version from BuildManifest.plist, which no signature covers. The restore install spec now records the gap, with no text for a fix, until you pick an option (“What needs you”). I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e). is left open and unchanged.
The user docs list the V1 limits
Section titled “The user docs list the V1 limits”User docs. Not a security change. A 54-line page, 18 lines of docs site code, 5 lines on the front page and 4 lines of spec.
A new page at /limits/ lists the limits a V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. user meets: macOS tests through xcodebuild and launching a macOS app fail in a guest because no project user has a GUI login session, while swift test and Xcode builds work. It also lists the missing iOS simulators, the ceiling of two macOS guests, macOS as the only host and Claude Code as the only agent, with the features V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. leaves out (I611I611 (closed): User docs: list the V1 limits, starting with the GUI-session limit of S06-04Found in the code review of #608 (#224)., S06-04-vms-and-placementS06-04-vms-and-placement: VMs and PlacementThe work VM and the isolated VM, Xcode in them, and which VM a project's sessions run in.). The docs site now turns a relative link from a spec into a site link. The spec’s sentence then links to the page on GitHub and on the site. The page leaves out the guest CLAUDE.md, which isn’t built (“What needs you”).
Review findings not resolved
Section titled “Review findings not resolved”Security findings, most serious first:
- The guest socket checks, security F7, high. Withheld from public text, and open with you (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.).
- The HTTP/1.1 loop’s round 1 security findings, unverified. F1, medium, must-fix: a policy change rechecked only WebSocket streams, so a long response on a host could keep flowing with a project’s credential after that project’s last session ended, while another project on the VM still allowed the host. F2 and F3, medium, about
TRACEechoing an injected credential and steps that kept the hand-off-time policy. The builder says each is fixed, and no second review has checked (PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream.). - Three hand-off decisions skip the audit log.
handoff-netd-ended,handoff-proxyd-endedandhandoff-end-timeoutreach onlywb-hostd’s log, while the hand-off spec says they’re audited (I805I805 (open): wb-hostd: write the hand-off decisions of S07-20 to the audit logS07-20-handoff-sockets, "Audit", says wb-hostd writes its own hand-off decisions to the audit log., 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 F4). - Late proxy records after a stop decision. If the budget’s minute turns before a stopped VM halts, an honest
wb-proxydadmits new requests whose records drop past the allowance, counted (I512I512 (closed): wb-proxyd: the program, its confinement and start, hand-off sockets per VM, and restartsPackage M3.12 of docs/implementation-plan.md, part 3 of 4 (M3.12c)., 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. security F9). - An over-count at the largest wildcard budget ends the shared
wb-proxydfor both VMs (I796I796 (open): wb-hostd: a kept wildcard set over-counted by one ends wb-proxyd when the budget is at its maximumFound by the security review of #795 (finding F3, round 1)., 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. security F3). wb-hostd’s wildcard set can exceedwb-netd’s count at the 65,535-name bound, which endswb-netdwithwildcard-count(I809I809 (closed): wb-hostd: clear a daemon's wildcard set at an in-band marker on its accounting channelFollow-up from the security review of #806 (#627, campaign #792), finding F1 (fold, low, not exploitable)., 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).- A stream is held when
wb-netdcloses its socket outright while upstream is silent, bounded by the stream cap (I807I807 (closed): wb-proxyd: close upstream when wb-netd closes a stream's socket outrightS07-20-handoff-sockets, "Stream bounds", says: when a stream's socket ends, wb-proxyd closes the upstream connection., 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. security F4). - The list of upstream closers grows on a keep-alive stream if a handler opens a connection per request. The HTTP/1.1 loop keeps one per stream (I498I498 (closed): wb-proxyd: HTTP/1.1 on inspected streams: the request form, caps, transfer coding, tunnels and the request stepsPackage M3.6 of docs/implementation-plan.md, part 2 of 4 (M3.6b)., 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. security F3).
- A deadlock in waiting if a supervisor’s
Endwaits on the VMs it serves, from thewb-netdexit path (noted for I480I480 (open): wb-hostd daemon supervision: control channels, restarts with backoff, giving up, and process healthPackage M3.11 of docs/implementation-plan.md, part 3 of 3 (M3.11c)., 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 F8). - An unsolicited
PolicyAckfromwb-netdis accepted without a charge, older than this train, left for the issue that sendswb-netdits later policies. No issue (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 F11). - A test misses one order of a peer’s close, the case measured as
EDESTADDRREQ. The default charge makes the outcome right (commented on I512I512 (closed): wb-proxyd: the program, its confinement and start, hand-off sockets per VM, and restartsPackage M3.12 of docs/implementation-plan.md, part 3 of 4 (M3.12c)., 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 F12). wb-downloadlogs every left-out catalog build with no cap, about 45 MiB on its log from a hostile 4 MiB catalog, and the writes can block the parse. No issue (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. security F10).wb-hostd’s record checker accepts sequences a compromisedwb-downloadcan send, such as a run that never ends (I651I651 (closed): wb-hostd: the restore image download: the run, its records and audit, free space, resume, the hash, the floor and the rollback checkPackage IMG.1 of docs/implementation-plan.md, part 2 of 4 (IMG.1b)., I652I652 (open): wb-hostd: the Claude Code release download: the channel and release runs, the files in downloads, and exit before checkPackage IMG.1 of docs/implementation-plan.md, part 3 of 4 (IMG.1c)., 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. security F7).- The admin shell’s kill ends only its process group, and the login shell’s
PATHisn’t checked for ownership (I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614., 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. security F2 and F3). - The guest’s end doesn’t cut the HTTP/1.1 response waits short. Method-override headers go upstream unchanged (I500I500 (closed): wb-proxyd: remove guest credentials from requests and credential headers from responses on inspected hostsPackage M3.6 of docs/implementation-plan.md, part 4 of 4 (M3.6d).). The fuzz oracle doesn’t check what goes upstream, with no issue filed (PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. security F5 to F7).
- The held-back bind check of
TestGuestdPortRefuseddoesn’t run by default (I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance., 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. security F5). - Left as drop, with no issue:
wb-hostd’s mapping writesclose-socketand reset events as successful Traffic, older than this train (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. F4). A debit the host took that returned late counts as failed (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. F4). A second goroutine that clears a caller’s deadline gives a falsestream-write-timeout(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. F6). A malformed message that races a replacement socket isn’t recorded (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. F7).TestStreamLatedoesn’t assert the send ran (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. F5).
Code and docs findings left as optional:
wb-vmd: thevmd.protocomment (F1, refused). The password read blocks the main actor for up to 5 s, and comes before steps that can still fail (I661I661 (closed): Image build: the build VM's network device and wb-netd, the provisioning boot, and the SSH session on a VMPackage IMG.3 of docs/implementation-plan.md, part 3 of 3 (IMG.3c)., 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. F2 and F3).- The audit margin: the count resets each window (I800I800 (closed): Audit event margin: decide the per-window reset bound (SEC13)Decide whether the event margin's per-window reset is an acceptable bound under SEC13-bounded-resources, or whether a sender that keeps ignoring budget notices should be stopped across windows., 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 F2). Late records of an older run count in the slot’s budget (F7).
- The period reset: two entry points for a new period, neither called yet (commented on I490I490 (open): wb-hostd: compute each VM's effective policy at session start and end, with modes, limits and conflicts over the unionPackage M3.3 of docs/implementation-plan.md, part 3 of 3 (M3.3c)., 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. F2). A failed send logs two endings of one
wb-netd(F4). wb-guestroot: a failed wait that didn’t reap the shell frees its slot while it may still run (I811I811 (open): Build the admin path on the host: the admin service, the mark and wb vm adminSplit from #614., 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. F8).SIGNAL_TSTPis forwarded, aSetSizeerror isn’t logged, and a nanosecond window for a signal to a reused group ID remains (F3, F4, F7).wb-download: a non-blocking inherited descriptor can make the start refuse (I653I653 (open): wb-download and wb-hostd: the Command Line Tools entryPackage IMG.1 of docs/implementation-plan.md, part 4 of 4 (IMG.1d)., 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. code F2). An allow log line follows a failed End write, and a bad newest image URL fails the run though an older image is valid (F7, F8).- The wildcard rewrite: the race test’s crossed-write check depends on the scheduler, and one report can hold the read loop for 300 ms (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. F5, F6).
- The clock check: a late and canceled call reports
DeadlineExceeded, not the cause, and the spec says “more than 100 ms” where the code fails at 100 ms (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. F3, F4). - The numbered sockets:
Endoverwrites a stored socket without closing it, a close notice between the acknowledgment and the give is only logged, and an honest daemon 16 sockets behind is refused (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. F6 to F8). - The stream bound: six nits, a lock rule kept by doc comment only, a stale deadline after
Write, test sleeps, an unused hook, a fake without a nil check and one unwrapped comment (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. F5 to F10). - The HTTP/1.1 loop: a stale doc comment, WebSocket detected without
Connection: upgrade, aGETwith a body sent upstream, and no total body bound (PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. F7, F8, security F9, F10). - Docs: two wording nits on the limits page (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. F4, F5). The brief’s figure draws
wb-hostdreading the restore image, wherewb-vmd-installdoes, and two nits on the spike page (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. F5 to F7). The threat entry cites the shared toolchain threat but not shared VM grants (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. F5). A test comment inwb-netd(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. F4).
Friction
Section titled “Friction”- The Windows failure that ended the campaign. Train run 46213043888, on 0f9b2314, failed
TestC11StoppedUnexpectedlyonGo (windows-2025). Noflakyissue matched, so nothing was rerun, 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: was filed. The run started in the same second as wave 5 and finished about 10 minutes into it, so the manager found the failure while wave 5 ran. The next run, on 0a66f02b, passed. - A rerun nobody labeled. Wave 1’s dispatcher reran a failed train job,
TestAnswerBlocked/report_blockedonGo (xcode-27)in run 46187520268, and its second attempt passed. It filed 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: without theflakylabel. No other train run has an attempt above 1. - The report page turned the train red. The manager’s wave 1 report commit, dc880619, used the word “undercount” and failed the spell check on the train and on 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 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.. Both made the same one-line fix to the spell list, and the train passed again on 880a13ac. The manager now runs the spell check before it pushes a report.
- Flaky tests found in review: one.
TestFloodStopsVMfailed 1 of 5 runs in 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 second code round and was fixed before merge. - CI failures on pull requests: 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 Linux and macOS legs failed on two real defects, fixed in the pull request. No other pull request failed except on the spell word above.
- Long review rounds. 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. used both revision rounds, three code rounds and two security rounds, because the first fix tightened the bound and opened two smaller findings. 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. took three security rounds, because the round 1 fix for the charge of send errors opened a high-severity regression.
- The API’s cyber safeguards stopped the first builder for I615I615 (open): Guest kernel panic found in X31-admin-channel: narrow it down and gate the conformance casesFound in #448 (X31-admin-channel), by chance. in wave 3 before it changed anything. A narrower builder built the docs and the test gating only.
- Refused commands: scratch probe writes in 7 security reviews (two rounds on 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 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., 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., 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., PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. and 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.), covered by reading, and the
vmd.protoedit in wave 5. - The budget stopped a review. The manager asked wave 5’s lead to stop early on budget, so PR812PR812 (merged): feat(proxyd): HTTP/1.1 on inspected streamswb-proxyd can now serve HTTP/1.1 on an inspected stream. didn’t get a second review. Waves 1 and 4 picked two issues each, because the other ready issues shared a component with the ones picked.
- VM runs: the spike’s five installs and one boot ran without trouble. The admin path’s provisioning boot has no virtio socket device. Its port checks couldn’t run there. No guest kernel panic in either.
- Conflicts: none in the indexes. 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 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. made the same spell list edit at the same place and merged in either order.
The run
Section titled “The run”Budget, pull requests, and waves
Campaign 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, started 2026-11-28 19:47 UTC. Rendered by scripts/campaign.mjs (docs/agents/campaigns.md), with the body above from the train-reporter agent.
| Limit | Spent | Of |
|---|---|---|
| Hours | 9.1 | 12 |
| Dollars | $254.02 | $300.00 |
| Issues | 14 | 40 |
| Pull requests | 14 | 40 |
- First code review approved: 9 of 14 pull requests.
- Code review rounds per reviewed pull request: 1.4.
- Follow-ups filed: 7.
- Flaky tests filed: 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:.
- The campaign manager’s own session isn’t metered. The 5 percent reserve of the dollar limit pays for it.
| Wave | Length | Cost | Issues | Pull requests | Session ended |
|---|---|---|---|---|---|
| 1 | 70 min | $30.08 | 2 | 2 | success |
| 2 | 93 min | $42.67 | 2 | 2 | success |
| 3 | 127 min | $73.71 | 4 | 4 | success |
| 4 | 68 min | $32.52 | 2 | 2 | success |
| 5 | 96 min | $75.03 | 4 | 4 | success |