Files
devvm/testdata/script
w3cjandClaude Opus 5.5 a75f4daa28 feat(update): devvm update moves the VM to newer shared tools, then remakes it only when its image is outdated
devvm update first takes devvm tools update's step (Tools.update, split out
of Tools.Update), which needs no remake because shared tools are mounted.
Then, only when the VM's image chain changed, it names what changed
(vm_changed) and asks to make the VM again through the shared remake
(canRemake, agreed and remakeNow, split out of remakeTo). Only newer tools:
recorded and a shell, with no question. Nothing newer: vm_current. A no keeps
the VM with its newer tools and opens a shell when there were some. Without a
terminal or --force, an outdated VM is refused before the tools change.
devvm tools update stays the tools-only command, and newer_tools names
devvm update.

devvm layer add and devvm layer rm move to the root help's Change your VM
group, listed by both names, while layer and layer new stay under Images:
commandGroups takes a subcommand's path, addGroups adds the group to its
parent too, and the usage template lists it in the root's group.

Tests: TestUpdateTools (tools only, both without a terminal, declined,
agreed, neither), update.txtar's tools-only, no-terminal and declined cases,
TestHelpGroupsAndDocs's groups for layer add, layer rm and layer --help, and
an e2e check that devvm update on a current image never makes the VM again.
TestRemakeDone still proves a failed delete of the old machine keeps the
remake recorded. Docs: commands, images' Outdated VMs, toolchains,
troubleshooting, coding agents, internals and contributing; the cli skill's
tree; the CLI reference regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 00:10:46 -07:00
..