Skip to content

Where does a new project run, and what makes it the same project later?

Decided 2026-10-04: B. New projects start in the work VM. The decision and its reasons are in the I42I42 (closed): S05-cli, S06-vm-lifecycle, S09-policy-credentials-audit: separate configuration trust from VM placement; project identityThe specs use "trusted" for two different things and do not give a default: comment that starts Decision (2026-10-04):. Source: I42I42 (closed): S05-cli, S06-vm-lifecycle, S09-policy-credentials-audit: separate configuration trust from VM placement; project identityThe specs use "trusted" for two different things and do not give a default:, related to I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). and I41I41 (closed): S08-workspace-and-git: which git data reaches the guest, and host git as a parserS08-workspace-and-git says how bytes move, but not which data the guest may get or how much the host trusts its own git when it parses guest data:. Affects T00-indexT00-indexboundary 6 is the host terminal stream., S05-cliS05-cli: Command Line InterfaceSpecify wb, the single user-facing command., 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. and S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded..

host: trustedwb claudein a new clone:which VM?work VM: guest, untrustednew cloneissue’s defaultyour projectpush tokenyour project 2API grantuses their grants (I36)isolated VM: guest, untrustednew clonerecommended defaultuntrusted repono grants of yours

Figure 1. On first run, wb claude registers the repository as a project and has to put it in a VM. In the work VM, the new project shares one network address with your projects, and the host can’t tell their connections apart (I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing").). In the isolated VM it shares a VM only with other repositories nobody vouched for.

The issue raises four points. Point 1 hides the one real fork, the default VM, with options below.

Point Recommendation Source
Meanings of “trusted” Separate, named project settings. config_trust (set by wb trust) decides whether .wraithbox/ in the repository is read (SEC09-host-policySEC09-host-policy: Policy is held on the hostThe guest cannot read or change policy.). placement (work or isolated) decides the VM. --isolated overrides it for one session. The word “trusted” alone leaves the specs. issue
1. Default VM for a new project A below: isolated, until the user runs wb project place work. this brief
2. Untrusted projects share one VM A new accepted threat in T00-indexT00-indexboundary 6 is the host terminal stream. next to T05-cross-proj-clonesT05-cross-proj-clones: Other projects' clones after guest rootAfter a guest root escalation inside the shared work VM, read or write access to other projects' guest clones (code only; no secrets are present; changes still return only as reviewable branches).: after guest root, one isolated project can read and write another’s clone. issue, but in T00-indexT00-indexboundary 6 is the host terminal stream.
3. Learn mode Needs placement = work, the setting that says the user vouches for the repository. config_trust is about reading .wraithbox/ and says nothing about the content the agent reads. Whether learn mode stays at all is I40I40 (closed): S03-requirements, S07-egress-gateway: record learn mode and pass mode as SEC05-default-deny exceptionsSEC05-default-deny is "default-deny egress", and AGENTS.md says an S control is never weakened.. this brief
4. Project identity Key on the host realm and the path of the repository’s git directory (git rev-parse --git-common-dir), so every git worktree of one repository is one project. Record the cleaned remote URL. If it changes, stop and ask the user to confirm with wb project. wb project show/move/rename handle moves explicitly. issue, amended

wb asks once, before the session starts and before any guest output, which VM to use.

RequirementA. IsolatedB. WorkC. Ask
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. writes only to the project’s own repositorieskept for newper VM, after I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing").user’s choice
SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another. untrusted repositories can be confinedby defaulton requestuser’s choice
FR02-any-repoFR02-any-repo: Any git repositoryWorks in any git repository. no setup step per projectworks at oncekeptone question
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. learn mode for trusted repositories onlywork placementwork placementwork placement
NFR05-two-macos-vmsNFR05-two-macos-vms: Platform limitmacOS permits at most two concurrently running macOS guests per host. at most two macOS VMsboth often busyone in usedepends
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. state survives per projectkept on movekept on movekept on move
Spec workT00-indexT00-indexboundary 6 is the host terminal stream., S05-cliS05-cli: Command Line InterfaceSpecify wb, the single user-facing command., 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., S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded.as Aas A
Details and glossary

The default decides for most repositories. Few users pass --isolated by habit. The default then places nearly every repository, including the ones cloned to try out once. Those are the likeliest to contain a prompt injection.

Moving a project. wb project move points a project at a new directory, keeping its id, Claude Code state (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.), approvals and policy. wb project place moves it between VMs. Moving between VMs copies the project user’s home, which needs the data-disk design of I44I44 (closed): S06-vm-lifecycle: data disk durability, and never mount a guest-written diskS06-vm-lifecycle says the data disk "can be rebuilt from host state plus git, so it may use relaxed write-through settings for speed"..

Glossary