Base asked for base.yaml's 4 CPUs whatever the host had. It now gets
base.yaml's CPUs, or the host's count when the host has fewer, by the
same shared rule as its memory.
What happens above the host's count (from published docs, not checked
on a VM):
- Lima accepts cpus above the host's count: its template's default is
min(4, host CPU cores), and its proposed check that refused more than
runtime.NumCPU() (lima-vm/lima#2309) was closed unmerged. On vz, a
VM given more CPUs than the Mac has can start so slowly that ssh never
comes up (lima-vm/lima#1621, open).
- Apple's Virtualization framework only requires cpuCount <=
VZVirtualMachineConfiguration.maximumAllowedCPUCount, whose docs don't
tie it to the host's count.
- smolvm and libkrun document no limit for --cpus.
- Docker refuses --cpus above its engine's machine's count ("Range of
CPUs is from 0.01 to N.00, as there are only N CPUs available").
Changes:
- internal/backend/fit.go: FitCPUs(want, hostCPUs int) int and
FitMemory(wantGiB float64, hostBytes uint64) float64, pure and
exported; fitMemory's rule moved there from Lima, with table tests.
- Lima: buildSize replaces buildMemory and reads base.yaml's cpus and
memory; limactl create gets --cpus and --memory for base and the
--from conversion VM (createArgs). A CPUs field (runtime.NumCPU) is
the host-CPU seam beside Memory.
- smolvm: baseSize fits CPUs and memory with the shared rules, for
base's build, tool builds and VMs given no size; a CPUs field is the
seam. spec.Size.CPUs still wins.
- Docker: the engine's NCPU is read from docker info beside MemTotal
(engineSize replaces engineMemory), and baseSize fits both.
- Image keys are unchanged: neither the fitted memory nor CPUs are in
them.
- Tests: TestFitCPUs, TestFitMemory, Lima's TestBuildImageSmallHost and
"no CPUs" case, smolvm's TestSmallHost, Docker's TestBaseSize; the
build and from testscripts expect --cpus.
- Docs: using/ports-size.md and using/images.md say what a small
machine gets; internals/images.md has a Base's size section on the
mechanism; internals/smolvm.md and internals/docker.md match it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Installing with both Homebrew and the install script left two devvms, and
the one first on PATH ran without a word while brew upgrade might update
the other.
- install.sh: before downloading, check_brew stops (exit 1, in a terminal
or not) when brew is on PATH and brew list --formula devvm succeeds;
brew runs with stdin from /dev/null and its output discarded, only its
exit status read. --force (in the usage, the header and the parser)
installs anyway.
- install.sh: path_hint, after installing, warns when ~/.local/bin is on
PATH but command -v devvm resolves (readlink -f) to another copy, naming
it and what to do; it only looks the path up, never runs it. When
~/.local/bin isn't on PATH it prints only the existing hint.
- devvm doctor: warns (u.Warn, not a backend.Problem) when the devvm first
on PATH isn't this binary, both resolved with filepath.EvalSymlinks;
skipped when devvm isn't on PATH, and never with --fixes; exit status
unchanged. Seams: onPath's LookPath and Executable fields.
- Message devvm_other_first (first, self), linked to
getting-started/install#one-devvm.
- Tests: TestOnPathOther (this copy by either link, another copy, none on
PATH, a broken link); install.txtar: a stub brew reporting devvm makes
the script refuse before downloading, --force goes on, another devvm
earlier on PATH gets the warning and isn't run, a link to the installed
copy gets none; the stub brew answers list from $BREW_DEVVM.
- Docs: Installing's One devvm section (one way, the refusal, --force,
switching through Uninstalling's step 4, the PATH warnings), --force in
the options, doctor's warning; Installing and updating: the Homebrew
check, the PATH check and doctor's check.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar uses Hextra's image logo, devvm-logo-on-dark.svg at its own
size, with the site's title as its alt text, in place of the CSS logo.
The footer's link to the branding page and its styles are gone;
right-clicking the logo still opens the page. Why use devvm?'s fourth
point gets its period.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The lock's shackle is a 2-pixel arch centered on its body, and the box's
right and bottom lines stop short of the lock; the PNGs are rendered
again. The social card shows devvm-logo-on-dark.svg at twice its size in
place of the navbar's CSS logo.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The lock's shackle is a closed arch, and the box's lines stop a pixel
short of the lock; every favicon size, the ICO and the branding page's
icons are rendered again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The FAQ's requirements answer says devvm needs one of the supported
backends: Lima, the default, or the experimental smolvm or Docker. The
Toolchains card and Why use devvm? get the user's own wording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
/branding/ (content/branding.md, layouts/branding.html: Hextra's home
layout with the home page's look, out of the sidebar): the logo as
box-drawing text in a code block with Hextra's copy button; the logo as
pixel SVGs for dark and light backgrounds, with 4x PNGs
(static/branding/); the app icon as SVG and PNG at 64 to 1024, plus the
site's existing icons; the social card; the palette as click-to-copy
swatches (data/palette.yaml, hexes read from custom.css); the fonts with
samples and Departure Mono's license; usage notes; credits.
Shortcodes: brand-assets, brand-asset (fails the build on a missing
file, reads PNG sizes), palette, font-sample. custom.css: the page's
styles, the footer, and --devvm-accent-dark (#408000), the light logo's
prompt. custom/footer.html: a footer link to the page on every page, and
a contextmenu handler on the navbar logo that opens it.
Contributing > Writing docs describes the page, its shortcodes and how
to render its PNGs again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The feature shortcode takes an icon, drawn before the title in the
title's own color at 24px. Toolchains gets code, Coding agents and Made
for coding agents robot, Backends cube, Developer ready prompt, Ready in
seconds the new high-voltage icon (Dinkie 0.4.6), Isolated sandbox
locked and Make it yours wrench.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
blast-radius.svg: two machines side by side. Without devvm, four attacks
(prompt injection, leaked secrets, supply chain, rogue agent) land on your
machine and ~/web, ~/.aws, ~/.ssh and ~/api turn red one after another. With
devvm, they land in the VM, each path toward your machine ends at the VM's
border with a cross, and the machine's folders stay as they are.
- --devvm-red (#ff5370) and the .r class, only for compromised parts
- threat-1..4 and hit-1..4: an 8 s story with a hold and a rest
- the beside shortcode: text and art side by side from 1024px, the art
below the text on narrower screens
- Writing docs: the red, the drawing, its animation and the shortcode
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The lock is a 5 by 4 block centered on the box's bottom-right corner,
overhanging it by 2 pixels each way, the prompt sits in the box's middle,
and the mark has a pixel of black on every side; every PNG and the ICO
are rendered again from the SVG.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs/data/sections.yaml maps each docs section to its icon. The docs'
section cards read it, and head-end.html writes a CSS mask for each
section's top-level sidebar item at build time, so the two always match;
the build fails on a section or icon that doesn't exist.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Getting started shows the rocket, as its section card does, and The docs
the open book, as on the home page; the buttons' row may be wider than the
page's column, so they stay side by side on wide screens.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar's GitHub icon is Dinkie's, added to Hextra's icons through
docs/data/icons.yaml. hero-button takes an icon: Install shows a download
arrow and Read the docs an open book, both new from Dinkie Icons 0.4.6.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Heading icons: a heading's icon attribute ({icon="rocket"}) puts a pixel
icon before its text, through a heading render hook in place of Hextra's;
the anchor stays the text's. The home page's five section headings get
rocket, view-grid, shield, speech-balloon-question and prompt, lime at
24px (2px per icon pixel, as Departure Mono's at 22px).
- A 404 page (layouts/404.html) on the site's navbar and footer: a VM's
terminal (assets/home/not-found.svg) answering cd ./this-page with "no
such page" and the blink cursor, Hextra's search box, and links to
Getting started and the docs.
- Callouts: GitHub's > [!NOTE], [!TIP] and [!WARNING] alerts, drawn by a
blockquote alert render hook in the site's palette with
information-circled, a new light-bulb icon and warning; other types fail
the build. Used for keeping network policy on (Your first VM), Docker's
isolation (Docker), --unsafe-folder (Settings) and the VM boundary note
(Staying safe), each moving the existing text.
- Contributing > Writing docs: heading icons, callouts, the 404 page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The docs' first page is a card per section (section-card on Hextra's
cards), each with its pixel icon: rocket, wrench, locked, cube, prompt,
gear and the GitHub mark. The install and os-tabs shortcodes put the
Apple icon before macOS and the penguin before Linux (os-tab-name.html).
The experimental shortcode (flask, Departure Mono, the site's blue) marks
smolvm and Docker on their pages, in the backends' comparison table and on
the home page's Backends card. yes and no put a check or a cross before a
table cell's word, in the comparison table and Installing's install
script column. Writing docs describes each.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
postgres is planned as a built-in layer, whose name would be reserved, so
the home page's Make it yours card, its illustration and Customizing images
use mailpit: a pinned download with devvm-fetch, a systemd service, and its
SMTP and web ports forwarded to localhost.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Icons in docs/assets/icons/, one SVG each (12x12 viewBox, one path,
fill="currentColor", shape-rendering="crispEdges"):
- From Dinkie Icons 0.4.6 (MIT, the @dinkie-icons/react package's path
data; LICENSE kept): rocket, wrench, shield, locked,
three-networked-computers, cube, code, gear, brand-github, hammer,
brand-apple, flask, check-mark-circled, cross-mark-button,
diagonal-cross, information-circled, no-entry, view-grid,
speech-balloon-question, ghost, question-face, robot, file-folder,
globe-with-meridians, copies.
- Drawn in the same grid and line weight: penguin (Linux), prompt (>_),
warning (a triangle with !).
{{< icon "name" >}} (and {{< icon "name" "Label" >}}) inlines one through
the icon partial: class devvm-icon, aria-hidden without a label, role=img
and aria-label with one; an unknown name fails the build. custom.css sizes
it 0.75em square on the baseline, so a pixel is one screen pixel in 16px
text. Contributing > Writing docs covers the source, license, shortcode
and adding one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The navbar's mark (the box, a lime prompt, the lock on its corner) drawn
on a 16-pixel grid as favicon.svg, rendered to favicon-16x16.png,
favicon-32x32.png, favicon.ico, apple-touch-icon.png and the
android-chrome icons, with devvm's own site.webmanifest, all in
docs/static/ where Hextra links them by name. A 1200x630 social card in
docs/static/images/, named by params.images for every page's og:image
and twitter:image. Writing docs describes both.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Developer ready, zero config gets a new drawing: a browser at
localhost:5173 tied to the VM's :5173, a devvm code editor tab over SSH,
and a commit authored by you. The old detection drawing becomes
toolchains.svg, smaller, on the Toolchains card; Coding agents and
Backends get small drawings too (a terminal running claude beside the
three agents; Lima default, smolvm and Docker experimental). agents.svg
shows the history that stays; make-it-yours.svg stacks base with your
features, your layer and the VM, with node:24 feeding base by --from.
Animations are CSS only, in custom.css, turned on by classes in the SVGs
(pulse, pulse-2/3, pulse-slow, lit, lit-chip, lit-2..4, blink, mover,
mover-token, mover-egress), and prefers-reduced-motion turns them all off.
Texts that held tspans separated by spaces are split into texts at their
own x, as Hugo's minifier removed those spaces. Contributing describes
the drawings and the classes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Developer ready, zero config gains a bullet on forwarded ports, and its
devcontainer.json bullet moves to a new Make it yours card (your own layers,
your own features, --from, devcontainer.json), placed in the right column
with feature's new column option. Feature cards' art fills the card.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On wide screens, features puts the first and third cards in the left
column and the others in the right, so a short card leaves no gap; on
narrow screens the columns drop out and the cards' order styles keep
the page's order. Ready in seconds is the second card again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Staying safe's diagram sorts what's on this machine into what the VM
reaches, what it gets read-only or copied, and what's out of reach, in
three columns without arrows that fit the page.
The Mermaid theme uses the classic look: the neo look pads a hexagon
70px top and bottom together. Flowchart padding 8 keeps rectangles as
wide as before; every diagram is as wide or narrower, and shorter.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Its paragraphs and lists lose their 42rem limit, so the line after the
quick start no longer wraps at half the column.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hero drops the backends, which the What's supported card names; the
quick start drops the base image build, which Ready in seconds covers; the
Coding agents card and Developer ready's first bullet stop repeating the
feature cards; Why use devvm? ends on the sandbox; the FAQ merges Linux
and requirements into What does it run on?; the page ends on a short call
to action instead of the install tabs again.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Installing's Upgrading and the removal step of Uninstalling show the
command for the way devvm was installed, macOS's Homebrew or Linux's
install script; Uninstalling deletes saved secrets with devvm secret rm
while devvm is still installed. Lima's and Docker's requirements list
each system's on its own tab.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Installing devvm comes before Requirements, and the macOS and Linux
requirements tables are tabs with the visitor's system selected, through
a new os-tabs shortcode on the install tabs' styles and script.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Its third step is devvm, and the sentence after it names devvm claude and
devvm codex for a VM with a coding agent.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The home page's quick start and Install devvm, and Installing's Installing devvm, show the install command in Hextra's tabs, from a new install shortcode: macOS with Homebrew, Linux with the install script. The macOS tab is selected in the HTML; a small partial selects the Linux tab for Linux visitors as the page loads. custom.css styles the tabs in the site's palette. README says which command is for which system, and Contributing describes the shortcode.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Departure Mono at 14px in every Mermaid diagram, with labels on an 18px
line and the spacing and actors' boxes scaled to fit it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Your first VM and the README said the first run asks both questions; the
network policy question comes for every new VM in a terminal, and only the
extras are asked once.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Mermaid code blocks render with one theme for every diagram: a site
partial in place of Hextra's scripts/mermaid.html loads Mermaid 12.2.0,
pinned in hugo.yaml (params.mermaid.base), and sets the palette
(surface panels, blue borders, lime arrows, no shadows) and Departure
Mono at 11px. Diagrams render at their own size and scroll when wide;
ids are counted across runs, as Mermaid's time-based ones collide.
Five diagrams: the --clone round trip (using/clone.md), the image chain
and which image a new VM gets (using/images.md), the first run
(getting-started/first-vm.md) and a request through the proxy
(safety/network.md). Contributing > Writing docs covers diagrams.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The quick start replaced the recording, so devvm.cast and the asciinema
player's theme and border in custom.css have no use.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hero names Lima as the default and smolvm and Docker as experimental.
A three-step quick start replaces the recording, followed by a What's
supported row (toolchains, coding agents, backends), feature-card bullets
for devvm code and devcontainer.json, a link to what devvm doesn't
protect, a short FAQ and the install commands again at the bottom.
Claims now match their pages: .git protection is macOS only, and the VM
also gets the agents' config read-only.
The features shortcode takes columns="3" and feature takes level="3".
Contributing's home page notes describe the page's sections and drop the
recording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Your first VM, Everyday commands' VMs, the README, Toolchains and
Coding agents' Supported agents lead with the commands and a line on what
each does, then link to the page with the details. Your first VM goes
from 1147 to 552 words; every fact cut from it is on the page it links.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
using/toolchains.md is the one page for node, python, rust and go: what
each brings, the files that choose it, the version files it follows,
where global installs go and its allowlist under network policy, then how
toolchains are shared and updated. coding-agents.md opens with Supported
agents (claude, codex, opencode: what devvm adds, the commands, their
allowlists). images.md's Shared tools table becomes a pointer to both and
keeps the mechanics; it also says a project's mise.toml is read and
trusted. Using's weights put Toolchains after Images; both indexes list
it. AGENTS.md: adding or changing a shared tool updates its page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The edit link's box at the bottom of the table of contents had Hextra's
dark #111 shadow, a gray band on the black background: custom.css drops it.
The home page's four sections are feature cards in a grid (the features and
feature shortcodes), one centered column, then two per row from 1024px,
their art at 364px or 728px. The art shortcode and the cards share the
art.html partial. Contributing > Writing docs describes the shortcodes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>