1.74.0
Adds a new cleanup bin that removes stale hive-mind temporary
directories/files under the system temp dir while preserving folders that belong
to currently-running tasks, protected system paths, and any clone with
uncommitted or unpushed work.
Highlights:
--dry-run/-nprints the full list of kept folders and folders that would
be deleted (with sizes and reasons), deleting nothing.--keep-active-tasks-folders(default on) detects active tasks from running
processes (/proc) and live isolation sessions (screen/tmux+
$ --status), and matches clones to tasks by branch name using the same logic
assolve(issue →issue-{n}-{hex}scoped to the repo; PR → its resolved
head branch). Disable with--no-keep-active-tasks-folders.- Keeps
/tmp/start-command/and system-owned temp entries by default;
--force-start-commandallows deleting/tmp/start-commandwhen needed. - Optional Ubuntu/system cleanup behind explicit flags:
--apt,--journal,
--docker,--npm(and--systemshorthand), with--sudo. - Safe by default: keeps unrecognised entries unless
--all, never deletes
paths held open by a running process or used by the cleanup process itself,
and requires confirmation unless--force.
Related Pull Request: #1849