chore(release): 0.2.0-rc.1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
w3cjandClaude Opus 5.5 committed 2026-11-20 17:51:16 -07:00
1 parent 47593e21ab
commit bcd126a2c4
2 files changed
+81 -76

No files matched your search

+80 -75
View File
@@ -2,6 +2,86 @@
What's changed on `main` since the latest release is in [Unreleased](#unreleased), at the bottom of this page.
## 0.2.0-rc.1
A release candidate for 0.2.0, adding to 0.1.1-rc.3. 0.2.0 takes 0.1.1's place, because its breaking changes need a new minor version. Install it with `devvm upgrade --to 0.2.0-rc.1`, the install script's `--version 0.2.0-rc.1`, or `brew install devvmhq/tap/devvm-rc`. Homebrew's `devvm` stays on 0.1.0.
### Breaking
- **At most 17 VMs run at once:** each VM's ssh is now on one of the 17 ports from 1024 up that every browser refuses, so no page in your browser reaches a server in a VM through it. Root in a VM could make its ssh port answer as a web server, which got the cookies of the apps you use on `localhost`, even in a VM that forwards no ports. A start past 17 fails and names the VMs that run on those ports ([too many VMs at once](https://next.devvm.dev/docs/using/troubleshooting/#too-many-vms-at-once)).
- **A VM that forwards every port leaves out those 17:** a server in the VM on one of them, such as an X server on 6000, reaches this machine only when you list the port with `devvm ports`, so a VM can't take the ports other VMs' ssh needs. `devvm ports` and each launch warn when a VM's list names one of them ([ports](https://next.devvm.dev/docs/using/ports-size/#ports)).
- **A short host name no longer reaches a host through the proxy:** a tool in a VM that used a name such as `jenkins` for a host on your company's network now needs its full name, such as `jenkins.corp.example.com`, as the proxy no longer adds this machine's DNS search domain ([a name that doesn't resolve](https://next.devvm.dev/docs/using/troubleshooting/#a-name-that-doesnt-resolve)).
- **The agent store keeps only what a seed has of Claude Code's plugins:** if you imported Claude Code's settings with devvm 0.1.0, which copied your whole `~/.claude/plugins`, the first start of any VM takes your plugins' data, and the store's other entries of that folder that are this machine's own, such as `installed_plugins.json`, out of devvm's agent store, where every VM with Claude Code could read them, and warns once, naming them. Your own `~/.claude/plugins` is left as it is. A store whose plugins folder is a link, or below one, which only a store you made yourself has, now stops every VM with Claude Code from starting until it's a folder of its own, as a VM's mount would follow the link ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- **`devvm agent import` and `devvm agent save` refuse a linked store:** when a folder on the way to what they write in devvm's agent store is a link, from `~/.config/devvm/agents` down, such as `~/.config/devvm/agents/claude` linked into a dotfiles repo, they now fail and name the link before they change anything. Before, they wrote through the link and took out whatever the folder it led to held that they didn't write, which for a link to your home folder deleted your files. Make that folder one of its own, then run the command again ([devvm's agent store](https://next.devvm.dev/docs/using/coding-agents/#devvms-agent-store)).
### After you upgrade
- A VM's proxy that runs as you upgrade keeps running as one process, without a sandbox, until the VM's next launch, which starts its two processes, as it starts a proxy again for every new devvm. Until then, `devvm doctor` names each VM whose proxy an older devvm started ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- Each existing VM's ssh moves to one of the 17 ports that browsers refuse at the VM's next start, in the one change devvm makes to its Lima config, which gives the VM new ssh host keys, as any change to its Lima config does. A VM that runs as you upgrade keeps its old port until then, and devvm warns of it at each launch, so stop it with `devvm stop` in its folder, and its next start moves it ([too many VMs at once](https://next.devvm.dev/docs/using/troubleshooting/#too-many-vms-at-once)).
- A VM whose copy of an agent's settings file had `devvm-redacted` under a name you chose, such as a plugin's marketplace, gets the whole copy at its next launch, over its own. Until then, `devvm agent save` leaves that file out and warns, so make any change to it in devvm's agent store, or launch the VM again and make the change there.
- A VM that runs as you upgrade, with Claude Code's plugins imported by devvm 0.1.0, loses the store's entries that are this machine's own from its mount at the first start of any VM, so Claude Code there may not find the store's plugins until that VM's next launch. On a Linux host, it can keep seeing what it had read of them until its next start. If a plugin's data held a login of the plugin's own, every VM with Claude Code could read it, so sign in to that plugin again where you don't trust those VMs. Each VM gets its own `~/.claude/plugins` at its next launch, with no restart, in place of its link to the store's folder, and Claude Code started in a shell that was open before that launch finds none of the store's plugins, so start it in a new shell ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- Each VM records its project folder's volume at its first launch that finds the folder. Until then, and for a VM whose folder was already gone before the upgrade, which never records one, a folder that moves while a restart gives its disk another device number still needs `devvm adopt VM`, and after a restart such a gone folder can still be called not connected ([a moved or renamed folder](https://next.devvm.dev/docs/using/vms/#a-moved-or-renamed-folder)).
- A VM that forwards an SSH agent and runs as you upgrade keeps the agent as it was, so it can still remove, lock or add keys, until its next start, and devvm warns of it each time it opens the VM or changes its links. Run `devvm restart` in its folder to give it the relay at once ([agent forwarding](https://next.devvm.dev/docs/using/ssh/#agent-forwarding)).
- Run `devvm update` in each existing VM's folder. The new mise and Docker change what goes into the images, so until you do, a VM made from an older image says it's outdated, and every existing VM says there are newer shared tools at the same versions. The first update or new VM builds base and each of its shared tools again, one at a time, which takes several minutes.
### Changed
- **Each VM's proxy runs as two processes:** `devvm _proxy` alone reads your Keychain, your agents' login files and your other files, and `devvm _proxy-child` reads the VM's network and asks `devvm _proxy` for each name's lookup and each connection, for a login's token exchange, and for each value bound to the VM as a request needs it. So the code that reads every byte a VM sends holds, besides the VM's own proxy password and CAs and your company proxy's password, only the values that the VM's own bindings name, each kept for a few minutes after it was last asked for. A new login's tokens, its refresh token among them, never reach the process that reads the VM's requests, and an error reply from an agent's token endpoint reaches the VM as it is up to 1 MiB, and gets `502` past that. A build's proxy writes its logs to a `logs/` folder of their own in its folder ([a VM's proxy](https://next.devvm.dev/docs/internals/processes/#a-vms-proxy)).
- **On macOS, the proxy's child runs in a macOS sandbox:** `devvm _proxy-child` starts under `sandbox-exec`, with a profile that lets it write only its VM's logs and the shared Nix cache and look at your policy files, so a bug that a VM drove there couldn't read your files, reach the Keychain or connect to this machine's unix sockets, such as ssh's and Docker's. If `sandbox-exec` is missing or fails to start it, the child runs without the sandbox, so the VM keeps its network, and `devvm doctor` warns for each VM whose proxy runs that way ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- **On Linux, the proxy's child confines itself:** before it reads a byte of the VM's, `devvm _proxy-child` confines itself with Landlock and a seccomp filter, so a bug that a VM drove there could write and read only its VM's logs and the shared Nix cache, couldn't change any other file's mode, owner, attributes or times, run a program, or connect to a unix socket, such as an ssh master's, Docker's or your SSH agent's. It could still learn whether a file of yours exists, its size and when it changed. A kernel without Landlock or seccomp filters, or whose Landlock is older than ABI 6 or lacks its fix for signals between threads, confines the child only in part, and the VM keeps its network, and `devvm doctor` warns for each VM whose proxy runs that way, naming what the kernel lacks ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- **The proxy's child connects only through `devvm _proxy`:** wherever its sandbox runs, on macOS and on Linux, it refuses the child every connection of its own, so `devvm _proxy` looks up each name for it and opens each connection, once its own read of your rules and this machine's addresses allows the address. So a bug that a VM drove in the child can't reach this machine's services on `localhost`, such as your dev servers, Docker's published ports and other VMs' proxies, nor this machine's own addresses or your LAN's private addresses, unless a rule names the address, just as the VM can't. A rule such as `devvm network allow 127.0.0.1:5432` still applies from the next connection, and a company proxy on `localhost` still works, though the child reaches whatever that company proxy reaches, as the VM does. Because `devvm _proxy` looks up its names, the child reads no file below `/etc` on Linux and doesn't talk to mDNSResponder on macOS ([the child's sandbox](https://next.devvm.dev/docs/internals/network/#the-childs-sandbox)).
- **`devvm doctor` checks every VM's state:** it reads each VM's `vm.json` and each of its sections as every command on a VM does, and warns of each VM whose state devvm can't read, naming the VM and why, the file included, once, even when it can't read the VM's folder, without changing anything. Such a VM no longer hides doctor's warnings about the other VMs' policy files, nor what `devvm network` warns of every VM ([a file devvm can't read](https://next.devvm.dev/docs/using/troubleshooting/#a-file-devvm-cant-read)).
- **A marketplace's credential gets a warning:** when `devvm agent import` or `devvm agent save` copies a Claude Code marketplace that has a password or an access token in its clone's git config or its source in `known_marketplaces.json`, which every VM with Claude Code can read, it warns and names the marketplace, the store's file and the keys, and copies it as before ([mounts](https://next.devvm.dev/docs/using/coding-agents/#mounts)).
- **`devvm agent import` copies at most 20,000 files, folders and links, 128 MiB, and 16 MiB in one file, of each agent's folder:** an agent's folder that holds more, such as one a VM's project inside it filled, fails the import before the store changes, naming the folder, so take out what it doesn't need and import again. An import that fails, while it reads, such as at a file that changed meanwhile, or while it puts the settings and logins in place, such as at a login it can't save, leaves the store as it was, and in the rare case that putting it back fails too, it names what it kept. The import also warns of each VM whose project folder is inside an agent's folder, such as a skill you work on in `~/.claude/skills`, or holds one, such as `~/.pi`, because that VM can change the settings the import copies for every VM, and of each VM whose state it can't read, as it can't tell where that VM's project folder is. It leaves out an agent's folder that a link in a VM's project folder leads elsewhere, and while a VM's state can't be read, it leaves out every link out of an agent's folder, and an agent's folder or login whose path leads through a link, one on the way to your home folder included unless only root can change it, naming the state, so run `devvm doctor` and import again ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **A launch warns of a project in an agent's folder:** when a VM's project folder is inside a coding agent's folder on this machine, such as `~/.claude/skills/mine`, or holds one, such as `~/.pi`, each launch of the VM warns in one line, because code in the VM can change that agent's settings on this machine ([project folders devvm refuses](https://next.devvm.dev/docs/using/settings/#project-folders-devvm-refuses)).
- **Cursor's CLI in a VM can change less of your Cursor account:** its proxy refuses more of the methods that change your account, your team or your cloud agents, such as merging a cloud agent's pull request, forking or pinning a cloud agent, or writing to its machine, while every call the CLI itself makes passes. Do those from Cursor on your machine ([Cursor CLI login](https://next.devvm.dev/docs/using/coding-agents/#cursor-cli-login)).
- **Pins:** mise is 2026.11.10, in base and on this machine, the docker layer's Docker is 29.10.0 and its compose 5.8.0, and Cursor's CLI is 2026.11.17-f532c45. The new mise and Docker change what goes into the images, so base, every image built on it and every shared tool that mise installs are built again once.
- **Slow steps show a status line:** in a terminal, devvm now shows what it's waiting for while it finds the folder's VM, checks it before a start, checks its network and reads its host keys, sets it up, runs a `devcontainer.json`'s commands, looks up a folder's disk, checks Lima, deletes a VM or an image, applies the retention settings and installs an upgrade, and while `devvm ls` reads the VMs, `devvm doctor` checks this machine, `devvm agent import` reads your agents' folders and copies them into the store, and `devvm agent save` reads and compares the VM's settings. `devvm clone add`, `clone fetch`, `clone on` and `clone off`, `devvm git-protect`, `devvm stop`, a `--clone` VM's check before `devvm rm`, a history export or import, and `devvm ports` as it starts a running VM's port forwarder again show one too, and so do `devvm link` as it asks about the VMs its links lead to, `link add`, `link rm`, `link publish` and `link unpublish`, `devvm group join` and `group leave`, and `devvm rm` of a VM that others link to, as they give each running VM its changed links and check the VMs that links lead to, `devvm network learn` and `network lock` as they give a running VM's proxy its new tier, and every stop of a VM, as for `devvm restart` or a restart you agree to after changing a setting. While devvm waits for another devvm that's changing the same thing, such as a VM's state, its folders' layout, a group, an image's build or the shared tools, a status line says so, only while it waits, where before some of those waits showed nothing and others printed a line after a few seconds that stayed. Like every status line, it shows only in a terminal without `-v`, so a run with `-v`, or with its output piped, no longer prints that line ([a command fails](https://next.devvm.dev/docs/using/troubleshooting/#a-command-fails)).
### Fixed
- **A project folder devvm can't read says so:** when you, or code in a VM that mounts it, took away your read permission on a project folder, devvm said its VM was made for an earlier folder that was deleted or replaced, and offered `devvm rm` and `devvm adopt`. It now names the folder and why it can't be read, so make it readable again ([a folder made again](https://next.devvm.dev/docs/using/vms/#a-folder-made-again)).
- **A warning no longer lands on the status line:** a warning that devvm printed during a slow step was written onto the status line's own line, and the status line's next redraw could erase a question's prompt and what you typed. A message now prints above the status line, which comes back below it, and a question, the picker and an agent's login in the VM take the status line away until they're done ([a command fails](https://next.devvm.dev/docs/using/troubleshooting/#a-command-fails)).
- **`devvm agent login claude --setup-token` shows Claude Code's address (#57):** the login in the VM got no terminal of its own, so `claude setup-token`, which draws full-screen, showed nothing and waited. When devvm runs in a terminal, an agent's login in the VM now gets one too, as devvm's shell does, so Claude Code shows the address to open and the prompt for its code. Without a terminal, `--setup-token` warns that the login may show nothing. On a terminal, Ctrl-C now goes to the agent's login in the VM, which ends, and devvm then says that the login ended or saved nothing, and devvm puts the terminal back as it was before the login, even when a signal ends devvm itself ([Claude Code login](https://next.devvm.dev/docs/using/coding-agents/#claude-code-login)).
- **The VM's shell gets your terminal's 24-bit color (#54):** devvm's shell in a VM, an agent's login with `devvm agent login` and `ssh` to a VM by name never got your terminal's `COLORTERM`, so programs in the VM, such as coding agents, fell back to fewer colors. devvm's shell and an agent's login now get it when it's `truecolor` or `24bit`, and no other value ([opening a VM](https://next.devvm.dev/docs/using/vms/#opening-a-vm)). The ssh config's entries now send it as your terminal has it, from the next time devvm launches or stops a VM, which writes them again, and a VM made with `--from` gets it only when its image's sshd accepts it ([ssh access by name](https://next.devvm.dev/docs/using/ssh/#ssh-access-by-name)).
- **MCP servers' logins in a VM finish and stay (#62):** with your subscription's login, each launch and each `devvm agent login claude` wrote devvm's copy of the login over the VM's `~/.claude/.credentials.json`, where Claude Code also keeps its logins to MCP servers. So a login to an MCP server that you started with `/mcp` in a VM failed when devvm set the VM up again before it finished, such as when you ran devvm in its folder from another terminal, and one that finished was gone at the VM's next launch. devvm now replaces only the Claude login in that file and keeps the rest, so the MCP servers' logins you make in a VM stay in that VM, and they never reach this machine or another VM. With a Claude Code token, the VM's file stays as it is ([MCP servers' logins](https://next.devvm.dev/docs/using/coding-agents/#mcp-servers-logins)).
- **Your claude.ai connectors work in a VM (#61):** with your subscription's login, Claude Code in a VM couldn't use the connectors you added in claude.ai, because the VM's proxy put the login only into requests to `api.anthropic.com`, so those to `mcp-proxy.anthropic.com`, which carries the connectors' traffic, held the login's placeholder and were refused. From each VM's next launch, the proxy puts the login into those too, below `/v1/mcp/`, so a VM with Claude Code can use every connector you added, as Claude Code on this machine can, and code in the VM can read and act through them. Disconnect the ones you don't want VMs to use, or deny `mcp-proxy.anthropic.com` with `devvm network deny` ([your claude.ai connectors](https://next.devvm.dev/docs/safety/attack-vectors/#the-network)). A Claude Code token, from `claude setup-token` or in devvm's environment, still goes only to `api.anthropic.com` ([Claude Code login](https://next.devvm.dev/docs/using/coding-agents/#claude-code-login)).
- **A `NO_PROXY` address with a zone no longer goes direct (#59):** an IPv6 address with a zone in your company proxy's `NO_PROXY`, such as `fe80::1%eth0`, sent that address without its zone past the company proxy. Such an entry now matches nothing, as it does in Go's HTTP clients ([behind a company proxy](https://next.devvm.dev/docs/safety/network/#behind-a-company-proxy)).
- **Claude Code's plugins work in a VM (#56):** a VM's `~/.claude/plugins` was devvm's agent store's folder, mounted read-only, so everything Claude Code writes there failed, such as a plugin's data in `${CLAUDE_PLUGIN_DATA}`, installing a plugin and updating a marketplace. Each VM's `~/.claude/plugins` is now its own folder, and the store's plugins are Claude Code's read-only seed at `~/.claude/plugins-seed`, so the store's plugins load as before, a plugin keeps its data in the VM, and a plugin you install in a VM stays in that VM until `devvm agent save` copies it into the store. The save adds plugins to the store and never takes one out, and an export of a VM's history leaves its plugins folder out. A store that devvm 0.1.0's import filled keeps only what a seed has, as Breaking above says ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- **devvm's own folders are refused in any case on a Mac:** devvm compared a project folder with your home folder and its own folders by name alone, so on a Mac, where a name's case doesn't count, a project at `~/.Config/devvm/layers` got a VM with read-write access to devvm's settings and layer scripts. devvm now compares the folders themselves too, and refuses such a folder as it refuses `~/.config/devvm/layers`. A VM already made in such a folder still mounts it, so delete it with `devvm rm` there. An SSH key in a folder that a VM mounts by a name in another case is refused in the same way ([project folders devvm refuses](https://next.devvm.dev/docs/using/settings/#project-folders-devvm-refuses)).
- **A folder that moved across a restart keeps its VM:** a folder that moved while a restart gave its disk another device number wasn't recognised, so devvm made it a second VM, and the gone folder of a VM whose disk was renumbered was called not connected. Each VM now records its folder's volume, which no renumbering changes: its volume UUID on macOS, and the file system's own ID on Linux's ext4, Btrfs and ZFS. So devvm offers a moved folder its VM by its volume, inode and birth time, and calls a VM's gone folder gone, once the VM has recorded its volume, as After you upgrade says ([a moved or renamed folder](https://next.devvm.dev/docs/using/vms/#a-moved-or-renamed-folder)). A folder at the VM's own path whose disk was renumbered, but on another volume than the one recorded, such as a copy of the disk with a volume ID of its own mounted there, is another folder, so devvm gives it the VM only after `devvm adopt` ([a folder made again](https://next.devvm.dev/docs/using/vms/#a-folder-made-again)). When devvm can't read the volume at the launch after a renumbering, such as when `diskutil` doesn't answer, the volume stays to check, and each launch looks it up until it can. On Linux, where reading the volume costs nothing, every launch checks it, so a Btrfs snapshot rolled back at the folder's path, or the folder after you give its volume a new UUID, needs `devvm adopt` too.
- **Two devvms no longer write the agent store at once:** `devvm agent import`, `devvm agent save` and a start that cleans Claude Code's plugins out of the store now take turns, so a second one waits, saying so, until the first is done, where before their files could mix or one could fail partway. A save that finds the store changed since it showed what differs saves nothing, rather than write over an import ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **A failed `devvm agent save` leaves the store as it was:** a save that failed partway, such as at a file it couldn't write in one agent's store or at the Claude Code login it saves last, left the agents it had saved before the failure saved and the rest not. It now saves all or nothing, as an import does, and in the rare case that putting the store back fails too, it names what it kept. A file in the VM where the store has a folder, or the other way round, fails the save before anything changes, naming the store's path. It also holds the lock on Claude Code's logins while it saves Claude Code's part of `~/.claude.json`, the lock a VM's proxy holds while it saves a Claude Code login made in that VM, so the two take turns, and Ctrl-C while it waits for either lock ends the wait ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **`devvm agent save` has an import's bounds on depth:** a VM that sends folders nested more than 128 deep, or a path of more than 4,096 bytes, now gets nothing saved, as an import of such folders does, where before a chain of thousands of folders could keep the save busy for a long time while it held the agent store's lock ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **Names that differ only in case no longer lose a file on a Mac:** when the VM, or your home folder for `devvm agent import`, had a file whose name differed from the store's only in case, such as `foo.md` where the store had `Foo.md`, `devvm agent save` and `devvm agent import` deleted the store's file and reported success, because macOS's volume reads both names as one file. They now treat the two as one file, as the volume does, so the store's file gets the new content and keeps its name, and the save's diff shows it as changed. Two names in the VM that differ only in case, such as `A.md` and `a.md`, would be one file in the store, so the save now saves nothing and names both, and so does an import of two such names from a home folder on a volume that tells case apart ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **A link inside an agent's folder copies only a setting:** `devvm agent import` copied a link inside an agent's folder as the file it led to wherever that file was in the folder, so a link in `~/.claude/skills` or `~/.claude/plugins/cache` could put your history, `~/.claude/.credentials.json` or a plugin's data into the store, where every VM with the agent reads it. Such a link is now copied only when it leads to one of the settings the import copies, and any other is left out with a warning that names where it leads ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **`devvm agent import` no longer copies your plugins' data into every VM:** it copied all of `~/.claude/plugins` into the store, so every VM with Claude Code got the data that your plugins keep on this machine, which can hold their own logins. It now copies only the marketplaces, their records and the plugins' cache, and `devvm agent save` copies only those from a VM ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **An export can't put what an import leaves out into a VM:** `devvm history import` left out the agents' logins and the files devvm's setup writes by their names as an export wrote them, so an export that spelled one another way, such as `.claude/./settings.json` or `.claude//plugins`, got it into the VM's home. The import now refuses a name with a `.` or empty part, and deletes what it leaves out by its path once it's unpacked ([importing history](https://next.devvm.dev/docs/internals/agents/#importing-history)).
- **A project folder's VM works after your Mac restarts (#60):** macOS numbers its disks' devices in the order they appear at boot, so after a restart an unchanged folder could be on a device with another number. devvm then took the folder for another one, so every command on its VM refused it as made for an earlier folder at its path, a stopped VM's start refused it as replaced, and the next check of `.git` called it replaced. A folder at the same path, with no link on it and with the same inode and birth time, is now the same folder on whichever device it's on, and its VM's next start records it on that device before it mounts it, in the one change devvm makes to its Lima config. A folder that moved after a restart, before its VM started again, isn't offered the VM, so `devvm adopt VM` moves it ([one VM per folder](https://next.devvm.dev/docs/internals/security/#one-vm-per-folder)).
- **Names you choose in an agent's settings are no longer taken for secrets (#55):** devvm took a plugin, a marketplace or an MCP server whose name had `key`, `token`, `secret` or `passw` in it, such as `tokeneconomizer` or `secret-scanner`, for a secret, and put `devvm-redacted` in place of all its settings in the VM's copy. Claude Code then refused the VM's `settings.json` whole, so every plugin was off in the VM. devvm now knows the agents' tables of names, such as Claude Code's `extraKnownMarketplaces` and `mcpServers` and Codex's `marketplaces` and `hooks.state`, and judges only the fields under a name, so a server named `secret-scanner` keeps its command and still loses its `env` and its `apiKey`. Thanks to @jspiro for the report and @dhruv1220 for the tests' idea in #58 ([keys in settings files](https://next.devvm.dev/docs/internals/network/#keys-in-settings-files)).
- **A folder whose name has separators in a row gets a VM (#52):** a folder named `x--y`, `foo (copy)` or `C++ stuff` failed to get one, because devvm turned each character other than a letter or digit into its own dash, and Lima refuses a name with dashes in a row. Each run of them now becomes one dash, so `foo (copy)` gets `devvm-foo-copy-<hash>`, and the state such a folder's failed VM left is replaced when you run devvm there again. Thanks to @se6a for the report ([VM names](https://next.devvm.dev/docs/internals/backends/#vm-names)).
- **Lima's console logs no longer keep a VM's proxy password:** Lima's boot scripts write the VM's proxy settings, with the VM's own proxy password, to the VM's serial console, and Lima keeps that console in `serial.log`, `serialp.log` or `serialv.log` in the VM's folder in devvm's Lima home. devvm took the passwords out of Lima's `ha.stderr.log` only, so those logs kept the VM's password. devvm now replaces each password in them with as many `*` once the VM has started, as it does in `ha.stderr.log` ([the run log](https://next.devvm.dev/docs/internals/overview/#the-run-log)).
- **A short name no longer reaches a denied host under your search domain:** the proxy looked names up with this machine's DNS search domain, which macOS takes from the network's settings and Linux from `/etc/resolv.conf`. So with `api.corp.example.com` denied and `**` allowing the rest, a VM could reach that host as `api`, or `api.eu.corp.example.com` as `api.eu`, when either had a public address, because no rule judged the name the search domain made. The proxy now looks each name up as it's written, so a short name such as `jenkins` no longer reaches a host through the proxy, and a tool in the VM reaches a host on your network by its full name, such as `jenkins.corp.example.com`. When a name without a dot doesn't resolve, the block says to use its full name, and a block because a name doesn't resolve no longer suggests a `devvm network allow` command, which the name's rule already gives ([a name that doesn't resolve](https://next.devvm.dev/docs/using/troubleshooting/#a-name-that-doesnt-resolve)).
- **A VM can no longer take an SSH agent away from you or other VMs:** a VM that forwarded your agent or devvm's own could remove every key from it with `ssh-add -D`, lock it with a password of its own with `ssh-add -x`, or add keys to it, because `ssh-agent` answers every request a forwarded connection sends. Every VM that shares devvm's agent lost it then, and with your own agent, so did you. A VM now reaches its agent only through its proxy, which passes on listing keys, signing and binding a session to a host, and refuses everything else, so `ssh-add` in a VM can still list and use the keys, but not remove, lock or add them. The ssh entries for editors name the same socket, so an editor's connection gets the same agent as devvm's shell, the one the VM started with, and the entry of a VM started outside devvm, such as with `devvm limactl start`, forwards no agent. A VM that's running when you upgrade keeps the old behaviour until its next start, so restart it with `devvm restart` ([the SSH agents](https://next.devvm.dev/docs/internals/processes/#the-ssh-agents)).
- **A VM's host keys are pinned whatever its ports:** when other programs on this machine, such as your own dev servers, held every port a VM lists, or the VM forwarded none with `devvm ports none`, a start that went no further than starting the VM, such as `devvm clone fetch` on a stopped `--clone` VM, didn't pin the VM's ssh host keys. devvm's own ssh to the VM then failed until something else pinned them, so `devvm clone fetch` and `devvm rm`'s fetch failed with `clone_fetch_failed`. devvm now pins the keys each time it starts a VM, whatever the VM forwards, and a command that finds the VM running without them pins them first ([ssh into VMs](https://next.devvm.dev/docs/internals/security/#ssh-into-vms)).
- **A removed link's connections end with it:** `devvm link rm` used to stop a link's new connections but leave its open ones running. A target that never closed its end kept each of those connections' ssh processes on this machine, and one of the 256 connections a client's links carry at once, until the client or the target stopped. Removing a link now ends its open connections within a few seconds, and when a target starts again, the connections still open through its earlier start end too ([removing a link](https://next.devvm.dev/docs/using/links/#removing-a-link)).
- **An agent's settings file that's one string no longer crashes `devvm agent save`:** when an agent's settings file in the VM was a single JSON string holding a placeholder, `devvm agent save` crashed. It now puts the saved value back in it. A login file on this machine that holds only `null` is now refused as not a JSON object, where saving a Codex or opencode login made in a VM failed on it ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **A closed connection's ssh process ends:** when a VM never closed its end of a forwarded port's or a link's connection, that connection's ssh process stayed on this machine after the program here, or in the client, had closed its side. So a hostile VM could take all 256 connections that a forwarder or a client's links carry at once. Such an ssh process now ends once its client has closed and the VM has sent nothing for 30 seconds. A program that closes its side for writing and then waits for an answer, as `nc -N` does, keeps its connection only while the VM sends something at least every 30 seconds, the first byte included, so a slow query that takes longer than that to start answering is cut ([how it reaches the VM](https://next.devvm.dev/docs/internals/ports/#how-it-reaches-the-vm)).
- **A forwarded port answers on `::1` too:** when this machine briefly couldn't listen on a port's IPv6 address, such as when it ran out of open files, the forwarder forwarded the port on `127.0.0.1` alone until the server in the VM restarted. A client that connects only over IPv6, such as `http://[::1]:PORT` or a tool that doesn't fall back to `127.0.0.1`, then didn't reach the VM, and another program on this machine could take `::1` on that port and get those connections instead. The forwarder now tries the port again at the VM's next report and forwards it on both addresses. A machine that denies the forwarder `::1` alone, such as through a security module, still gets its ports on `127.0.0.1`, and the forwarder's log says so ([when it can't forward](https://next.devvm.dev/docs/internals/ports/#when-it-cant-forward)).
- **Every host is read as the proxy reads it:** a few of devvm's checks read a host in a way of their own. A name with a letter that isn't plain ASCII, such as the Kelvin sign, which Unicode's case folding turns into `k`, was taken as the ASCII name it folds into by `devvm secret set --host`, an MCP server's URL and a `NO_PROXY` entry, and `--from` took a registry's host with such a letter, or an address in brackets before a trailing dot such as `[::1].`, as one on the internet. The proxy refuses such a host, so now `devvm secret set` refuses it, an MCP server with one gets no secret, a `NO_PROXY` entry with one matches no host, `--from` doesn't take such a registry as public, and `devvm network rm` with it never removes the rule with the plain letter. The proxy also answers `400` to a host with brackets around anything but an IPv6 address, such as `[evil.com]:443`. A partial clone's warnings also read a remote's host without its trailing dot, so they name `example.com` rather than `example.com.`, and a remote at `localhost.` gets the same warning as one at `localhost` ([how the proxy reads a host](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A VM can't fill a Linux host with processes:** on a Linux host, each connection that a VM confined to its proxy made to the proxy started a devvm process on this machine, with no limit, so a VM that opened connections without end could start thousands of them. devvm now carries at most 256 of a VM's connections to its proxy at once, and answers any past that with `503` before it reaches the proxy. A VM that's running when you upgrade has no limit until its next start ([the QEMU wrapper](https://next.devvm.dev/docs/internals/processes/#the-qemu-wrapper-and-its-keeper)).
- **A forwarded port answers after a burst:** when the port forwarder ran out of open files while accepting a connection, it stopped accepting connections on that port while it still listened there, so the port took connections that nothing answered until the server in the VM restarted. It now tries again shortly after, and so do a link's socket and a browser login's forward, which also carries at most 16 connections at once ([how it reaches the VM](https://next.devvm.dev/docs/internals/ports/#how-it-reaches-the-vm)).
- **A VM's proxy lets go of what a VM leaves:** a VM's proxy counted only its tunnels toward its limit, kept idle connections open without end, kept a plain HTTP request running after its client had gone, and took 1 MiB of a request's headers inside an intercepted tunnel. It now holds at most 2048 of the VM's connections of every kind at once, where one without the VM's password doesn't count, has at most 2048 requests to hosts under way at once, closes a connection that waits 10 minutes for its next request, or that lacked the VM's password, ends a plain HTTP request a minute after its client has stopped sending and nothing has come back, takes at most 64 KiB of headers everywhere, and carries at most 100 HTTP/2 requests at once in a tunnel. A plain `ws://` WebSocket through the proxy, which got `502`, now connects. Long downloads, WebSockets and slow streams go on as long as they last ([the proxy](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A `NO_PROXY` entry with port 0 matches nothing:** the proxy read an entry such as `git.test:0` as `git.test` on every port, so it sent those hosts directly rather than through your company proxy, and it read `git.test:080` or `git.test:+80` as port 80, which Go's clients don't. An entry whose port no request has, or whose port isn't in plain decimal, now matches no host, as one past 65535 already didn't ([through a company proxy](https://next.devvm.dev/docs/internals/network/#through-a-company-proxy)).
- **No false lost pin on Linux hosts:** when git on this machine replaced `.git/config` just as devvm pinned it again, the pin could fail, and devvm warned that the file lost its pin and couldn't be pinned again, then that it was pinned again, at the VM's next check. A VM's start could fail the same way. devvm now pins the file the rename left, and warns only that it was pinned again ([how a Linux host locks .git](https://next.devvm.dev/docs/internals/git-protection/#on-linux-hosts)).
- **A stopped forwarder or link session takes its ssh with it:** devvm stopping a VM's port forwarder or link session, or a `kill` of either, could leave its ssh connection to the VM running on this machine, with its control socket in devvm's run folder. Each signal devvm sends now reaches what the process started too, either one stops its ssh before it exits, and `devvm gc --orphans` also deletes a forwarder's socket that nothing listens on ([how devvm starts them](https://next.devvm.dev/docs/internals/processes/#how-devvm-starts-them)).
- **A name fails at once with transparent mode off:** in a VM confined to its proxy, with transparent mode off or stopped, a lookup through the system's resolver, such as `getent`'s or curl's, could wait out its timeout rather than fail at once, seen on a Linux host, because systemd-resolved's stub kept retrying a name server where nothing listened. The VM's programs now ask that name server, its own `127.0.0.1`, directly, from each VM's next launch, so workerd under `wrangler dev`, which waited about 40 seconds for each lookup on a Linux host, fails at once too, and a VM on the open tier keeps systemd-resolved's stub ([the VM's resolver](https://next.devvm.dev/docs/internals/network/#the-vms-resolver)).
- **A Nix package is downloaded once:** when two requests for a package that wasn't in the shared Nix cache yet came close together, the second could download it again after the first had kept it, and the cache counted it twice against its cap. It now looks in the cache again before it downloads ([the shared Nix cache](https://next.devvm.dev/docs/internals/network/#the-shared-nix-cache)).
- **A refused launch leaves a running VM running:** when `config.toml`'s proxy named a user and no `proxy` secret was saved, `devvm` in the folder of a running VM refused, as it should, but also stopped the VM, and `devvm restart` stopped it before it refused. The same happened when your CAs folder couldn't be used, or the VM's CA or secret files couldn't be readied. On a launch or a `devvm network` change, devvm now checks the company proxy, your CAs, the VM's CA and its secret files before it stops the VM's proxy, and says it left the VM and its proxy running as they were. `devvm restart` checks the company proxy and your CAs before it stops the VM. A `devvm network` change between `internet`, `allowlist` and `none` on a running VM is refused before the VM's tier changes, so its tier never says one thing while its proxy enforces another. A VM whose proxy doesn't enforce the tier the VM has now, or whose proxy is stopped for new settings and then can't start again, is still stopped, because a VM never runs on without its proxy. A `devvm network` change now stops it in that case too, where it left the VM running without its proxy ([the proxy](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A VM's logs are held to their caps:** root in a VM could write to its serial console, `/dev/hvc0`, without end, and Lima's console log for the VM grew until this machine's disk was full, and so could Lima's own logs for the VM until its next start. While a VM runs, its proxy now keeps the disk space each of those logs takes under 10 MiB, on a file system with holes such as APFS or ext4, moving its end to the same name with `.1` added, of up to 10 MiB more, with any password in it replaced. It also replaces the VM's proxy password as the logs grow, so a reboot inside the VM, which on Linux hosts writes it to the console's log again, can't leave it there. A VM that's running when you upgrade gets this once a devvm command starts its proxy again. The port forwarder's and the link session's logs now stay under 1 MiB while they run, not only from their next start, a link's warnings take turns with the session's other lines, the build proxy's log stays under 10 MiB as a VM's proxy's does, a run writes at most 128 MiB to its run log, and the run logs take at most 256 MiB together, though devvm never deletes the newest or one that a running devvm still writes ([Lima's hostagent](https://next.devvm.dev/docs/internals/processes/#limas-hostagent)).
- **devvm desktop goes on after a burst:** when `devvm desktop`'s relay ran out of open files while accepting a viewer, `devvm desktop` ended with an error, and the desktop's port with it. It now tries again shortly, as the port forwarder does ([the desktop relay](https://next.devvm.dev/docs/internals/processes/#the-desktop-relay)).
- **A VM's size that isn't a number is refused:** when a VM's state file held a size devvm couldn't read as a number, such as `"cpus": "four"` after an edit by hand, the VM started with the image's size without a word. devvm now refuses to start the VM or show its size, names the value, and says to set it again with `devvm size`. `--cpus`, `--memory`, `--disk`, `config.toml` and `devvm size -g` also refuse a number too big for devvm to read, which for a disk reached Lima as infinity ([size](https://next.devvm.dev/docs/using/ports-size/#size)).
## 0.1.1-rc.3
A release candidate for 0.1.1, adding to 0.1.1-rc.2. Install it with `devvm upgrade --to 0.1.1-rc.3`, the install script's `--version 0.1.1-rc.3`, or `brew install devvmhq/tap/devvm-rc`. Homebrew's `devvm` stays on 0.1.0.
@@ -112,78 +192,3 @@ The first release of devvm, which gives each project folder an isolated VM of it
## Unreleased
These changes are on `main` and go out in the next release.
### Breaking
- **At most 17 VMs run at once:** each VM's ssh is now on one of the 17 ports from 1024 up that every browser refuses, so no page in your browser reaches a server in a VM through it. Root in a VM could make its ssh port answer as a web server, which got the cookies of the apps you use on `localhost`, even in a VM that forwards no ports. A start past 17 fails and names the VMs that run on those ports ([too many VMs at once](https://next.devvm.dev/docs/using/troubleshooting/#too-many-vms-at-once)).
- **A VM that forwards every port leaves out those 17:** a server in the VM on one of them, such as an X server on 6000, reaches this machine only when you list the port with `devvm ports`, so a VM can't take the ports other VMs' ssh needs. `devvm ports` and each launch warn when a VM's list names one of them ([ports](https://next.devvm.dev/docs/using/ports-size/#ports)).
- **A short host name no longer reaches a host through the proxy:** a tool in a VM that used a name such as `jenkins` for a host on your company's network now needs its full name, such as `jenkins.corp.example.com`, as the proxy no longer adds this machine's DNS search domain ([a name that doesn't resolve](https://next.devvm.dev/docs/using/troubleshooting/#a-name-that-doesnt-resolve)).
- **The agent store keeps only what a seed has of Claude Code's plugins:** if you imported Claude Code's settings with devvm 0.1.0, which copied your whole `~/.claude/plugins`, the first start of any VM takes your plugins' data, and the store's other entries of that folder that are this machine's own, such as `installed_plugins.json`, out of devvm's agent store, where every VM with Claude Code could read them, and warns once, naming them. Your own `~/.claude/plugins` is left as it is. A store whose plugins folder is a link, or below one, which only a store you made yourself has, now stops every VM with Claude Code from starting until it's a folder of its own, as a VM's mount would follow the link ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- **`devvm agent import` and `devvm agent save` refuse a linked store:** when a folder on the way to what they write in devvm's agent store is a link, from `~/.config/devvm/agents` down, such as `~/.config/devvm/agents/claude` linked into a dotfiles repo, they now fail and name the link before they change anything. Before, they wrote through the link and took out whatever the folder it led to held that they didn't write, which for a link to your home folder deleted your files. Make that folder one of its own, then run the command again ([devvm's agent store](https://next.devvm.dev/docs/using/coding-agents/#devvms-agent-store)).
### After you upgrade
- A VM's proxy that runs as you upgrade keeps running as one process, without a sandbox, until the VM's next launch, which starts its two processes, as it starts a proxy again for every new devvm. Until then, `devvm doctor` names each VM whose proxy an older devvm started ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- Each existing VM's ssh moves to one of the 17 ports that browsers refuse at the VM's next start, in the one change devvm makes to its Lima config, which gives the VM new ssh host keys, as any change to its Lima config does. A VM that runs as you upgrade keeps its old port until then, and devvm warns of it at each launch, so stop it with `devvm stop` in its folder, and its next start moves it ([too many VMs at once](https://next.devvm.dev/docs/using/troubleshooting/#too-many-vms-at-once)).
- A VM whose copy of an agent's settings file had `devvm-redacted` under a name you chose, such as a plugin's marketplace, gets the whole copy at its next launch, over its own. Until then, `devvm agent save` leaves that file out and warns, so make any change to it in devvm's agent store, or launch the VM again and make the change there.
- A VM that runs as you upgrade, with Claude Code's plugins imported by devvm 0.1.0, loses the store's entries that are this machine's own from its mount at the first start of any VM, so Claude Code there may not find the store's plugins until that VM's next launch. On a Linux host, it can keep seeing what it had read of them until its next start. If a plugin's data held a login of the plugin's own, every VM with Claude Code could read it, so sign in to that plugin again where you don't trust those VMs. Each VM gets its own `~/.claude/plugins` at its next launch, with no restart, in place of its link to the store's folder, and Claude Code started in a shell that was open before that launch finds none of the store's plugins, so start it in a new shell ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- Each VM records its project folder's volume at its first launch that finds the folder. Until then, and for a VM whose folder was already gone before the upgrade, which never records one, a folder that moves while a restart gives its disk another device number still needs `devvm adopt VM`, and after a restart such a gone folder can still be called not connected ([a moved or renamed folder](https://next.devvm.dev/docs/using/vms/#a-moved-or-renamed-folder)).
- A VM that forwards an SSH agent and runs as you upgrade keeps the agent as it was, so it can still remove, lock or add keys, until its next start, and devvm warns of it each time it opens the VM or changes its links. Run `devvm restart` in its folder to give it the relay at once ([agent forwarding](https://next.devvm.dev/docs/using/ssh/#agent-forwarding)).
### Changed
- **Each VM's proxy runs as two processes:** `devvm _proxy` alone reads your Keychain, your agents' login files and your other files, and `devvm _proxy-child` reads the VM's network and asks `devvm _proxy` for each name's lookup and each connection, for a login's token exchange, and for each value bound to the VM as a request needs it. So the code that reads every byte a VM sends holds, besides the VM's own proxy password and CAs and your company proxy's password, only the values that the VM's own bindings name, each kept for a few minutes after it was last asked for. A new login's tokens, its refresh token among them, never reach the process that reads the VM's requests, and an error reply from an agent's token endpoint reaches the VM as it is up to 1 MiB, and gets `502` past that. A build's proxy writes its logs to a `logs/` folder of their own in its folder ([a VM's proxy](https://next.devvm.dev/docs/internals/processes/#a-vms-proxy)).
- **On macOS, the proxy's child runs in a macOS sandbox:** `devvm _proxy-child` starts under `sandbox-exec`, with a profile that lets it write only its VM's logs and the shared Nix cache and look at your policy files, so a bug that a VM drove there couldn't read your files, reach the Keychain or connect to this machine's unix sockets, such as ssh's and Docker's. If `sandbox-exec` is missing or fails to start it, the child runs without the sandbox, so the VM keeps its network, and `devvm doctor` warns for each VM whose proxy runs that way ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- **On Linux, the proxy's child confines itself:** before it reads a byte of the VM's, `devvm _proxy-child` confines itself with Landlock and a seccomp filter, so a bug that a VM drove there could write and read only its VM's logs and the shared Nix cache, couldn't change any other file's mode, owner, attributes or times, run a program, or connect to a unix socket, such as an ssh master's, Docker's or your SSH agent's. It could still learn whether a file of yours exists, its size and when it changed. A kernel without Landlock or seccomp filters, or whose Landlock is older than ABI 6 or lacks its fix for signals between threads, confines the child only in part, and the VM keeps its network, and `devvm doctor` warns for each VM whose proxy runs that way, naming what the kernel lacks ([the proxy runs without a sandbox](https://next.devvm.dev/docs/using/troubleshooting/#the-proxy-runs-without-a-sandbox)).
- **The proxy's child connects only through `devvm _proxy`:** wherever its sandbox runs, on macOS and on Linux, it refuses the child every connection of its own, so `devvm _proxy` looks up each name for it and opens each connection, once its own read of your rules and this machine's addresses allows the address. So a bug that a VM drove in the child can't reach this machine's services on `localhost`, such as your dev servers, Docker's published ports and other VMs' proxies, nor this machine's own addresses or your LAN's private addresses, unless a rule names the address, just as the VM can't. A rule such as `devvm network allow 127.0.0.1:5432` still applies from the next connection, and a company proxy on `localhost` still works, though the child reaches whatever that company proxy reaches, as the VM does. Because `devvm _proxy` looks up its names, the child reads no file below `/etc` on Linux and doesn't talk to mDNSResponder on macOS ([the child's sandbox](https://next.devvm.dev/docs/internals/network/#the-childs-sandbox)).
- **`devvm doctor` checks every VM's state:** it reads each VM's `vm.json` and each of its sections as every command on a VM does, and warns of each VM whose state devvm can't read, naming the VM and why, the file included, once, even when it can't read the VM's folder, without changing anything. Such a VM no longer hides doctor's warnings about the other VMs' policy files, nor what `devvm network` warns of every VM ([a file devvm can't read](https://next.devvm.dev/docs/using/troubleshooting/#a-file-devvm-cant-read)).
- **A marketplace's credential gets a warning:** when `devvm agent import` or `devvm agent save` copies a Claude Code marketplace that has a password or an access token in its clone's git config or its source in `known_marketplaces.json`, which every VM with Claude Code can read, it warns and names the marketplace, the store's file and the keys, and copies it as before ([mounts](https://next.devvm.dev/docs/using/coding-agents/#mounts)).
- **`devvm agent import` copies at most 20,000 files, folders and links, 128 MiB, and 16 MiB in one file, of each agent's folder:** an agent's folder that holds more, such as one a VM's project inside it filled, fails the import before the store changes, naming the folder, so take out what it doesn't need and import again. An import that fails, while it reads, such as at a file that changed meanwhile, or while it puts the settings and logins in place, such as at a login it can't save, leaves the store as it was, and in the rare case that putting it back fails too, it names what it kept. The import also warns of each VM whose project folder is inside an agent's folder, such as a skill you work on in `~/.claude/skills`, or holds one, such as `~/.pi`, because that VM can change the settings the import copies for every VM, and of each VM whose state it can't read, as it can't tell where that VM's project folder is. It leaves out an agent's folder that a link in a VM's project folder leads elsewhere, and while a VM's state can't be read, it leaves out every link out of an agent's folder, and an agent's folder or login whose path leads through a link, one on the way to your home folder included unless only root can change it, naming the state, so run `devvm doctor` and import again ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **A launch warns of a project in an agent's folder:** when a VM's project folder is inside a coding agent's folder on this machine, such as `~/.claude/skills/mine`, or holds one, such as `~/.pi`, each launch of the VM warns in one line, because code in the VM can change that agent's settings on this machine ([project folders devvm refuses](https://next.devvm.dev/docs/using/settings/#project-folders-devvm-refuses)).
- **Cursor's CLI in a VM can change less of your Cursor account:** its proxy refuses more of the methods that change your account, your team or your cloud agents, such as merging a cloud agent's pull request, forking or pinning a cloud agent, or writing to its machine, while every call the CLI itself makes passes. Do those from Cursor on your machine ([Cursor CLI login](https://next.devvm.dev/docs/using/coding-agents/#cursor-cli-login)).
- **Pins:** Cursor's CLI is 2026.11.17-f532c45.
- **Slow steps show a status line:** in a terminal, devvm now shows what it's waiting for while it finds the folder's VM, checks it before a start, checks its network and reads its host keys, sets it up, runs a `devcontainer.json`'s commands, looks up a folder's disk, checks Lima, deletes a VM or an image, applies the retention settings and installs an upgrade, and while `devvm ls` reads the VMs, `devvm doctor` checks this machine, `devvm agent import` reads your agents' folders and copies them into the store, and `devvm agent save` reads and compares the VM's settings. `devvm clone add`, `clone fetch`, `clone on` and `clone off`, `devvm git-protect`, `devvm stop`, a `--clone` VM's check before `devvm rm`, a history export or import, and `devvm ports` as it starts a running VM's port forwarder again show one too, and so do `devvm link` as it asks about the VMs its links lead to, `link add`, `link rm`, `link publish` and `link unpublish`, `devvm group join` and `group leave`, and `devvm rm` of a VM that others link to, as they give each running VM its changed links and check the VMs that links lead to, `devvm network learn` and `network lock` as they give a running VM's proxy its new tier, and every stop of a VM, as for `devvm restart` or a restart you agree to after changing a setting. While devvm waits for another devvm that's changing the same thing, such as a VM's state, its folders' layout, a group, an image's build or the shared tools, a status line says so, only while it waits, where before some of those waits showed nothing and others printed a line after a few seconds that stayed. Like every status line, it shows only in a terminal without `-v`, so a run with `-v`, or with its output piped, no longer prints that line ([a command fails](https://next.devvm.dev/docs/using/troubleshooting/#a-command-fails)).
### Fixed
- **A project folder devvm can't read says so:** when you, or code in a VM that mounts it, took away your read permission on a project folder, devvm said its VM was made for an earlier folder that was deleted or replaced, and offered `devvm rm` and `devvm adopt`. It now names the folder and why it can't be read, so make it readable again ([a folder made again](https://next.devvm.dev/docs/using/vms/#a-folder-made-again)).
- **A warning no longer lands on the status line:** a warning that devvm printed during a slow step was written onto the status line's own line, and the status line's next redraw could erase a question's prompt and what you typed. A message now prints above the status line, which comes back below it, and a question, the picker and an agent's login in the VM take the status line away until they're done ([a command fails](https://next.devvm.dev/docs/using/troubleshooting/#a-command-fails)).
- **`devvm agent login claude --setup-token` shows Claude Code's address (#57):** the login in the VM got no terminal of its own, so `claude setup-token`, which draws full-screen, showed nothing and waited. When devvm runs in a terminal, an agent's login in the VM now gets one too, as devvm's shell does, so Claude Code shows the address to open and the prompt for its code. Without a terminal, `--setup-token` warns that the login may show nothing. On a terminal, Ctrl-C now goes to the agent's login in the VM, which ends, and devvm then says that the login ended or saved nothing, and devvm puts the terminal back as it was before the login, even when a signal ends devvm itself ([Claude Code login](https://next.devvm.dev/docs/using/coding-agents/#claude-code-login)).
- **The VM's shell gets your terminal's 24-bit color (#54):** devvm's shell in a VM, an agent's login with `devvm agent login` and `ssh` to a VM by name never got your terminal's `COLORTERM`, so programs in the VM, such as coding agents, fell back to fewer colors. devvm's shell and an agent's login now get it when it's `truecolor` or `24bit`, and no other value ([opening a VM](https://next.devvm.dev/docs/using/vms/#opening-a-vm)). The ssh config's entries now send it as your terminal has it, from the next time devvm launches or stops a VM, which writes them again, and a VM made with `--from` gets it only when its image's sshd accepts it ([ssh access by name](https://next.devvm.dev/docs/using/ssh/#ssh-access-by-name)).
- **MCP servers' logins in a VM finish and stay (#62):** with your subscription's login, each launch and each `devvm agent login claude` wrote devvm's copy of the login over the VM's `~/.claude/.credentials.json`, where Claude Code also keeps its logins to MCP servers. So a login to an MCP server that you started with `/mcp` in a VM failed when devvm set the VM up again before it finished, such as when you ran devvm in its folder from another terminal, and one that finished was gone at the VM's next launch. devvm now replaces only the Claude login in that file and keeps the rest, so the MCP servers' logins you make in a VM stay in that VM, and they never reach this machine or another VM. With a Claude Code token, the VM's file stays as it is ([MCP servers' logins](https://next.devvm.dev/docs/using/coding-agents/#mcp-servers-logins)).
- **Your claude.ai connectors work in a VM (#61):** with your subscription's login, Claude Code in a VM couldn't use the connectors you added in claude.ai, because the VM's proxy put the login only into requests to `api.anthropic.com`, so those to `mcp-proxy.anthropic.com`, which carries the connectors' traffic, held the login's placeholder and were refused. From each VM's next launch, the proxy puts the login into those too, below `/v1/mcp/`, so a VM with Claude Code can use every connector you added, as Claude Code on this machine can, and code in the VM can read and act through them. Disconnect the ones you don't want VMs to use, or deny `mcp-proxy.anthropic.com` with `devvm network deny` ([your claude.ai connectors](https://next.devvm.dev/docs/safety/attack-vectors/#the-network)). A Claude Code token, from `claude setup-token` or in devvm's environment, still goes only to `api.anthropic.com` ([Claude Code login](https://next.devvm.dev/docs/using/coding-agents/#claude-code-login)).
- **A `NO_PROXY` address with a zone no longer goes direct (#59):** an IPv6 address with a zone in your company proxy's `NO_PROXY`, such as `fe80::1%eth0`, sent that address without its zone past the company proxy. Such an entry now matches nothing, as it does in Go's HTTP clients ([behind a company proxy](https://next.devvm.dev/docs/safety/network/#behind-a-company-proxy)).
- **Claude Code's plugins work in a VM (#56):** a VM's `~/.claude/plugins` was devvm's agent store's folder, mounted read-only, so everything Claude Code writes there failed, such as a plugin's data in `${CLAUDE_PLUGIN_DATA}`, installing a plugin and updating a marketplace. Each VM's `~/.claude/plugins` is now its own folder, and the store's plugins are Claude Code's read-only seed at `~/.claude/plugins-seed`, so the store's plugins load as before, a plugin keeps its data in the VM, and a plugin you install in a VM stays in that VM until `devvm agent save` copies it into the store. The save adds plugins to the store and never takes one out, and an export of a VM's history leaves its plugins folder out. A store that devvm 0.1.0's import filled keeps only what a seed has, as Breaking above says ([Claude Code's plugins](https://next.devvm.dev/docs/using/coding-agents/#claude-codes-plugins)).
- **devvm's own folders are refused in any case on a Mac:** devvm compared a project folder with your home folder and its own folders by name alone, so on a Mac, where a name's case doesn't count, a project at `~/.Config/devvm/layers` got a VM with read-write access to devvm's settings and layer scripts. devvm now compares the folders themselves too, and refuses such a folder as it refuses `~/.config/devvm/layers`. A VM already made in such a folder still mounts it, so delete it with `devvm rm` there. An SSH key in a folder that a VM mounts by a name in another case is refused in the same way ([project folders devvm refuses](https://next.devvm.dev/docs/using/settings/#project-folders-devvm-refuses)).
- **A folder that moved across a restart keeps its VM:** a folder that moved while a restart gave its disk another device number wasn't recognised, so devvm made it a second VM, and the gone folder of a VM whose disk was renumbered was called not connected. Each VM now records its folder's volume, which no renumbering changes: its volume UUID on macOS, and the file system's own ID on Linux's ext4, Btrfs and ZFS. So devvm offers a moved folder its VM by its volume, inode and birth time, and calls a VM's gone folder gone, once the VM has recorded its volume, as After you upgrade says ([a moved or renamed folder](https://next.devvm.dev/docs/using/vms/#a-moved-or-renamed-folder)). A folder at the VM's own path whose disk was renumbered, but on another volume than the one recorded, such as a copy of the disk with a volume ID of its own mounted there, is another folder, so devvm gives it the VM only after `devvm adopt` ([a folder made again](https://next.devvm.dev/docs/using/vms/#a-folder-made-again)). When devvm can't read the volume at the launch after a renumbering, such as when `diskutil` doesn't answer, the volume stays to check, and each launch looks it up until it can. On Linux, where reading the volume costs nothing, every launch checks it, so a Btrfs snapshot rolled back at the folder's path, or the folder after you give its volume a new UUID, needs `devvm adopt` too.
- **Two devvms no longer write the agent store at once:** `devvm agent import`, `devvm agent save` and a start that cleans Claude Code's plugins out of the store now take turns, so a second one waits, saying so, until the first is done, where before their files could mix or one could fail partway. A save that finds the store changed since it showed what differs saves nothing, rather than write over an import ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **A failed `devvm agent save` leaves the store as it was:** a save that failed partway, such as at a file it couldn't write in one agent's store or at the Claude Code login it saves last, left the agents it had saved before the failure saved and the rest not. It now saves all or nothing, as an import does, and in the rare case that putting the store back fails too, it names what it kept. A file in the VM where the store has a folder, or the other way round, fails the save before anything changes, naming the store's path. It also saves Claude Code's `~/.claude.json` part holding the lock of Claude Code's logins, which a VM's proxy holds while it saves a Claude Code login made in that VM, so the two take turns, and Ctrl-C while it waits for either lock ends the wait ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **`devvm agent save` has an import's bounds on depth:** a VM that sends folders nested more than 128 deep, or a path of more than 4,096 bytes, now gets nothing saved, as an import of such folders does, where before a chain of thousands of folders could keep the save busy for a long time while it held the agent store's lock ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **Names that differ only in case no longer lose a file on a Mac:** when the VM, or your home folder for `devvm agent import`, had a file whose name differed from the store's only in case, such as `foo.md` where the store had `Foo.md`, `devvm agent save` and `devvm agent import` deleted the store's file and reported success, because macOS's volume reads both names as one file. They now treat the two as one file, as the volume does, so the store's file gets the new content and keeps its name, and the save's diff shows it as changed. Two names in the VM that differ only in case, such as `A.md` and `a.md`, would be one file in the store, so the save now saves nothing and names both, and so does an import of two such names from a home folder on a volume that tells case apart ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **A link inside an agent's folder copies only a setting:** `devvm agent import` copied a link inside an agent's folder as the file it led to wherever that file was in the folder, so a link in `~/.claude/skills` or `~/.claude/plugins/cache` could put your history, `~/.claude/.credentials.json` or a plugin's data into the store, where every VM with the agent reads it. Such a link is now copied only when it leads to one of the settings the import copies, and any other is left out with a warning that names where it leads ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **`devvm agent import` no longer copies your plugins' data into every VM:** it copied all of `~/.claude/plugins` into the store, so every VM with Claude Code got the data that your plugins keep on this machine, which can hold their own logins. It now copies only the marketplaces, their records and the plugins' cache, and `devvm agent save` copies only those from a VM ([importing from this machine](https://next.devvm.dev/docs/using/coding-agents/#importing-from-this-machine)).
- **An export can't put what an import leaves out into a VM:** `devvm history import` left out the agents' logins and the files devvm's setup writes by their names as an export wrote them, so an export that spelled one another way, such as `.claude/./settings.json` or `.claude//plugins`, got it into the VM's home. The import now refuses a name with a `.` or empty part, and deletes what it leaves out by its path once it's unpacked ([importing history](https://next.devvm.dev/docs/internals/agents/#importing-history)).
- **A project folder's VM works after your Mac restarts (#60):** macOS numbers its disks' devices in the order they appear at boot, so after a restart an unchanged folder could be on a device with another number. devvm then took the folder for another one, so every command on its VM refused it as made for an earlier folder at its path, a stopped VM's start refused it as replaced, and the next check of `.git` called it replaced. A folder at the same path, with no link on it and with the same inode and birth time, is now the same folder on whichever device it's on, and its VM's next start records it on that device before it mounts it, in the one change devvm makes to its Lima config. A folder that moved after a restart, before its VM started again, isn't offered the VM, so `devvm adopt VM` moves it ([one VM per folder](https://next.devvm.dev/docs/internals/security/#one-vm-per-folder)).
- **Names you choose in an agent's settings are no longer taken for secrets (#55):** devvm took a plugin, a marketplace or an MCP server whose name had `key`, `token`, `secret` or `passw` in it, such as `tokeneconomizer` or `secret-scanner`, for a secret, and put `devvm-redacted` in place of all its settings in the VM's copy. Claude Code then refused the VM's `settings.json` whole, so every plugin was off in the VM. devvm now knows the agents' tables of names, such as Claude Code's `extraKnownMarketplaces` and `mcpServers` and Codex's `marketplaces` and `hooks.state`, and judges only the fields under a name, so a server named `secret-scanner` keeps its command and still loses its `env` and its `apiKey`. Thanks to @jspiro for the report and @dhruv1220 for the tests' idea in #58 ([keys in settings files](https://next.devvm.dev/docs/internals/network/#keys-in-settings-files)).
- **A folder whose name has separators in a row gets a VM (#52):** a folder named `x--y`, `foo (copy)` or `C++ stuff` failed to get one, because devvm turned each character other than a letter or digit into its own dash, and Lima refuses a name with dashes in a row. Each run of them now becomes one dash, so `foo (copy)` gets `devvm-foo-copy-<hash>`, and the state such a folder's failed VM left is replaced when you run devvm there again. Thanks to @se6a for the report ([VM names](https://next.devvm.dev/docs/internals/backends/#vm-names)).
- **Lima's console logs no longer keep a VM's proxy password:** Lima's boot scripts write the VM's proxy settings, with the VM's own proxy password, to the VM's serial console, and Lima keeps that console in `serial.log`, `serialp.log` or `serialv.log` in the VM's folder in devvm's Lima home. devvm took the passwords out of Lima's `ha.stderr.log` only, so those logs kept the VM's password. devvm now replaces each password in them with as many `*` once the VM has started, as it does in `ha.stderr.log` ([the run log](https://next.devvm.dev/docs/internals/overview/#the-run-log)).
- **A short name no longer reaches a denied host under your search domain:** the proxy looked names up with this machine's DNS search domain, which macOS takes from the network's settings and Linux from `/etc/resolv.conf`. So with `api.corp.example.com` denied and `**` allowing the rest, a VM could reach that host as `api`, or `api.eu.corp.example.com` as `api.eu`, when either had a public address, because no rule judged the name the search domain made. The proxy now looks each name up as it's written, so a short name such as `jenkins` no longer reaches a host through the proxy, and a tool in the VM reaches a host on your network by its full name, such as `jenkins.corp.example.com`. When a name without a dot doesn't resolve, the block says to use its full name, and a block because a name doesn't resolve no longer suggests a `devvm network allow` command, which the name's rule already gives ([a name that doesn't resolve](https://next.devvm.dev/docs/using/troubleshooting/#a-name-that-doesnt-resolve)).
- **A VM can no longer take an SSH agent away from you or other VMs:** a VM that forwarded your agent or devvm's own could remove every key from it with `ssh-add -D`, lock it with a password of its own with `ssh-add -x`, or add keys to it, because `ssh-agent` answers every request a forwarded connection sends. Every VM that shares devvm's agent lost it then, and with your own agent, so did you. A VM now reaches its agent only through its proxy, which passes on listing keys, signing and binding a session to a host, and refuses everything else, so `ssh-add` in a VM can still list and use the keys, but not remove, lock or add them. The ssh entries for editors name the same socket, so an editor's connection gets the same agent as devvm's shell, the one the VM started with, and the entry of a VM started outside devvm, such as with `devvm limactl start`, forwards no agent. A VM that's running when you upgrade keeps the old behaviour until its next start, so restart it with `devvm restart` ([the SSH agents](https://next.devvm.dev/docs/internals/processes/#the-ssh-agents)).
- **A VM's host keys are pinned whatever its ports:** when other programs on this machine, such as your own dev servers, held every port a VM lists, or the VM forwarded none with `devvm ports none`, a start that went no further than starting the VM, such as `devvm clone fetch` on a stopped `--clone` VM, didn't pin the VM's ssh host keys. devvm's own ssh to the VM then failed until something else pinned them, so `devvm clone fetch` and `devvm rm`'s fetch failed with `clone_fetch_failed`. devvm now pins the keys each time it starts a VM, whatever the VM forwards, and a command that finds the VM running without them pins them first ([ssh into VMs](https://next.devvm.dev/docs/internals/security/#ssh-into-vms)).
- **A removed link's connections end with it:** devvm link rm used to stop a link's new connections but leave its open ones running. A target that never closed its end kept each of those connections' ssh processes on this machine, and one of the 256 connections a client's links carry at once, until the client or the target stopped. Removing a link now ends its open connections within a few seconds, and when a target starts again, the connections still open through its earlier start end too ([removing a link](https://next.devvm.dev/docs/using/links/#removing-a-link)).
- **An agent's settings file that's one string no longer crashes `devvm agent save`:** when an agent's settings file in the VM was a single JSON string holding a placeholder, `devvm agent save` crashed. It now puts the saved value back in it. A login file on this machine that holds only `null` is now refused as not a JSON object, where saving a Codex or opencode login made in a VM failed on it ([saving a VM's settings](https://next.devvm.dev/docs/using/coding-agents/#saving-a-vms-settings)).
- **A closed connection's ssh process ends:** when a VM never closed its end of a forwarded port's or a link's connection, that connection's ssh process stayed on this machine after the program here, or in the client, had closed its side. So a hostile VM could take all 256 connections that a forwarder or a client's links carry at once. Such an ssh process now ends once its client has closed and the VM has sent nothing for 30 seconds. A program that closes its side for writing and then waits for an answer, as `nc -N` does, keeps its connection only while the VM sends something at least every 30 seconds, the first byte included, so a slow query that takes longer than that to start answering is cut ([how it reaches the VM](https://next.devvm.dev/docs/internals/ports/#how-it-reaches-the-vm)).
- **A forwarded port answers on `::1` too:** when this machine briefly couldn't listen on a port's IPv6 address, such as when it ran out of open files, the forwarder forwarded the port on `127.0.0.1` alone until the server in the VM restarted. A client that connects only over IPv6, such as `http://[::1]:PORT` or a tool that doesn't fall back to `127.0.0.1`, then didn't reach the VM, and another program on this machine could take `::1` on that port and get those connections instead. The forwarder now tries the port again at the VM's next report and forwards it on both addresses. A machine that denies the forwarder `::1` alone, such as through a security module, still gets its ports on `127.0.0.1`, and the forwarder's log says so ([when it can't forward](https://next.devvm.dev/docs/internals/ports/#when-it-cant-forward)).
- **Every host is read as the proxy reads it:** a few of devvm's checks read a host in a way of their own. A name with a letter that isn't plain ASCII, such as the Kelvin sign, which Unicode's case folding turns into `k`, was taken as the ASCII name it folds into by `devvm secret set --host`, an MCP server's URL and a `NO_PROXY` entry, and `--from` took a registry's host with such a letter, or an address in brackets before a trailing dot such as `[::1].`, as one on the internet. The proxy refuses such a host, so now devvm secret set refuses it, an MCP server with one gets no secret, a `NO_PROXY` entry with one matches no host, `--from` doesn't take such a registry as public, and devvm network rm with it never removes the rule with the plain letter. The proxy also answers `400` to a host with brackets around anything but an IPv6 address, such as `[evil.com]:443`. A partial clone's warnings also read a remote's host without its trailing dot, so they name `example.com` rather than `example.com.`, and a remote at `localhost.` gets the same warning as one at `localhost` ([how the proxy reads a host](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A VM can't fill a Linux host with processes:** on a Linux host, each connection that a VM confined to its proxy made to the proxy started a devvm process on this machine, with no limit, so a VM that opened connections without end could start thousands of them. devvm now carries at most 256 of a VM's connections to its proxy at once, and answers any past that with `503` before it reaches the proxy. A VM that's running when you upgrade has no limit until its next start ([the QEMU wrapper](https://next.devvm.dev/docs/internals/processes/#the-qemu-wrapper-and-its-keeper)).
- **A forwarded port answers after a burst:** when the port forwarder ran out of open files while accepting a connection, it stopped accepting connections on that port while it still listened there, so the port took connections that nothing answered until the server in the VM restarted. It now tries again shortly after, and so do a link's socket and a browser login's forward, which also carries at most 16 connections at once ([how it reaches the VM](https://next.devvm.dev/docs/internals/ports/#how-it-reaches-the-vm)).
- **A VM's proxy lets go of what a VM leaves:** a VM's proxy counted only its tunnels toward its limit, kept idle connections open without end, kept a plain HTTP request running after its client had gone, and took 1 MiB of a request's headers inside an intercepted tunnel. It now holds at most 2048 of the VM's connections of every kind at once, where one without the VM's password doesn't count, has at most 2048 requests to hosts under way at once, closes a connection that waits 10 minutes for its next request, or that lacked the VM's password, ends a plain HTTP request a minute after its client has stopped sending and nothing has come back, takes at most 64 KiB of headers everywhere, and carries at most 100 HTTP/2 requests at once in a tunnel. A plain `ws://` WebSocket through the proxy, which got `502`, now connects. Long downloads, WebSockets and slow streams go on as long as they last ([the proxy](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A `NO_PROXY` entry with port 0 matches nothing:** the proxy read an entry such as `git.test:0` as `git.test` on every port, so it sent those hosts directly rather than through your company proxy, and it read `git.test:080` or `git.test:+80` as port 80, which Go's clients don't. An entry whose port no request has, or whose port isn't in plain decimal, now matches no host, as one past 65535 already didn't ([through a company proxy](https://next.devvm.dev/docs/internals/network/#through-a-company-proxy)).
- **No false lost pin on Linux hosts:** when git on this machine replaced `.git/config` just as devvm pinned it again, the pin could fail, and devvm warned that the file lost its pin and couldn't be pinned again, then that it was pinned again, at the VM's next check. A VM's start could fail the same way. devvm now pins the file the rename left, and warns only that it was pinned again ([how a Linux host locks .git](https://next.devvm.dev/docs/internals/git-protection/#on-linux-hosts)).
- **A stopped forwarder or link session takes its ssh with it:** devvm stopping a VM's port forwarder or link session, or a `kill` of either, could leave its ssh connection to the VM running on this machine, with its control socket in devvm's run folder. Each signal devvm sends now reaches what the process started too, either one stops its ssh before it exits, and `devvm gc --orphans` also deletes a forwarder's socket that nothing listens on ([how devvm starts them](https://next.devvm.dev/docs/internals/processes/#how-devvm-starts-them)).
- **A name fails at once with transparent mode off:** in a VM confined to its proxy, with transparent mode off or stopped, a lookup through the system's resolver, such as `getent`'s or curl's, could wait out its timeout rather than fail at once, seen on a Linux host, because systemd-resolved's stub kept retrying a name server where nothing listened. The VM's programs now ask that name server, its own `127.0.0.1`, directly, from each VM's next launch, so workerd under `wrangler dev`, which waited about 40 seconds for each lookup on a Linux host, fails at once too, and a VM on the open tier keeps systemd-resolved's stub ([the VM's resolver](https://next.devvm.dev/docs/internals/network/#the-vms-resolver)).
- **A Nix package is downloaded once:** when two requests for a package that wasn't in the shared Nix cache yet came close together, the second could download it again after the first had kept it, and the cache counted it twice against its cap. It now looks in the cache again before it downloads ([the shared Nix cache](https://next.devvm.dev/docs/internals/network/#the-shared-nix-cache)).
- **A refused launch leaves a running VM running:** when `config.toml`'s proxy named a user and no `proxy` secret was saved, `devvm` in the folder of a running VM refused, as it should, but also stopped the VM, and `devvm restart` stopped it before it refused. The same happened when your CAs folder couldn't be used, or the VM's CA or secret files couldn't be readied. On a launch or a `devvm network` change, devvm now checks the company proxy, your CAs, the VM's CA and its secret files before it stops the VM's proxy, and says it left the VM and its proxy running as they were. `devvm restart` checks the company proxy and your CAs before it stops the VM. A `devvm network` change between `internet`, `allowlist` and `none` on a running VM is refused before the VM's tier changes, so its tier never says one thing while its proxy enforces another. A VM whose proxy doesn't enforce the tier the VM has now, or whose proxy is stopped for new settings and then can't start again, is still stopped, because a VM never runs on without its proxy. A `devvm network` change now stops it in that case too, where it left the VM running without its proxy ([the proxy](https://next.devvm.dev/docs/internals/network/#the-proxy)).
- **A VM's logs are held to their caps:** root in a VM could write to its serial console, `/dev/hvc0`, without end, and Lima's console log for the VM grew until this machine's disk was full, and so could Lima's own logs for the VM until its next start. While a VM runs, its proxy now keeps the disk space each of those logs takes under 10 MiB, on a file system with holes such as APFS or ext4, moving its end to the same name with `.1` added, of up to 10 MiB more, with any password in it replaced. It also replaces the VM's proxy password as the logs grow, so a reboot inside the VM, which on Linux hosts writes it to the console's log again, can't leave it there. A VM that's running when you upgrade gets this once a devvm command starts its proxy again. The port forwarder's and the link session's logs now stay under 1 MiB while they run, not only from their next start, a link's warnings take turns with the session's other lines, the build proxy's log stays under 10 MiB as a VM's proxy's does, a run writes at most 128 MiB to its run log, and the run logs take at most 256 MiB together, though devvm never deletes the newest or one that a running devvm still writes ([Lima's hostagent](https://next.devvm.dev/docs/internals/processes/#limas-hostagent)).
- **devvm desktop goes on after a burst:** when `devvm desktop`'s relay ran out of open files while accepting a viewer, `devvm desktop` ended with an error, and the desktop's port with it. It now tries again shortly, as the port forwarder does ([the desktop relay](https://next.devvm.dev/docs/internals/processes/#the-desktop-relay)).
- **A VM's size that isn't a number is refused:** when a VM's state file held a size devvm couldn't read as a number, such as `"cpus": "four"` after an edit by hand, the VM started with the image's size without a word. devvm now refuses to start the VM or show its size, names the value, and says to set it again with `devvm size`. `--cpus`, `--memory`, `--disk`, `config.toml` and `devvm size -g` also refuse a number too big for devvm to read, which for a disk reached Lima as infinity ([size](https://next.devvm.dev/docs/using/ports-size/#size)).
+1 -1
View File
@@ -1 +1 @@
0.1.1-rc.3
0.2.0-rc.1