docs(ci): drop the hard-coded Hydra gate count from the workflow comment - #113
Conversation
The comment introduced in #104 read "the 61 Hydra mechanical gates". That number was never corrected here to a newer one on purpose — correcting it would only reset the clock on the same failure mode. The count has been wrong in both directions: the prose said 61 while only 59 gates actually reported, because gate-33 (axe-core) and gate-24 skip silently. A hard-coded digit sitting in a comment is exactly how that 61/59 gap survived unnoticed — nothing in CI compares the prose to the runner, so the number can only ever drift, and a stale number overstates the coverage this repo has. So the comment now carries no number at all and points at the composer package `conduction/hydra-gates` (ConductionNL/.github, hydra-gates/) as the single source of truth for which gates exist and how many report. Comment-only change: no workflow input, pin or behaviour is touched.
Quality Report — ConductionNL/openbuild @
|
| Check | PHP | Vue | Security | License | Tests |
|---|---|---|---|---|---|
| lint | ✅ | ||||
| phpcs | ✅ | ||||
| phpmd | ✅ | ||||
| psalm | ✅ | ||||
| phpstan | ✅ | ||||
| phpmetrics | ✅ | ||||
| eslint | ✅ | ||||
| stylelint | ✅ | ||||
| build | ✅ | ||||
| composer | ✅ | ✅ 101/101 | |||
| npm | ✅ | ✅ 654/654 | |||
| PHPUnit | ✅ | ||||
| Newman | ⏭️ | ||||
| Playwright | ⏭️ |
Quality workflow — 2026-08-04 05:26 UTC
Download the full PDF report from the workflow artifacts.
Live evidence from this PR's own Hydra Gates jobWorth recording, because it turns out to be a stronger argument for removing the number than the one I opened the PR with. From So there is no single true number to write down:
Three defensible numbers for one comment line, and the one a reader most needs (58) is the one that changes per-PR and can never be known statically. That is precisely why the corrected digit is not worth having. Note also that the runner already prints all of this itself, unprompted, including the warning not to read the green as "passes all 61". The package is not just the source of truth for the count — it is the only thing positioned to tell you which gates were live on a given run. Pointing at it beats restating a snapshot of it. |
What
One comment line in
.github/workflows/code-quality.yml. Nothing else.Before
# Run the 61 Hydra mechanical gates against this PR's diff.After
Why removed rather than corrected
The runner currently defines more gates than the 61 this comment claims, so the obvious fix is to bump the digit. That fix is wrong, and it is worth being explicit about why.
The count has been wrong in both directions. The prose said 61 while only 59 gates actually reported — gate-33 (axe-core) and gate-24 skip silently, so their absence looks identical to their success. Nobody noticed, because nothing in CI ever compares the number in the comment to the number in the runner. There is no mechanism by which a hard-coded digit in a YAML comment can be kept true; it can only drift, and while it drifts it overstates the coverage this repo has. Writing a fresh number in would restore the comment to accurate-for-now and re-arm exactly the same trap for the next person who adds a gate.
So the comment now names the thing that is authoritative instead of restating a fact about it.
conduction/hydra-gatesinConductionNL/.github(athydra-gates/, repo root) is where the gate list lives; a reader who needs to know how many gates run should read the package, or better, read the run output — which is the only place that distinguishes "63 defined" from "61 executed" from "59 reported".Scope / risk
enable-hydra-gates: trueand thehydra-gates-ref: v1.0.1pin are untouched, as is the surrounding rationale aboutcheck:strictbeing local-only and about pinning to a tag.code-quality.ymlstill parses (checked withyaml.safe_load).61appears nowhere else in the repo in a gate-count sense. Deliberately left alone:#61-style issue/PR references,hydra-build.yml:60-61line-range citations inside.claude/skills/persistence-audit/eval fixtures, and assorted hashes/hex colours that merely contain the digits.