Repository navigation
chore(scripts): condense the shared-copies registry header - #17621
Conversation
The registry sat at 999 non-blank lines, one below the size check's 1000-line reference, so the next registered copy (#17618's code-tidying target-scope adopter) fails Lint Repo's crossing rule. The two-line header keeps the format, the edit rule and the script to run; the placement rationale stays in ADR 0019. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: no findingsThe PR replaces the four-line comment header of Both new lines start with
Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: no issues foundThis pull request changes one file, What I checked:
critical-findings: 0 |
No related issue: unblocks #17618 (issue #17230), whose one new registry line crosses the size reference.
Summary
scripts/shared-copies.txtheld 999 non-blank lines on main, one below the 1000-linesize.file_linesreference that Lint Repo checks under thecrossingrule (docs/conventions/code-metrics.yaml). #17618 registers one more copy and fails with "crossed the reference".Fix
The four-line header becomes two lines that keep the line format, the edit rule and the script to run; the placement rationale stays in ADR 0019. The file drops to 997 lines.
Verification
scripts/sync-shared-copies.sh --check: all 993 registered copies match their canonical sources.grep -c . scripts/shared-copies.txt: 997.Related
Each new registration still adds one line, so the registry will reach the reference again. Excluding this data list from the size measure is a config choice for the owner, recorded in the hub report.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KeBVgbERyakZ33T4AetfRj