kvb-git-branch-gc becomes kvb-git-branch-cleanup and kvb-git-orphans-find becomes kvb-git-worktree-orphans, which drops its own orphans.py for pkgmgr's output. New wrappers: kvb-git-gc, kvb-git-worktree-cleanup and kvb-git-worktree-up. kvb-cleanup, kvb-dream, AGENTS.md and README.md point at the new names. Merges only after the pkgmgr release that ships these commands. 🎯 Fix: 90 % 💥 Break: 3 % 💸 Cost: new ⏱️ Time: new 🛡️ Security: 100 % 🏆 Score: 87 🚦 Gate: cost new, time new: cleared by the operator's commit word for the Skills wrappers (2026-11-07) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 18dade9a48a84761bf0c3a9b35584367ae0cb0e4)
1.1 KiB
Apply
-
Re-read
council.py list --longand drop every item claimed since the dry run. -
--applyrefuses outside the host PID namespace (exit 2) and deletes remote branches, which is a push. Unless this session runs in the host PID namespace and the project lets agents push, hand the operator one command per repository, run from inside it, one--branchper picked item (the worktree path for a detached worktree), with the command of the skill that planned it:pkgmgr branch cleanup --apply --json --branch <name> --branch <name> | tee /tmp/branch-cleanup-apply-<N>.json -
Read every item's
resultthere:done,done; image kept: <img>(still in use elsewhere),skipped: <why>(changed since the plan or during the fini hook), orfailed: <why>. Report a failure as it stands; never remove by hand what pkgmgr skipped or refused. -
For every
doneitem, drop its worktree and branch from the task listing them in thekvb-org-rasciregister (rasci.py artifactsnames it):set <task> --drop-artifact worktree:<path>, and--branch ''where the branch is gone.