Skip to content

Campaign 849: network floor, lane mac, second run

Ended 2026-11-29: The maintainer ended the campaign after wave 3 and I869I869 (closed): wb-proxyd: watch a kept upstream connection while an inspected stream is idleFollow-up of #498 from the reviews of PR #812., which the manager session built outside the waves.. Train train/849 in PR850PR850 (merged): Train 849: Campaign 2026-11-29 (V1-M3-network-floor, lane mac)Train of campaign #849.. To veto a pull request on the train, comment veto #<pr> on PR850PR850 (merged): Train 849: Campaign 2026-11-29 (V1-M3-network-floor, lane mac)Train of campaign #849..

The train gives wb-proxyd its HTTP/1.1 request loop and wb-hostd its agent sessions, with a confined check of Claude Code releases and a build mode in wb-netd that has no egress. It also rewrites the image design around a minimal base and named images, which waits on your decisions.

  • A new confined program checks a Claude Code release before an image build installs it. wb-release-check runs under a sandbox profile that allows nothing. It verifies the release’s OpenPGP signature against Anthropic’s key, which is compiled into the binary. It then checks the signed manifest against the requested version and the guest’s binary. It reads signatures with a small subset of OpenPGP written for it, so go.mod is unchanged. wb-hostd doesn’t start it yet.
  • wb-hostd runs an agent session from open to end, against a fake guest. It admits each session in a fixed order and records its states in the state database. It checks the guest’s final report as adversarial input before believing it. Sessions and debug shells now share one limit of 64 per VM. A guest that stops reading can still keep a hung-up session open for as long as wb waits, and the fix waits on your decision.
  • wb-proxyd serves HTTP/1.1 on an inspected stream. Each request passes the strict head reader and the request steps before wb-proxyd sends upstream a request it builds itself, and a deadline bounds every wait. It goes beyond its issue in three ways that tighten controls, and you can veto each. cmd/wb-proxyd doesn’t start the handler yet.
  • wb-netd gets a build mode with no egress. The build guest gets an address and nothing else, and on wb-hostd’s request wb-netd opens the one connection to the guest’s SSH port. The build VM’s events reach only wb-netd’s log, and whether they must reach the audit log waits on you.
  • The image design shrinks the base and moves Homebrew into named images built from recipes. The base becomes macOS, the guest agent, Apple’s Command Line Tools, and an empty tool prefix, built with no guest network. A new recipe VM builds named images under a compiled-in build policy. This is spec only, written with the brief’s recommended options, and your decisions wait on one choice of option and four yes-or-no questions.
  • wb-proxyd reads a kept upstream connection between requests. Bytes the server sends unasked can no longer become the answer to the guest’s next request, which gets a 502 and never goes upstream. Each later request on a kept connection now waits 1 ms when the server didn’t send a byte.
  • wb-guestd takes an agent session’s first message at the size wb-hostd may send, 1 MiB + 64 KiB. Every other message stays at 64 KiB.
  • Project resolution refuses git alternates and config includes, which let git read another project’s objects or config.
  • wb-proxyd refuses method-override headers, so an allowed POST can’t act as a DELETE on a server that honors them. Decisions on the query, path, and separator forms wait on you.
  • wb-guestd replaces a terminal name the guest has no description for with xterm-256color, which fixes clear and line editing in sessions started from Ghostty.
  • wb-netd logs the expiry of a stream hold before it acts on it. A flaky test led to a real order bug.
  • The spec deletes a build’s admin password when that build ends, not at the next start of wb-hostd.
  • Flaky tests of a DNS refusal and of a wb-netd stop now check the cause instead of the clock.

Every pull request of the campaign is merged into the train, and none waits beside it.

