Skip to content

ci: exercise clone-to-setup path and detect spec drift - #1

Merged
84em merged 1 commit into
mainfrom
ci/regen-coverage
Jul 10, 2026
Merged

ci: exercise clone-to-setup path and detect spec drift#1
84em merged 1 commit into
mainfrom
ci/regen-coverage

Conversation

@84em

@84em 84em commented Jul 10, 2026

Copy link
Copy Markdown
Member

Adds CI coverage for the clone-to-setup path and a drift check against the upstream W3C spec.

What

  • New build-reference job: shellchecks scripts/build-reference.sh, installs pandoc, regenerates references/wcag-2.2-full.md from the live W3C source, and re-runs scripts/validate.mjs.
  • Non-failing drift report: warns if the regenerated reference differs from the committed copy (upstream spec changed) without breaking the build on cosmetic edits.
  • Weekly scheduled run (Mondays 12:00 UTC) to catch spec drift over time.

Verified

Ran the full path locally from a fresh /tmp clone: clone, validate.mjs, build-reference.sh regen, re-validate, markdownlint. Regenerated reference is byte-identical to the committed copy (reproducible build). Structural validation: A=31 AA=24 AAA=31 total=86.

Add a build-reference CI job that shellchecks the setup script, installs
pandoc, regenerates the reference from the live W3C source, and re-validates
it, so the full setup path is tested on every push and PR. Add a weekly
scheduled run to surface upstream WCAG spec drift.
@84em
84em merged commit 2b1e1ca into main Jul 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant