Files
devvm/testdata/script
w3cjandClaude Opus 5.5 120ca70279 fix(vm): a VM whose folder is on a disk that isn't connected isn't gone
A folder with nothing at its path is now one of three folder states
(vm.FolderOf): there, gone, or not connected. With nothing at the path,
devvm compares the device of the nearest folder above it that exists
(platform.DeviceOf) with the device in the recorded folder identity
(platform.FolderDevice): the same device is gone, another is not
connected (a folder moved to another disk and then deleted counts too),
and no recorded identity or an unreadable device is gone.

devvm ls writes (not connected) and --json gives folder_state (there,
gone, not_connected) in place of folder_gone; devvm space names such
VMs (space_folder_not_connected) and lists them as
folder_not_connected. devvm rm VM refuses one without a terminal, even
with --force (rm_vm_not_connected), and in one asks
(delete_not_connected_folder_vm), which --force never answers.

Tests: TestFolderOf (a fake device: same, other, none, unreadable, and
a real deleted folder), TestDeviceOf, the JSON shapes, rm_vm.txtar's
not-connected case, ls.txtar. Docs: commands (rm, ls, a folder on a
disk that isn't connected), space, troubleshooting, overview.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 20:49:36 -07:00
..