Repository navigation
Description
This was generated by an AI agent (work-items:work-loop lane).
Follow-up from the review pass on #261, raised by a Codex review of d626414. Filed as a repo-wide decision because fixing it in one lane would create a new inconsistency rather than remove one.
The gap
GitHub accepts either metadata filename:
"The metadata filename must be either
action.ymloraction.yaml. The preferred format isaction.yml."
— https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax
Every lane in this repo globs action.yml only. A composite added as action.yaml would be invisible to all of them:
composite-run-shellcheck.sh—git ls-files -- '.github/actions/*/action.yml'; its bash blocks get no ShellCheck coverage.ci.yml:264-268— thecheck-jsonschema"Validate composite actions" step; its metadata is never schema-validated.tool-version-drift-check.yml:25-31— enumerates specificaction.ymlpaths for its path filter.
Codex's sharpest point is about the guard, not the glob: composite-run-shellcheck.test.sh's coverage floor enumerates with the same action.yml-only glob, so it is blind to this by construction. Unlike the custom-shell gap fixed in 8520a82 — which at least printed a skip line — this failure mode is completely silent: no visit, no skip, no count mismatch. Nothing to read in the log.
Currently unreachable: all 24 tracked composites use action.yml, and zero action.yaml files exist anywhere in the repo.
Why not just fix it in #261
Broadening composite-run-shellcheck alone would make one lane discover a file that check-jsonschema still refuses to validate — trading a uniform blind spot for a non-uniform one, and leaving the more dangerous gap (unvalidated metadata) open. The two options below are both repo-wide, and they point opposite ways.
Options
- Support both extensions everywhere. Update the glob in
composite-run-shellcheck.sh, its test's coverage floor,ci.yml'scheck-jsonschemastep, andtool-version-drift-check.yml's path filter. Matches GitHub exactly; costs a second pattern in every place that enumerates action metadata, forever, and each new lane must remember both. - Enforce
action.ymlas the only accepted filename. Add a cheap guard — a tracked-file check that fails if any**/action.yamlexists — and leave every glob single-pattern. GitHub itself callsaction.yml"the preferred format", all 24 composites already comply, and it converts a silent-miss failure mode into a loud one at the moment the wrong filename is introduced.
Recommendation: option 2. The gap is not that the repo enumerates one filename — it is that using the other one fails silently. A guard fixes the failure mode directly and keeps every existing glob correct, whereas option 1 spreads a two-pattern obligation across every current and future lane to accommodate a spelling nothing here uses and the docs discourage.
Acceptance
- Whichever option: adding a composite as
action.yamlproduces a loud failure, never a silent skip. - If option 2: the guard covers the whole tree, not just
.github/actions/, and its message names the required filename. - If option 1: every enumeration site is updated in the same change, including the test's coverage floor — a floor that enumerates differently from the check it guards is the defect being fixed here.
Activity
test(actions): cover composite action shell with ShellCheck (#261)
kyle-sexton commentedon Jul 27, 2026
This was generated by AI during triage.
Triage disposition: briefed, decision-defaulted. Single-fork decision with its own RECOMMENDED answer (option 2) and a reversible alternative (option 1, support both extensions).
Decision defaulted: option 2 — enforce
action.ymlas the only accepted metadata filename via a cheap tree-wide guard that fails loudly if any**/action.yamlexists, converting a silent-miss failure mode into a loud one; every existing glob stays single-pattern — veto before merge (switch to option 1, support both extensions everywhere, if wrong).priority: medium.fix(scripts): find the end of a ${{ }} span the way the runner does (#…
feat(actions): enforce action.yml as the only accepted metadata filen…
refactor: dissolve comments that restate code or narrate history