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
Operational Repositories' Closes-on-Promotion Rule Misses Reverted Fixes and Pull Requests Into develop #4057
GOVERNANCE.md "Operational Repositories" sets the Closes on promotion: rule for a direct push only. It leaves two cases where a promotion assembled by hand closes the wrong issues.
Evidence
Hub ref: main at 1397e30a, found by a local strict review pass during a resync of ptr727/HolidayLights (ptr727/HolidayLights#48), which carries the section verbatim.
A reverted fix still closes its issue. Take a direct commit A on develop carrying Closes on promotion: #5. A later commit in the same range runs git revert A, whose default message keeps only the subject. A's line is still in origin/main..origin/develop. So a promotion following the rule takes Closes #5 and closes the issue, although main gains no fix.
A pull request into develop is never told to carry the line. The section keeps "a PR still exists for a change worth reviewing". But the instruction to write the line names "a direct push" alone. backlog-burndown reads such a change's line from the pull request body, and branching-and-release-model tells a feature pull request's author only to reference the issue. So a reviewed change whose body says Refs #7 reaches main with no line, and a promotion assembled under the rule leaves #7 open.
Expected: one rule covering both routes into develop, and a line whose commit is reverted later in the range is dropped.
Actual: the rule covers the direct push only, and it counts every line in the range.
Fix
In "Operational Repositories", name where a change reaching develop by pull request writes its line, its body, as backlog-burndown already reads it. Drop a line whose commit a later commit in the range reverts. Downstream runbooks that restate the rule, such as ptr727/HolidayLightsOPERATIONS.md, then follow on their next resync.
Three more facets, from the review of a downstream runbook that tried to state the rule completely (ptr727/HolidayLights#48, OPERATIONS.md "Promote a known-good snapshot"). Each pass over a hand-written fix found new gaps, which suggests the rule wants a mechanized reader rather than more prose.
A revert has no single recognizable form. An operational repository's rollback is often a restore of a folder from a known-good commit, committed as an ordinary change. It carries no This reverts commit <sha>. marker, so "skip a reverted commit's line" cannot be applied to it by reading the range.
A reverted revert. Take C carrying the line, R reverting C, and R2 reverting R. Skipping every commit a later one reverts drops C's line although the fix ships, since R2's default message carries none.
The commit range does not hold a pull request's body. Neither GitHub's default squash message nor its merge-commit message copies the body into git. So reading the line from origin/main..origin/develop alone misses every pull request route. The reader has to map each commit to its pull request, by the (#N) squash suffix or the Merge pull request #N subject, and read that body, as backlog-burndown does. A merge reverted with git revert -m 1 leaves its branch commits in the range as well.
Activity
ptr727 commentedon Nov 11, 2026
Three more facets, from the review of a downstream runbook that tried to state the rule completely (ptr727/HolidayLights#48,
OPERATIONS.md"Promote a known-good snapshot"). Each pass over a hand-written fix found new gaps, which suggests the rule wants a mechanized reader rather than more prose.This reverts commit <sha>.marker, so "skip a reverted commit's line" cannot be applied to it by reading the range.Ccarrying the line,RrevertingC, andR2revertingR. Skipping every commit a later one reverts dropsC's line although the fix ships, sinceR2's default message carries none.origin/main..origin/developalone misses every pull request route. The reader has to map each commit to its pull request, by the(#N)squash suffix or theMerge pull request #Nsubject, and read that body, asbacklog-burndowndoes. A merge reverted withgit revert -m 1leaves its branch commits in the range as well.ptr727 commentedon Nov 13, 2026
Backlog burndown claim (round 7, away mode, 2026-11-13): group #4057, #3865, #1594 on branch
burndown/governance-question-rules, tierfrontier.developby pull request writes itsCloses on promotion:line in the pull request body. The revert handling is split into decision Decide How a Promotion Treats the Closes-on-Promotion Line of a Fix Reverted Later in Its Range #4175 and is not worked here.Predicted file set:
GOVERNANCE.md.agents/skills/branching-and-release-model/SKILL.md,.github/skills/branching-and-release-model/SKILL.md,.claude-plugin/fleet-skills/skills/branching-and-release-model/SKILL.md,.claude-plugin/fleet-skills/.source-digests/branching-and-release-model.agents/skills/agent-conduct/SKILL.md,.github/skills/agent-conduct/SKILL.md,.claude-plugin/fleet-skills/skills/agent-conduct/SKILL.md,.claude-plugin/fleet-skills/.source-digests/agent-conduct.agents/skills/decision-triage/SKILL.md,.github/skills/decision-triage/SKILL.md,.claude-plugin/fleet-skills/skills/decision-triage/SKILL.md,.claude-plugin/fleet-skills/.source-digests/decision-triage.agents/skills/session-handoff/SKILL.md,.github/skills/session-handoff/SKILL.md,.claude-plugin/fleet-skills/skills/session-handoff/SKILL.md,.claude-plugin/fleet-skills/.source-digests/session-handoffPut Question Rules in Governance and the Promotion Line in PR Bodies (#…
Promote Develop: Burndown Fixes to Hooks, Review Tooling, and Carried…