Files
devvm/testdata/script
w3cjandClaude Opus 5.5 8ec7547ebd feat(cli): devvm rm VM deletes a VM whose folder is gone, and ls and space mark it
A VM whose recorded project folder is gone (nothing at its path) is
marked: devvm ls writes "(gone)" after its folder and gives
"folder_gone" in --json; devvm space names it in a note and in
--json's "folder_gone". devvm rm takes an optional VM, by name or ssh
alias, from any folder: this folder's own VM goes through rm; a VM
whose folder is there, a name that isn't a VM's, and a VM its backend
lost are refused. It asks in a terminal, --force answers, and without
either it refuses. Agents' history is exported first unless
--no-export; a stopped VM that mounts its folder is refused, as
starting it would make the folder again (Lima makes a missing mount's
folder); a --clone VM needs --no-clone-check. Never deleted by gc or
retention.

vm: FolderGone, Lifecycle.RmVM/rmGone, recordedVMs (moved from
Links.projectVMs); project: Named (Targets uses it). Messages:
rm_unknown_vm, rm_vm_folder_there, rm_vm_lost, rm_gone_stopped,
rm_gone_clone, rm_vm_export_failed, rm_vm_failed,
delete_gone_folder_vm (answered by --force), space_folder_gone.
Tests: testscript rm_vm, ls; TestFolderGone, TestList, TestTargets,
TestJSONShapes. Docs: commands (rm, ls, a VM whose folder is gone),
space, troubleshooting, coding-agents, overview; CLI reference.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 16:19:44 -07:00
..