Skip to content

chore(scripts): condense the shared-copies registry header - #17621

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/shared-copies-header-20261120T074211Z
Nov 20, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/shared-copies-header-20261120T074211Z

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: unblocks #17618 (issue #17230), whose one new registry line crosses the size reference.

Summary

scripts/shared-copies.txt held 999 non-blank lines on main, one below the 1000-line size.file_lines reference that Lint Repo checks under the crossing rule (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

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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T07:44:31.167223Z 8017ba3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 8017ba34c23a789fc8c909c4802e94c9c819693b: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

The PR replaces the four-line comment header of scripts/shared-copies.txt with two lines. No registry entry changes. The new header still gives the line format (<canonical> <copy>, repo-relative), the rule to edit only the canonical, the register-then-run instruction and the ADR 0019 citation. It drops only the sentence on why each copy sits inside its plugin, which the PR says ADR 0019 still records.

Both new lines start with #, like the old ones. scripts/sync-shared-copies.sh reads the registry through lib/read-list.sh, so the parser should still treat them as comments. I didn't run --check, and the PR's claims that all 993 copies match and that the file is now 997 non-blank lines come from the author and are unverified.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 8017ba34c23a789fc8c909c4802e94c9c819693b: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no issues found

This pull request changes one file, scripts/shared-copies.txt. It shortens the comment header at the top from four lines to two. Both new lines start with #, so they stay comments, and none of the <canonical> <copy> registry entries change. The file matches none of the trusted-path globs.

What I checked:

  • The change has no executable, workflow, manifest or trust-control surface. No entry is added, removed or redirected, so scripts/sync-shared-copies.sh gets the same copy list as before.
  • It removes no instruction to the model. The dropped text only explained why copies sit inside their plugins, and the PR says that rationale stays in ADR 0019. The line format, the rule to edit only the canonical file, and the command to run are all still in the header.
  • The PR context contains no embedded directives aimed at the review lane.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 3ea3438 Nov 20, 2026
53 checks passed
@kyle-sexton
kyle-sexton deleted the chore/shared-copies-header-20261120T074211Z branch November 20, 2026 07:58
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant