Through a proxy that cut and stalled connections (measured on the mini,
a two-minute stall), mise's three retries of bun's download each timed
out after 30 s, as mise tried again on the connection that had stalled,
and the tool build failed. shared-tools/build.sh and the host's mise
(miseCmd) now set MISE_HTTP_RETRIES=6, which outlasts such a stall; each
try still ends after 30 s without bytes (mise's http_timeout).
Every tool image's key changes (shared-tools/build.sh).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/bump.sh cursor: 2026.11.11-b912975 -> 2026.11.17-f532c45, the
one shared tool pinned for users, applied only when named because
devvm's login and proxy code was read against its pinned release. Then
scripts/bump.sh e2e-tools, which writes tests/e2e-mise.lock for the new
mise.toml and moves e2e's claude (2.1.326 -> 2.1.327) and opencode
(2.3.0 -> 2.3.2) patches with it.
The recheck read both releases' Linux packages (checksums checked, read,
never run) and Cursor's changelog (nothing after Nov 6):
- Package layout and entry point: the same launcher and files.
- Login: the same loginDeepControl page, GET api2's /auth/poll with
uuid and verifier, 404 while pending, accessToken and refreshToken
(or xAI's), selectedTeamId, NO_OPEN_BROWSER and
/auth/exchange_user_api_key. waitForResult gained an optional wake
argument that cursor-agent login doesn't pass.
- No refresh-token call, as before; the JWT reader still takes exp
(300 s early) and sub, so the 2099 placeholder still serves.
- Connect: about 65 RPC definitions added, mostly DashboardService's,
2 removed (DashboardService's pull-request draft preference), and the
methods the bundle calls are the same, so every route agentlogin's cursorRoutes and the proxy's
cursorMinting and cursorPersists name is still there, and no new
method carries the login.
- Hosts, config and auth files (CURSOR_CONFIG_DIR, XDG_CONFIG_HOME,
~/.cursor, auth.json, cli-config.json), the updater and channel: the
same. New environment variables don't touch updates or telemetry.
So nothing in devvm's code, tests or allowlist changes; the comments,
the policy's note and internals/network.md name the new release.
- CHANGELOG: Changed, the pin.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A built-in policy's `quiet HOST[:PORT]` line, for one exact host name,
marks a host devvm leaves out on purpose. A quiet host is blocked as any
host no rule allows, and an allow of the user's still lifts it. A block is
quiet only when its reason is "not on the allowlist" (notAllowed), it isn't
refused, and no rule covers the host (an allow, a deny or one that
narrows): then it's logged with "quiet": true but never counted in
/blocked or /blocked/new, so neither the VM's prompt nor devvm-why shows
it, its 403 page suggests no command, devvm network log --blocked shows it
as a row of its own with "- (quiet)", and devvm network lock never offers
it.
- proxy: rule.quiet, parseQuiet (exact hosts only), PolicyLine.Quiet,
policy.quiet, Allowlist.Quiet, Event.Quiet, server.blocked (proxy and
transparent paths), notAllowed; loadPolicy skips and logs quiet lines in
the user's files.
- netpolicy: Judge.Quiet, Block.Quiet (its own row key), FormatEvent's
", quiet", RuleFile.Quiet, quietMark, policy_quiet_not_own in
PolicyWarnings.
- cli: quiet in network log --json, log --blocked --json and network
--json; the agents' table leaves quiet lines out.
- Quiet hosts, each with its source: api3.cursor.sh (the host Cursor
documents for Tab requests; Cursor's CLI uses it for its metrics) and
telemetry.go.dev (Go). Not marked: Claude Code's Datadog intakes (shared
multi-tenant hosts projects may need), .NET's telemetry (no host in
Microsoft's docs).
- Tests: TestParseQuiet, TestQuietHosts, TestQuietOnlyWhenNoRuleAllows,
learn/log/rules tests, network_rules.txtar, e2e network check for
api3.cursor.sh.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
When NuGet can't fetch DigiCert's revocation list while it checks a
package's signature, it asks DigiCert's OCSP responder, which the
allowlist blocked (seen in e2e tools on fedora, where the list's lookup
failed under load). ocsp.digicert.com on port 80 joins
crl3.digicert.com, and the toolchains page and CHANGELOG say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every list of the coding agents now derives from internal/agents'
registry, one Def each, and Cursor's CLI (cursor-agent) is a fifth
agent.
The registry:
- each agent's login command, login formats and capture on its Def;
one message for every agent where each had its own
- the agents' table, the README's list and the docs' history lists are
generated from the registry (cli.DocBlocks, TestDocBlocks); scripts
and Go tests take their lists from it too
- each agent's own code lives in a file named for it; the structure
test lets only an agent's own files choose by its name, following
constants named after an agent
- a VM remade by clone on/off keeps no agent's login files
(agents.LoginFiles from every Def.Logins; Claude Code's .claude.json
stays, as it is also history)
Cursor's CLI:
- `devvm --agents cursor`, `devvm agent login cursor`, history import
and export of ~/.cursor/chats
- the proxy captures its login at a GET endpoint, guards a shared host
by path, and puts the login in only where the CLI sends it, bound to
the CLI's 57 methods
- account changes and the agent store are refused in a VM; Cursor's
headers and trailers are scanned for tokens
- e2e: Cursor's CLI in the network section, its poll behind the fake
company proxy
Docs: the agents' pages lead with commands, with a How it works page
for the agents.
Co-authored-by: JB <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds pi (earendil-works/pi) as a shared coding agent beside Claude
Code, Codex and opencode: --agents pi, devvm tools add pi, the new-VM
picker and devvm setup offer it. Its network policy allows pi.dev; base
sets PI_SKIP_VERSION_CHECK=1 and PI_TELEMETRY=0 and installs fd-find,
so base and every image on it build again once. The agent store mounts
and copies pi's settings, with keys redacted as JSON.
pi's auth.json is a new login kind: its API keys for Anthropic, OpenAI
and OpenRouter become per-VM placeholders the proxy fills in (devvm
agent login pi --api-key --provider PROVIDER), and everything else is
withheld by default, unless config.toml's [pass-keys] lists the
provider. pi's own account logins aren't supported, and pi has no musl
build, so a musl VM refuses it (image.ToolDef.GlibcOnly). Its sessions
go into devvm history export and import.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds `dotnet`, the .NET SDK, as a fifth shared toolchain next to node,
python, rust and go. `--tools dotnet`, `devvm tools add dotnet` and the
picker offer it, and a folder with `*.sln`, `*.slnx`, `*.csproj`,
`*.fsproj` or `global.json` at its top level suggests it in the new VM's
summary, the way `package.json` suggests node.
Refs #2. Thanks to @jsskeen-utah for the detailed request.
Co-authored-by: Claude Opus 5.5 <[email protected]>
## What this changes
**The cause.** The pin bump in 588ba6f9 moved devvm's mise, on the host
and in VMs, from 2026.10.7 to 2026.11.3. Starting with mise 2026.10.9
(jdx/mise#14295), mise's registry puts npm first for opencode 2.x. Here
is `registry/opencode.toml` at each version:
```toml
# v2026.10.7
backends = ["aqua:anomalyco/opencode"]
# v2026.11.3
backends = [
{ full = "npm:@opencode/cli", min_version = "2.0.0", options = { allow_builds = ["@opencode/cli"] } },
"aqua:anomalyco/opencode",
]
```
devvm named opencode only as `opencode = "2"`, so mise 2026.11.3
resolved it to `npm:@opencode/cli`. That lock entry has no download for
any platform. As a result, every resolve warned that opencode 2.2.5
isn't published for every platform, opencode's tool image couldn't be
built, and the e2e check "the shared tools resolve to upstream's newest"
failed on every machine. opencode's GitHub releases still ship v2
binaries for every platform, musl included, along with a `SHA256SUMS`.
**The fix.** `assets/shared-tools/mise.toml` now has a `[tool_alias]`
table. It names the backend of every shared tool that isn't one of
mise's own `core:` tools, so the registry's choice can't move them:
- `opencode = "github:anomalyco/opencode"`: its GitHub releases. With
mise 2026.11.3, the aqua backend now gives opencode.ai URLs, and on musl
it gives the glibc tarball. The github backend gives musl VMs opencode's
own `-musl` build and records `provenance = "github-attestations"`.
- `claude`, `codex`, `pnpm` and `uv` keep the aqua backends they already
resolve to, so their lock entries are unchanged. They are named because
each of them already lists a second backend in the registry (http, npm,
npm, and asdf/pipx). That is how opencode's switch happened.
- node, bun, python, go and rust are mise's `core:` tools. None of them
changed between 2026.10.7 and 2026.11.3, so they are not aliased.
The other two places where mise picks a backend now follow the same
table:
- The step back (`lockVersions`) locks older versions from the backend
the newest one came from.
- Each project VM's `/etc/mise/config.toml` gets the same table, sent as
`tool-alias.toml` in the setup. Without it, the VM's mise 2026.11.3
reports opencode's backend as npm, and a non-shared version would be
installed from npm.
`tests/e2e-mise.lock` was resolved again with mise 2026.11.3 through
`scripts/bump.sh e2e-tools`. It now has lockfile version 4 and opencode
from GitHub. codex stays at 0.166.0, because mise's latest for codex is
still the older 0.163.0.
**The guard.** `TestToolBackendsNamed` fails in two cases: when a shared
tool that isn't on a `core:` backend has no `[tool_alias]` entry, and
when an alias isn't the backend that `tests/e2e-mise.lock` resolved. On
main it would have failed for claude, codex, opencode, pnpm and uv. The
existing download-per-platform check (`TestE2ELockPins`) couldn't catch
this regression, because the e2e lock had never been resolved again with
2026.11.3. `TestAliases` covers the VM's table, and
`TestRefreshStepsBack` now checks the step back's `mise.toml`.
Docs: internals/images.md (Versions) explains the aliases.
contributing/maintaining.md says where a new shared tool's alias goes
and what the test checks.
Co-authored-by: Claude Opus 5.5 <[email protected]>
docker 29.9.3, containerd 2.4.2, buildx 0.38.1, compose 5.7.0, model 1.2.9;
mise 2026.11.3 (VMs and the host mise); rustup 1.29.3; oh-my-bash 94c2977;
tealdeer 1.9.1; e2e's node:24 and alpine:3 digests. Every checksum is from
upstream's published sums.
bump.sh's value check now knows a Go constant's camelCase *Digest name, which
it refused before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
opencode 2 reads its model catalog from models.opencode.ai
(core/src/models-dev.ts's defaultSource) and no longer from models.dev,
which it reads only from a custom source that lacks the v2 catalog.
opencode.ai stays for Zen, the console, MCP's OAuth client and its
schemas. e2e's network section checks both hosts are reached.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm's pinned mise (2026.10.7) resolves aqua's "latest" to GitHub's latest
release, which opencode keeps on its 1.x line (v1.19.5) while it publishes
2.x beside it, so ls-remote lists 2.2.5 but lock picks 1.19.5. The shared
tools' mise.toml holds opencode at "2", which locks the newest 2.x on every
platform (linux-arm64/x64 and their musl entries, the same assets as 1.x).
opencode 2 keeps its logins in its SQLite database and imports auth.json
once, as it makes its credential table. devvm agent login opencode runs
its Codex logins (opencode auth login openai --method chatgpt-browser or
chatgpt-headless), which still post to auth.openai.com/oauth/token with
Codex's client ID, so the capture and the host's refresh are unchanged;
its Sign in with ChatGPT (/api/accounts/oauth/token, a client of its own
and an id_token checked against OpenAI's keys) stays refused by the
proxy's guard. An API key saved into a VM whose opencode has made its
database is imported with opencode auth import (OpencodeKeyImport).
Tests: TestOpencodeKeyImport, the login argv, agent_login.txtar's import
and its failure, the guard on opencode 2's token-sharing path; e2e's
network VM gets opencode and a device-code login against the fake
endpoint. tests/e2e-mise.lock bumped (opencode 2.2.5, claude 2.1.318,
pnpm 12.18.0).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A tools build ran every tool of a batch in one VM with a shared work
folder and output folder, and a tool image's key hashes only its own
tool's inputs, so one tool's installer (as root, through sudo) could
write into another tool's image: through the work folder, a process
left running until the next tool's mkfs.erofs, or by replacing mise or
mkfs.erofs. A fresh folder per tool and killing its processes wouldn't
stop root, so Share.Build now builds each tool in a throwaway VM and an
output folder of its own (buildOne, moveIn), one after another, and only
that tool's image and its .glibc are read from that folder.
shared-tools/build.sh takes exactly one TOOL VERSION FILE.
Measured on Fedora 43 (bare-metal x86_64, Lima with QEMU and KVM), node,
pnpm and bun: about 16 s in one VM, about 34 s in three (two runs each,
the same), so about 9 s for each extra tool, once per tool version.
Tests: TestBuildOneVMEach (node's build writes every tool's file in its
folder; each image holds its own tool's), TestBuild's one call per tool,
TestUpTools' calls, tools.txtar's VM per tool.
Docs: internals/images.md (building tools), internals/design.md's
shared tools (a VM for each tool, the cost).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
assets/prelude.sh gives each of devvm's scripts that a build runs with
bash $devvm_arch (arm64 or amd64), $devvm_libc (musl where apk is, else
gnu) and devvm_sha TOOL (the script's TOOL_sha256_<arch>_musl on musl
where it pins one, else TOOL_sha256_<arch>). It replaces the arch and sha
helpers in layers/base.sh, layers/nix.sh, features/cli-tools.sh,
shared-tools/build.sh and oci/build.sh, and the Alpine checks in
docker.sh, desktop.sh and fzf.sh. Each script that reads it checks it
came first (: "${devvm_arch:?}").
image.OwnScript reads devvm's own scripts with the prelude before them:
base.sh, apt.sh, built-in layers (LayerData) and features (featureStep),
shared-tools/build.sh (the tools build and ToolFile's key) and the
conversion's oci/build.sh (Lima's convertSteps, written into the
conversion's own temp folder). Users' layers and features get none.
keyHash.own goes, its one caller now hashing OwnScript's bytes.
Image keys change: every image and every shared tool image rebuilds.
Tests: testdata/script/prelude.txtar pins which pin devvm_sha picks from
each script on arm64 (aarch64 and arm64) and amd64, gnu and musl, and
refuses another architecture and a missing pin; oci.txtar sources the
prelude first and checks build.sh stops without it; TestOwnScript,
TestPreludeUsers (only scripts that get the prelude use it, each checks
its variables), key rows for the prelude in build and tool keys, and
recipe expectations with the prelude before devvm's scripts only.
e2e's nix copy as a user layer starts with the prelude.
Docs: internals/images.md (the scripts' prelude, keys), contributing
(owner, agreement test), maintaining, assets/oci/README.md, AGENTS.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each shared tool is its project's prebuilt release, built against a
glibc it needs at least, so a --from gnu base older than that ran the
tool into a loader error. Now devvm measures both sides and refuses the
tool clearly.
- A tool image's build measures the newest GLIBC_ version its ELF
programs and libraries need (shared-tools/build.sh's glibc_needs:
readelf's version needs, testdata folders left out), writes it to
FILE.glibc, and devvm keeps it in the image's record (glibc), taken
only as a plain file holding one version (tool_bad_output).
- A --from conversion records the image's glibc version (getconf
GNU_LIBC_VERSION in a chroot; oci/build.sh's glibc output, checked by
checkConverted), in base's record and every image's on it
(backend.Built.Glibc, state.Image.Glibc). Ubuntu's own base has none
and isn't checked; musl needs none.
- tools.Target carries the base's glibc (not hashed: a gnu tool image is
the same on every base); a VM's state records it (tools.made.glibc);
Launch.buildTools checks every tool with tools.Share.Runs after
building, for new VMs and devvm tools add/update and devvm update:
tool_needs_glibc names the tool, its version and both glibc versions.
- image.ValidGlibc and image.GlibcOlder own the version's shape and
order. build.Env.ToolTarget reads base's record once (BaseLibc gone).
- Measured minimums, current releases (arm64 / amd64): node 2.28/2.28,
pnpm 2.18/2.18, bun 2.17/2.17, python 2.17/2.17, uv 2.28/2.17, rust
2.17/2.17, go none (its 2.34 came from Go's own testdata), claude
2.17/2.17, opencode 2.17/2.17, codex 2.28/2.28 (its voice helper).
- Tests: TestGlibc, TestBuildGlibc, TestBuildGlibcRefused, TestRuns,
TestGlibcNeeds (build.sh's function against debug/elf, where readelf
is), TestToolTargetGlibc, checkConverted's glibc cases; from.txtar: an
old base refuses node at launch and at devvm tools add, keeps go, and
records 2.24; e2e: the Debian base's record and VM state hold the VM's
real glibc, no tool image needs a newer one, and Ubuntu's tool images
record a glibc; the stubs write FILE.glibc and glibc.
- Docs: using/from.md (Shared tools and glibc), using/toolchains.md
(Which bases they run on), internals/images.md, assets/oci/README.md.
Every tool image's key changes once (build.sh), so each is built again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On an x86_64 Linux host, a --from base made from a Debian image (node:24)
booted Debian's cloud kernel, which has no 9p (CONFIG_NET_9P is not set).
Lima mounts with nofail, so every mount was an empty folder, and the
shared tools' build VM failed at `cd /mnt/devvm-tools/.build`. Not a race
and not nesting: it fails every time on that image, on the Debian 13 KVM
guest and on bare-metal Fedora alike.
- assets/oci/bootify.sh: Debian gets linux-image-$arch on every
architecture (the generic kernel, already used on arm64 for gpio_keys),
and net.ifnames=0 on its kernel command line: with the generic kernel
udev's enp0s4 came up from Lima's MAC match before cloud-init's rename
to eth0, which failed as busy and stopped its init stage, leaving no
ssh host keys.
- assets/shared-tools/build.sh: wait_share waits up to 60 s for
.build/mise.lock, mounting the folder again from fstab while it isn't
mounted, then fails naming the folder and mount's last error.
- tools.txtar: wait_share there at once, mounted late, never mounted.
- docs: internals/images.md (the wait), internals/design.md (the cloud
kernel's missing 9p, the rename).
Both scripts are in image keys: --from bases and every tool image
rebuild.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
devvm network allow|deny|rm RULE... [-g] and devvm network log [-f] [-n N]
[--blocked] replace devvm policy and devvm log. Bare devvm network shows the
VM's network policy, then its allowlist file by file. devvm network -g shows
or saves whether new VMs get network policy (ask, on or off), through the
network file devvm setup also writes; --network-policy and
--no-network-policy beat it and skip reading it, a saved off makes a VM
without the docker-layer and backend warnings, and with ask and no terminal
a new VM gets it.
The proxy's block messages, devvm-why's, network log --blocked's ALLOW WITH
and the VM's setup note name devvm network allow. New messages:
net_default_failed, net_ask_global; -g reports with network_default. Docs,
the CLI reference, txtars (network_rules, network_log, network), e2e
(bare devvm network's first line) and AGENTS.md follow.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
assets/ holds the files devvm ships: base.yaml, layers/, features/,
shared-tools/ (mise.toml, build.sh, the tools' policies), guest/ and
oci/. devvm reads them from assets/ beside its binary (paths.Root,
paths.RootOf); releases, the Homebrew formula, the CLI tests and e2e
put them there. Image keys hash them by their names in assets/.
Co-Authored-By: Claude Opus 5.5 <[email protected]>