The cleanup runs pkgmgr branch cleanup --local and offers deletion only for ancestry-merged branches; squash or PR merges stay a dry-run preview. A signed branch whose ref vanished without a pkgmgr delete becomes gone (deleted outside this run, or after an interrupted apply) and is shown apart from deleted and failed; an Unknown --branch answer for a vanished ref repeats the run once without it. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14). 🎯 Fix: 88 % 💥 Break: 6 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 83 🚦 Gate: ⛔ fix 88 % < 90, break 6 % > 5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
145 lines
4.0 KiB
JSON
145 lines
4.0 KiB
JSON
{
|
|
"repos": [
|
|
{
|
|
"repo": "@REPO@",
|
|
"default": "refs/remotes/origin/main",
|
|
"merged_into": [],
|
|
"warnings": [],
|
|
"items": [
|
|
{
|
|
"branch": "main",
|
|
"worktree": "@REPO@",
|
|
"head": "f48b13b73a443ae8a887a0f6b0190cfb66a3fc3f",
|
|
"detached": false,
|
|
"locked": null,
|
|
"worktree_state": "clean",
|
|
"staged": 0,
|
|
"unstaged": 0,
|
|
"untracked": 0,
|
|
"upstream": null,
|
|
"ahead": null,
|
|
"behind": null,
|
|
"gone": false,
|
|
"local_sha": "f48b13b73a443ae8a887a0f6b0190cfb66a3fc3f",
|
|
"remotes": {
|
|
"origin": "f48b13b73a443ae8a887a0f6b0190cfb66a3fc3f"
|
|
},
|
|
"compose_projects": [],
|
|
"images": [],
|
|
"state": "protected",
|
|
"merged": false,
|
|
"dirty": 0,
|
|
"merged_by": null,
|
|
"merged_into": null,
|
|
"unpushed": null,
|
|
"last_activity": null,
|
|
"size_bytes": null,
|
|
"skip": null,
|
|
"actions": [],
|
|
"reason": "default or protected branch",
|
|
"result": null
|
|
},
|
|
{
|
|
"branch": "side",
|
|
"worktree": null,
|
|
"head": null,
|
|
"detached": false,
|
|
"locked": null,
|
|
"worktree_state": null,
|
|
"staged": null,
|
|
"unstaged": null,
|
|
"untracked": null,
|
|
"upstream": null,
|
|
"ahead": null,
|
|
"behind": null,
|
|
"gone": false,
|
|
"local_sha": "cf287347ef836eeebeab3c87cdb149d99a3cee91",
|
|
"remotes": {},
|
|
"compose_projects": [],
|
|
"images": [],
|
|
"state": "merged-clean",
|
|
"merged": true,
|
|
"dirty": 0,
|
|
"merged_by": "ancestor",
|
|
"merged_into": "refs/remotes/origin/main",
|
|
"unpushed": null,
|
|
"last_activity": null,
|
|
"size_bytes": null,
|
|
"skip": null,
|
|
"actions": [
|
|
"local-branch"
|
|
],
|
|
"reason": "merged by ancestor",
|
|
"result": null
|
|
},
|
|
{
|
|
"branch": "squashed",
|
|
"worktree": null,
|
|
"head": null,
|
|
"detached": false,
|
|
"locked": null,
|
|
"worktree_state": null,
|
|
"staged": null,
|
|
"unstaged": null,
|
|
"untracked": null,
|
|
"upstream": null,
|
|
"ahead": null,
|
|
"behind": null,
|
|
"gone": false,
|
|
"local_sha": "73e7e81781ea1bf4c3fb0b1a9aa99e7809529e7d",
|
|
"remotes": {},
|
|
"compose_projects": [],
|
|
"images": [],
|
|
"state": "merged-clean",
|
|
"merged": true,
|
|
"dirty": 0,
|
|
"merged_by": "patch",
|
|
"merged_into": "refs/remotes/origin/main",
|
|
"unpushed": null,
|
|
"last_activity": null,
|
|
"size_bytes": null,
|
|
"skip": "merged by patch, tip is no ancestor of refs/remotes/origin/main",
|
|
"actions": [],
|
|
"reason": "merged by patch",
|
|
"result": null
|
|
},
|
|
{
|
|
"branch": "topic",
|
|
"worktree": null,
|
|
"head": null,
|
|
"detached": false,
|
|
"locked": null,
|
|
"worktree_state": null,
|
|
"staged": null,
|
|
"unstaged": null,
|
|
"untracked": null,
|
|
"upstream": null,
|
|
"ahead": null,
|
|
"behind": null,
|
|
"gone": false,
|
|
"local_sha": "ab372c4ea8b3ee5d062f1f5ea43c8154bf70b62a",
|
|
"remotes": {
|
|
"origin": "99dce520c1c6076008c6178cba98b360d41dbd0d"
|
|
},
|
|
"compose_projects": [],
|
|
"images": [],
|
|
"state": "merged-clean",
|
|
"merged": true,
|
|
"dirty": 0,
|
|
"merged_by": "patch",
|
|
"merged_into": "refs/remotes/origin/main",
|
|
"unpushed": null,
|
|
"last_activity": null,
|
|
"size_bytes": null,
|
|
"skip": null,
|
|
"actions": [
|
|
"local-branch"
|
|
],
|
|
"reason": "merged by patch",
|
|
"result": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|