Skip to content

Commit b63fdf7

Browse files
chore(ui-tooling): drop the page-key read census its card closed as not planned (slice 3 of #25920) (#26057)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9D7sHdFfY8QjwRsxKSLngGfv)_ Part of #25920 — slice 3 of the unwired-tooling cleanup (slices 1 and 2: #26004, #26024). The card stays open. ## Summary Deletions only: 3 files, −1,147 lines, on `main` bbf7061. - `ui/scripts/page-key-read-census.mjs` + its test + the `census:page-key-reads` alias → **delete.** It was the instrument a renderer-vs-`PageSchema` page-key gate would have read; that card (objectui#9438) was closed as not planned on 2026-09-22. No gate or workflow reads it; nothing but its own test and the alias names it. ## Scope changes found while preparing this slice Two scripts the #26004 table listed as delete candidates are **not** dead and move to the maintainer list instead: - `tsconfig-test-parity-census.mjs` — five test comments in `ui/packages/plugin-designer` and one in `ui/packages/fields/tsconfig.test.json` deliberately tell readers to read the `lib` level off `pnpm census:tsconfig-test-parity` instead of restating it (objectui#9513). A live hand-run instrument. - `dollar-dialect-alias-census.mjs` — deleting its test turns two cells of `ui/scripts/__tests__/markdown-test-inputs.test.ts` red ("EVERY tracked markdown document is an input", objectui#9096): its `trackedFiles()` walk is the read that makes that class total, so removing it would change which PRs the CI markdown exclusions let skip the test shards. That is a CI behaviour change, not cleanup. - Likewise `check-component-surface-parity.mjs`: `ui/packages/types/src/navigation.ts` and `ui/packages/plugin-map/src/index.tsx` point readers at `pnpm check:component-surface-parity`. Remaining delete work: `changeset-polarity-census` (its card objectui#9727 closed after the rebuild), split in two PRs to stay under the 3,000-line threshold. Then the mechanical tsconfig dedupe. ## Verification (head 714e17e) - Exact-name `git grep` across the whole tree for the script, its test and the alias: no hits outside the deleted files. - ui suites that read the scripts inventory and manifest (markdown-test-inputs, package-scripts-vitest-projects, check-unreferenced-sources, ci-cd-pipeline-doc, vitest-invocation-guard): 5 files, 192 tests passed. `check:unreferenced-sources` and `check:test-path-roots` exit 0. - `dispatch-gates --commands` families: per-family exit codes in the report on the card. - No changeset: private ui tooling and the private ui root manifest only. --- _Generated by [Claude Code](https://claude.ai/code/session_012eXtKYmXEnCc1GExP4go12)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012eXtKYmXEnCc1GExP4go12 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 88f22e0 commit b63fdf7

3 files changed

Lines changed: 0 additions & 1147 deletions

File tree

‎ui/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"census:body-dialect-producers": "node scripts/body-dialect-producer-scan.mjs",
5151
"census:tsconfig-test-parity": "node scripts/tsconfig-test-parity-census.mjs",
5252
"census:cross-file-line-citations": "node scripts/cross-file-line-citation-census.mjs",
53-
"census:page-key-reads": "node scripts/page-key-read-census.mjs",
5453
"census:dollar-dialect-aliases": "node scripts/dollar-dialect-alias-census.mjs",
5554
"census:changeset-polarity": "node scripts/changeset-polarity-census.mjs",
5655
"check:new-line-citations": "node scripts/check-new-cross-file-line-citations.mjs",

‎ui/scripts/__tests__/page-key-read-census.test.ts‎

Lines changed: 0 additions & 342 deletions
This file was deleted.

0 commit comments

Comments
 (0)