Repository navigation
chore(pm): delete changeset-deadline-census, a report-only tool nothing calls - #29577
Conversation
…ng calls The census had no caller: no skill, agent or AGENTS.md text names it, no workflow runs it live, and no other script imports it. Its only run was its own --self-test step in lint.yml, so every dispatch touching scripts/** paid for a self-test of an instrument nobody read. The gate census of 2026-09 already rowed it `retire`. Removed: scripts/pm/changeset-deadline-census.mjs (798 lines), the check:pm-changeset-deadline-census script in package.json, and its step in lint.yml. docs/audits keeps its rows as history. Claude-Session: https://claude.ai/code/session_01J8VVAo9KHvhcw37HZexRT4 Co-authored-by: Claude <noreply@anthropic.com>
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head 21ffe74 · 2026-11-02T19:44Z The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier). |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J Contract reviewServed-tier: Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub (REST reads only; nothing written, pushed or commented), fed the card body and comments, the PR body, the net diff against the merge-base, the head's check-runs, contract-review.md and review-checklist.md. The dev report was read as input, not as conclusions; every count below is this review's own measurement. No environment variable value is printed anywhere in this record. ① Derived judgments
② Semver levelNone. No published package, no ③ Boundary flags
④ Design judgmentPer hits file, against the card's scenario (a report-only tool with no reader costs a self-test on every dispatch touching
Must-fix: none. Should-fix: none. Check-runs at record time (2026-11-02T19:57Z): 60 check-runs on 21ffe74, 37 success, 12 skipped, 0 failure, 11 still in progress on the fourth read (Test Core 1/8 and ten Test UI shards: 1, 2, 4, 5, 8, 9, 10, 12, 13, 16 of 16); four reads over twelve minutes went 21 → 31 → 37 → 37 success with no non-success completion at any read. Success: Lint & Repo Gates, Lint · repo & tooling gates (the job that held the removed step), Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · ESLint, Lint · scoped · tooling self-tests, Lint · scoped · slot lookup & corpus, Lint · scoped · query-options erasure, TypeScript Type Check, Type Check · workspace / source gates / debt ledger / consumer gates, Build Core, Build Docs, Build UI Deps, Governed Surface Queue Guard, Lint UI, Type Check UI, Build & E2E UI, Live E2E UI, Test Core (2/8), PR-body guards, Check Changeset, Check PR Size, Dogfood Regression Gate, Plan Test Core shards, Auto Label, Validate Package Dependencies, filter. Skipped by path filter or opt-in: Dogfood Verify CLI, UI Published Artifacts, Temporal Conformance, Schedule gate, 18.x upgrade harness, Packed-tarball smoke. Combined status Implemented-by: VERDICT: PASS Generated by Claude Code |
|
domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J 维护者速读
席位核对 — ACCEPT · domain:skills#1 · head
|
Requested by Irene · project thread
Part of #29471 (family T1 of the census in comment 6586191438). The card stays open: it closes only when the 30-day net change of
scripts/pmis below zero.What changes
Deletes the changeset-deadline census, a report-only tool that nothing calls:
scripts/pm/changeset-deadline-census.mjs(798 lines, the tool and its self-test)check:pm-changeset-deadline-censusscript line inpackage.jsonChangeset-deadline census self-teststep in.github/workflows/lint.yml(the step and its comment block, 24 lines)The diff is −823 / +0, with no other file touched.
docs/audits/gate-census-2026-09.mdkeeps its two rows as history; that audit already rowed this scriptretire.Why
The card's census found no reader for this tool on
origin/main:AGENTS.mdtext names it--self-teststep inlint.ymlOf the seat-signed comments in the 30-day window, the ones that name it are dev reports listing it as a derived gate family ("--self-test exit 0"). No seat ran it for its output. Its self-test was therefore a cost on every dispatch touching
scripts/**and was read by no one.instrument-discipline.mdgives a report-only instrument no in-flight work except deletion.Verification
node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD→ exit 0git grep changeset-deadline-censusleaves only the two history rows indocs/audits/gate-census-2026-09.mdpackage.jsonstill parses as JSON, andlint.ymlstill parses as YAMLdispatch-gates --commandsderived 63 gate commands for this diff, and each was run with its exit code recorded before any pipe. 59 exited 0. 4 exited 3 with PREREQUISITE NOT MET because they read build output and this container has nodist/:check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closureandcheck:sourcemap-no-sources-content. They are NOT MEASURED locally, and CI's Build Core job runs them.check:self-test-wiredandcheck:step-collectorsare among the 59, so the script line and the step leave together.Clause-②: no
Metadata-protocol: none
No changeset: the diff publishes nothing from any released package, so the PR carries
skip-changeset.Landing:
.github/workflows/lint.ymlis a governed Tier H surface. This PR stays a draft until an account inGOVERNED_APPROVERSapproves it.Human Minimum
packages/specholds no runtime logic. (not touched)main, one pull request.skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAo9KHvhcw37HZexRT4
Generated by Claude Code