mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 21:36:40 -10:00
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]>