Repository navigation
chore(scripts): delete the four root scripts held back from the first cleanup PR - #26266
Merged
Merged
Conversation
…ns point at the commit that holds them Zero-reference census over the whole tree (file stem and relative path, with scripts/check-nul-bytes.mjs as the positive control). Each deleted file was named only in a docs/audits reading, a CHANGELOG entry, a self-test fixture string or a comment; those mentions now name commit 7111e14, which holds the script. CHANGELOG entries are release-owned and stay as they shipped. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
…es and check-service-providers, wired through their root aliases Each rule moves into a pure function over its inputs; main() keeps the tree read and prints byte-identical output (compared old vs new on a fixture tree, green and red paths). The self-tests follow AGENTS.md "Writing a --self-test": a literal row roster floored per label, the roster size pinned, and a verdict handshake the dispatch refuses to run without. The aliases CI already calls (pnpm check:X in lint.yml and release.yml) now run the self-test first, so check-self-test-wired sees each one run. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
…dispatch-gates slow tier derives it as its seam card The slow tier of check:pm-dispatch-gates (run on push to main and on the schedule, not on a PR) spawns the CLI against this path and reds 16 cases when it is absent. That is a real caller, so the script and its two mentions go back to their state at 7111e14. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
…ng this one under the human-merge threshold measure-markdown-ts-blocks.mjs, measure-reserved-identity-name-census.mjs, pm/measurement-claim-triage.mjs (with its dispatch-gates.mjs docblock mention) and bench/runtime-publish-gate.bench.mts return to their state at 7111e14. They are deleted in a follow-up PR once this one lands. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
… cleanup PR measure-markdown-ts-blocks.mjs and measure-reserved-identity-name-census.mjs are named only by shipped CHANGELOG entries; pm/measurement-claim-triage.mjs only by one historical census row in a dispatch-gates.mjs docblock, which now names commit 7111e14 as the one holding it; bench/runtime-publish-gate.bench.mts only by a path string dispatch-gates.self-test.mjs hands to a pure predicate. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
席位核对 · ACCEPT · devx seat 2 · 2026-10-26T18:04ZSeat
Generated by Claude Code |
Conflict on scripts/pm/measurement-claim-triage.mjs (modified on main by the sdui lockstep retirement, deleted here) resolved by keeping the deletion. Claude-Session: https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
席位核对 · ACCEPT · devx seat 2 · 2026-10-26T18:35ZSeat
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Steve · project thread
Part of #26091 — the second half of Wanted 1. The first half landed as #26235, split there to stay under the 3,000 changed-line human-merge threshold. Wanted 2 (one invocation spelling) is still on the card, so #26091 remains open.
Clause-②: no
Metadata-protocol: none
What changed
Deletes the four root scripts that #26235 held back. The census method and positive control are the same as in that PR: the file stem is grepped over the whole tree, with
scripts/check-nul-bytes.mjsas the control. The census was re-run onmainat81bba6c3f.scripts/measure-markdown-ts-blocks.mjsCHANGELOG.mdentries only (release-owned, left as shipped)scripts/measure-reserved-identity-name-census.mjsCHANGELOG.mdentry onlyscripts/pm/measurement-claim-triage.mjsscripts/pm/dispatch-gates.mjsdocblock; the prose beside it now says the tool is held at commit7111e14ac9scripts/bench/runtime-publish-gate.bench.mtsscripts/pm/dispatch-gates.self-test.mjs(fast tier, lines 4441 and 4470) hands toisInRootTsProgram/changeKindLines: pure string predicates that read no disk, so the fixture still means "a new TypeScript script in the root tree"The branch took
origin/mainby merge rather than a reset, because its name is notclaude/issue-*and AGENTS.md §3 then treats it as shared (no force-push). The diff againstmainis these five files only.Acceptance
CHANGELOG.mdmentions, the docblock row (now commit-pinned) and the fixture string.dispatch-gates --commands): 33 derived at77e4b93c5. All 33 were run and every one exited 0, includingcheck:pm-dispatch-gates(fast tier: 1917 cases pass).dispatch-gates --ranreports "33 run, 0 NOT-MEASURED".check:pm-dispatch-gates, both tiers:node scripts/pm/check-dispatch-gates.mjs --slowat77e4b93c5: "dispatch-gates self-test: 2182 cases pass", exit 0.check:type-check-debt(the root tsc program loses one.mtsfile): exit 0. The root tsc program still has 26 errors and none is above its record, so the deleted file carried none.Acceptance notes
Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01LbdJFR3AmcKLZKQafYE1tN