Files
devvm/testdata/script
w3cjandClaude Opus 5.5 c1ca05bd94 refactor(vm): housekeeping and exports move out of cli
vm.Housekeeping owns what devvm keeps besides its VMs, and cli only
renders what it returns: ListImages and ShareListing (the tool targets,
worked out once in ToolTargets, for devvm images, gc, space and
retention), LockGC, PlanGC (one inventory per run: the states, with
--orphans the backends' lists too), GCPlan.Apply (returns GCDone, what
it deleted in order, an image the backend refused among it) and Retain.
gc runs on the run's one registry throughout, --caches included.

vm.Exports owns an export's name (parsed without a regex), the list,
the .folder file written and read, deletion and a folder's newest
export; it replaces lifecycle.go's name, history.go's parse and
retention's handling.

One orphan definition: devvm space's leftover state is now what
devvm gc --orphans would forget (Leftovers.FindIn, on space's own
inventory), so a VM whose state changed in the last hour, one made in
another Lima home and one being made again count as state, not
leftover, and the row's retention uses the orphan's Changed time.
space.txtar pins it against gc --orphans' list.

gc's Short names old files and the Nix cache over its cap; the CLI
reference is regenerated. using/space.md says what leftover state is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 03:29:38 -07:00
..