feat(git): kvb-git-orphans-find for merged and abandoned branches
orphans.py classifies every local branch and detached worktree as merged-clean, merged-dirty, stale-open or active (ancestor or patch-equivalent of origin/<default>, dirty and unpushed counts, last activity, live council claims, busy processes) and proposes kvb-git-branch-gc, ask or keep; it reads only. The skill asks one question before any per-row round. kvb-dream step 8 runs it per repository in scope, kvb-cleanup at watch stage warn or with large worktrees. 🎯 Fix: 92 % 💥 Break: 3 % 💸 Cost: 148 % ⏱️ Time: – 🛡️ Security: 100 % 💰 Value: ? 🏆 Score: 60 🚦 Gate: ⚠️ cost 148 % > 100: ask the operator before the commit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
03c56f0801
commit
b8d0b6cf87
6 files changed
+776
-13
No files matched your search
@@ -56,6 +56,7 @@ flowchart LR
|
||||
git --> git_pr_label[kvb-git-pr-label]
|
||||
git --> git_update_branches[kvb-git-update-branches]
|
||||
git --> git_branch_gc[kvb-git-branch-gc]
|
||||
git --> git_orphans_find[kvb-git-orphans-find]
|
||||
git --> git_changelog[kvb-git-changelog]
|
||||
git --> git_hotfix[kvb-git-hotfix]
|
||||
check --> check_legal[kvb-check-legal]
|
||||
@@ -156,6 +157,7 @@ flowchart LR
|
||||
pr_label[kvb-git-pr-label]
|
||||
update_branches[kvb-git-update-branches]
|
||||
branch_gc[kvb-git-branch-gc]
|
||||
orphans_find[kvb-git-orphans-find]
|
||||
changelog[kvb-git-changelog]
|
||||
hotfix[kvb-git-hotfix]
|
||||
end
|
||||
@@ -261,8 +263,11 @@ flowchart LR
|
||||
|
||||
coordinate --> democracy
|
||||
cleanup --> democracy
|
||||
cleanup --> branch_gc
|
||||
cleanup --> orphans_find
|
||||
branch_gc --> democracy
|
||||
orphans_find --> branch_gc
|
||||
orphans_find --> choice
|
||||
orphans_find --> operator
|
||||
funnel --> democracy
|
||||
funnel --> dialectic
|
||||
funnel --> subagent_model
|
||||
@@ -312,7 +317,7 @@ flowchart LR
|
||||
dream --> dialectic
|
||||
dream --> optimize
|
||||
dream --> cleanup
|
||||
dream --> branch_gc
|
||||
dream --> orphans_find
|
||||
optimize --> skill_cleanup
|
||||
optimize --> transcend
|
||||
optimize --> autoskill
|
||||
|
||||
Reference in new issue
Block a user