You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recognize a Promotion Branch Cut From Main in Cleanup and the Prose Gate #4062
The branching-and-release-model reference sends a textually conflicted promotion through a throwaway branch cut from main that merges develop. Two pieces of hub tooling don't recognize that shape.
pr_review.py cleanup refuses the branch. Its check requires a base of develop, so a merged promote/develop-to-main pull request into main ends in status=REFUSED ... its base is 'main', not 'develop'. merge-and-release step 8 forbids deleting a feature branch by hand, so the branch has no sanctioned removal path short of cleanup --sweep --apply.
The prose gate's promotion exemption does not reach it. The comment-added rule stands down for a pull request whose head is develop. A promotion cut from main has another head, so it fails on every comment line its already-reviewed feature pull requests carried. It needs the comments label added and the failed job rerun.
Reproduce
Move a pinned line differently on main and develop, so a develop to main promotion conflicts.
Follow the reference: branch from main, merge develop, take its side, and open that branch into main.
Observe the prose gate fail on the carried comment lines.
Merge it, then run pr_review.py cleanup <number>, and observe the refusal.
Expected: both tools treat a merged or open promotion branch of this documented shape as a promotion. Seen on hub 1397e30a (2.0.1388).
The shape is routine rather than rare. Dependabot bumps hub pins on both branches independently, so any resync that moves the pins further on develop produces it.
Also in scope, unfiled: the scripts/README.mdpr_cleanup.py contract says git worktree remove refuses untracked changes, which is false under status.showUntrackedFiles=no (left by #4138).
Pending, not granted yet: repo-worktree (all three trees and its digest). The group on burndown/untracked-mode-reads (#4142) holds it. This group waits for that merge before editing it.
Parked (round 3): the worker died and left a dirty worktree. The group waits on decision #4150 and keeps its branch and claim.
Resumed (round 3): #4150 was answered (keep the edits). The edits are committed as 3abc363, and a fresh worker continues on this branch. repo-worktree is still pending the #4142 group's merge.
Granted (round 3): repo-worktree, which is .agents/skills/repo-worktree/SKILL.md, its .github/skills/ and .claude-plugin/fleet-skills/skills/ copies, and .claude-plugin/fleet-skills/.source-digests/repo-worktree. The holding group's PR #4148 merged and was cleaned up.
Granted (round 3, local-pass findings on #4152). No other in-flight group, branch, or open PR holds these:
tests/test_pr_review.py and tests/test_pr_review_size.py, to register the new pr_cleanup_rest.py. No existing ceiling is raised.
drive-pr: .agents/skills/drive-pr/SKILL.md, its .github/skills/ and .claude-plugin/fleet-skills/skills/ copies, and .claude-plugin/fleet-skills/.source-digests/drive-pr.
Activity
ptr727 commentedon Nov 13, 2026
Released (2026-11-13): PR #4152 merged into develop, and its branch and worktree were cleaned up. This claim holds no files.
Backlog burndown claim (away run 2026-11-13, round 3). Branch:
burndown/promotion-branch-shape. Issues: #4062. Tier:frontier.Also in scope, unfiled: the
scripts/README.mdpr_cleanup.pycontract saysgit worktree removerefuses untracked changes, which is false understatus.showUntrackedFiles=no(left by #4138).Predicted file set:
scripts/pr_cleanup.pytests/test_pr_cleanup.py.github/workflows/validate-task.yml.github/actions/prose-gate/prose_lint.pytests/test_prose_lint.pytests/test_workflow_steps.pytests/workflow_steps.pydocs/reusable-workflows.mdscripts/README.md.agents/skills/merge-and-release/SKILL.md.github/skills/merge-and-release/SKILL.md.claude-plugin/fleet-skills/skills/merge-and-release/SKILL.md.claude-plugin/fleet-skills/.source-digests/merge-and-releaseClaim extended (orchestrator adjudication, round 3). No other in-flight group, branch, or open PR holds these:
scripts/pr_cleanup_rest.py(new), a split that keepsscripts/pr_cleanup.pyunder its size ceiling.agents/skills/pr-review-conduct/SKILL.md,.github/skills/pr-review-conduct/SKILL.md,.claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md,.claude-plugin/fleet-skills/.source-digests/pr-review-conductPending, not granted yet:
repo-worktree(all three trees and its digest). The group onburndown/untracked-mode-reads(#4142) holds it. This group waits for that merge before editing it.Parked (round 3): the worker died and left a dirty worktree. The group waits on decision #4150 and keeps its branch and claim.
Resumed (round 3): #4150 was answered (keep the edits). The edits are committed as 3abc363, and a fresh worker continues on this branch.
repo-worktreeis still pending the #4142 group's merge.Granted (round 3):
repo-worktree, which is.agents/skills/repo-worktree/SKILL.md, its.github/skills/and.claude-plugin/fleet-skills/skills/copies, and.claude-plugin/fleet-skills/.source-digests/repo-worktree. The holding group's PR #4148 merged and was cleaned up.Granted (round 3, local-pass findings on #4152). No other in-flight group, branch, or open PR holds these:
tests/test_pr_review.pyandtests/test_pr_review_size.py, to register the newpr_cleanup_rest.py. No existing ceiling is raised.drive-pr:.agents/skills/drive-pr/SKILL.md, its.github/skills/and.claude-plugin/fleet-skills/skills/copies, and.claude-plugin/fleet-skills/.source-digests/drive-pr.ptr727 commentedon Nov 13, 2026
Parked (away-mode burndown, round 3), waiting on #4150.
burndown/promotion-branch-shapeholds 3 signed commits that are not pushed.mainby its content and ancestry, never its name.scripts/pr_cleanup_rest.py, which keepspr_cleanup.pyunder its ceiling.scripts/README.mdclaim thatgit worktree removerefuses untracked changes is deleted. Read Ignored Files Before Removing the Session-Handoff Hub Clone #4138 left that disagreement.pr-review-conductandmerge-and-releaseare updated to match.ProjectTemplate-promotion-branch-shapein the fleet worktrees directory. No PR exists.Closes on promotion: #4062, and drive it.repo-worktree"Listing and Cleanup" edit this change puts in disagreement. That edit must be granted on the claim first.--sweepremote half still covers only develop merges, and that is unchanged on purpose.Recognize a Conflicted Promotion's Branch Cut From Main in Cleanup an…