Changelog
All notable changes, one line each, newest first. Format follows Keep a Changelog; versions follow VERSION. Add entries under Unreleased; the release process turns that heading into the version being cut, and the release workflow publishes that section as the release notes.
[Unreleased]#
[0.14.0] - 2026-11-22#
Added#
- A managed client's request may bind a secret the host holds by name, without its value (
{"name", "host_ref"}):[clients.NAME.host_secrets.REF]declares itsenv, itssource(a0600file or a keyring item) and the onlyhostsandheadersit is sent to, which a request cannot change. The value is read at every provision and start; a source with none answershost_secret_unavailable, and a start after the declaration changed answershost_secret_changed(purge and provision again).healthlists each one (never its value or source) with thehost_secretsfeature.
[0.13.0] - 2026-11-20#
Added#
[clients.NAME] log_level(and Kandev's table) sets msb's--log-levelfor each sandbox that client provisions from then on, so its sandboxes can start atdebug;msbctl host managed configure --client NAME --log-level debugsets it,--log-level ''unsets it.- For a client sandbox provisioned at
log_leveldebugortrace, msbctl appends its intercept lines (msb'sTLS intercept/TLS bypass) to the client's own log,<state dir>/kandev/intercepts/<client>.log, one JSON object per line in msb's order, when it stops the sandbox and just before a purge or the reaper removes it. Nothing is copied twice, and the log rolls over to.1at 64 MiB.
[0.12.0] - 2026-11-19#
Added#
msbctl duplicate name new-name dirregisters a second sandbox on another existing folder with the first one's host-side settings: its registry entry, secrets (keyring items included) and policy approval. The source sandbox, the folder and its.msb/are left alone; published ports, agent state and disk volumes are not copied. Also inmsbctl edit→ Name & folder.- A managed client's provision may pick model endpoints the operator defined (
[llm.<name>]) and granted it ([clients.NAME] llms,msbctl host managed configure --client NAME --llm NAME): its rule, port, CA, private name and key all come from this host, the key read at every start and never sent to the client.healthlists each granted endpoint and the placeholder pi'smodels.jsonshould name. - A managed client's provision may send a CA to trust for one of its own hosts (
upstream_ca), for a server with a private certificate; never for an endpoint whose key the operator holds.[clients.NAME] allow_upstream_ca = falserefuses it.
Changed#
- msbctl requires msb 0.7.16 or newer, the release it is now developed against; an older msb is refused as before. Upgrade msb first (
msb self update, orcurl -fsSL https://github.com/microsandbox/microsandbox/releases/latest/download/install.sh | sh). With it, a published port another process already holds makes the sandbox's start fail and names the port, where msb used to start it without that port. It also stops the false403 network_policy_denieda long-running process could get when reconnecting to an allowed host after its DNS entry expired; restart running sandboxes after upgrading msb. - A Kandev or managed client's provision may send
ANTHROPIC_API_KEYas a secret or env var; it is no longer a reserved name.
Fixed#
- A Kandev or managed client's secret allowed on a port besides 443 (
egress_allowhost:8443) is now substituted there: that port's TLS is intercepted, where the secret used to arrive as its placeholder.
[0.11.0] - 2026-11-01#
Added#
- A managed client can be given the proxy's certificate:
[clients.NAME] tls = true(msbctl host managed configure --client NAME --tls) lets that client's key runmsbctl managed tls install, with no Kandev key and no[kandev] enabledneeded. One client at most; Kandev's key keeps it until another table sets it, then answersdenied. - A secret in a Kandev or managed client's provision may name the only headers msb fills it in (
"headers": ["x-api-key"]), asGH_TOKENis scoped toAuthorization; without it, every header to its hosts as before. Protocol 2'shealthlists thesecret_headersfeature. - Protocol 2's
startof a sandbox that is already running, with its secrets, hands msb the new values live, so a client's rotated token arrives without a restart; it used to answer success and keep the old values until the next start.healthlists thelive_secretsfeature. - Nested virtualization: a sandbox's guest gets
/dev/kvmwhennested_virt = true, set in its project's.msb/sandbox.toml(approved like the egress rules), its registry entry (msbctl edit <name>→ Nested virtualization) or, for every sandbox whose project doesn't say,[defaults] nested_virtinconfig.toml(msbctl setup→ New-sandbox defaults; off as shipped). Thepodmanfeature turns it on. msb 0.7.12 made KVM in the guest a create-time switch that is off by default, and msbctl now always passes it (--nested-virt=true|false), so a sandbox that relies on/dev/kvmneedsnested_virt = trueand a rebuild.showlists it askvm, andshow --jsonasnested_virt. msbctl execpasses msb's-d/--detachon, which leaves the command running as a job msb owns.- With the npm feature, the CLAUDE.md a sandbox's agent gets says that npm 12 runs no install scripts unless they are allowed, so a package whose native binary never got built or fetched is not mistaken for a broken package or a refused download, and how a project allows them (
allow-scriptsin its.npmrc). Left out under an npm pin below 12.
Changed#
- The CLAUDE.md every sandbox's agent gets explains msb's JSON
403denials (msb 0.7.9+):network_policy_deniednames the refuseddomainto report, andsecret_policy_deniedmeans a credential placeholder went where it isn't bound. The docs no longer say msb never logs a denial: it logs a refused HTTPS connection at debug level, which is why observe mode is still how to learn what a sandbox needs. - The GitHub token and every secret preset are substituted in the
Authorizationheader only (msb'sheaders=[authorization]), not in every header: a placeholder anywhere else goes out unsubstituted, so a host that echoes request headers back can't return the real value to the guest.[secret_presets.*]take aheaderslist for this (headers = []in yourconfig.tomlputs every header back for a shipped preset), andsecret add→ custom offers "auth only". Existing sandboxes get the narrower rule at their next rebuild; rotating the token says so until then. msbctl secret add(and a value stored for such a binding withsecret set) binds a secret with options,VAR:query@hostorVAR:body@host, on an existing sandbox without a rebuild, like any other binding. Declining the restart it offers now binds it for the next start instead of not at all; adding hosts or options to a variable the sandbox already binds sends all of its bindings, which msb merges; and the binding gets the same transcript passthrough as at create.- A new value for a secret a running sandbox already binds reaches it live, with nothing restarted:
msbctl secret set,edit→ GitHub token,edit→ Claude token, and replacing a stored Claude token withmsbctl setup --claude-token NAME, which updates every running sandbox that uses it.secret set --restartis now only needed for a binding the running sandbox does not have yet. msbctl portandmsbctl edit→ Published ports no longer need a rebuild: they change an existing sandbox withmsb modify, which keeps its state. A stopped sandbox has the new ports when it next starts, and a running one on its next start, or at once withmsbctl port --restart(asked on a terminal), which is msbctl's own stop and start.--rebuildstill rebuilds, for when other create-time changes are pending too. A new guest port for a host port already published replaces that mapping, and a port msbctl didn't publish (anmsb_confone) is never removed.- Kandev's and every managed client's sandboxes get
/dev/kvmonly when their provision asks ("nested_virt": true) and the client's table allows it (allow_nested_virt = true,msbctl host managed configure --client NAME --allow-nested-virt); a request asking where it isn't allowed is refused withdenied. msbctl always passes--nested-virt=true|falsefor them, so neither this host's[defaults] nested_virtnor msb's own default ever applies.healthlists thenested_virtfeature only where asking would be granted (allowed, and the host has/dev/kvm; without it a request isunsupportedbefore anything is made), protocol 2'sclient_settingsincludeallow_nested_virt, and once it is revoked a sandbox that has KVM is refusedstart. - msbctl requires msb 0.7.12 or newer, the release it is now developed against: every msbctl command that runs sandboxes on this machine refuses an older one with the command that installs a newer one, Kandev's and managed clients' provisioning answer
unavailable,msbctl doctorfails it, andmsbctl remote setupnever installs an older one on a host. microsandbox is pre-1.0 and changes quickly, so from now on the oldest msb msbctl accepts is the one it was last developed against. Upgrade msb first (curl -fsSL https://github.com/microsandbox/microsandbox/releases/latest/download/install.sh | sh); see the nested-virtualization entry before upgrading a host whose sandboxes use KVM.
Fixed#
- Claude Code installs again under npm 12 (the shipped
npmpin): bootstrap andmsbctl update <name> -c claudeallow its postinstall, which npm 12 blocks by default and which is what installs theclaudebinary. A sandbox that fails with "claude native binary not installed" is fixed bymsbctl update <name> -c claude.
[0.10.0] - 2026-10-30#
Added#
msbctl managed(protocol 2) lets another orchestrator own sandboxes on a Kandev host beside Kandev's:host authorize KEY --client NAMEwrites a key whose forced command ishost serve --client NAME, which runs that client'smanagedverbs andls,show,stop,purgeanddoctor --jsonover its own sandboxes only. Its sandboxes have their own name prefix, msb label, limits, egress, guest ports, agentctl variable prefix and an optional callback, which itsallow_extramust admit: by an address, CIDR or address:port entry covering the address it resolves to on the host, or by a hostname pattern only when that address is public or the name is in itsprivate_names, as for the same name inegress_allow(a name nothing could admit is refused without being looked up);*admits any address given as one, private included, and for a name counts as a pattern. A client that is never called back sends none, so no egress rule names it and nothing is pinned in the guest's/etc/hosts, where a pinned name would get no secret substituted. Kandev'smsbctl kandev(protocol 1) is unchanged, and the Kandev key may runmanagedtoo.msbctl kandev healthlists themanaged_namespacefeature on a host that speaks protocol 2.[managed](the host-wide proxy, address, pool keys and optional totals over every client) and[clients.NAME](one client's table, includingbody_secret_hosts: the hosts a secret's placeholder may reach in a request body, such as its model endpoints) inconfig.toml, set bymsbctl host managed configure [--client NAME];msbctl doctorreports a table that doesn't check out, and a client prefix that an existing sandbox of yours already starts with. A problem in a client's table, or two clients sharing a prefix, stops only the clients concerned; Kandev and the others go on. Nothing to do for Kandev hosts:[kandev]keeps working. Its client keys may move to[clients.kandev]and its host keys to[managed]; a host key in any[clients.*]table is refused.msbctl kandev healthreports, underserve, the public ports the Kandev proxy has open (ports,[]when no sandbox is live) and how many ports inproxy_port_poolyour own sandboxes publish (pool_overlap), advertised as theserve_portsfeature;host kandev configurewarns, naming them, when your sandboxes publish ports insideport_poolorproxy_port_pool. The proxy picks this up on its next restart (kandev restart-proxy).msbctl addlets a repo on another forge through egress: a rule group that already allows its host and port is preselected, and when none does, the wizard writes a machine-localforge-<host>group intoconfig.toml(:443, plus the SSH port for an ssh URL), listed underprivate_dns_groupswhen the name resolves to a LAN address, and gives it to the sandbox. It never goes into the project'ssandbox.toml. A shippedcodeberggroup covers Codeberg.[defaults] agents(["claude"]by default;msbctl setup→ Coding agents) decides which coding agents a new sandbox gets ticked,[]for none; pi is still ticked too when[defaults] llmnames an endpoint. The first-run setup skips the Claude login when no new sandbox gets Claude, and the model endpoints when none gets pi.
Changed#
- New sandbox names may not start with any configured client's
name_prefix, as they already could not start with Kandev'sk-, which no client may take. The Kandev proxy serves every enabled client's sandboxes, and the reaper reaps every client's, each by its own label. Before downgrading to an msbctl without protocol 2, purge every managed client's sandboxes: an oldermsbctl lsfails on theirsource = "managed"entries. - The Kandev proxy logs how many ports it serves whenever that changes, 0 included (
serving 0 ports: no Kandev sandbox is published through the proxy), and each port it opens or closes with the sandbox and guest port behind it; before, an idle proxy logged just "serving", which looked like a failed bind. The Kandev page now says that in proxy mode nothing listens onbase_url's port and there is no/healthURL: check a host withmsbctl kandev healthover ssh and a real lease. msbctl addasks for the coding agents right after the repo, and the steps after follow the answer: no Claude token step without Claude Code, and the guest-path note no longer assumes Claude.msbctl edit→ Claude token says it is not used in a sandbox without Claude.
Fixed#
- On a Kandev host, a value of the wrong type in
[kandev](rule_groups = [["base"]], an inline table) or abase_urlthat does not parse as a URL now answersinvalid_confignaming the table, like any other bad value, instead ofunavailable("internal error"), and no longer stops the Kandev proxy. A key in[kandev](or any client's table) that does not check out no longer stops the reaper either: sandboxes past their expiry are still destroyed, and only a problem in the host's keys stops it. - A sandbox without Claude Code (pi only, or no agent) no longer has the stored Claude token bound at start, and no longer reads it: before, it got the
CLAUDE_CODE_OAUTH_TOKENplaceholder whenever a token was stored, and a locked keyring could prompt, or hold up its autostart, for a token nothing in it used. msbctl addhandles a repo that isn't on GitHub: give it the clone URL (https://,ssh://user@host:port/pathoruser@host:path) and it is cloned as given, stored inrepoas given, and the GitHub steps (PAT,[secrets] github, the gh/ssh push question, language detection, the pre-tickedgithubfeature) are skipped. Before, any such URL was turned intogit@github.com:<url>.gitand treated as a GitHub repo. The agent's CLAUDE.md names the forge, andadd --reporefuses one, which it cannot clone.
[0.9.1] - 2026-10-26#
Changed#
- New sandboxes get node 24 (the active LTS) instead of 22, which is in maintenance until April 2027; a sandbox whose own
[versions]pinsnodekeeps it, and an existing one changes on its next rebuild. - Sandboxes get npm 12.2.1 instead of the npm that node ships (11 on node 24): a new
npmpin in[versions](""keeps node's own), shown byls --refreshand updated in place withmsbctl update . -c npm; existing sandboxes need a rebuild or that update.
[0.9.0] - 2026-10-26#
Added#
msbctl doctor [--json]checks that this machine can run sandboxes and prints the fix for each problem: KVM access, msb and its version (andmsb doctor's verdict), disk space, config and secret file modes, registry entries whose folder is gone or that msb doesn't know about, the SSH agent, andhost check's hygiene heuristics. It never prompts and exits 1 only when something failed.remote testandremote setupnow run it on the host, falling back tohost checkon an older one. Under the Kandev plugin's key it reports the host and Kandev's own sandboxes, and names none of the operator's.- Tab completion for bash, zsh and fish:
msbctl completion bash|zsh|fishprints a script to source, completing verbs, flags and sandbox names (HOST:namefrom whatlslast cached) and handingexec's command to the shell's own completion, without startingmsbor ssh on a Tab. msbctl allow . --from-observeallows every host the observation log shows reached and no rule covers, in one write and one approval (names seen only in DNS with--with-dns), andmsbctl observe . --jsonprints the report as one JSON document, so the observe → allow → rebuild loop runs from a script.git_checkstatturns on or off thecore.checkStat = minimalthat msbctl puts in a mounted project's repos so a host editor's git does not rewrite.git/indexunder the sandbox:[defaults] git_checkstat(msbctl setup→ Defaults for new sandboxes) for the machine, the registry entry (msbctl edit→ Host editor) for one sandbox; on by default,showandshow --jsonreport it (nullfor a sandbox without a folder), and the agent's CLAUDE.md says which, so it neither unsets the value nor chases files that only looked deleted. Turning it off does not remove the value from repos that already have it.- Published tcp ports are clickable in
msbctl portandshow(an OSC 8 hyperlink tohttp://127.0.0.1:<host>/on a terminal), andshow --jsonadds aport_urlsmap of each port to its URL. - Secret values can live in your desktop keyring instead of 0600 files:
msbctl secret migrate --to keyringmoves them (and--to fileback), and[secrets] store = "file" | "keyring" | "auto"inconfig.tomldecides where new ones go. A locked keyring asks to unlock with its own prompt, a machine without one keeps the files, a boot-timestart --autostartskips (and names) the sandboxes whose secrets are in a still-locked keyring, andmsbctl host checkreports which store is in use. Over ssh into a machine whose desktop keyring is locked, msbctl says the unlock prompt is on that desktop's screen; see the docs' "Credentials & SSH" page. Nothing changes until you opt in.
Changed#
- The
githubegress group allows*.blob.core.windows.net, wheregh run view --logfetches Actions logs from (it replaces the singletmaproductionaccountgh attestation verifyneeded); existing sandboxes need a rebuild. - The
goegress group allowsstorage.googleapis.com, where proxy.golang.org redirects module and toolchain downloads; existing sandboxes need a rebuild. core.checkStat = minimalis now set on each checkout up to two levels under the project folder (repo/,group/repo/;node_modulesand hidden folders skipped) as well as the project folder itself, symlinked checkouts included, and in every read-write extra mount, so a workspace holding several repos no longer loses.git/indexfor ~5 s whenever a host editor diffs one of them; before, a project folder that was not itself a repo got nothing. The git calls run only when this boot has not yet seen exactly these repos (orgit_checkstatchanged), so a repo cloned since is covered by the nextshell/exec; a guest without git yet is retried instead of remembered, and a repo whose.git/configthe guest cannot write is skipped.- The same walk adds every repo it finds to git's global
safe.directoryin the guest, by name, so git there (the agent's as much as msbctl's) no longer refuses a repo two levels down, cloned since create, or in an extra mount as "dubious ownership"; before, only bootstrap's create-time list of the project and the repos directly in it was trusted. It runs whether or notgit_checkstatis on. msbctl allowon a terminal now asks whether to rebuild when--rebuildis not given; off a terminal it never asks and does not rebuild, as before, and--no-rebuildskips the question.msbctl observe's report no longer counts a udp or:ingressrule for a host as covering a TLS connection to it.- A secret value that a line in its 0600 file cannot hold as it is (a line break, or a space or quote at either end) is refused when you store it, instead of being written and read back trimmed.
[0.8.0] - 2026-10-24#
Added#
- Agent tools: a capability your own endpoints back (web search, page reading, anything else), attached to sandboxes from one folder —
~/.config/msb/tools/<name>/with abundle.toml, a pi extension and a Claude Code skill. Its egress rules and environment are emitted from the bundle, the adapters are installed at every start and removed when it goes, andmsbctl setup→ Agent tools turns them on for new sandboxes (msbctl editfor one). Nothing belongs in the project; see the docs site's "Agent tools" page. - A tool bundle can give pi a published pi package (
pi_package = "name"or"name@1.2.3"inbundle.toml), such asbillion-context-pi: msbctl declares it in pi's settings and pi installs it inside the sandbox on the next start, onto the mount that survives a rebuild;msbctl update <name> -c pinow also updates pi's packages (a pinned one stays). - Each sandbox now tells its agent where its project is mounted and where the project's own
.agents/skills/folder is, so those files are reachable from outside it; nothing to do, it lands on the next start. - pi, a second coding agent for your own model server or any provider: add a source with
msbctl setup→ Model endpoints (a URL and a key; HTTPS only, the key stays on the host), pick its model from the list it serves, then tickpiunder Coding agents and rebuild. The model list is asked again on every start, and "choose a model" changes the model without a rebuild.
Fixed#
msbctl secret addno longer writessecret_bindsinto the middle of a multi-lineextra_ruleslist, which left the file unreadable; the same fix coversallowafter a multi-linerule_groupsandmount add. A list holding an IPv6 rule (allow@[fd00::1]:tcp:22) is no longer cut short at its], and msbctl now refuses to write a file it would leave invalid.- A policy change can no longer hide in the approval prompt: text from
.msb/sandbox.tomlthat would move the cursor or recolour the terminal is shown escaped, so an\u001bsequence can't erase the added rule or secret binding from the screen you are approving. msbctl edit,allowandsecretno longer approve a change the sandbox wrote to.msb/sandbox.tomlwhile they waited on you: only what msbctl itself wrote is approved unasked, and anything else (including your own edit in "Edit the files") is shown and asked about as you leave.- The
containersrule group now allows*.data.mcr.microsoft.com, where Microsoft's registry actually serves image layers from, so pulling anmcr.microsoft.comimage inside a sandbox no longer fails at the first layer; rebuild a sandbox withcontainersto pick it up. - pi no longer stops at a startup question nobody is there to answer. The sandbox's project folder (and
/tmp) are trusted on every start, which also fixes the project's own.agents/skills/loading nothing when pi is started without a terminal (msbctl exec . -- pi …), where pi answered its own trust prompt with "no"; and the "What's New" block pi prints after it updates is switched off —/changelogstill shows it. Both are pi's own settings under~/.pi/agent/, rewritten on every start, so nothing needs a rebuild.
Changed#
- pi installs from
@earendil-works/pi-coding-agent: the@mariozechnerpackage pi used to live in is deprecated on npm and stops at 0.73.1, so rebuild a sandbox that already has pi: its key stops working until then, becausemodels.jsonnow uses the key spelling only the new pi understands.
[0.7.0] - 2026-10-22#
Added#
[kandev] private_names(host kandev configure --private-name) lets a Kandev profile name a host that resolves to a LAN address, such as a forge with a bound token; that sandbox runs with DNS rebind protection off and msbctl denies every other private destination in its place.
[0.6.1] - 2026-10-19#
Added#
msbctl kandev restart-proxyrestarts the Kandev proxy if it runs an older release, andkandev healthreports the proxy's release asserve.version: run it once after updating a 0.6.0 host.
Changed#
self-updaterestarts the Kandev proxy's service after an update if it runs an older release, so the proxy no longer keeps the old code until someone restarts it; this cuts its open connections.
Fixed#
self-update --versionandget.sh --versionaccept0.6.1as well asv0.6.1.
[0.6.0] - 2026-10-19#
Added#
kandev healthreportshost: the machine's OS, kernel, CPUs, memory, load, free disk and uptime.msbctl host kandev configuresets[kandev]keys (--enabled,--serve,--proxy-listen,--base-url,--allow-extra) inconfig.toml, keeping the rest of the file, and refuses a bad value without writing.- The Kandev plugin's key may run
self-update --json, which answers{"msbctl_version", "updated"}; under either restricted key--versionmay now name any release not older than the running one.
[0.5.1] - 2026-10-19#
Added#
[kandev] allow_extraadmits addresses (192.168.2.6),address:port(192.168.2.6:8788) and CIDRs (192.168.2.0/24, no wider than /8), so one LAN host can be allowed without"*";kandev healthreports the list asegress.allow_extra.
[0.5.0] - 2026-10-19#
Added#
- Kandev sandboxes get their own disk at
/workspace(workspace_gibinkandev provision, now required), deleted with the sandbox;kandev healthlistsfeatures, starting withworkspace_disk.
[0.4.0] - 2026-10-19#
Added#
- Kandev sandbox hosts:
msbctl kandev …lets the Kandev plugin run one microVM per session here over ssh, listing, inspecting, stopping and removing them withls,show,stopandpurgeand--json(host authorize --kandev,host kandev install|reap|proxy); off until[kandev] enabled = true, see the "Kandev hosts" page. - Kandev hosts serve sandboxes through their own TLS proxy (
[kandev] serve = "proxy", the new default; setproxy_listen): the plugin installs a certificate withkandev tls install, leases carry a short-lived token inX-Msb-Leasethat survives a stop and start (host kandev rotate-lease-keyreplaces its key), andhealthreportstls. Re-runmsbctl host kandev installto get the proxy's service, or setserve = "tailscale"to keeptailscale serve. msbctl stop --jsonandmsbctl purge -y --jsonprint one JSON document, asls --jsonandshow --jsondo.- Kandev
healthreportsserve.ok = falseintailscalemode when the tailnet issues no certificates (headscale). - The
goegress group allowsvuln.go.dev, forgovulncheck; existing sandboxes need a rebuild. - Remote hosts from the menu: bare
msbctl→ remote hosts adds, sets up, tests and removes them, andmsbctl remote setup NAMEinstalls what a host is missing (msb and msbctl at this machine's versions, autostart) and restricts your key there, asking before each step. - With remotes configured,
msbctl addasks where the new sandbox should run, and the menu's sidebar lists every remote's sandboxes too. msbctl host authorize --replacerewrites a key's existing line, so a key that already has a shell can be restricted.- Git push mode per sandbox (
git_push,msbctl edit→ Git push):gh(the new default) fetches and pushes over https with the GitHub token through gh's credential helper, even for an SSH origin;sshpushes through the agent with the identity's newpush_keyonly. Takes effect on the next start; setgit_push = "ssh"in a sandbox's registry entry to keep pushing over SSH. msbctl remote setupoffers to copy your git identities and Claude tokens to the host;msbctl setup --identity KEY --git-name … --git-email …and--defaultset them without the menu.
Changed#
- In the picker, Enter now edits the sandbox (
msbctl edit). msbctl purgeof a name with nothing registered under it says "nothing found" and succeeds, so purging twice is fine.- With
--json, a failingls,show,stoporpurgeprints{"error": {"code", "message"}}on stdout and exits 3 (not_foundfor an unknown name) instead of a message on stderr and exit 1. msbctl stopexits non-zero when msb fails to stop a running sandbox.
Removed#
msbctl codeandMSB_EDITOR: open the project folder in your editor yourself.
Fixed#
- Bare
msbctl→ "register a new project" crashed withAttributeError: 'Namespace' object has no attribute 'repo', and "refresh version info" likewise.
[0.3.0] - 2026-10-16#
Added#
msbctl remote addregisters another machine;host:nameaddresses a sandbox there, andlsand the picker show every host.msbctl host serve|authorize|check: run a machine as a remote sandbox host whose SSH key for everyday use cannot read secrets or change policy.msbctl start --autostartandmsbctl host autostart installstart the autostart set after a reboot, with no picker or login.ls --json,show --json,msbctl secret set … --stdinandmsbctl setup --claude-token NAME --stdinfor scripts; no secret value is ever printed.msbctl add --repo owner/namecreates a sandbox with no host folder: the repo is cloned into a disk volume that survives rebuilds, and its policy is read from the repo's.msb/at a recorded commit (msbctl policy <name> updatemoves it).- Changes to a project's egress rules, secret bindings or resources must be approved on the host (
msbctl policy) before a create or rebuild applies them, and.msb/is read-only inside the sandbox; the first rebuild after upgrading asks once.
Changed#
- The
containersegress group also allowsmcr.microsoft.com, so podman in a sandbox can pull the devcontainers images. Needs a rebuild. - An egress group you defined yourself is written to the sandbox's registry entry (
extra_rule_groups, added to the project's groups) instead of the committed.msb/sandbox.toml, where it broke every other clone;msbctl edit→ Features & agents moves one that is already there. Needs a rebuild. - Sandboxes with Claude Code get
IS_SANDBOX=1(so bypass-permissions mode is offered, including throughclaude-agent-acpin Zed),DISABLE_BUG_COMMANDandDISABLE_AUTOUPDATERon top of the telemetry and feedback opt-outs. Those now come from a new[agent_env.claude]table and are no longer set in sandboxes without Claude. Needs a rebuild.
Fixed#
- A project's
sandbox.tomlcan no longer bindGH_TOKENor a Claude token, read values fromsecrets/global.env, or switch on observe mode; store a project binding's value per sandbox withmsbctl secret add. - A project's
.msb/dev.yamlis no longer passed to msb, which let a repo mount host paths or read the bound secrets; only itsimageis read, and create refuses a file that sets more (moveenv:tosandbox.toml, or use the new registry-onlymsb_conf).
[0.2.4] - 2026-10-09#
Added#
- Each release carries its build-provenance attestation as
msb-manager-X.Y.Z.intoto.jsonl, sogh attestation verify --bundlecan check a download against it.
Changed#
msbctl rebuildandstart(and a rename that recreates the sandbox) end with a red warning and exit non-zero when the bootstrap fails, instead of reporting the sandbox as running; the half-set-up sandbox is kept so you can look inside.
Fixed#
- The bootstrap's apt step retries a dropped download and reports FAILED when the install fails, instead of saying "ok" with podman and the base tools missing; a sandbox that hit this needs a rebuild.
- A secret binding with its own options (
KEY:query@host) no longer fails at create with "invalid secret option": msbctl now joins itspassthrough=to them with a comma, as msb expects; run the failed rebuild again. - podman works again after a sandbox restart instead of failing every command with "boot ID differs": each start clears its runtime state left over from the previous boot (images and containers are kept); no rebuild needed.
- Image update checks only fetch a registry's pull token over https; a registry that names a plain-http (or other) token service is skipped instead.
[0.2.3] - 2026-10-09#
Added#
- Each sandbox's
CLAUDE.mdends with a short "This sandbox" section listing its features, so the agent knows podman is there; refreshed on every start, andmsbctl edit→ "View the CLAUDE.md it gets" shows the result. - A
browsersfeature inmsbctl addandedit(the newplaywrightegress group) letsplaywright installdownload its browsers fromcdn.playwright.dev; an existing sandbox needs it ticked, then a rebuild. - The
containersegress group (the podman feature) allowscodeberg.org, so images pull from Codeberg's registry; existing sandboxes need a rebuild. - Every start sets
core.checkStat=minimalin the project's git repo (unless it setscore.checkStatalready), so.git/indexno longer vanishes for ~5 s after a git command while a host editor such as zed watches the repo; no rebuild needed. - Several Claude tokens, one per account:
msbctl setup→ Claude login stores them by name and picks the default,msbctl edit→ Claude token picks one per sandbox (a restart, no rebuild); an existing token becomesmainand nothing changes until you add another.
[0.2.2] - 2026-10-08#
Added#
msbctl port <name> 8080publishes a host port to a server inside the sandbox, sohttp://localhost:8080reaches it (also undermsbctl edit→ Published ports); stored in the registry entry, bound to 127.0.0.1, needs a rebuild, and the server inside must listen on 0.0.0.0.
Fixed#
msbctl allow,editandsetupaccepthost:tcp:port(andhost:udp:port) instead of turning it into a rule msb refuses at create (…:tcp:2222:tcp:443); a rule already saved that way now fails before create, naming the file to fix it in.
[0.2.1] - 2026-10-08#
Added#
msbctl shellandmsbctl execpass any flag after the name tomsb execas is (-u root,--timeout 5m,-e KEY=value, …;msb exec --helplists them); forexec, end them with--.- The project can appear inside the sandbox at its host path (or any path) instead of
/work, so paths in errors and agent output open on the host as they are:msbctl addasks,msbctl edit→ Name & folder changes it (needs a rebuild), andsetupsets the default. - Choosing Claude Code also installs its ACP adapter,
claude-agent-acp, so an editor can drive Claude in the sandbox over stdio (msbctl exec . -- claude-agent-acp);msbctl update <name> -c claudeupdates both, and existing sandboxes get it on a rebuild or that update. - Claude Code in a sandbox trusts
/tmpas well as the project, so an agent or ACP session started in scratch space is not stopped by the trust prompt; takes effect on the next start.
Changed#
- The project moved to https://github.com/runoverlabs/sandbox-manager and its documentation to https://sandbox-manager.runoverlabs.dev/; old GitHub links and existing installs keep working through GitHub's redirects, but the old github.io docs address does not.
- Naming the sandbox by the current folder (
.or leaving the name out) no longer prints the sandbox it resolved to before running the command.
Fixed#
- Input piped into
msbctl exec(echo hi | msbctl exec . -- cat) reaches the command instead of being swallowed, and starting a stopped sandbox no longer writes to its stdout, so it can carry a stream such as ACP. - After a sandbox is stopped and started again, its SSH agent works again (signing,
git push) instead of refusing every connection; no rebuild needed.
[0.2.0] - 2026-10-07#
Added#
- Documentation site at https://naerymdan.github.io/sandbox-manager/: install, getting started, guides, command and configuration reference, with search and light/dark themes; agents can read it through
llms.txt,llms-full.txtor the Markdown copy beside each page. - Sandboxes get
EDITOR=nano(and nano itself), so Claude Code's/memory,git commitand friends open an editor instead of silently doing nothing; override it under[env]. Existing sandboxes need a rebuild. - Inside a project folder msbctl knows which sandbox you mean: leave the name out where it is the only argument (
msbctl shell,msbctl stop), use.where more follows (msbctl exec . make,msbctl allow . example.com), ormsbctl exec -- cmd;shellandexecstart in the matching subfolder of/work. msbctl rename <name> <new>andmsbctl move <name> <dir>(alsoedit→ Name & folder) rename a sandbox or point it at another project folder; a rename recreates the VM and keeps settings, secrets, Claude state, caches and container images, a move needs a rebuild.- A git identity can name an ssh key to sign commits with (
setup→ Git identities); sandboxes using it sign through the filtered agent (and can verify their own signatures) while the key stays ticked inmsbctl keys, which flags it and warns before you drop it. Existing sandboxes need a rebuild foropenssh-clientifssh-keygenis missing.
[0.1.1] - 2026-10-06#
First release. msb-manager runs coding agents against real repositories in microsandbox microVMs, without giving them your network or your tokens.
Isolation#
- Deny-by-default egress, per host and per port. Named rule groups (
github,npm,python,go,claude,bun, …) compose per project, and plain HTTP is refused outright. - Tokens never enter the VM.
--secretbindings put an opaque placeholder in the guest and substitute the real value host-side, into request headers only, for the hosts you name.GH_TOKENand Claude's own credential work this way, andmsbctl secretadds more. - A filtered SSH agent per sandbox, forwarded over vsock: only identity-list and sign requests, limited to the keys you pick (
msbctl keys). The private key never crosses. - A central
CLAUDE.md(shipped text plus your own additions) copied into every sandbox on each start from a read-only mount; each sandbox gets its own~/.claude.
Managing sandboxes#
- One CLI and an fzf picker (with a desktop entry) to register, start, stop, rebuild, purge, resize, shell into and run commands in sandboxes:
msbctl add,start,stop,rebuild,purge,shell,exec,resize,reclaim,ls,status,show. - A setup wizard that asks for features (bun, python, podman, gitleaks, …) rather than raw rule groups, preselects them from your repo's languages, and sizes the disks and package caches;
msbctl editandmsbctl setuprevisit any section later, and a first-run walk-through covers a new machine. - Per-project config that travels with the repo (
.msb/sandbox.toml, egress groups, packages, limits), with machine-local paths and tokens kept in~/.config/msb/and never committed.msbctl configshows the merged result and where each value came from. - Extra folders, package-cache disks and secrets added after the fact (
msbctl mount,cache,secret), andmsbctl allowfor one more egress rule. - Egress observe mode (
msbctl observe <name> on): when an allowlist is too tight to work in, stop blocking, record every host reached, then read it back with the exactmsbctl allowlines for the hosts no rule covers. It leaves that sandbox's egress unrestricted until you switch it off. - Secret placeholders pass through to agent hosts, so a coding agent that has read
$MSB_GH_TOKENno longer breaks its own API calls. - In-place updates of claude, gh, gitleaks, bun and apt (
msbctl update), with the versions recorded so a rebuild reproduces them, and a version display in the picker.
Install and supply chain#
curl | shinstaller (get.sh) andmsbctl self-update, with sha256 verification of the release tarball.- Signed build-provenance attestations on every release tarball and
get.sh, verified byget.shandself-updatewhen an authenticatedghis installed (MSB_MANAGER_SKIP_ATTEST=1skips it; otherwise only the checksum is checked). See the README's "Verifying a release". - Verified toolchain installs inside the guest: bun and gh are pinned release assets checked against their published checksums, and node comes from NodeSource's apt repository with a pinned signing-key fingerprint, instead of
curl | bash. - CI, CodeQL, zizmor and OpenSSF Scorecard, a tag-driven release workflow, Dependabot, issue forms, a security policy and a contributing guide.
Upgrading from a checkout#
- Rule groups changed: the Claude hosts now come only from the
claudegroup,bunallowsgithub.cominstead ofbun.sh, andgithuballows the Actions log host, Sigstore's trust root and GitHub's attestation storage (sogh attestation verifyworks from a sandbox). Existing sandboxes pick these up, along with the secret pass-through and the new installers, at their nextmsbctl rebuild.