Repository navigation
Closed
Labels
pre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
Description
Tracker for GOVERNANCE.md > Workflow YAML Conventions. Filed under #1315's roll-up of the open prose backlog: every finding a bundle issue enumerated against this unit is listed here once, one line each, naming the issue it came from, and the bundle is closed as a duplicate of this tracker so the finding is not lost and the bundle stops being a unit of work. A new pre-existing finding on this unit gathers here per pr-review-conduct's Merge Gate, numbering continuing this list. This tracker closes when the unit is rewritten and each line below is settled or superseded.
- The boolean-input contract is stated for the wrong context: a workflow_dispatch boolean stays boolean in inputs and only stringifies in github.event.inputs. (19 Carried-Content Defects From Downstream PR Reviews (guard, resync, drive-pr, git-commit, pr-review, promotion recipe, AUDIT.md, GOVERNANCE.md, merge-bot stub) #1113)
- The Boolean input rule is stated too broadly: only github.event.inputs.foo stringifies, while the inputs context preserves the declared type. (Three Findings Against Carried AUDIT.md and GOVERNANCE.md, Raised on a Downstream Promotion #1197)
- The concurrency exception describes publish-release.yml as publishing shared ref-independent artifacts on schedule, which this repo's dispatch-only file does none of. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
- cancel-in-progress: false does not deliver run-to-completion in arrival order: GitHub cancels the previously pending run when a newer one queues. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
- The step-name rule says there is no un-suffixed exception, while validate-task.yml:316 carries a trailing parenthetical and nothing enforces it mechanically. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
- The multi-image buildcache bullet names an "inline cache" mechanism nothing in the repo demonstrates, and says per-image tag where the task varies the repository. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
- The trigger enumeration omits pull_request_target, and the pinning and naming rules say nothing about composite actions under .github/actions/**. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
- The "every bash surface" set -Eeuo pipefail rule cannot be followed by .husky/pre-commit (#!/bin/sh) or the catalog pre-commit snippet; WORKFLOW.md section 2 repeats it. (Seven GOVERNANCE.md and carried-skill claims the shipped workflows falsify #1202)
Metadata
Metadata
Assignees
Labels
pre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
Activity
ptr727 commentedon Sep 6, 2026
Appended from the class 6 whole-unit read of this section (#1388), numbering continuing the list above.
if: |) is wrong because it embeds newlines inside the boolean expression", states a tool fact that does not hold, since the expression lexer skips whitespace, newlines included, so the folded-scalar preference stands as house style without the reason the bullet gives. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)workflow_callandworkflow_dispatch, the shape the Boolean inputs bullet governs, two incompatible instructions, reusable so-task.ymland entry-point so not, and says a-task.ymlis never triggered directly, which such a file is by construction. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)pypi-build-<branch>on a failed push, that a durable copy lives on the release or the registry, is false for that artifact, since a PyPI hook uploads no release asset and a failed push leaves the registry without a copy, so the delete removes the only built package and the unit gives no other justification. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)ptr727 commentedon Sep 6, 2026
Three more from the class 6 whole-unit read of this section on #1388, run at the
opustier, numbering continuing the list in the comment above.always()and!failure() && !cancelled()as interchangeable status-check functions, and they are not:always()returns true on a cancelled run and on a failed siblingneeds:job, readmitting thecancelledcase the bullet's own opening sentence names as the bug, while the hub's ownbuild-release-task.ymluses only the second form with an inline comment that the function must fail closed on a real failure. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)needs:" cannot be followed in its step form, sinceneeds:accepts job ids only, and the bullet's own docker-readme example is a step inside a job that also resolves the repository list, so a consumer needs the containing job rather than the validation. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)cache-tonor the both-branchcache-fromread thatWORKFLOW.mdD9.4 requires and thatbuild-docker-task.ymlimplements, so a carrier implementing only this bullet writes a symmetric single-tag cache whose smoke build attempts a registry write it has no credential for. Raised against this section's own "keeps the full rules" sentence, which Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388 rewrote whenWORKFLOW.mdsection 2 stopped restating these rules, though the bullet's gap against D9.4 is untouched text and predates that change. [GOVERNANCE.md > Workflow YAML Conventions] (Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions #1388)Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions (#…
ptr727 commentedon Sep 6, 2026
Seven more from a #1311 second-round pass (complete-brief whole-unit read,
opustier, no PR — read-only) over this section, numbering continuing the list above. The reviewer confirmed items 9-14 all still present as worded without re-deriving any of them.name:bullet's rename-in-lockstep instruction ("updating in lockstep with the jobname:every surface whose staleness breaks enforcement, never one without the others") lists five surfaces, four of which — the hub'srepo-config/payloads,spec/files.json,catalog/, anddocs/reusable-workflows.md— exist only in the hub, not in a carrying repo. A downstream reader following this carried section is instructed to edit files it does not have checked out, and "never one without the others" makes literal compliance impossible for a rename made in a downstream repo. The section is otherwise scrupulous about flagging hub-only paths (its ownworkflow-ci-contractcross-reference two bullets earlier does exactly this), which is what makes the omission visible from inside the unit. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)docker/build-push-action's.dockerbuild), and theretention-days: 1backstop is scoped to explicitupload-artifactsteps, which an action-emitted record is not. The one artifact class the bullet protects from deletion is the one class with no bounded retention under any of its three stated mechanisms. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)name:bullet's stated reason ("The displayed action name in the GitHub Actions UI tells you at a glance whether you're looking at an orchestrator or a callee") does not hold for the reusable half: a called reusable workflow's jobs appear nested inside the caller's own run under<caller job> / <callee job>, and the runs list shows the caller's workflow name, not the callee's top-levelname:. The "task"/"action" suffix convention pays off reading source files, not reading the Actions UI at the moment this bullet says it does. Same shape of defect as item 9. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)name:bullet: line 233's Boolean-inputs bullet establishes that a workflow can be triggered by bothworkflow_callandworkflow_dispatch, and thename:bullet partitions names into "reusable -> task" / "entry-point -> action" with no rule for a file that is both. Fixing the Filename bullet alone leaves this one standing. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)[merge-bot-pull-request.yml](./.github/workflows/merge-bot-pull-request.yml)) and a plain, unlinked path for the other (.github/workflows/publish-release.yml) in the same sentence. In a carriedGOVERNANCE.md`, the link resolves only in a repository that happens to hold a merge-bot workflow at that exact path; the plain-path form degrades gracefully everywhere. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)type=registryversustype=gha, andtype=inlineis not named. A reader cannot tell whether it is a furthercache-toentry, a property of the base image's tag, or part of the base build. Adjacent to, but distinct from, item 14's two gaps. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)validate-releaseexample is quoted and suffixed like a stepname:("publish-docker-readme-task.yml's "Validate inputs step""), while the Workflowname:bullet states "There is no un-suffixed exception" for job/step names and the same example is elsewhere referenced by bare, unsuffixed job id (validate-release). The unit never states that it refers to jobs by id and steps byname:, so the mixed example reads as the exception the other bullet says does not exist. [GOVERNANCE.md > Workflow YAML Conventions] (Why the Backlog Grows: Prose Review Has No Fixed Point, and a Plan to Keep the Rigor Without It #1311 second round)Also worth recording against item 9 rather than as a new number: the Conditionals bullet's positive reason is independently wrong in the same way as its negative one — a folded scalar (
if: >-) folds line breaks into spaces, it does not "preserve whitespace correctly." Both the stated reason for the preference and the stated reason against the alternative are inaccurate, which item 9's own framing ("the folded-scalar preference has no valid stated reason") already covers without a new item.ptr727 commentedon Sep 6, 2026
New finding: this section's bullets bind at D2, D4, D5 and D7, not only D9
Raised by a whole-unit review during #1390. No surface in the tree states this mapping, and PR
6 of the #1311 sequence needs it.
WORKFLOW.mdsection 2 and its skill counterpart both route to this section as "the stylerules", and
WORKFLOW.mdD9 is titled "Style / Static", so the natural reading is that thissection's contents bind at D9. That is true for only five of the thirteen bullets. The rest are
substantive control-flow rules that bind elsewhere in section 4:
set -Eeuo pipefail,if: >-permissions:beforeif:successandskippedexplicitlyConsequences a reader hits today. An auditor told "D9 is where they bind" looks for the
concurrency, permissions, retention and validate-at-entry conventions under D9 and finds
nothing there. And
WORKFLOW.mdsection 2's "necessary but not sufficient (a perfectly styledworkflow can still violate section 4)" frames style and contract as disjoint spaces when
several of these bullets are D2, D4, D5 and D7 items.
Decision affecting this section
The maintainer settled two questions on #1206, both of which land here.
describe the target state. New and modified workflows must respect them. The rest of the
repo is expected to be brought up to the same standard", narrows to mean when a repo
fixes an unswept workflow, never whether the violation counts. As written it gave an
unswept workflow the opposite verdict to section 4's preamble.
the style conventions and wins there.
WORKFLOW.mdwins on the architecture, the contractand the test methodology. This matters for item 12 above: this section's boolean-inputs
bullet requires comparing against both forms, while D7.3 requires
'true'alone for agithub.event.inputsread and explains the== truehalf "can never fire". Under the oldblanket rule an auditor failed a D7.3-conforming workflow and mandated dead YAML.
ptr727 commentedon Sep 6, 2026
This section is swept in #1395, and this comment records what that change settled, what it
attempted and withdrew, and the one tree gap it opens.
Settled
Items 1, 2 and 12's live instance (the boolean-inputs bullet against D7.3) are settled by stating
the
inputsandgithub.event.inputscontexts separately and carrying D7.3'sNaNmechanism asthe rationale, with D7.3 named as the contract that wins. Items 3, 4, 5, 6, 7, 9, 10, 11, 13, 15,
16, 17, 18, 19, 20 and 21 are settled in the bullets themselves. Item 8's impossibility is settled
by admitting a POSIX
#!/bin/shsurface and giving itset -eu. Item 14's gap against D9.4 issettled by stating the push gate on
cache-toand the both-branchcache-fromread.Attempted and withdrawn: the D-item mapping this issue's own comment supplies
The mapping in comment 5560786190 is correct and useful, and restating it in prose is not the way
to keep it. #1395 added it to this section's opening and to
WORKFLOW.mdsection 2, and a reviewround found it wrong four ways: this section carries no line-endings bullet at all (that policy
lives in "Documentation Style Conventions" and the comment's table lists a bullet that does not
exist), D7.1 covers only the concurrency exception rather than the bullet's actual rule, D5.5
was omitted although the blanket-delete ban is stated here in full, and the Shells bullet governs
committed
.shscripts and git hooks, which are not workflows and cannot be "not operational". Thetwo copies had also already drifted from each other inside the round that wrote them. Both were
deleted on the maintainer's call, and the opening now states the binding qualitatively and routes a
reader to section 4 for which rule binds where.
So the consequence this issue names, an auditor told "D9 is where they bind" looking under D9 and
finding nothing, is addressed by removing the false "D9" claim rather than by publishing a mapping
this section then has to keep in sync. If a mechanized mapping is wanted,
spec/is where it wouldhave to live to be checkable.
One tree gap this sweep opens
#!/bin/shsurface ... takesset -eu",which is correct (
-uis a POSIXsetoption). Neither of this repository's two#!/bin/shsurfaces satisfies it:
.husky/pre-commitcarriesset -e, andcatalog/snippets/husky/pre-commit,the adopter-facing reference hook, carries no
setline at all. This is the section's owntarget-state framing working as intended rather than a defect in the rule, and the hooks were
left alone rather than changed blind, since adding
-uto a live hook can break it on an unsetvariable. [GOVERNANCE.md > Workflow YAML Conventions]
Bring the POSIX Hook Up to the Rule and Drop an Ownership Claim
ptr727 commentedon Sep 6, 2026
Update to item 22, from #1395's round 3.
The live half is fixed:
.husky/pre-commitcarriesset -euas of 11804dd. My original filing reasoned that adding-uto a live hook risks breaking it on an unset variable, and that was caution standing in for a measurement. The file references no variable at all and deliberately does not source the generated_/husky.sh, so-uadds no failure path, and the commit that made the change exercised the hook under it.What remains of item 22 is
catalog/snippets/husky/pre-commit, the adopter-facing reference hook, which carries nosetline at all. That one does source_/husky.sh, which is generated, gitignored and absent at lint time, soset -uthere would be asserted against content this repository cannot inspect. Every command in the snippet already ends|| exit 1, soset -ewould add little andset -uis the part that needs a decision from someone who can see a generatedhusky.sh.So item 22 narrows to the snippet rather than closing.
Settle the Preamble Decisions and Reshape Section 4, Section 6 and th…
Promote Develop to Main: Seat the One-Home Include Mechanism and Fini…
ptr727 commentedon Oct 12, 2026
schedulerun on a publisher whose schedule never publishes does the same.") beside the push clause it already restated, rather than pointing atWORKFLOW.mdD7.1 for both. Two statements of one rule can drift. Raised by CodeRabbit on Resync the skills tree, D7.1, and the YAML conventions with hub 8fc06c1 PhotoCleaner#178, against the carried copy of this section at hub8fc06c1e.ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.