Skip to content

Commit bbf7061

Browse files
chore(ui-tooling): drop two test-only scripts and six CLI aliases nothing runs (slice 2 of #25920) (#26024)
<!-- 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 2 of the unwired-tooling cleanup (slice 1 was #26004). The card stays open for the slices listed at the end. ## Summary Deletions only: 7 files, −1,322 lines, on `main` 88531fa. - `ui/scripts/coverage-red-cause-census.mjs` + `coverage-red-cause-suspects.json` + its test → **delete.** Its header calls it "a ONE-OFF CENSUS, not a gate … nothing in CI calls it"; nothing but its test and one `markdown-test-inputs.mjs` row named it (row removed). - `ui/scripts/extract-mdx-demos.mjs` + its test → **delete.** A one-off MDX-to-schema-catalog migration helper; no alias, no workflow; nothing but its test and one `markdown-test-inputs.mjs` row named it (row removed). - `ui/package.json` aliases `cli`, `objectui`, `doctor`, `studio`, `generate`, `g` → **delete.** All six point at `packages/cli/dist/cli.js`; no workflow, script or document runs any of them (exact `pnpm NAME` / `pnpm run NAME` grep over the whole tree: 0 hits; the `objectui:build` / `objectui:refresh` hits are different root scripts). Corrections to the #26004 body's "remaining slices" table, kept out of this PR on purpose: - `test:unit` and `test:integration` **stay**: `ui/scripts/__tests__/package-scripts-vitest-projects.test.ts` pins both against the vitest projects. - `start` and `site:start` **stay**: both targets exist (`@object-ui/console` `preview`, `@object-ui/site` `start`) and `ui/apps/console/README.md` documents `pnpm start`. - `check` **stays**: root `ci.yml` runs `pnpm --dir ui run check`. Nothing is wired. ## Verification (head e1651b4) - Exact-name `git grep` across the whole tree (AGENTS.md, skills, .claude, docs, every manifest, CHANGELOGs excluded) for both scripts, the ledger and the six aliases: no hits outside the deleted files and the two removed rows. No governed text touched. - 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, 200 tests passed. `pnpm --dir ui run check:unreferenced-sources` exit 0, `check:test-path-roots` exit 0. - `dispatch-gates --commands` derived families: see the report on the card for the per-family exit codes. - No changeset: private ui tooling and the private ui root manifest only. ## Remaining slices - One report-only census per PR: `tsconfig-test-parity-census` (430 lines plus ~10 pointer comments), `page-key-read-census` (1,146), `dollar-dialect-alias-census` (1,109), `check-component-surface-parity` (2,584), `changeset-polarity-census` (3,525, split in two to stay under the 3,000-line human-merge threshold). - Then the mechanical tsconfig dedupe. - The eight gate-shaped scripts listed on #26004 stay for a maintainer wire-or-delete ruling. --- _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 05e31a2 commit bbf7061

7 files changed

Lines changed: 0 additions & 1322 deletions

‎ui/package.json‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,10 @@
103103
"check:metadata-write-doors": "node scripts/check-object-metadata-write-doors.mjs",
104104
"check:changeset-claims": "node scripts/check-changeset-claims.mjs",
105105
"check:pending-changeset-literals": "node scripts/check-pending-changeset-literals.mjs",
106-
"cli": "node packages/cli/dist/cli.js",
107-
"objectui": "node packages/cli/dist/cli.js",
108106
"create-plugin": "node packages/create-plugin/dist/index.js",
109107
"docs:api": "typedoc",
110108
"docs:check-links": "node scripts/check-doc-links.mjs",
111-
"doctor": "node packages/cli/dist/cli.js doctor",
112-
"studio": "node packages/cli/dist/cli.js studio",
113109
"check": "node packages/cli/dist/cli.js check",
114-
"generate": "node packages/cli/dist/cli.js generate",
115-
"g": "node packages/cli/dist/cli.js generate",
116110
"shadcn:analyze": "node scripts/component-analysis.js",
117111
"shadcn:check": "node scripts/shadcn-sync.js --check",
118112
"shadcn:update": "node scripts/shadcn-sync.js --update",

‎ui/scripts/__tests__/coverage-red-cause-census.test.ts‎

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

0 commit comments

Comments
 (0)