@@ -59,16 +59,16 @@ turn-by-turn.
5959
6060### Clone mode
6161
62- In clone mode, the sandbox gets a private Git clone. The agent manages its
63- own branches and commits inside that clone; your host working tree is never
64- touched. When the agent is done, you either fetch its branches to the host or
65- ask the agent to push directly to your fork.
62+ In clone mode, ` sbx ` creates a separate Git clone inside the sandbox. The agent
63+ edits this clone instead of your host working tree. Its changes stay inside the
64+ sandbox until you fetch a branch or the agent pushes one to a remote. Your host
65+ repository is also available at ` /run/sandbox/source ` , but only with read
66+ access. The sandbox clone is not a Git worktree linked to your host checkout.
6667
67- Clone mode is designed for parallelism: a single clone-mode sandbox can hold
68- many branches at once, and subagent orchestrators (such as Claude Code's
69- [ agents view] ( agents/claude-code.md#agents-view ) ) can dispatch independent
70- tasks to separate agents, each working on its own branch or worktree inside
71- the clone.
68+ A single clone-mode sandbox can hold multiple branches and worktrees for
69+ parallel tasks. The ` --clone ` flag creates the clone, but it doesn't separate
70+ one task from another. To keep parallel tasks isolated, instruct your agent tool
71+ to create a separate branch or worktree for each task.
7272
7373> [ !NOTE]
7474> ` --clone ` is a create-time flag and cannot be changed on an existing
@@ -135,10 +135,9 @@ It's only reachable while the sandbox is running:
135135 $ sbx run --clone claude
136136 ```
137137
138- 2 . Dispatch each independent task to a separate subagent. Claude Code handles
139- branch isolation for subagents automatically in agents view. For other
140- agents (such as Codex), add an instruction to ` AGENTS.md ` to get the same
141- behavior:
138+ 2 . Dispatch each independent task to a separate background session. Your agent
139+ tool may use branches or worktrees to keep their changes separate. If it
140+ doesn't, add a project instruction such as:
142141
143142 ``` markdown
144143 Always start each task on its own git branch before making changes.
0 commit comments