chore(scripts): remove dead references to a retired repository

Two comments in build-rollup-register.{mjs,test.mjs} used a since-deleted
repository as the example of a nested same-name git repo. Replaced with the
invented `example-repo/example-repo`; the test fixture (`outer/outer`) and
what it proves are unchanged.

Adds scripts/check-retired-refs.mjs (+ test): fails when a tracked text
file names a retired term in its content or path. The term list is
local-only (scripts/retired-terms.local.md, ignored via *.local.md) and
never tracked; a missing or empty list reports NOT CHECKED (exit 2), and
the repo-level test skips with that reason instead of passing silently.
Named exemption list, empty. Chosen *.local.md because the existing ignore
rule already covers it, so .gitignore is untouched.

Red on 69fb250 (112 files, 2 hits, exit 1) -> green (114 files, 0 hits).
Suite 217 -> 227 tests, 211 -> 221 pass; the same 6 check-okf-parity
failures before and after, caused by the worktree path breaking its
sibling-repo lookup (9/9 green in the main checkout). check-versions:
12/12 OK, 0 ERROR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-09-23 12:28:11 +02:00
commit 4ecc6e2b6a
Signed by: ktg
SSH key fingerprint: SHA256:JakMjO6FTBBzN0Bhfj9saOoEjaFxlSdYuZQQpM/lF9Q
4 changed files with 260 additions and 2 deletions

View file

@ -321,7 +321,7 @@ test('D1: repos under a polyrepo container (depth 2) are discovered', () => {
});
test('D1: a git repo is NOT descended into (the nested same-name trap stays unreachable)', () => {
// claude-code-100x/claude-code-100x: the outer IS a git repo, so board.sh's rule never
// example-repo/example-repo: the outer IS a git repo, so board.sh's rule never
// reaches the inner one. Matching that rule makes this collision structurally impossible
// rather than merely absent today.
const root = tree({ 'outer': MARKER, 'outer/outer': MARKER });