From a62115cc28877c7b9c71a108919c5940034c9629 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Fri, 30 Oct 2026 22:07:59 +0100 Subject: [PATCH] conformancefigure@v0.5.0 --root . : put the third copy in the denominator The previous change FIXED the stale figure in hugo.toml. This one makes it GUARDED, which is a different thing: a number corrected by hand is a number that drifts again. This site states the ruby/spec total in three places. `--root layouts` reaches two of them. The third is hugo.toml's `params.phases[].blurb` -- prose Hugo renders into the page like any other -- and it read 23,481 for 26 days under a green check, because neither the tool's .md/.html filter nor this root could reach it. v0.5.0 of the tool reads .toml (go-embedded-ruby/docs#40). Widening the root is the other half: without it the new capability changes nothing here. Measured with the exact published command this lane will run, fetched through the proxy: $ go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.5.0 --root . go: downloading github.com/go-embedded-ruby/docs v0.5.0 5 current claim(s) checked against the gate's 23511 Five, not four. actionlint clean. The pin stays a tag, for the reason the comment above it already gives. Co-Authored-By: Claude Opus 5 --- .github/workflows/deploy-pages.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index b642521..591eb2a 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -90,8 +90,16 @@ jobs: # control still runs inside the tool on every invocation rather than only # under `go test`, precisely because this consumer never runs that # module's tests. + # + # ⛔ `--root .`, NOT `--root layouts`, since v0.5.0. This site states the + # total in THREE places, and `layouts/` holds two of them. The third is + # hugo.toml's `params.phases[].blurb` -- prose Hugo renders into the page + # like any other -- and it read 23,481 for 26 days under a green check, + # because neither the tool's `.md`/`.html` filter nor this root could + # reach it. v0.5.0 reads .toml; widening the root is what puts the third + # copy in the denominator. It checks 5 claims now, not 4. - name: The stated conformance total matches rbgo's gate - run: go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.4.0 --root layouts + run: go run github.com/go-embedded-ruby/docs/tools/conformancefigure@v0.5.0 --root . - name: Build landing page run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"