Repository navigation
Description
Question for the maintainer (away-mode backlog-burndown planner, round 7, 2026-11-13). Split out of #4057, the part of it that needs a decision.
The Problem
In an operational repository, develop takes direct commits. Each change that reaches develop names the issues it fixes on a Closes on promotion: #N line. Whoever assembles the develop -> main promotion turns each such line in origin/main..origin/develop into a Closes #N.
When a fix is rolled back later in the same range, its line is still in the range. So the promotion closes the issue although main gains no fix.
Reading the reverts out of the range is not reliable:
- A rollback is often a folder restored from an earlier commit, committed as an ordinary change. It carries no
This reverts commitmarker. - A revert of a revert: dropping every line whose commit a later commit reverts also drops the line of a fix that does ship.
- A merge reverted with
git revert -m 1leaves its branch commits, and their lines, in the range.
The rest of #4057 needs no decision. That part says a change reaching develop by pull request writes its line in the pull request body. It is worked in this round. Only this question is held.
Options, Recommended First
- The rollback states it (recommended). The commit or pull request that undoes a fix carries a line of its own, such as
Reopens on promotion: #N. A line it names is left out of the promotion. Reason: the rule already holds that the closed set is stated rather than inferred. This keeps that, and it treats a folder restore and a revert of a revert the same way, with no new tooling. Cost: an author who forgets the line still closes the issue, and only a later reading of that closed issue catches it. - A hub script assembles the set. A script reads the range, maps each commit to its pull request, and applies revert markers, chains included. It still cannot see an unmarked folder restore, so it needs option 1's line as well, plus a script to maintain.
- Leave reverts to the person promoting. The rule says only that a reverted fix's line is removed by hand when the promotion body is written. This is the cheapest option. It is also the judgment Operational Repositories' Closes-on-Promotion Rule Misses Reverted Fixes and Pull Requests Into develop #4057 reports going wrong.
The answer changes GOVERNANCE.md "Operational Repositories" and the branching-and-release-model skill. Downstream runbooks that restate the rule follow at their next resync.
Activity
Put Question Rules in Governance and the Promotion Line in PR Bodies (#…
Promote Develop: Burndown Fixes to Hooks, Review Tooling, and Carried…
ptr727 commentedon Nov 16, 2026
Answered by the maintainer, 2026-11-16: option 1, the rollback states it. The commit or pull request that undoes a fix carries a
Reopens on promotion: #Nline, and a promotion leaves out theCloses on promotion:line it names. The change lands inGOVERNANCE.md"Operational Repositories" and thebranching-and-release-modelskill. This issue stays open to track that work.ptr727 commentedon Nov 22, 2026
Released (2026-11-22): the branch merged as #4346 and was cleaned up, so this claim holds no files.
Backlog burndown claim (round 4, group 1, 2026-11-22): branch
burndown/r4-one-off-and-reopens, issues #4210, #4175.Predicted files:
GOVERNANCE.md,.agents/skills/branching-and-release-model/SKILL.md,.agents/skills/backlog-burndown/SKILL.md, and the generated include region in.agents/skills/fleet-code-review/SKILL.md. Generated trees.github/skills/and.claude-plugin/follow any.agents/skills/edit.Grown set granted (2026-11-22):
.agents/skills/add-host-tool/SKILL.md, which the #4210 rule puts in disagreement.ptr727 commentedon Nov 22, 2026
Answer recorded (2026-11-22): the maintainer settled the case this answer leaves open. A fix that already reached
main, whose issue closed at that promotion and was later rolled back, is reopened by hand by the rollback pull request's author. No new rule covers it.Detect and Report a One-Off, and Let a Rollback Reopen on Promotion (#…