Skip to content

X00 - Spikes

Purpose: The open questions that must be answered by a throwaway prototype before work builds on them, in the order they are taken up.

Each spike is a throwaway prototype with a yes/no answer, and its result is written up before dependent work starts.

Each spike is one GitHub issue titled X<NN>-<slug>: <name>. Its throwaway code stays on a spike/x<NN>-<slug> branch that is kept and never merged. The written result is docs/spikes/X<NN>-<slug>.md, next to this index, and is merged together with any spec change the answer forces. A new open question gets the next free number here before it is filed, and mise run doc:index adds its row. The workflow is in docs/agents/spikes.md.

ID Description Status
X01-model-credentialX01-model-credential: Model credential via the proxyDoes Claude Code work with a placeholder credential while wb-proxyd injects the real one, for each supported authentication mode, including token refresh? Model credential via the proxy Answered 2026-10-12: yes for a long-lived token. Decided 2026-10-12 (I60I60 (closed): X01-model-credential: API key mode via the proxySplit from #15 (X01-model-credential) during triage on 2026-10-04.): A2, the model only with the event log denied by the host, and the long-lived token as a supported mode for V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.. Answered 2026-10-15 (I15I15 (closed): X01-model-credential: Model credential via the proxyDoes Claude Code work with a placeholder credential while wb-proxyd injects the real one, for each supported authentication mode, including token refresh?): yes, with conditions, for the browser login. Decided 2026-10-15 (I15I15 (closed): X01-model-credential: Model credential via the proxyDoes Claude Code work with a placeholder credential while wb-proxyd injects the real one, for each supported authentication mode, including token refresh?): not in V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there., and no filter for the authorize URL
X02-warm-startX02-warm-start: Warm startMeasure time to restore a macOS guest from saved state with a vsock device and a file-handle network attachment. Warm start Answered 2026-10-04: yes, with conditions. Decided 2026-10-04 (I16I16 (closed): X02-warm-start: Warm startHow long does it take to restore a macOS guest from saved state with a vsock device and a file-handle network attachment?): an idle VM keeps running while the host is locked and is saved after unlock
X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy. Network path Answered 2026-10-05: yes, with conditions
X04-tls-inspectionX04-tls-inspection: Inspection compatibilityGo-based, Swift-based, and Xcode clients accept a CA that only the guest trusts. Inspection compatibility Answered 2026-10-08: no
X05-fs-benchmarkX05-fs-benchmark: Filesystem benchmarkData disk with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads. Filesystem benchmark Answered 2026-10-05: no. NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. is not met for npm ci with any disk setting, and the data disk uses full sync. Decided 2026-10-06 (I19I19 (closed): X05-fs-benchmark: Filesystem benchmarkHow does the data disk perform with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads?): NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. is a goal outside the release gate
X06-guest-xcodeX06-guest-xcode: Guest users and XcodeCan builds and simulators run for a guest user without a GUI login? Guest users and Xcode Answered 2026-10-08: yes, with conditions. Follow-up measured 2026-11-10 (I624I624 (closed): S06-14-xcode-image: measure the host export, signature checks and offline import of Xcode and runtimesFrom #194 (S06-14-xcode-image, the Xcode image variant).): the export is a directory per runtime with a signed disk image, both code requirements hold and fail on a changed byte, the confined shim builds the Xcode disk, and the guest steps work offline with simctl runtime add. Attended steps 2026-11-10: Xcode accepts an older license record, and the check compares the license ID only. The developer-site install needs a third requirement branch, identifier "com.apple.dt.Xcode" and anchor apple
X07-git-round-tripX07-git-round-trip: Git round tripRemote helper over vsock, read-only upload-pack, restricted receive-pack into the landing repository, flagging of risky paths. Git round trip Answered: yes, with conditions
X08-data-diskX08-data-disk: Data disk for homesGuest user homes on a second disk, surviving a system-disk replacement. Data disk for homes Answered 2026-10-12: yes, with conditions. Decided 2026-10-12 (I22I22 (closed): X08-data-disk: Data disk for homesCan guest user homes live on a second disk and survive a replacement of the system disk?): 1A, the host formats the data disk APFS, and 2A, in the wb-diskfmt shim. Follow-up answered 2026-10-26 (I228I228 (closed): X08-data-disk follow-up: measure that a host-made data volume stays unencrypted and returns freed spaceX08-data-disk (PR #227) recommends option A: the host formats the data disk as APFS.): the host-made volume is not encrypted, gives freed space back at each clean shutdown or cold boot while mounted nobrowse, and formats under the confined shim. Decision 3 (nobrowse) awaits the maintainer
X09-keychain-unsignedX09-keychain-unsigned: Keychain access without a signing identityConfirm the fallback access-control model from S09-policy-credentials-audit and the Secure Enclave key creation for an ad-hoc signed binary. Keychain access without a signing identity Answered 2026-10-13: yes between updates, no across an update, and no permanent Secure Enclave key. Decided 2026-10-15 (I23I23 (closed): X09-keychain-unsigned: Keychain access without a signing identityDoes the fallback Keychain access model from S09-policy-credentials-audit work for an ad-hoc signed binary, and can such a binary create a Secure Enclave key?): 1D, with 1A until X29-dev-signingX29-dev-signing: Keychain access group for development buildsCan a developer's free personal team, an Apple ID signed in to Xcode without a paid membership, sign the helpers in Wraith Box.app (wb-proxyd, wb-hostd, wb-vmd) with a keychain-access-groups entitlement and a provisio…, and 2A
X10-linux-hypervisorX10-linux-hypervisor: Linux VMM and packet transportPick a permissively licensed VMM over KVM that supports vsock, save/restore, copy-on-write disks, and a virtual TPM (for Windows guests), and a way to deliver guest Ethernet frames to wb-netd as an unprivileged user (… Linux VMM and packet transport Open
X11-windows-hostX11-windows-host: Windows host through HCSOn Windows 11 Home with only the Virtual Machine Platform feature: can a standard user create, start, save, and restore a VM through HCS? Windows host through HCS Open
X12-wsl-channelX12-wsl-channel: WSL client channelwb in WSL 2 relaying through wb.exe relay over interop standard streams: terminal fidelity, window resizing, throughput of the git transport, latency to the first prompt. WSL client channel Open
X13-windows-guestsX13-windows-guests: Windows guests on a macOS hostCan the Virtualization framework boot Windows 11 for Arm in a supported way, including TPM and Secure Boot requirements and usable display and network drivers? Windows guests on a macOS host Open
X14-flow-attributionX14-flow-attribution: Guest flow attributionA Network Extension transparent proxy in a macOS guest (S13-guest-confinement): can it be approved during the image build without MDM? Guest flow attribution Open
X15-endpoint-securityX15-endpoint-security: Endpoint Security entitlementRequest the Endpoint Security entitlement from Apple. Endpoint Security entitlement Open
X16-openshell-linuxX16-openshell-linux: OpenShell for Linux guestsCould OpenShell's VM driver (libkrun, guest without a network device, egress over vsock) run Linux guests for Wraith Box on macOS and Linux hosts instead of a VMM chosen in X10-linux-hypervisor? OpenShell for Linux guests Open
X17-image-buildX17-image-build: Unattended image buildCan a macOS guest installed from an Apple restore image get past Setup Assistant, with wb-guestd running as a root LaunchDaemon, without SSH, scripted clicks, or MDM? Unattended image build Answered 2026-10-07: no
X18-vsock-handoffX18-vsock-handoff: Host-guest socket and descriptor hand-offCan wb-guestd, written in Go, open AFVSOCK sockets in a macOS guest? Host-guest socket and descriptor hand-off Answered 2026-10-05: yes, with conditions
X19-terminal-filterX19-terminal-filter: Terminal stream filteringWhich terminal escape sequences does Claude Code emit, and can wb drop the ones that act on the host (clipboard writes, file transfer, terminal multiplexer control sequences) without visible damage in the common macOS… Terminal stream filtering Answered
X20-shared-homebrewX20-shared-homebrew: Homebrew with more than one project userCan each project user in one guest get its declared Brewfile without a Homebrew prefix that another project user can write to (SEC08-proj-isolation)? Homebrew with more than one project user Answered 2026-10-07: yes, with conditions
X21-dep-gate-registriesX21-dep-gate-registries: Dependency gate on real registriesCan wb-proxyd map a download to package, version and publish time for npm, PyPI, the Go module proxy, crates.io and Homebrew? Dependency gate on real registries Answered 2026-10-04: yes, with conditions
X22-no-guest-credentialsX22-no-guest-credentials: Clients without guest credentialsWhich common clients (Homebrew against ghcr.io, git, gh, npm, pip, uv, SwiftPM, Go, cargo, Claude Code) break when wb-proxyd removes every guest-supplied Authorization header and cookie on inspected hosts? Clients without guest credentials Answered 2026-10-05: yes, with conditions
X23-sandboxed-daemonsX23-sandboxed-daemons: Self-sandboxed Go daemons on macOSCan wb-netd, wb-proxyd and wb-hostd confine themselves at start with a sandbox profile, as S04-architecture says, while the Go runtime, inherited descriptors, and Keychain and Secure Enclave access in wb-proxyd keep w… Self-sandboxed Go daemons on macOS Answered: yes with conditions. wb-proxyd Keychain part answered 2026-10-15 (I61I61 (closed): X23-sandboxed-daemons: wb-proxyd profile with Keychain and Secure EnclaveSplit from #34 (X23-sandboxed-daemons) during triage on 2026-10-04.): yes
X24-openshell-artifactsX24-openshell-artifacts: OpenShell artifactsDo the OpenShell parts that S07-egress-gateway, S09-policy-credentials-audit and S10-tech-stack build on exist in the assumed form, under a permissive license, at a version that can be pinned: the networkpolicies sche… OpenShell artifacts Answered 2026-10-05: yes, with conditions
X25-vmd-sandboxX25-vmd-sandbox: Self-sandboxed `wb-vmd`Can wb-vmd confine itself at start with a Seatbelt profile that allows the Virtualization framework, its VM bundles under <data>/vms and nothing else, and still create, start, save and restore a macOS VM? Self-sandboxed wb-vmd Answered 2026-10-06: yes, with conditions. Only wb-vmd’s code keeps a NAT network from the guest. Decided 2026-10-12 (I64I64 (closed): X25-vmd-sandbox: Self-sandboxed wb-vmdFound while answering #34 (X23-sandboxed-daemons).): 1A, one wb-vmd per VM, and 2A, the wb-vmd-install entry
X26-pre-receive-checkX26-pre-receive-check: Push checks before the quarantine landsCan a pre-receive check that Wraith Box owns, never the repository, refuse a push whose objects inflate past a cap, and repeat the ref checks git only runs in update(), so a refused push leaves nothing in landing.git… Push checks before the quarantine lands Answered 2026-10-05: yes, with conditions
X27-vsock-confinementX27-vsock-confinement: vsock confinement of project usersCan a non-root process in a macOS guest open AFVSOCK, and bind or listen on wb-guestd's port while wb-guestd is running or being restarted? vsock confinement of project users Answered 2026-10-06: yes, with conditions
X28-git-alloc-limitX28-git-alloc-limit: git's allocation cap against delta bombsDoes GITALLOCLIMIT in receive-pack's environment make both host gits refuse each delta bomb of X26-pre-receive-check before allocating its result? git’s allocation cap against delta bombs Answered 2026-10-06: yes, with conditions
X29-dev-signingX29-dev-signing: Keychain access group for development buildsCan a developer's free personal team, an Apple ID signed in to Xcode without a paid membership, sign the helpers in Wraith Box.app (wb-proxyd, wb-hostd, wb-vmd) with a keychain-access-groups entitlement and a provisio… Keychain access group for development builds Answered 2026-10-15: yes, with conditions. Decided 2026-10-15 (I248I248 (closed): X29-dev-signing: Keychain access group for development builds signed by a personal teamCan a developer's free personal team (an Apple ID signed in to Xcode, no paid membership) sign the helper binaries inside Wraith Box.app (wb-proxyd, wb-hostd, wb-vmd) with a keychain-access-groups entitlement and a…): no Keychain backend for a build without a team signature
X30-installer-trustX30-installer-trust: Installer refusal of a changed restore imageDoes the Virtualization framework's macOS installer, run by wb-vmd-install, refuse a restore image that Apple didn't sign, or one with a changed or replaced component, and does the install contact Apple while wb-vmd-i… Installer refusal of a changed restore image Answered 2026-11-08: yes, with conditions. The signing server and the restore OS refuse a changed image, and the install contacts Apple from a service the profile doesn’t confine
X31-admin-channelX31-admin-channel: A root shell from a second guest daemonCan wb-guestroot, a root LaunchDaemon apart from wb-guestd on a vsock port of its own below 1024, give the host a root shell on a PTY while wb-guestd is dead, stopped or restarting? A root shell from a second guest daemon Answered 2026-11-08: yes, with conditions. Decided 2026-11-10 (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
X32-project-metricsX32-project-metrics: Measuring V1 progress, effort and qualityCan progress toward V1, human and AI effort, velocity and quality be measured again and again from git, GitHub and Claude Code transcripts, at a cost the project can pay each release or month? Measuring V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there. progress, effort and quality Answered 2026-11-02: yes, with conditions. Repeat it at each milestone close through I544I544 (open): Repeatable project metrics: mise task, metrics-gatherer agent and a time logFollow-up of X32-project-metrics (#543)., using cost-state for cost and a time log to calibrate the human model
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? Restore image downgrade Answered 2026-11-29: no. Apple’s signing server signs VM builds back to 13.0, and the version VZMacOSRestoreImage reports comes from the unsigned build manifest
X34-review-replayX34-review-replay: Replaying a campaign's reviewsCan a replay of the first-round reviews of a finished campaign, at fixed pull request heads and scored against the reference defects of R11-review-overlap, tell two reviewer setups apart? Replaying a campaign’s reviews Answered 2026-11-29: yes. The replay works and was useful, within the noise of measuring a harness and a model together. Setups run once each must differ by 7 or more of 58 reference defects to be more than chance, or by 5 or more in the mean of two runs. X35-security-review-modelX35-security-review-model: The security reviewer on a cheaper model or at lower effortDoes the security reviewer, with its prompt unchanged, find the same reference defects on Opus at high effort, or on Fable at medium, as it does on Fable at high?, X36-review-lanesX36-review-lanes: A review skill of our own, in lanesDoes a first pass with a fixed recipe of our own, in place of the built-in code-review skill, or a set of review lanes with a synthesis step, find what today's two reviewers find, with fewer duplicates and in fewer mi… and X37-sonnet-builderX37-sonnet-builder: A builder on SonnetDoes a builder on Sonnet at medium effort hand back a pull request for a closed issue that the unchanged reviewers accept in as many rounds as the original from Opus, for less money? each reached a decision with it.
X35-security-review-modelX35-security-review-model: The security reviewer on a cheaper model or at lower effortDoes the security reviewer, with its prompt unchanged, find the same reference defects on Opus at high effort, or on Fable at medium, as it does on Fable at high? The security reviewer on a cheaper model or at lower effort Answered 2026-11-29: no. Neither Opus 5.5 at high nor Fable 5.2 at medium finds the same defects: 26 and 24 of 57 against today’s 34 and 40. Decided 2026-11-29 (I824I824 (closed): X35-security-review-model: The security reviewer on a cheaper model or at lower effortDoes the security reviewer, with its prompt unchanged, find the same reference defects on Opus 5.5 at high effort, or on Fable 5.2 at medium effort, as it does on Fable 5.2 at high?): A, not an improvement, the security reviewer stays on Fable 5.2 at high.
X36-review-lanesX36-review-lanes: A review skill of our own, in lanesDoes a first pass with a fixed recipe of our own, in place of the built-in code-review skill, or a set of review lanes with a synthesis step, find what today's two reviewers find, with fewer duplicates and in fewer mi… A review skill of our own, in lanes Answered 2026-11-29: no. By setup: yes with conditions, not met, for our own first pass on Opus, no for the first pass on Sonnet and for the lanes on Opus, and no on weaker evidence for the mixed lanes. Decided 2026-11-29 (I825I825 (closed): X36-review-lanes: A review skill of our own, in lanesDoes a first pass with a fixed recipe of our own, in place of the built-in code-review skill, or a set of review lanes with a synthesis step, find what today's two reviewers find, with fewer duplicates and in fewer…): not an improvement, today’s two reviewers and the built-in skill stay, no setup of this spike is adopted, and I841I841 (closed): Code reviewer: our own first pass in place of the built-in code-review skillX36-review-lanes (#825) measured a first pass of our own, written as a prompt, in place of the built-in code-review skill in step 2 of .claude/agents/code-reviewer.md. is closed as not planned.
X37-sonnet-builderX37-sonnet-builder: A builder on SonnetDoes a builder on Sonnet at medium effort hand back a pull request for a closed issue that the unchanged reviewers accept in as many rounds as the original from Opus, for less money? A builder on Sonnet Answered 2026-11-29: no. All four Sonnet rebuilds passed the gate for 18% of the cost, and the blind judge preferred the original on all four. By kind of issue, one rebuild each: no for the spec issue, no by a small margin for the feature, yes with conditions for the wb-netd fix and the test fix. Decided 2026-11-29 (I826I826 (closed): X37-sonnet-builder: A builder on SonnetDoes a builder on Sonnet 5.5 at medium effort hand back a pull request for a closed issue that the unchanged reviewers accept in as many rounds as the original from Opus 5.5, for less money?): not an improvement, builders stay on Opus 5.5.

These do not block v1, but each must be answered before work on its platform starts.

These do not block v1: every SEC* control holds without S13-guest-confinementS13-guest-confinement: Guest ConfinementControls inside the guest that narrow what a project user's processes can do, and tell the host which program opened each connection.’s layers 3 and 4.

Answered before X10-linux-hypervisorX10-linux-hypervisor: Linux VMM and packet transportPick a permissively licensed VMM over KVM that supports vsock, save/restore, copy-on-write disks, and a virtual TPM (for Windows guests), and a way to deliver guest Ethernet frames to wb-netd as an unprivileged user (…, because a yes may make X10-linux-hypervisorX10-linux-hypervisor: Linux VMM and packet transportPick a permissively licensed VMM over KVM that supports vsock, save/restore, copy-on-write disks, and a virtual TPM (for Windows guests), and a way to deliver guest Ethernet frames to wb-netd as an unprivileged user (… unnecessary.

These came out of the first read-through of the specs for an implementation plan (docs/implementation-plan.md). Each tests an assumption that v1 work would otherwise build on. They block v1.

These ask about the agents that build and review Wraith Box, not about the product. The maintainer asked for them after 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, to get the same quality for less money or time. Each result is a scorecard with its evidence, a short summary, and a separate recommendation. No pass or fail rule decides (I816I816 (closed): Harness experiments: review lanes, cheaper models, and a campaign efficiency baselineTracks a set of experiments on the agent harness.).