Decided 2026-11-30, before the train merged. The maintainer kept every pull request on the train. B150-named-imagesB150-named-images: Which VM runs a recipe, and how does a recipe build get through the proxy?A new recipe VM, `wb-vmd-recipe`, with a network of its own and the build CA installed at runtime and removed before sealing. is decided as A, with yes to each question, and the image design gets its security review once it is built. The build VM’s events belong in the audit log, and I866I866 (open): wb-netd: send the build VM's events to the audit logThe build VM's wb-netd (#659) opens no event channel. is in V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. and blocks nothing. The three additions of the HTTP/1.1 loop stay, and so do the idle watch’s 1 ms and its gap, with no issue for the strict form. I876I876 (closed): wb-proxyd: decide on _method query and body method overridesReview of #872 (code F1, security F3) found that method-override parameters reach the upstream: POST /p?method=DELETE, and method=DELETE in a urlencoded form body., I877I877 (closed): wb-proxyd: decide on X-Original-URL and other path-override headersSecurity review of #872 (F4) found the path counterpart of #858: X-Original-URL and X-Rewrite-URL (IIS URL Rewrite, older Symfony and Zend) replace the path the policy rules matched, and X-Forwarded-Prefix,… and I878I878 (closed): wb-proxyd: refuse field names with separators other than '-'Security review of #872 (F2) found that parseField in internal/proxyd/httpreq/head.go refuses in a field name but accepts every other RFC token separator (., +, ~, !, ). are closed for one research question, because a refusal of a request form needs evidence that a host Wraith Box uses reads that form. For I859I859 (open): wb-hostd sessions: a hangup frame behind a send to a guest that stopped reading is never read (decision)A guest that stops reading its Session stream holds wb-hostd's readClient in a send, so it never reads wb's hangup frame., wb bounds its wait after SIGHUP, and the debug shell relay gets an issue, not an advisory. The items below are as the campaign left them.

host, runs as the userinternetmacOS guest VMswbcode: project resolutionrefuses git alternatesand config includes,479 lines with testswb-hostdcode: agent sessions from opento end with a fake guest, theguest’s report checked,3,619 lines with testswb-release-checknew program: checks aClaude Code release’ssignature and manifest,3,711 lines with testswb-vmd-recipedesigned: runs recipebuilds in a VM with anetwork of its own,pending B150wb-netdcode: build mode with noegress, one connection tothe build guest’s SSH,2,571 lines with testswb-proxydcode: HTTP/1.1 requests,idle upstream watch,method overrides refused,4,068 lines with testsdebug shell relayfound, not reproduced:a guest that stopsreading may hold it,older than the trainadmin cleanupspec: the cleanup helperalso runs when each buildends, and the build’s adminpassword goes with itwb-downloadspec: a third entryfetches Apple’s CommandLine Tools, which thehost checkswb-guestdcode: TERM fallback, anda session start up to1 MiB + 64 KiB,880 lines with testsbase and imagesspec: a minimal base,Homebrew moves intonamed images builtfrom recipes (B150)build guest’s SSHunchanged: port 22, theone path into the guestduring an image buildupstream hostsunchanged: bytes sentunasked now get thenext request a 502Apple’s catalogCommand Line Toolspackages, the newestabove a floorHomebrew’s hostsbottles for namedimages, which thedependency gatedoesn’t checkbuild connect,one socket backagent sessions,the report checkedone connection,build mode onlycode changed on the trainspec changed, no codenew component designeddefect found, unconfirmedunchanged, for contexta flow the changes toucha flow outside Wraith Box’s controls
The components the train touches. On the host, wb changed in code to refuse git alternates and config includes. wb-hostd runs agent sessions from open to end against a fake guest and checks the guest’s report. A new program, wb-release-check, checks a Claude Code release’s signature and manifest. wb-netd gets a build mode with no egress and opens the one connection to the build guest’s SSH port. wb-proxyd serves HTTP/1.1 on inspected streams, watches a kept upstream connection, and refuses method-override headers. The spec changed for wb-download, which gets a third entry for Apple’s Command Line Tools, and for wb-guestadmin-cleanup, which also runs when each build ends. A new recipe VM process, wb-vmd-recipe, is designed. The debug shell relay likely has a defect, not reproduced. In the guest, wb-guestd changed in code, and the base and named images changed in the spec. Homebrew’s bottles reach named images outside the dependency gate.

wb-release-check checks a Claude Code release before an install

Section titled “wb-release-check checks a Claude Code release before an install”

Code and spec. Security: a new confined program that parses bytes from the internet (SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts., and SEC07-dep-gateSEC07-dep-gate: Dependency gatePackage downloads (npm, PyPI, Go modules, crates) are refused when the version is younger than a minimum age or has a known vulnerability at or above a severity threshold. isn’t weakened). 1,832 lines of Go changed, the 29-line release key included, and 1,879 lines of tests, which hold the real 2.1.311 manifest and signature. 138 lines of spec and test plan. 6 lines of generated code left out.

The problem. An image build installs Claude Code, and the install design puts the check of the release’s signature and manifest in a program of its own, so the parser of internet bytes runs confined (I676I676 (closed): wb-release-check and the agent interface: check a Claude Code release's signed manifestPackage IMG.7 of docs/implementation-plan.md, part 1 of 5 (IMG.7a)., S14-01-installS14-01-install: InstallHow the image build downloads Claude Code on the host, checks it, and installs it in the guest image, and which version a guest runs.).

What was built.

  • cmd/wb-release-check confines itself first, then runs the host version exchange and reads one request line on descriptor 3 under a 30 s deadline. It reads the release’s files from descriptors 4 to 6 with pread from offset 0, so the shared file offset is neither used nor moved. It doesn’t read its environment, and the guest platform is compiled in as macOS arm64.
  • internal/releasecheck/pgpsig reads the one signature form Anthropic publishes. Armor lines are strict, armor headers are refused, and the CRC-24 is required. The hashed area may hold the creation time and the issuer fingerprint, plus an issuer key ID only when it matches. Every packet and subpacket length is bounded before its integer conversion, and the signature is verified over the raw manifest bytes before the JSON parse.
  • The manifest parser refuses duplicate keys at all three levels it reads.
  • The answer is one line: pass and the checksum, or fail and the rule. Exit 0 only follows a pass record. The rules are claude-release-signature-invalid, -manifest-invalid, -version-mismatch, -below-minimum, -no-platform, -binary-name and -binary-mismatch, and release-check-request-invalid, -descriptor-invalid, -key-invalid and -arguments for the program’s own inputs.
  • internal/agent gains the agent interface, with Claude Code’s release key and guest instructions.
  • Fuzz targets: FuzzDearmor, FuzzParseSignature, FuzzParseManifest and FuzzParseRecord.

Choices made, which you can veto:

Reviews. Code round 1 had one must-fix, the architecture table that still said pipe. The security review approved round 1 with seven folds, all fixed, and found in round 2 that an armored block ending in a bare carriage return was accepted, an input FuzzDearmor would fail on. That was fixed before the merge.

Not covered yet. wb-hostd doesn’t start the program yet. The launcher entry, a deadline on wb-hostd’s read of the result, close-on-exec on both ends of the socket pair, and checks of descriptors 0 and 1 and of an empty environment are left for the install issue (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).).

wb-hostd runs agent sessions from open to end

Section titled “wb-hostd runs agent sessions from open to end”

Code, spec, and contract. Security: a new guest report that wb-hostd reads across the host-guest boundary, and the audit of every session end and refusal (SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter., SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped.). 2,179 lines of Go and proto changed, the new session.proto and the Session stream in guest.proto included, and 1,440 lines of tests. 59 lines of spec and test plan. 1,893 lines of generated code left out.

The problem. wb claude needs wb-hostd to open, run and end a session, and the session design names states, refusals and deadlines that no code had (I699I699 (closed): wb-hostd sessions: the session contract, the session record in state.db, admission, and the start-to-end path with a fake guestPackage M4.6 of docs/implementation-plan.md, part 1 of 3 (M4.6a)., S06-09-session-lifecycleS06-09-session-lifecycle: Session LifecycleA session's states from wb claude to its summary, how it starts and ends, its deadlines, and when its VM may be saved.).

What was built.

  • SessionService.Session checks the request’s shape and bounds, refuses flags this build doesn’t have yet, and admits the session in a fixed order. The record in the state database’s new sessions table moves from starting to running to ending to ended, and a session starts only once its open record is written.
  • The relay passes the terminal’s bytes and checks the guest’s final report before it believes it, with FuzzGuestSessionReport on the parser. The ack follows the record and waits at most 10 s. The ending path waits at most 7 minutes for the report.
  • A closed wb makes the guest hang up the session instead of cancelling it, even when the guest has stopped reading.
  • Until the push ledger exists, a claimed push ends as failed, with session-push-unconfirmed and exit status 255.
  • Sessions and debug shells share one registry and its limit of 64 per VM, and the shell path now goes through the same admission code.
  • New refusals: session-open-form, session-flag-unavailable, and project-place-has-session for wb project place while the project has a live session.

Choices made, which you can veto:

Reviews. Both first rounds asked for changes, with two must-fix findings each. A guest that stopped reading held wb-hostd in a send, so a closed wb never hung the session up. The ack had no bound. Round 2 of both confirmed the fixes. The security review then found that the hangup frame from a wb that still waits has the same problem (“What needs you”, I859I859 (open): wb-hostd sessions: a hangup frame behind a send to a guest that stopped reading is never read (decision)A guest that stops reading its Session stream holds wb-hostd's readClient in a send, so it never reads wb's hangup frame.).

Not covered yet. The guest side of the session (I713I713 (closed): wb claude: the command, the agent interface's Command and Launch parts, and wb-guestd starting Claude Code with its environmentPackage M4.12 of docs/implementation-plan.md, part 1 of 3 (M4.12a), the launch part that the plan puts first in V1-M4.), rows left in starting or running after a wb-hostd restart (I700I700 (open): wb-hostd sessions: link drops, the reconnect list and its answers, the pause limit, deadlines, lost sessions and recoveryPackage M4.6 of docs/implementation-plan.md, part 2 of 3 (M4.6b).), session rows on wb project rm (I427I427 (open): wb-hostd: refuse wb project rm while a session or returned work existsS05-04-naming says wb project rm refuses while the project has a session or returned work that hasn't been landed.), and the push ledger (I693I693 (open): wb-hostd: the push path into landing.git, with receive-pack's settings, the size cap, bounds, standard error and the cleanup after a failed pushPackage M4.3 of docs/implementation-plan.md, part 2 of 2 (M4.3b).). The report’s cleanup result is only logged.

wb-proxyd serves HTTP/1.1 on an inspected stream

Section titled “wb-proxyd serves HTTP/1.1 on an inspected stream”

Code and spec. Security: guest requests and server responses on a stream wb-proxyd inspects, a parser of guest bytes and of internet bytes (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., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter.). 1,422 lines of Go changed and 1,780 of tests. 200 lines of spec and test plan.

The problem. Inspected streams had a TLS terminator and a strict head reader, but nothing that read requests one after another, applied the steps and relayed answers (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)., S07-15-non-http-streamsS07-15-non-http-streams: Non-HTTP StreamsHow wb-proxyd checks the protocol of each stream, and what it does with SSH, other protocols and raw TCP.).

What was built.

  • Each request is read by the strict head reader and passed through the request steps. Only then does wb-proxyd send upstream a request it builds itself: HTTP/1.1, the canonical path, Host from the stream’s name, header fields in sorted order, and no hop-by-hop fields.
  • The upstream connection opens at the first request that passes and is kept for the next, so a stream whose requests are all refused never reaches the server.
  • A refusal answers with a short text that names the rule and the host, and the stream ends. Each refusal is logged with its rule and given to the audit hook.
  • Each policy change rechecks the request in flight on every stream, a WebSocket or a long streaming response included, and resets the stream with policy-recomputed when the new policy no longer allows it. A later request on a kept stream is checked once more after its steps.
  • A protocol switch other than an allowed WebSocket resets the stream.
  • FuzzHTTP1Conn checks what goes upstream, including on a stream where the policy refuses every request.

The bounds, in the non-HTTP streams spec:

Wait or size Bound
A request head, from its first byte 10 s
Idle between requests 2 min
A pause in a request body 30 s
A write upstream 30 s
A response head 10 min
A pause in a response body 5 min
The size of a response head 1 MiB
Interim responses before the final one 16
Writing a refusal, in code only 5 s

Choices made, which you can veto:

  • The additions beyond the issue (“What needs you”).
  • No total cap on a request body, which streams with constant memory, because a cap would break large uploads.
  • A 502 for a failed upstream connection names the rule only, never the error text, which can hold certificate names. The log records keep the text for diagnosis.
  • Expect: 100-continue is answered by wb-proxyd once the steps pass and the upstream is open, and no Expect goes upstream.
  • An HTTP/1.0 guest gets a body of unknown length unframed, with Connection: close.
  • A policy step without a recompute check lets no request go upstream (http-step-missing), and a missing check resets the stream with http-open-check-missing as its check.
  • The new bounds went into the non-HTTP streams spec, because the requests spec is at its page limit.

Reviews. Round 1 ran in campaign 792, rounds 2 to 4 in this one, and a fifth fix round was re-checked. Round 2 found a race: a policy change that landed between a later request’s steps and its recheck let a newly forbidden request go upstream. Round 3’s red CI was a real race in product code: a stream’s end during the upstream handshake was logged and audited as upstream-tls-failed, blaming the server. The fix reads the end’s flag, stream.Ended. Round 4 found that the spec claimed stale bytes from the server could never become an answer, which held only for bytes read along with the last response. The text was narrowed, and the idle watch below closes most of the gap.

Not covered yet. Wiring the handler into cmd/wb-proxyd and the real policy and credential steps (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).). The injection step must also fail the recompute check when a request’s binding is gone or changed, and must add its hook to the recheck (I710I710 (closed): wb-proxyd: inject bound credentials on their named places, git transport only on project remotes, and scan whole requests for placeholders as they streamPackage M4.10 of docs/implementation-plan.md, part 2 of 2 (M4.10b).).

Code, spec, and contract. Security: guest frames into the build VM’s network stack, and the one connection from the host into a guest (SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable., SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another.). 918 lines of Go and proto changed and 1,494 of tests. 111 lines of spec and test plan. 615 lines of generated code left out.

The problem. An image build provisions its guest over SSH, and the build network design gives the build VM no egress and the host one way in (I659I659 (closed): wb-netd: build mode, no egress, and the one connection to the build guest's port 22Package IMG.3 of docs/implementation-plan.md, part 1 of 3 (IMG.3a)., S07-18-build-networkS07-18-build-network: Build NetworkThe build VM's network: what its wb-netd serves, the one connection to the guest's port 22, and its refusal for session VMs.).

What was built.

  • In build mode the guest gets an address and nothing else. wb-netd resets every TCP connection the guest opens. After the address lease it drops every UDP packet, DNS included. Each reset and drop is logged with its rule. ICMP echo to the gateway answers.
  • On wb-hostd’s BuildConnect, wb-netd opens one TCP connection to the guest’s port 22. It retries until the guest’s SSH server answers, each try bounded at 5 s and the whole at 3 minutes, and hands wb-hostd one socket in BuildSocket, or BuildConnectFailed with build-connect-timeout.
  • A session VM’s wb-netd refuses BuildConnect, and wb-hostd refuses a BuildSocket from a session VM’s wb-netd with build-not-asked and ends that wb-netd. So a session guest still has no path in from the host.
  • The contract between wb-hostd and wb-netd gains Mode, NetdStart.mode, BuildConnect, BuildSocket and BuildConnectFailed, fuzzed in FuzzControlMessage and again through the channel in FuzzNetdControl. FuzzLinkEndpointBuild runs the build stack with a dial in flight.

Choices made, which you can veto:

Reviews. The code review’s one must-fix was that the contract’s comments and the spec disagreed with what the decoder does. The security review’s two rounds folded seven low findings and three fuzz harness fixes, among them a harness that rewrote the fuzzer’s own inputs.

Not covered yet. The wb-hostd side that asks for the connection and uses the socket (I660I660 (closed): wb-build-ssh: the build's one SSH session, its profile, deadlines and log, and wb-hostd's receiver of the build socketPackage IMG.3 of docs/implementation-plan.md, part 2 of 3 (IMG.3b)., 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).).

A minimal base and named images built from recipes

Section titled “A minimal base and named images built from recipes”

Spec, brief, and figure. Security: sealing, the build policy, a new VM process with a network device, and a third download entry (SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential., SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable., SEC09-host-policySEC09-host-policy: Policy is held on the hostThe guest cannot read or change policy., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter., 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.). 872 lines of spec and test plan, with two new pages, S06-16-base-layerS06-16-base-layer: The Base LayerWhat the base layer holds, how the image build installs Apple's Command Line Tools from a package the host fetched, and the toolchain user that named images and project layers install as. and S06-17-named-imagesS06-17-named-images: Named Images and RecipesThe build of a named image from a recipe on a clone of the sealed base., and S17-06-command-line-toolsS17-06-command-line-tools: Command Line ToolsThe steps by which wb-download and wb-hostd fetch and check Apple's Command Line Tools for the base layer (S06-16-base-layer)., and a 68-line figure. A 179-line brief. One comment line in Go.

The question. Homebrew and every tool went into the base, built with a network. I150I150 (closed): S06-vm-lifecycle: minimal base image and named derived images built from recipesS06-vm-lifecycle "Images" puts Homebrew, the Xcode command line tools and wb-guestd in the base image. asked for a base built without a guest network, and for the tools to come from images a user can name.

What the spec now says.

  • The base is macOS, wb-guestd, Apple’s Command Line Tools, and an empty tool prefix, with no network in its build. The host fetches the tools from Apple’s update catalog through a third wb-download entry and checks each package’s size, the SHA-1 of its table of contents, and its SHA-256. wb-hostd then streams the bytes it checked from that descriptor, and a change fails with clt-bytes-changed. wb-guestd installs a package only with the signed Apple Software status, the three-certificate chain and a compiled-in root fingerprint.
  • Named images are built from recipes in the user’s settings, never from .wraithbox/. A recipe has include, formulae and xcode only, with closed keys. It has no command step. A new VM process, wb-vmd-recipe, runs it in a recipe slot with its own wb-netd and wb-proxyd and a compiled-in build policy. The recipe VM gets a build CA at first contact, and remove-trust deletes it before the seal (trust-remove-refused).
  • Sealing writes a manifest of every entry outside /Users, the base’s seal included, and wb-hostd keeps its hash. The comparison with the parent’s fails with seal-changed-outside-toolchain, except for the toolchain user’s temporary folders and two lists in code: paths macOS writes on boot, and paths the build’s named privileged operations write.
  • Layers are base, named image, Claude Code, and project. The org layer is gone. The spec starts every build with a catalog run, and a newer Command Line Tools version rebuilds every layer.
  • A new VM runs the homebrew image, wb image use <vm> <name> picks a VM’s image, and a project can name the image it needs. The work VM refuses a session for a project whose image it doesn’t run.

Choices made, which you can veto:

Reviews. Code review only. Round 1 had three must-fix findings. The CA’s removal left /etc/wraithbox/ behind, so every recipe build would fail its seal. The brief justified TLS inspection with the dependency gate, which doesn’t apply to bottles. And the pages that enforce default deny and least privilege still had no recipe VM. Round 2 confirmed the fixes. 63 Vale warnings on the changed lines were left.

Not covered yet. The paths macOS writes on the boot of a recipe VM (I861I861 (open): Measure the paths macOS writes on a recipe VM's boot, for the seal comparisonS06-17-named-images, "The comparison" (from #150): before a recipe VM is sealed, wb-guestd compares the image with its parent's seal manifest, and fails on any entry added, removed or changed outside the toolchain…, needs-vm), whether installer refuses a package whose files changed under a kept signature (I868I868 (open): Probe whether installer refuses a CLT package with changed files under a kept signatureS17-06-command-line-tools, "The trust base" (from #150): wb-guestd checks Apple's signature over a Command Line Tools package's table of contents with pkgutil --check-signature, then installs it with installer., needs-vm), and the recipe VM’s egress contract (I862I862 (open): Egress contract: the recipe VM's wb-netd and wb-proxyd path with the build policyS06-17-named-images (from #150) gives a recipe build its own VM, wb-vmd-recipe in the recipe slot (S04-04-vm-processes), with its own wb-netd and wb-proxyd path under the VM name recipe and a compiled-in build policy.). wb image shell is I863I863 (open): wb image shell: an unsealable shell in the recipe VM for working out a recipe- wb image shell [<name] in wb and wb-hostd, on top of #674 (IMG.6c)..

wb-proxyd reads a kept upstream connection between requests

Section titled “wb-proxyd reads a kept upstream connection between requests”

Code and spec. Security: server bytes on a kept connection, inside one stream, and the audit record of a refusal (no SEC* control changes, SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter. held). 212 lines of Go changed and 471 of tests. 57 lines of spec and test plan.

The problem. After the HTTP/1.1 loop, a response the server sent later, unasked, could become the answer to the guest’s next request, and the spec said so (I869I869 (closed): wb-proxyd: watch a kept upstream connection while an inspected stream is idleFollow-up of #498 from the reviews of PR #812.).

What was built. After a response goes out whole and the stream is still open, a goroutine reads the kept upstream connection (http1/idle.go). Bytes that arrive are kept, and the next request gets 502 upstream-request-failed without going upstream. The server’s close while idle closes the guest’s stream with no answer, logged as upstream-idle-close. Before each later request, send stops the watch with a deadline of now. When the watch ended on that deadline, send reads once more for at most 1 ms (IdleProbe), because a Go read under a passed deadline returns before it reads. An atomic state decides who ends the stream: from the next request’s first byte, the server’s close no longer ends it at once, and a refusal keeps its answer and its audit record.

Choices made, which you can veto:

  • The 1 ms on every later request, and the gap it leaves (“What needs you”).
  • Bytes while idle keep the stream open until the next request, which gets the 502, as the issue’s test asks.
  • A compare-and-swap at the request’s first byte decides who ends the stream, with no lock over the steps.

Reviews. Built and reviewed from the manager’s session, two rounds and a re-check. Both first reviews found that a pipelined request skipped the watch, and the probes of the security review still saw stale bytes reach the guest in 200 of 200 plain and 183 of 200 TLS streams. The security review also found a regression. A server that closed as a request was refused could take the refusal’s audit record, in 13 of 300 streams. After the fixes the probes showed 0 leaks and 0 lost records. The upstream of the fuzz target was rewritten so it reaches a kept connection’s second request again.

wb-guestd takes a session start at the host’s size

Section titled “wb-guestd takes a session start at the host’s size”

Code and spec. Security: the per-message bound on the host-to-guest link (SEC13-bounded-resourcesSEC13-bounded-resources: Bounded resourcesCPU, memory and disk of each VM are capped.). 182 lines of Go changed and 339 of tests. 6 lines of spec.

The guest refused a session whose arguments passed wb-hostd’s checks above about 64 KiB. With a server codec that caps each message by type, a session request that holds a start may now be up to 1 MiB + 64 KiB. Every other message on every call stays at 64 KiB, checked before decoding. Each refusal is logged with guestd-recv-size, through a stream interceptor, because a handler such as the shell’s may end its call quietly after a failed receive. A test pins the guest’s constant to the host’s. You can veto the codec, which the builder chose over a second gRPC server. The guest agent page also got a one-sentence edit outside its scope, because the bounds page and it are both at the 300-line limit. Left for the guest’s session handler: MaxConcurrentStreams, a count check of args and agent_env before decoding, and refusing a second start on one stream. (PR873PR873 (merged): fix(guestd): take a SessionStart up to wb-hostd's 1 MiB + 64 KiB send capAn agent session whose arguments add up to more than about 64 KiB passed the host's checks and was then refused by the guest, so the user couldn't run it., I857I857 (closed): wb-guestd: take a SessionStart up to wb-hostd's 1 MiB cap on the Session RPCwb-guestd's server-wide MaxRecvMsgSize is 64 KiB (packages/wraithbox-go/internal/guestd/guestd.go:31)., I713I713 (closed): wb claude: the command, the agent interface's Command and Launch parts, and wb-guestd starting Claude Code with its environmentPackage M4.12 of docs/implementation-plan.md, part 1 of 3 (M4.12a), the launch part that the plan puts first in V1-M4.)

Project resolution refuses git alternates and config includes

Section titled “Project resolution refuses git alternates and config includes”

Code and spec. Security: cross-project reads through git (SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another.). 209 lines of Go changed and 270 of tests. 23 lines of spec and test plan.

A downloaded archive could ship objects/info/alternates or an [include] section that points git at another project’s objects or config. Resolution now refuses both, with project-git-alternates and project-git-config-include, and the refusal says how to undo them. The include check is a byte scan for [include or [includeif in any case anywhere in the file, with FuzzFindInclude against a regular expression, so a comment that spells one out is refused too. You can veto that scan, which can’t drift from git’s parser but refuses such text in a comment. A config over 4 MiB is refused as unreadable. Submodules’ git directories aren’t checked, because no current path reads them. It had a code review only, as the review rules allow for comp:wb. (PR852PR852 (merged): feat(wb): refuse alternates and config includes in project resolutionWraith Box now refuses to treat a directory as a project when its repository uses two git features that make git read another repository's files through their contents: an alternates file, which borrows objects from…, I616I616 (closed): Project resolution: alternates and config includes in a .git that point into another projectFound in the code review of #612 (#388), finding 1., S05-04-namingS05-04-naming: NamingHow wb identifies a project, a session and its branch, and how projects are registered, checked, moved and removed.)

Code and spec. Security: a request whose method could be rewritten past the method rules (SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable.). 82 lines of Go changed and 101 of tests. 48 lines of spec and test plan.

Some servers take the method from X-HTTP-Method-Override, X-HTTP-Method or X-Method-Override, so an allowed POST could act as a DELETE. The head reader now refuses any of them with a 403 and the new rule http-method-override, whatever the value or the case. Names are compared after every byte that isn’t a letter or a digit is folded to -, so X.HTTP.Method.Override matches. The must-fix of the security review found that spelling passing in round 1. Steps.Run checks again, so a later HTTP/2 reader can’t skip it, and no mode relaxes it. You can veto the strict option: a field that a Connection header names is refused, though it would be dropped anyway. The query and body forms wait on your decision (I876I876 (closed): wb-proxyd: decide on _method query and body method overridesReview of #872 (code F1, security F3) found that method-override parameters reach the upstream: POST /p?method=DELETE, and method=DELETE in a urlencoded form body.). (PR872PR872 (merged): feat(proxyd): refuse method-override header fields with http-method-overrideThe proxy matches HTTP policy on the method in the request line, but some servers take the method from a header such as X-HTTP-Method-Override, so an allowed POST could act as a DELETE on the same path., I858I858 (closed): wb-proxyd: method-override headers bypass the HTTP method rules (decision)HTTP policy matches the method on the wire, and wb-proxyd sends method-override headers such as X-HTTP-Method-Override upstream unchanged (packages/wraithbox-go/internal/proxyd/http1/send.go:307-313 on PR #812)., S07-16-tls-and-tunnelsS07-16-tls-and-tunnels: TLS and TunnelsWhat wb-proxyd does with client certificates, encrypted ClientHello and tunnels, and which refusals no mode or approval relaxes.)

wb-guestd falls back to xterm-256color for an unknown terminal

Section titled “wb-guestd falls back to xterm-256color for an unknown terminal”

Code and spec. Security: the guest agent, as root, reads the terminal database by a name the host sends (no SEC* control changes). 153 lines of Go changed and 206 of tests. 55 lines of spec and test plan.

wb-guestd checks TERM against the guest’s terminal descriptions before it starts a project session. Unknown gives shell-term-unknown, malformed gives shell-term-malformed, and both start the session with xterm-256color and log the swap. A name is 1 to 128 bytes of letters, digits and ._+-. It must match a regular file of that exact name in either directory layout, and no symbolic link is followed. The fuzzer found that the guest’s case-insensitive volume let xterm-256Color pass a plain stat. You can veto the fallback in the guest instead of a map on the host, as your decision narrowed it, and the admin root shell keeping the host’s TERM. Terminal descriptions in the image are I669I669 (open): Image build: terminfo for Ghostty, kitty, WezTerm, Alacritty and foot from ncurses, and TERMINFO_DIRS for project usersPackage IMG.5 of docs/implementation-plan.md, part 3 of 5 (IMG.5c).. (PR851PR851 (merged): fix(guestd): replace a TERM the guest has no terminfo entry forA shell or Claude Code session in the guest used to get the host terminal's name unchanged, even when the guest had no description of that terminal, so on Ghostty commands like clear failed and the shell's line editor…, I474I474 (closed): wb shell: the host's TERM has no terminfo in the guest (xterm-ghostty)wb shell passes the host's TERM to the guest unchanged (#471, S06-09-session-lifecycle)., S16-03-around-the-streamS16-03-around-the-stream: Around the StreamWhat wb writes to the terminal around the filtered stream, the terminal environment the guest gets, and how guest text in wb's other output is escaped.)

wb-netd logs the end of a stream hold before it acts

Section titled “wb-netd logs the end of a stream hold before it acts”

Code. Security: the order of a decision and its log line (no control changes). 30 lines of Go changed and 61 of tests.

At the hold deadline, wb-netd closed its copy of the proxy’s socket first and logged stream-hold-expired second, so the stream could end before its decision was logged. A flaky test showed it (I856I856 (closed): wb-netd: TestStreamHold/close_without_a_byte_waits_for_the_deadline fails under load (flaky)TestStreamHold/close_without_a_byte_waits_for_the_deadline in packages/wraithbox-go/internal/netd/handoff failed once in a local mise run go:test during the code review of #855, which doesn't touch wb-netd.). It now logs first, and TestStreamHoldNoteFirst blocks the log handler to prove no end reaches the guest before the note. (PR871PR871 (merged): fix(netd): log stream-hold-expired before closing the held copyWhen the network daemon hands a guest connection to the proxy, it keeps its own copy of the proxy's socket end until the proxy shows it holds it, and lets go at a deadline when the proxy never answers.)

A build’s admin password goes when its build ends

Section titled “A build’s admin password goes when its build ends”

Spec only. Security: least privilege for a generated secret (SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts.). 33 lines of spec and test plan.

The access rules now have wb-hostd start wb-guestadmin-cleanup when each build ends, passed or failed, besides its runs at start and on a disk replacement. A failed run logs cleanup-failed, and the next run removes the item. No program gets new access. The test comes with the end of a build in wb-hostd. (PR860PR860 (merged): docs(spec): run wb-guestadmin-cleanup when each build endsThe password Wraith Box generates for a build's admin account now has a stated deletion point: the end of that build., I539I539 (closed): Secret store: which program deletes a wbadmin build item when its build endsS15-03-access-rules says wraithbox/wbadmin/build/<build is removed when the build ends., S15-03-access-rulesS15-03-access-rules: Access RulesHow each host process gets only the credentials it needs, for only as long as it needs them, and which process may access which item.)

Flaky tests of a DNS refusal and of a stop check the cause instead of the clock

Section titled “Flaky tests of a DNS refusal and of a stop check the cause instead of the clock”

Tests only. 68 and 23 lines of tests, and 9 lines of test plan.

TestAnswerBlocked now ties its refusal to the send deadline by the error it logs, and keeps its 1 s bound on the fastest of three attempts (PR854PR854 (merged): test(netd): tie TestAnswerBlocked's refusal to SendTimeout by its causeThe DNS test that blocks a name report until its 100 ms send deadline passes failed once on CI, refusing after a little over a second., 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:). TestStopReadsPastAFullQueue no longer bounds the stop at 2 s, which macOS’s half-second peer checks used up on a loaded machine. It checks that the stand-in wb-netd exits with status 0 and hands over its open run, and that every record is written (PR875PR875 (merged): fix(netdproc): check what the stop leaves, not its wall-clock timeA host test of the network daemon's stop failed now and then on a busy machine., I853I853 (closed): wb-hostd: TestStopReadsPastAFullQueue kills wb-netd on the stop timeout under load (flaky)TestStopReadsPastAFullQueue (packages/wraithbox-go/internal/hostd/netdproc/netdproc_darwin_test.go:424) failed once in a local mise run ci on fix/797-netd-answer-blocked-flaky at 18c0f909, while swift:test built…). Its security review notes the test no longer catches a stop that turns slow but finishes within 3 s.

Security, most serious first. The security findings of wave 1 have no severity in the wave file, and their rating here comes from the reviews.

Code and docs, left as optional:

Change What can go wrong Tracked
HTTP/1.1 Policy has no adapter that gives the recompute check yet 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).
HTTP/1.1 The injection step has no hook in the recheck I710I710 (closed): wb-proxyd: inject bound credentials on their named places, git transport only on project remotes, and scan whole requests for placeholders as they streamPackage M4.10 of docs/implementation-plan.md, part 2 of 2 (M4.10b).
HTTP/1.1 A host response step that sets a framing field adds a second one, and a body step that returns nothing forever loops drop
HTTP/1.1 Upgrade: websocket without Connection: upgrade still counts as a WebSocket for the policy drop
HTTP/1.1 stream.Ended needs each Control to set its flag before closing, which only its own comment says drop
Idle watch A TLS record error on the kept connection is logged as upstream-idle-close, and a test assumes 20 ms is enough to block a read drop
Sessions wb project place can be refused naming a session that a restart left behind I700I700 (open): wb-hostd sessions: link drops, the reconnect list and its answers, the pause limit, deadlines, lost sessions and recoveryPackage M4.6 of docs/implementation-plan.md, part 2 of 3 (M4.6b).
Sessions wb project rm ignores live sessions and leaves their rows I427I427 (open): wb-hostd: refuse wb project rm while a session or returned work existsS05-04-naming says wb project rm refuses while the project has a session or returned work that hasn't been landed.
Sessions The agent_env bounds are declared and unchecked I709I709 (closed): Model credential placeholders: wb-proxyd draws them, wb-hostd keeps each VM's set and puts the newest in the session's environmentPackage M4.10 of docs/implementation-plan.md, part 1 of 2 (M4.10a).
Release check A missing request is recorded as release-check-request-invalid, and descriptors 4 and 5 remain open for a moment after a refusal drop
Build mode A clean stop during a socket send logs control-message-refused, a second start naming build mode logs vm-slot, and FuzzLinkEndpointBuild runs about 1,000 inputs a second drop
Image spec The path a seal failure names isn’t stated as bounded, and 63 Vale warnings remain on its lines drop
Project resolution Submodules’ git directories aren’t checked, and a local process could swap a FIFO between two opens next issue of the component
Small changes Wording, wrapping and test-match nits in PR851PR851 (merged): fix(guestd): replace a TERM the guest has no terminfo entry forA shell or Claude Code session in the guest used to get the host terminal's name unchanged, even when the guest had no description of that terminal, so on Ghostty commands like clear failed and the shell's line editor…, PR854PR854 (merged): test(netd): tie TestAnswerBlocked's refusal to SendTimeout by its causeThe DNS test that blocks a name report until its 100 ms send deadline passes failed once on CI, refusing after a little over a second., PR860PR860 (merged): docs(spec): run wb-guestadmin-cleanup when each build endsThe password Wraith Box generates for a build's admin account now has a stated deletion point: the end of that build., PR865PR865 (merged): feat(go): add wb-release-check and the agent interfaceWraith Box can now check a Claude Code release before an image build installs it., PR871PR871 (merged): fix(netd): log stream-hold-expired before closing the held copyWhen the network daemon hands a guest connection to the proxy, it keeps its own copy of the proxy's socket end until the proxy shows it holds it, and lets go at a deadline when the proxy never answers., PR872PR872 (merged): feat(proxyd): refuse method-override header fields with http-method-overrideThe proxy matches HTTP policy on the method in the request line, but some servers take the method from a header such as X-HTTP-Method-Override, so an allowed POST could act as a DELETE on the same path., and PR873PR873 (merged): fix(guestd): take a SessionStart up to wb-hostd's 1 MiB + 64 KiB send capAn agent session whose arguments add up to more than about 64 KiB passed the host's checks and was then refused by the guest, so the user couldn't run it. drop
Budget, pull requests, and waves

Campaign I849I849 (closed): Campaign 2026-11-29 (V1-M3-network-floor to V1-M4-claude-end-to-end, lane mac)/campaign 6 --lane mac --vm-slots 2 --hours 6 --usd 300 --issues 40 --prs 40, started 2026-11-29 15:05 UTC. Rendered by scripts/campaign.mjs (docs/agents/campaigns.md), with the body above from the train-reporter agent.

Limit Spent Of
Hours 7.9 6
Dollars $183.07 $300.00
Issues 14 40
Pull requests 14 40
Pull request Closes Title Where Rounds Specs and contracts Files
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). feat(proxyd): HTTP/1.1 on inspected streams on the train 4 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., S07-08-requests-and-credentialsS07-08-requests-and-credentials: Requests and CredentialsThe form of each request wb-proxyd sends upstream, and how it removes the guest's credentials and injects bound ones., S07-15-non-http-streamsS07-15-non-http-streams: Non-HTTP StreamsHow wb-proxyd checks the protocol of each stream, and what it does with SSH, other protocols and raw TCP., S07-16-tls-and-tunnelsS07-16-tls-and-tunnels: TLS and TunnelsWhat wb-proxyd does with client certificates, encrypted ClientHello and tunnels, and which refusals no mode or approval relaxes. 26
PR851PR851 (merged): fix(guestd): replace a TERM the guest has no terminfo entry forA shell or Claude Code session in the guest used to get the host terminal's name unchanged, even when the guest had no description of that terminal, so on Ghostty commands like clear failed and the shell's line editor… I474I474 (closed): wb shell: the host's TERM has no terminfo in the guest (xterm-ghostty)wb shell passes the host's TERM to the guest unchanged (#471, S06-09-session-lifecycle). fix(guestd): replace a TERM the guest has no terminfo entry for on the train 1 S06-02-image-buildS06-02-image-build: Image BuildHow wb image build makes a guest image: the build VM, its two provisioning stages, terminfo, sealing, and storage., S16-03-around-the-streamS16-03-around-the-stream: Around the StreamWhat wb writes to the terminal around the filtered stream, the terminal environment the guest gets, and how guest text in wb's other output is escaped. 11
PR852PR852 (merged): feat(wb): refuse alternates and config includes in project resolutionWraith Box now refuses to treat a directory as a project when its repository uses two git features that make git read another repository's files through their contents: an alternates file, which borrows objects from… I616I616 (closed): Project resolution: alternates and config includes in a .git that point into another projectFound in the code review of #612 (#388), finding 1. feat(wb): refuse alternates and config includes in project resolution on the train 1 S05-04-namingS05-04-naming: NamingHow wb identifies a project, a session and its branch, and how projects are registered, checked, moved and removed. 9
PR854PR854 (merged): test(netd): tie TestAnswerBlocked's refusal to SendTimeout by its causeThe DNS test that blocks a name report until its 100 ms send deadline passes failed once on CI, refusing after a little over a second. 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: test(netd): tie TestAnswerBlocked’s refusal to SendTimeout by its cause on the train 1 none 1
PR855PR855 (merged): feat(hostd): agent sessions from open to end with a fake guestThe host daemon can now run an agent session from the moment wb opens it to its end, against a fake guest. I699I699 (closed): wb-hostd sessions: the session contract, the session record in state.db, admission, and the start-to-end path with a fake guestPackage M4.6 of docs/implementation-plan.md, part 1 of 3 (M4.6a). feat(hostd): agent sessions from open to end with a fake guest on the train 2 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., S06-09-session-lifecycleS06-09-session-lifecycle: Session LifecycleA session's states from wb claude to its summary, how it starts and ends, its deadlines, and when its VM may be saved., guest.proto, session.proto 35
PR860PR860 (merged): docs(spec): run wb-guestadmin-cleanup when each build endsThe password Wraith Box generates for a build's admin account now has a stated deletion point: the end of that build. I539I539 (closed): Secret store: which program deletes a wbadmin build item when its build endsS15-03-access-rules says wraithbox/wbadmin/build/<build is removed when the build ends. docs(spec): run wb-guestadmin-cleanup when each build ends on the train 1 S04-05-helper-programsS04-05-helper-programs: Helper ProgramsThe programs that run once for an image build or a store operation: wb-guestadmin, wb-release-check, wb-download and wb-build-ssh., S15-03-access-rulesS15-03-access-rules: Access RulesHow each host process gets only the credentials it needs, for only as long as it needs them, and which process may access which item. 3
PR864PR864 (merged): docs(spec): a minimal base layer and named images from recipesThe base image shrinks to macOS, the guest agent, Apple's Command Line Tools and an empty tool prefix, with no network in its build. I150I150 (closed): S06-vm-lifecycle: minimal base image and named derived images built from recipesS06-vm-lifecycle "Images" puts Homebrew, the Xcode command line tools and wb-guestd in the base image. docs(spec): a minimal base layer and named images from recipes on the train 2 S00-indexS00-index: SpecsEvery spec, in order., S04-architectureS04-architecture: ArchitectureName the processes, the boundaries between them, and which requirement each boundary serves., S04-04-vm-processesS04-04-vm-processes: Per-VM ProcessesOne wb-vmd for each VM, the wb-vmd-layer entry of the Claude Code layer build, the wb-vmd-recipe entry of a named image's recipe, and wb-diskfmt, which formats a VM's new data disk., S04-05-helper-programsS04-05-helper-programs: Helper ProgramsThe programs that run once for an image build or a store operation: wb-guestadmin, wb-release-check, wb-download and wb-build-ssh., S05-03-management-commandsS05-03-management-commands: Management CommandsThe commands of wb other than the agent commands., S06-vm-lifecycleS06-vm-lifecycle: VM Lifecycle, Images and the Guest AgentHow guest images are built, how VMs are kept warm, how projects and sessions map onto guests, and what wb-guestd does., S06-01-image-layersS06-01-image-layers: Image Layers and the Toolchain PrefixThe layers of a guest image, and the toolchain prefix that project layers install into., S06-02-image-buildS06-02-image-build: Image BuildHow wb image build makes a guest image: the build VM, its two provisioning stages, terminfo, sealing, and storage., S06-06-devices-and-warm-startS06-06-devices-and-warm-start: Devices, Warm Start and TimeA VM's devices and resources, saving and restoring its state, and how the guest clock follows the host., S06-07-slot-admissionS06-07-slot-admission: Slot AdmissionHow wb-hostd admits every macOS VM it starts against the limit of two, and lends the isolated VM's slot to a maintenance VM., S06-14-xcode-imageS06-14-xcode-image: The Xcode ImageHow an image gets full Xcode and the simulator runtimes from the host, as a read-only disk the host builds, and who runs Xcode's first launch., S06-16-base-layerS06-16-base-layer: The Base LayerWhat the base layer holds, how the image build installs Apple's Command Line Tools from a package the host fetched, and the toolchain user that named images and project layers install as., S06-17-named-imagesS06-17-named-images: Named Images and RecipesThe build of a named image from a recipe on a clone of the sealed base., S07-01-per-vm-policyS07-01-per-vm-policy: Enforced per VMWhy the VM is the unit the gateway enforces, how the policies of its projects combine, and what happens when they conflict or change., S07-05-stream-hand-offS07-05-stream-hand-off: Stream Hand-offHow wb-netd hands each stream to wb-proxyd, and the checks that keep a compromised wb-netd from widening what a stream may reach., S07-14-go-lookupsS07-14-go-lookups: Go LookupsHow the dependency gate looks up a Go version's record number in the checksum database, verifies it, caches it, and bounds the work., S09-03-project-settingsS09-03-project-settings: Project SettingsWhat a project's settings hold, and what a repository's own .wraithbox/ configuration may add., S09-08-guest-trustS09-08-guest-trust: Guest TrustHow wb-guestd makes the guest's clients trust the VM's CAs., S16-03-around-the-streamS16-03-around-the-stream: Around the StreamWhat wb writes to the terminal around the filtered stream, the terminal environment the guest gets, and how guest text in wb's other output is escaped., S17-install-and-upgradeS17-install-and-upgrade: Install, Downloads and UpgradesBuild, install, upgrade and remove a Wraith Box bundle, move its stored data to a new version, and download what an image build needs from the internet., S17-03-downloadsS17-03-downloads: DownloadsHow wb-download fetches what an image build needs from the internet., S17-06-command-line-toolsS17-06-command-line-tools: Command Line ToolsThe steps by which wb-download and wb-hostd fetch and check Apple's Command Line Tools for the base layer (S06-16-base-layer). 29
PR865PR865 (merged): feat(go): add wb-release-check and the agent interfaceWraith Box can now check a Claude Code release before an image build installs it. I676I676 (closed): wb-release-check and the agent interface: check a Claude Code release's signed manifestPackage IMG.7 of docs/implementation-plan.md, part 1 of 5 (IMG.7a). feat(go): add wb-release-check and the agent interface on the train 2 S04-architectureS04-architecture: ArchitectureName the processes, the boundaries between them, and which requirement each boundary serves., S04-05-helper-programsS04-05-helper-programs: Helper ProgramsThe programs that run once for an image build or a store operation: wb-guestadmin, wb-release-check, wb-download and wb-build-ssh., S10-01-librariesS10-01-libraries: LibrariesThe libraries and programs Wraith Box uses, and their licenses., S14-01-installS14-01-install: InstallHow the image build downloads Claude Code on the host, checks it, and installs it in the guest image, and which version a guest runs., 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. 44
PR867PR867 (merged): feat(netd): build mode, no egress, and the one connection to the build guest's port 22The image build's network process now has a build mode. I659I659 (closed): wb-netd: build mode, no egress, and the one connection to the build guest's port 22Package IMG.3 of docs/implementation-plan.md, part 1 of 3 (IMG.3a). feat(netd): build mode, no egress, and the one connection to the build guest’s port 22 on the train 2 S07-18-build-networkS07-18-build-network: Build NetworkThe build VM's network: what its wb-netd serves, the one connection to the guest's port 22, and its refusal for session VMs., control.proto 32
PR871PR871 (merged): fix(netd): log stream-hold-expired before closing the held copyWhen the network daemon hands a guest connection to the proxy, it keeps its own copy of the proxy's socket end until the proxy shows it holds it, and lets go at a deadline when the proxy never answers. I856I856 (closed): wb-netd: TestStreamHold/close_without_a_byte_waits_for_the_deadline fails under load (flaky)TestStreamHold/close_without_a_byte_waits_for_the_deadline in packages/wraithbox-go/internal/netd/handoff failed once in a local mise run go:test during the code review of #855, which doesn't touch wb-netd. fix(netd): log stream-hold-expired before closing the held copy on the train 1 none 3
PR872PR872 (merged): feat(proxyd): refuse method-override header fields with http-method-overrideThe proxy matches HTTP policy on the method in the request line, but some servers take the method from a header such as X-HTTP-Method-Override, so an allowed POST could act as a DELETE on the same path. I858I858 (closed): wb-proxyd: method-override headers bypass the HTTP method rules (decision)HTTP policy matches the method on the wire, and wb-proxyd sends method-override headers such as X-HTTP-Method-Override upstream unchanged (packages/wraithbox-go/internal/proxyd/http1/send.go:307-313 on PR #812). feat(proxyd): refuse method-override header fields with http-method-override on the train 2 S07-08-requests-and-credentialsS07-08-requests-and-credentials: Requests and CredentialsThe form of each request wb-proxyd sends upstream, and how it removes the guest's credentials and injects bound ones., S07-16-tls-and-tunnelsS07-16-tls-and-tunnels: TLS and TunnelsWhat wb-proxyd does with client certificates, encrypted ClientHello and tunnels, and which refusals no mode or approval relaxes. 10
PR873PR873 (merged): fix(guestd): take a SessionStart up to wb-hostd's 1 MiB + 64 KiB send capAn agent session whose arguments add up to more than about 64 KiB passed the host's checks and was then refused by the guest, so the user couldn't run it. I857I857 (closed): wb-guestd: take a SessionStart up to wb-hostd's 1 MiB cap on the Session RPCwb-guestd's server-wide MaxRecvMsgSize is 64 KiB (packages/wraithbox-go/internal/guestd/guestd.go:31). fix(guestd): take a SessionStart up to wb-hostd’s 1 MiB + 64 KiB send cap on the train 1 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., S06-12-guest-agentS06-12-guest-agent: Guest AgentWhat wb-guestd, the service in the guest, does for the host, and how it updates itself. 8
PR875PR875 (merged): fix(netdproc): check what the stop leaves, not its wall-clock timeA host test of the network daemon's stop failed now and then on a busy machine. I853I853 (closed): wb-hostd: TestStopReadsPastAFullQueue kills wb-netd on the stop timeout under load (flaky)TestStopReadsPastAFullQueue (packages/wraithbox-go/internal/hostd/netdproc/netdproc_darwin_test.go:424) failed once in a local mise run ci on fix/797-netd-answer-blocked-flaky at 18c0f909, while swift:test built… fix(netdproc): check what the stop leaves, not its wall-clock time on the train 1 none 2
PR879PR879 (merged): feat(proxyd): watch a kept upstream connection while an inspected stream is idleBetween two requests on an inspected HTTP/1.1 stream, wb-proxyd now reads the server's kept connection. I869I869 (closed): wb-proxyd: watch a kept upstream connection while an inspected stream is idleFollow-up of #498 from the reviews of PR #812. feat(proxyd): watch a kept upstream connection while an inspected stream is idle on the train 2 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., S07-15-non-http-streamsS07-15-non-http-streams: Non-HTTP StreamsHow wb-proxyd checks the protocol of each stream, and what it does with SSH, other protocols and raw TCP. 13
Wave Length Cost Issues Pull requests Session ended
1 86 min $67.94 6 5 success
2 106 min $77.44 4 4 success
3 91 min $37.69 5 5 success