Highlights
Clone mode: --clone
The --branch flag has been removed in favor of --clone (clone mode). Using --branch now fails with:
$ sbx run claude --branch foo
ERROR: --branch is no longer supported; use --clone insteadClone mode does not create a branch or worktree on your behalf — instead of a host-side worktree, the sandbox now runs against an in-container read-only clone.
- Your source repository is mounted into the sandbox read-only, and the shallow clone sets that mount as a Git remote. The agent only ever writes to the in-container clone, never to your working tree or .git/
- The clone lives on the sandbox's filesystem and is exposed back to the host as a
sandbox-<name>Git remote served bygit-daemon(no more.sbx/<name>-worktrees/...on the host). - Forge remotes (
origin,upstream, etc.) on the host are propagated into the in-container clone, so the agent cangit push origindirectly, the same way you would. Local-path remotes are skipped. - Fetched sandbox refs are mirrored into
refs/sandboxes/<name>/*on the host and persist after the sandbox is removed. Restore a branch from a removed sandbox withgit branch <local-name> refs/sandboxes/<name>/<branch>. Commits that were never fetched, or uncommitted changes, are still lost onsbx rm. - The
sandbox-<name>remote is added to your host onsbx create --clone/sbx run --cloneand removed onsbx rm, including across stop and restart.
What's New
CLI
sbx createauto-starts the daemon when it isn't already running.sbx logoutnow stops the daemon and running sandboxes.- Unify terminal environment variables across
sbx runandsbx exec.
Policies
- Show policy and rule names in CLI list output and TUI details.
- Add filters to the policies listing.
Kits
- Mark kits as experimental.
- Verbose error reporting for kit apply failures.
Sandboxes
- Opt a sandbox into virtiofs caching at create time via
DOCKER_SANDBOXES_ENABLE_VIRTIOFS_CACHE=1(off by default; the choice is persisted in the spec and survives daemon restarts).
Networking
- Allow public-CA CRL/OCSP/AIA endpoints in the balanced proxy preset. Applies to new installations or after
sbx policy reset(which removes any user-added rules).
Telemetry
- Surface
port_publish_failedinner error detail.
Bug Fixes
- Sort
template lsoutput by repository, then tag. - Retry
ExecResizeto keep the agent TUI in sync. - Set
TERM=xterm-256colorwhen exec'ing with-t. - Move the state directory symlink from
/tmpto~/.sbx/run/. - Stop
storageRootsGonefrom locking the storagekit singleton. - Use
engineErrorand add retry debug logging in sandboxd. - Retry transient shim start closures.
- Make Cursor session bootstrap proxy-local.
- Add bracketed
[::1]toNO_PROXYfor IPv6 loopback. - Backdate proxy CA
NotBeforeto match the goproxy leaf cert window.