Context
Leaf of #20892, blocked by #20949. That leaf adds a run with one job: .github/workflows/contributor-heads-up.yml and decideHeadsUp in buildScripts/util/contributorStanding.mjs tell each contributor who merged before the badges were live once, on their latest merged pull request in this repository. After that run nothing calls them again, because the merge comment offers the badge at an account's first merge.
The Problem
A dispatch-only workflow that can post to every account of the badge ledger stays in the repository after its one use, together with the function and the two spec blocks that serve it alone. A marker keeps a second run from telling anyone twice, so leaving them does no harm at once. They are code that every later change to the module has to read and keep green.
The Architectural Reality
At the head of the pull request of #20949:
.github/workflows/contributor-heads-up.yml: the run (211 lines), workflow_dispatch only.
buildScripts/util/contributorStanding.mjs: decideHeadsUp. Used by it alone: the OPT_OUT constant, the place parameter of renderBadge, and the form it returns.
headsUpMarker has a second reader. decideMergeComment returns null for a pull request that carries a bot-authored heads-up, so a later dispatch of merge-comment.yml for that pull request posts no thanks underneath the note.
test/playwright/unit/buildScripts/util/contributorStanding.spec.mjs: the decideHeadsUp block and the .github/workflows/contributor-heads-up.yml block, with the helpers only they use (headsUp, OPT_OUT).
The Fix
- Delete
.github/workflows/contributor-heads-up.yml.
- Delete
decideHeadsUp and OPT_OUT. renderBadge loses its place parameter and says exists within the hour at.
- Delete the two spec blocks and the helpers only they use.
headsUpMarker and the check in decideMergeComment stay, with their spec arm. The notes stay on their pull requests for good, and so does the reason to stay silent underneath one. The marker's JSDoc then says where it is found: on the pull requests told once when the badges went live.
Point 4 differs from the "Retirement" paragraph of #20949, which removes the marker too. The reason is the second reader named above.
Acceptance Criteria
Out of Scope
- The notes already posted. They stay.
BADGES_SINCE, the merge comment's words and the badge generator.
- An account the run could not reach. The record on
#20892 decides what happens to it.
Avoided Traps
- Removing the marker with the function. Every told pull request carries it for good. Without the check, a dispatch of the merge comment for one of them would thank for a merge its author was already told of.
- Keeping the workflow in case a later account needs it. A new account is offered the badge at its first merge. A later need to tell accounts again is a new decision with its own review, and the removed code is in the history.
Related
#20892 (the epic), #20949 (the run and its design).
Decision Record impact: none.
Live latest-open + closed sweep: the latest 20 open by creation date (47 open, orange band; this is the removal leaf the one-shot rule asks for, under its owning epic) and closed searches (heads-up workflow, contributor-heads-up, decideHeadsUp, remove one-shot workflow, retire heads-up) at 2026-11-14T17:35Z; no equivalent or prior exclusion found. A2A in-flight claim sweep (the last 30 messages): no claim on this scope. MC sweep: a one-shot workflow stays in the repository after its single run; the prior art is the one-shot rule's own record of 2026-11-06, and none decides this removal. Own-assignment sweep: 3 open (#20949, #20892, #20527); the first two are this leaf's blocker and parent. Structure map: N/A, no Agent OS file is placed.
Ownership: self-assigned, as the one-shot rule asks of the run's author. It is not curated for outside contributors: it is blocked, and its start depends on a record in a maintainer's hands.
Retrieval Hint: "remove contributor heads-up workflow, decideHeadsUp, one-shot run retirement, headsUpMarker stays"
Origin Session ID: dbc9def6-bffb-487a-b204-89679440e2bd
Context
Leaf of #20892, blocked by #20949. That leaf adds a run with one job:
.github/workflows/contributor-heads-up.ymlanddecideHeadsUpinbuildScripts/util/contributorStanding.mjstell each contributor who merged before the badges were live once, on their latest merged pull request in this repository. After that run nothing calls them again, because the merge comment offers the badge at an account's first merge.The Problem
A dispatch-only workflow that can post to every account of the badge ledger stays in the repository after its one use, together with the function and the two spec blocks that serve it alone. A marker keeps a second run from telling anyone twice, so leaving them does no harm at once. They are code that every later change to the module has to read and keep green.
The Architectural Reality
At the head of the pull request of
#20949:.github/workflows/contributor-heads-up.yml: the run (211 lines),workflow_dispatchonly.buildScripts/util/contributorStanding.mjs:decideHeadsUp. Used by it alone: theOPT_OUTconstant, theplaceparameter ofrenderBadge, and theformit returns.headsUpMarkerhas a second reader.decideMergeCommentreturns null for a pull request that carries a bot-authored heads-up, so a later dispatch ofmerge-comment.ymlfor that pull request posts no thanks underneath the note.test/playwright/unit/buildScripts/util/contributorStanding.spec.mjs: thedecideHeadsUpblock and the.github/workflows/contributor-heads-up.ymlblock, with the helpers only they use (headsUp,OPT_OUT).The Fix
.github/workflows/contributor-heads-up.yml.decideHeadsUpandOPT_OUT.renderBadgeloses itsplaceparameter and saysexists within the hour at.headsUpMarkerand the check indecideMergeCommentstay, with their spec arm. The notes stay on their pull requests for good, and so does the reason to stay silent underneath one. The marker's JSDoc then says where it is found: on the pull requests told once when the badges went live.Point 4 differs from the "Retirement" paragraph of
#20949, which removes the marker too. The reason is the second reader named above.Acceptance Criteria
#20892records the posting run of#20949(the run URLs and the count per outcome) and says that no further run is planned.git grep -n -E "decideHeadsUp|contributor-heads-up"over.github,buildScriptsandtestfinds only the marker's own prefix incontributorStanding.mjs(the text every posted note carries, which stays withheadsUpMarker), withdecideMergeCommentas the control that the search sees those files.headsUpMarkeris still exported, anddecideMergeCommentreturns null for a bot-authored heads-up marker and a comment for a pasted one.Out of Scope
BADGES_SINCE, the merge comment's words and the badge generator.#20892decides what happens to it.Avoided Traps
Related
#20892 (the epic), #20949 (the run and its design).
Decision Record impact: none.
Live latest-open + closed sweep: the latest 20 open by creation date (47 open, orange band; this is the removal leaf the one-shot rule asks for, under its owning epic) and closed searches (
heads-up workflow,contributor-heads-up,decideHeadsUp,remove one-shot workflow,retire heads-up) at 2026-11-14T17:35Z; no equivalent or prior exclusion found. A2A in-flight claim sweep (the last 30 messages): no claim on this scope. MC sweep:a one-shot workflow stays in the repository after its single run; the prior art is the one-shot rule's own record of 2026-11-06, and none decides this removal. Own-assignment sweep: 3 open (#20949,#20892,#20527); the first two are this leaf's blocker and parent. Structure map: N/A, no Agent OS file is placed.Ownership: self-assigned, as the one-shot rule asks of the run's author. It is not curated for outside contributors: it is blocked, and its start depends on a record in a maintainer's hands.
Retrieval Hint: "remove contributor heads-up workflow, decideHeadsUp, one-shot run retirement, headsUpMarker stays"
Origin Session ID: dbc9def6-bffb-487a-b204-89679440e2bd