Skip to content

fix(justfile): match codepoint ranges in docs-english, not \p{Script} - #3

Merged
anrysys merged 1 commit into
mainfrom
fix/docs-english-false-positive
Sep 7, 2026
Merged

anrysys merged 1 commit into
mainfrom
fix/docs-english-false-positive

Conversation

@anrysys

@anrysys anrysys commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Implementations disagree on whether \p{Greek} means Script or Script_Extensions. Under the latter, U+00B7 MIDDLE DOT - ordinary punctuation in README.md and USE-CASES.md - matches Greek, Han and Latin at once, so the check passed or failed purely on which grep happened to be installed: ugrep 7.8.4 flagged the tree, GNU grep did not. A rule that depends on the reader's toolchain is not a rule.

Explicit ranges say exactly what is meant, and read the same under every grep. All five scripts are still caught - verified against Cyrillic, Greek, Han, Hebrew and Arabic fixtures - the middle dot is not, and docs/i18n stays excluded.

What changed

Why

Checklist

  • just check passes
  • New behaviour has a SPEC- clause in docs/10-product/srs.md, naming its test
  • Any decision with a rejected alternative has an ADR
  • Documentation Maintenance Protocol has run
  • No credential (.env, *.session) appears in the diff
  • The Send Guard was not weakened

DOCS SYNC

DOCS SYNC
  Change type:
  Updated:
  IDs added:
  IDs superseded:
  docs-check:

Implementations disagree on whether \p{Greek} means Script or
Script_Extensions. Under the latter, U+00B7 MIDDLE DOT - ordinary punctuation
in README.md and USE-CASES.md - matches Greek, Han and Latin at once, so the
check passed or failed purely on which grep happened to be installed: ugrep
7.8.4 flagged the tree, GNU grep did not. A rule that depends on the reader's
toolchain is not a rule.

Explicit ranges say exactly what is meant, and read the same under every grep.
All five scripts are still caught - verified against Cyrillic, Greek, Han,
Hebrew and Arabic fixtures - the middle dot is not, and docs/i18n stays
excluded.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@anrysys
anrysys merged commit 8674993 into main Sep 7, 2026
5 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