V1 - Initial version
Purpose: The first version: what it delivers, what it leaves out, and the milestones that get there.
Decisions
Section titled “Decisions”- V1-01-macos-first: macOS first. The first delivery target is macOS guests on macOS hosts. Linux guests (Ubuntu LTS first) and Windows 11 guests follow, on every host that can run them (S12-platformsS12-platforms: PlatformsWhich host and guest operating systems Wraith Box targets, how platform-specific code is isolated, what each platform uses, and how wb works inside WSL.). macOS guests run only on macOS hosts.
- V1-02-claude-only: Claude Code only. Claude Code is the supported agent. Keep agent-specific code behind one interface so another agent can be added later.
- V1-03-win-linux-later: Windows and Linux hosts later. Windows and Linux hosts are designed for but not delivered in V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.. Decisions that would make them harder need a spec change.
- V1-04-no-containers: No containers. Running containers inside the sandbox is out of scope for V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there..
- V1-05-cli-only: CLI only. A full GUI app is out of scope. The UI is the CLI plus system notifications for approvals.
- V1-06-no-lfs-submodules: No Git LFS or submodules. The git round trip (S08-workspace-and-gitS08-workspace-and-git: Workspace and Git Round TripHow code gets into the guest and how the agent's work gets back out, without sharing the host filesystem.) carries plain repositories only.
- V1-07-local-images: Images are built locally. Each host builds its own guest images (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.). Distributing images through a registry comes later.
- V1-08-no-forward-clipboard: No port forwarding or clipboard. Port forwarding (FR11-port-forwardFR11-port-forward: Port forwardingDev servers listening in the guest are reachable on host loopback.) and the clipboard (FR12-clipboardFR12-clipboard: Opt-in clipboardText clipboard sharing is opt-in, per direction, with approval.) are out of scope for V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there., so nothing new crosses the VM boundary for them (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.). The terminal filter drops OSC 52 (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…), so the clipboard cannot arrive through the terminal either. Decided on I38I38 (closed): S06-vm-lifecycle: design port forwarding and clipboard (FR11-port-forward, FR12-clipboard) and their threatsFR11-port-forward (dev servers on host loopback) and FR12-clipboard (clipboard) cross the VM boundary, but no spec designs them and S03-requirements's threat model does not list them., and B38-port-forward-clipboardB38-port-forward-clipboard: How should guest dev servers and clipboard text cross to the host?Forward HTTP through a host proxy that gives each forwarded port its own localhost site, plain TCP only on ports the user names, and the clipboard only through wb with an approval. holds the analysis for when they are scheduled.
Milestones
Section titled “Milestones”Each exit criterion cites the requirement IDs it proves, and each
milestone is a GitHub milestone of the same name. The maintainer
confirmed them on 2026-10-04 and changed the cut on 2026-10-16, at the
close of V1-M1-spikes-closedV1-M1-spikes-closed: Spikes answered and spec gaps closedX01-model-credential to X09-keychain-unsigned and X17-image-build to X28-git-alloc-limit written up in docs/spikes/, the spec issues of the first implementation plan decided, and specs updated.: the image build became its own
milestone, V1-M7-image-buildV1-M7-image-build: Image buildwb image build downloads the restore image and the Command Line Tools, installs and provisions a VM over the build network, installs the minimal base layer, and installs Claude Code in its own top layer., after V1-M3-network-floorV1-M3-network-floor: The network floorwb-netd and wb-proxyd in inspect mode with a static policy, the audit log, and the conformance cases for egress., and the
terminal filter moved into V1-M2-walking-skeletonV1-M2-walking-skeleton: Walking skeletonwb-vmd boots a fixture VM bundle in its confined process, wb-guestd answers over vsock, a data disk made on the host holds the homes, and wb shell opens a PTY as a project user, with its output through the terminal fi…. On 2026-11-30 the
maintainer limited the image build to what wb claude needs: named
images, Homebrew and the Xcode variant moved to V1-M10-named-imagesV1-M10-named-images: Named imagesNamed derived images build from their recipes on a clone of the base, through the build policy, with Homebrew from the built-in recipe.,
after V1-M4-claude-end-to-endV1-M4-claude-end-to-end: `wb claude` end to endGit round trip with carry-in, landing and flagging, the model credential, the terminal records and the session summary, wb diff and wb land, on a sealed image.. The harness, CI, and build tooling got
their own milestone, V1-M9-harnessV1-M9-harness: Harness, CI, and build toolingThis milestone holds changes to the agent harness (AGENTS.md, .claude/, docs/agents/), to the CI workflows and mise tasks, and to the tooling that builds the docs site and the app bundle, but not product code, even wh….
Work follows the order of this list, not the milestone number.
Numbers are fixed once merged (S01-spec-based-developmentS01-spec-based-development: Spec-Based DevelopmentHow the design is written down: the kinds of design documents, their IDs, the spec template, how a spec is split into pages, and how packages are named.), so the
milestone added later has the next free number. Each lane of a run
(docs/agents/orchestration.md, “Runs”) takes the first open
milestone in this order that has work for it, so work that doesn’t
need a VM isn’t held up behind the VM work.
Each daemon is confined by its own Seatbelt profile from the first
package that ships it. V1-M6-release-gateV1-M6-release-gate: Release gateThe Seatbelt profiles of wb-hostd and the sessions, confinement self-checks, warm start and suspend, the full conformance suite and benchmarks, packaging and upgrades. keeps the profiles of
wb-hostd and of the sessions.
- V1-M1-spikes-closed: Spikes answered and spec gaps closed. 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? to
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. and 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? to 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? written up in
docs/spikes/, the spec issues of the first implementation plan decided, and specs updated. The specs meet the size limits of S01-spec-based-developmentS01-spec-based-development: Spec-Based DevelopmentHow the design is written down: the kinds of design documents, their IDs, the spec template, how a spec is split into pages, and how packages are named. (“Size and structure”), so the maintainer can review them. Covers no requirement by itself. It makes the rest possible to plan. Closed on 2026-10-16. - V1-M2-walking-skeleton: Walking skeleton.
wb-vmdboots a fixture VM bundle in its confined process,wb-guestdanswers over vsock, a data disk made on the host holds the homes, andwb shellopens a PTY as a project user, with its output through the terminal filter. The guest has no network device yet. Covers SEC01-separate-kernelSEC01-separate-kernel: Separate kernelThe agent runs in a hardware-virtualized guest with its own kernel, never sharing a kernel with the host or with another environment of the user (for example a WSL distribution)., SEC02-no-host-fs-shareSEC02-no-host-fs-share: No host filesystem sharingNo host directory is mounted into the guest, read-only or otherwise., SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another. (users), SEC15-no-guest-disk-mountSEC15-no-guest-disk-mount: The host never mounts a guest-written diskA disk image is guest-written once a guest has run with it attached, and every copy or clone of a guest-written image is guest-written too. (data disk), FR02-any-repoFR02-any-repo: Any git repositoryWorks in any git repository.. - V1-M3-network-floor: The network floor.
wb-netdandwb-proxydin inspect mode with a static policy, the audit log, and the conformance cases for egress. Covers SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter., 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., FR08-no-proxy-configFR08-no-proxy-config: No per-tool proxy settingsAllowlisted network destinations work for every tool without per-tool proxy configuration.. - V1-M7-image-build: Image build.
wb image builddownloads the restore image and the Command Line Tools, installs and provisions a VM over the build network, installs the minimal base layer, and installs Claude Code in its own top layer. It rotateswbadmin, then scans and seals the image. The build network is a minimalwb-netdfor the build VM: DHCP, ARP and the one connection to the guest’s port 22, with no egress. Covers SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential. (image seal). - V1-M4-claude-end-to-end:
wb claudeend to end. Git round trip with carry-in, landing and flagging, the model credential, the terminal records and the session summary,wb diffandwb land, on a sealed image. A first prompt comes before the git work, also on a sealed image. A system disk with no image record, such as a fixture bundle, is refused sessions (maintainer, 2026-11-10). Covers FR01-drop-inFR01-drop-in: Drop-in for claudewb is the single entry point for everything, structured as wb [wb flags] <command> [command args]. to FR05-parallel-sessionsFR05-parallel-sessions: Parallel sessionsSeveral sessions can run at once, in the same project and across projects., FR13-claude-stateFR13-claude-state: Claude Code state per projectClaude Code's conversation history, and the state it keeps only in the guest, persist per project, so --resume/--continue work within a project., SEC03-no-host-execSEC03-no-host-exec: No host code execution via returned workNothing the agent produces executes on the host without an explicit user action; returned changes to files the host may later execute are flagged., SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential., SEC06-repo-writesSEC06-repo-writes: Repository-scoped writesGit pushes and repository-mutating API calls are allowed only for the repositories of the projects that have a session in the VM.. - V1-M10-named-images: Named images. Named derived images build
from their recipes on a clone of the base, through the build policy,
with Homebrew from the built-in recipe.
wb image shellworks out a recipe, and the Xcode variant builds from the host’s Xcode. Covers FR06-native-toolsFR06-native-tools: Native guest toolsAgent tool calls run tools native to the guest operating system (on macOS guests: Homebrew packages, Xcode command line tools, optionally full Xcode).. Added on 2026-11-30, so that the image build holds only whatwb claudeneeds. - V1-M8-hardening: Hardening. The hardening follow-ups named while
the earlier milestones were built are closed, or moved to
V1-M6-release-gateV1-M6-release-gate: Release gateThe Seatbelt profiles of wb-hostd and the sessions, confinement self-checks, warm start and suspend, the full conformance suite and benchmarks, packaging and upgrades. or
post-V1with a reason. Mutation testing and deeper fuzz corpora cover the parsers ofwb-netdandwb-proxyd. Defects never go here (docs/agents/planning.md, “Defect or hardening”). Covers no requirement by itself. It strengthens the controls the earlier milestones cover. Added on 2026-11-11, so that hardening doesn’t hold up the milestone that found it. - V1-M5-approvals: Approvals and policy. Approvals with notifications and
wb approve, learn mode, credential bindings, the dependency gate,wb trustwith the boundary check,wb policy explain, and the toolchain reconcile. Covers FR07-toolchain-manifestFR07-toolchain-manifest: Declared toolchainA project's toolchain is declared host-side (on macOS guests, a Brewfile) and reconciled automatically before a session starts., FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny)., FR10-learn-modeFR10-learn-mode: Learn modeA learn mode, available only to projects whose placement is work (S05-cli), records the destinations a project needs and proposes an allowlist., FR15-inspectFR15-inspect: Inspect what happenedThe user can inspect what happened: per-session audit log, policy explanation, diff of returned work with risky changes flagged., 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., SEC09-host-policySEC09-host-policy: Policy is held on the hostThe guest cannot read or change policy., SEC14-no-fake-approvalsSEC14-no-fake-approvals: Approvals cannot be spoofed by the guestApproval prompts are never rendered in the agent's terminal stream., NFR06-explained-refusalsNFR06-explained-refusals: OperabilityEvery refusal names the rule that caused it and how to change it.. - V1-M6-release-gate: Release gate. The Seatbelt profiles of
wb-hostdand the sessions, confinement self-checks, warm start and suspend, the full conformance suite and benchmarks, packaging and upgrades. Covers 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., NFR03-footprintNFR03-footprint: FootprintIdle VMs suspend after a configurable period.. The benchmarks also measure NFR01-startupNFR01-startup: StartupGoals: a warm VM reaches the Claude prompt in about 4 s and a suspended VM in about 7 s, and no start takes more than 10 s (p95), excluding first-time project setup and the first boot after a host restart. and NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage., which are goals and don’t pass or fail the gate. - V1-M9-harness: Harness, CI, and build tooling. This milestone
holds changes to the agent harness (
AGENTS.md,.claude/,docs/agents/), to the CI workflows andmisetasks, and to the tooling that builds the docs site and the app bundle, but not product code, even when only tests use it. Its issues go tomain, never on a train, and are picked up beside the other milestones as they come up, not in this list’s order. Covers no requirement. It closes with V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.. Added on 2026-11-30, so that harness work has a milestone and doesn’t grow the product milestones.
After V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.: 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 (… to 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?, layers 3 and 4 of
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., FR11-port-forwardFR11-port-forward: Port forwardingDev servers listening in the guest are reachable on host loopback., FR12-clipboardFR12-clipboard: Opt-in clipboardText clipboard sharing is opt-in, per direction, with approval.,
FR14-ephemeralFR14-ephemeral: Ephemeral sessionsAn ephemeral mode runs a session with no persisted state., FR17-same-everywhereFR17-same-everywhere: Same on every hostThe same wb commands, flags, policy files, and behavior on every host OS., the 1Password backend
(S15-02-secret-storeS15-02-secret-store: The Secret StoreWhere credentials are held: the secret store, its backends, and the guarantees a backend must give.), and the other host and guest platforms. The
issues for them are in the GitHub milestone post-V1.
Status: Draft