Repository navigation
Description
Found while adopting the merge-bot task in ptr727/aiopurpleair (ptr727/aiopurpleair#103). Filing rather than changing anything, since the remedy is a fleet-level call.
The finding
Five adopter-facing locations hardcode a ptr727/ProjectTemplate workflow pin. Read on main at 8195c43:
docs/reusable-workflows.md:248 merge-bot-task.yml@20616e0a # 2.0.338
docs/reusable-workflows.md:661 run-codegen-pull-request-task.yml@0b07a59d # 2.0.352
catalog/snippets/workflows/merge-bot-pull-request.yml:22 merge-bot-task.yml@20616e0a # 2.0.338
catalog/snippets/workflows/test-pull-request.yml:23 validate-task.yml@537b1837 # 2.0.376
catalog/snippets/workflows/run-periodic-codegen-pull-request.yml:20
run-codegen-pull-request-task.yml@0b07a59d # 2.0.352
Three distinct releases, 2.0.338, 2.0.352 and 2.0.376, against a current latest of 2.0.587.
Why this is structural rather than a missed bump
Dependabot bumps a pin in a repository's own .github/workflows/. It does not bump a pin quoted inside a Markdown document or a catalog snippet, so these only ever move when someone edits them by hand, and nothing fails when they do not. The staleness is therefore guaranteed and unbounded rather than occasional. docs/reusable-workflows.md "Adopting the Merge-Bot" tells an adopter to take the snippet "byte for byte", which makes the stale pin the instruction rather than a default.
Concrete harm, observed
merge-bot-task.yml changed after 2.0.338 in #1257, which reserved the no-auto-merge- marker in the matcher. An adopter following the instruction literally adopts a task that predates that fix and gets no signal about it.
aiopurpleair's adoption pinned 2.0.587 instead and had to state in its pull request why it was deliberately diverging from the documented byte-for-byte snippet, which is the wrong thing for an adoption to have to argue about.
PhotoCleaner shows the self-correcting half and its limit: it adopted at 2.0.338 and Dependabot has since carried its workflow to 2.0.577, so the pin fixes itself in the adopting repository while the doc that seeded it stays at 2.0.338 for the next adopter.
What the maintainer may want to decide
The rule this was measured against is that a document should not carry a concrete pin at all, because it will always be stale, and that a pin on main should be the latest release with Dependabot moving it from there. Options, in rough order of effort:
- Have the docs and snippets carry a symbolic reference plus one sentence saying to pin the current latest release and let Dependabot bump it, so no literal SHA appears in prose.
- Generate the catalog snippets at release time with the release being cut, so the snippet is correct by construction on the day it ships.
- Keep the literals and add a check that fails when a doc or snippet pin is older than the newest release, converting silent staleness into a build finding.
Option 1 alone fixes the prose but leaves an adopter to resolve "the latest release" by hand, which is a step that can be got wrong. Options 1 and 2 together give a correct copyable snippet and no stale literal in prose.
Not filed here
No audit report or registry change is being written back as part of this. aiopurpleair's own adoption is ptr727/aiopurpleair#103 and needs nothing from this issue to land.
Activity
Ship the Release Caller Snippet and Retire the Not-Yet-Released Claim (…
Promote the Host-Tools Carry Rule, the Multi-Interpreter Validator Le…
ptr727 commentedon Nov 1, 2026
Decision needed (decision triage, 2026-11-01)
Question: How should the hub's own adopter-facing literal pins in
docs/reusable-workflows.mdandcatalog/snippets/workflows/be kept from going stale, since the hub's Dependabot config never scans either path?Options, recommended first:
@<hub-main-commit-sha> # <release-tag>for every stub (7 of 14 already do) and point to the snippet, which keeps a literal minimum known-good pin bumped on interface changes (Pin the Catalog Caller Snippets to Release 2.0.1122 #3313, Audit a Caller's workflow-model Input Against the Registry #3466). Adoption resolves the pin to the latest release and Dependabot moves it from there: fetch-latest applied at adoption, no new tooling. "byte for byte" stops covering the pin line. No work in flight.Evidence: Literal pins at docs/reusable-workflows.md:276, 360, 369, 562, 573, 585, 771, placeholders at :430, 466, 499, 508, 719, 735, 759. :253 (#748) and :299 (#826) describe bootstrap pins Dependabot bumps from.
.github/dependabot.ymlscans only "/" and "/.github/actions/*". STANDUP.md:191 already says to satisfy snippets "by outcome rather than byte for byte". Newest tag 2.0.1304.Blocks: none
ptr727 commentedon Nov 1, 2026
Maintainer answer (decision triage, 2026-11-01): Option 1: placeholders (
@<hub-main-commit-sha> # <release-tag>) for every stub in docs/reusable-workflows.md, a literal minimum known-good floor pin in each catalog snippet bumped on interface changes, and adoption steps that resolve the pin to the latest release before Dependabot takes over. This is now work for the next burndown round.Bump the Stale Hub Snippet Pins and Document the Fallback's Mixed-Pai…
ptr727 commentedon Nov 2, 2026
Released (2026-11-02): PR #3836 merged to develop and its branch is deleted, so this claim holds no files. The issue closes on promotion.
Backlog burndown claim (away run 2026-11-02, round 4, group R4G4). Branch:
burndown/1472-snippet-pins. Issues: #1472, #3813.Predicted file set:
docs/reusable-workflows.mdcatalog/snippets/workflows/**(the caller stubs andREADME.md)STANDUP.mdtests/test_release_guards.py(only if a test asserts the doc or snippet pin shape)Pin Reusable-Workflow Stubs by Placeholder and Tick the PlexCleaner G…