From 6b297d9e54d96889d5c1a2fd5352bcc521d97ef4 Mon Sep 17 00:00:00 2001 From: Transaction Science Date: Thu, 29 Oct 2026 22:28:00 -0400 Subject: [PATCH] Public-text checks: the OER/2 documents and corpus are checked like any other file Both checks skipped wai/extensions/oer-receipts.md, wai/wai-rs/src/oer.rs and wai/oer-conformance/ as settled text "which no change may edit". OER/2's minor version 1 (#542) edits all three, and its new text would have gone unchecked. Every one of those files passes both checks, at main and at #544's head, so nothing needed the exclusion: it is gone, and a change to them is checked as a change to any other file is. Co-Authored-By: Claude Opus 5.5 --- scripts/check-comparative-prose.sh | 6 ++---- scripts/check-public-names.sh | 9 +++------ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/scripts/check-comparative-prose.sh b/scripts/check-comparative-prose.sh index 3914e98e0..0219e5162 100755 --- a/scripts/check-comparative-prose.sh +++ b/scripts/check-comparative-prose.sh @@ -9,9 +9,8 @@ # # Scope: the same files as scripts/check-public-names.sh — the tracked files # under wai/ with the extensions .md .rs .toml .py .sh .mjs .js .json .html -# .css .ttl .h .c .txt and wai/'s .gitignore files, except the settled OER/2 -# documents and corpus, and except wai/CHANGELOG.md: its history is a record, -# and only names are redacted from it. Files given as arguments replace that +# .css .ttl .h .c .txt and wai/'s .gitignore files, except wai/CHANGELOG.md: +# its history is a record, and only names are redacted from it. Files given as arguments replace that # list (the self-test, scripts/test-public-text-checks.sh, uses this). # # Opt-out, for a functional identifier or a quotation only (an environment @@ -79,7 +78,6 @@ if [ $# -gt 0 ]; then else while IFS= read -r f; do case "$f" in - wai/extensions/oer-receipts.md|wai/wai-rs/src/oer.rs|wai/oer-conformance/*) continue ;; wai/CHANGELOG.md) continue ;; esac files+=("$f") diff --git a/scripts/check-public-names.sh b/scripts/check-public-names.sh index 2ae91631f..dcb52b8a6 100755 --- a/scripts/check-public-names.sh +++ b/scripts/check-public-names.sh @@ -20,9 +20,9 @@ # .sh .mjs .js .json .html .css .ttl .h .c .txt, and wai/'s .gitignore files; # or, when files are given as arguments, those files (the self-test, # scripts/test-public-text-checks.sh, uses this), each a path relative to the -# directory the script is run from, or absolute. Excluded: -# - the settled OER/2 documents and corpus (wai/extensions/oer-receipts.md, -# wai/wai-rs/src/oer.rs, wai/oer-conformance/), which no change may edit. +# directory the script is run from, or absolute. No file is excluded: the +# OER/2 documents and corpus once were, as settled text, until a minor version +# edited them; they pass, and a change to them is checked like any other. # # Opt-out, for a functional identifier only (a model-hub id a tool defaults # to, a repository URL, an OS API name, a security advisory id, a capability @@ -80,9 +80,6 @@ if [ $# -gt 0 ]; then done else while IFS= read -r f; do - case "$f" in - wai/extensions/oer-receipts.md|wai/wai-rs/src/oer.rs|wai/oer-conformance/*) continue ;; - esac files+=("$f") done < <(git ls-files 'wai/*.md' 'wai/*.rs' 'wai/*.toml' 'wai/*.py' 'wai/*.sh' 'wai/*.mjs' 'wai/*.js' \ 'wai/*.json' 'wai/*.html' 'wai/*.css' 'wai/*.ttl' 'wai/*.h' 'wai/*.c' 'wai/*.txt' \ -- 2.54.0 (Apple Git-157)