Skip to content

Share the public wording check expression with the sibling packages - #8

Merged
kochizufan merged 1 commit into
train/2026-12from
dec26/public-wording-check
Oct 30, 2026
Merged

kochizufan merged 1 commit into
train/2026-12from
dec26/public-wording-check

Conversation

@kochizufan

Copy link
Copy Markdown
Member

What changes

tests/public-surface-wording.test.ts now uses the same expression and samples as the sibling packages (Teiresias, Atlas, Daedalus; the files are identical):

  • It also flags release-branch names, review row labels, working-group names, private repository names and the other internal labels the sibling check already caught.
  • It no longer flags section references of external standards (RFC 7946 §3.1, ISO 19111 §7.2) or ordinary uses of 設計.
  • Both directions have samples (MUST_MATCH / MUST_NOT_MATCH) with their own tests.

The expression and samples live only under tests/, which is not in the published tarball (checked with npm pack --dry-run: no tests/, and no hit of the expression in any packed text file, including dist).

Checks

  • Samples first: red before the expression changed, green after; removing a new alternative or the standards exclusion turns it red again.
  • pnpm run test, pnpm run typecheck, pnpm run build: exit 0.
  • No published file needed rewording.

🤖 Generated with Claude Code

…ages

The check now uses the same expression as Teiresias and Daedalus/Atlas: it
also flags release-branch names, review row labels, working-group names and
private repository names, and leaves section references of external standards
(RFC, ISO, OGC) and ordinary uses of the word for design alone. Samples for
both directions are tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kochizufan
kochizufan marked this pull request as ready for review October 30, 2026 04:48
@kochizufan
kochizufan merged commit d82d750 into train/2026-12 Oct 30, 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