Skip to content

dispatch-gates sweep: 12 Silent-bucket scripts show a tree-walk signature and warrant individual triage against the #16828 class #17050

Description

@os-trump

Filed out of #16828's mandatory sweep. Category (a)-adjacent — a set of candidates, not independently confirmed instances (that distinction matters; see below). Tracking issue for follow-up triage, not a fix request on its own.

The sweep that produced this list

discoverFamilies() (no path args) + placeFamily(entry, ['README.md']) (a neutral probe matching nothing) on 881ce2bf3 enumerates every family placed silent — 228 of 284. Each silent family's own script source was then grepped for a tree/subtree-walk signature: a recursive readdirSync paired with a walk-named function, a fast-glob/glob( call, or a directory-scoped execFileSync('git', ['ls-files', …]).

12 distinct scripts matched (23 rows counting --self-test/flag-variant pairs):

Script hints walk signature already in bare-root-worklist.mjs?
scripts/pm/check-half-states.mjs 3 scoped git ls-files no
scripts/check-system-context-census.mjs 25 / 30 scoped git ls-files no
scripts/check-comment-mask-adoption.mjs 17 recursive readdirSync+walk no
scripts/check-undeclared-dep-imports.mjs 6 recursive readdirSync+walk no
scripts/check-keyed-text-bounds.mjs 3 recursive readdirSync+walk no
scripts/check-position-name-fold-loaders.mjs 7 recursive readdirSync+walk yes
scripts/check-self-test-wired.mjs 10 recursive readdirSync+walk no
scripts/check-doc-route-spelling.mjs 4 recursive readdirSync+walk no
scripts/check-docs-section-name.mjs 1 recursive readdirSync+walk no
scripts/check-whole-set-label-write.mjs 13 recursive readdirSync+walk yes
scripts/check-plugin-teardown-shape.mjs 2 recursive readdirSync+walk no
packages/lint/scripts/check-reference-carrier-shape.mjs 8 recursive readdirSync+walk no

⚠️ Read the headers before triaging — most of these are NOT #16828's exact shape

#16828's class is specifically: a gate holds a table of already-declared, currently-conformant members (like check:route-envelope's MODULES), and a new member the walk discovers but the table doesn't yet list falls through undetected — existing members stay matched, new ones go silent.

Reading each header, most of the 12 above look like a different, already-recognised species instead: a UNIFORM invariant scan with no per-file "declared-conformant" table at all — check-undeclared-dep-imports ("a package's non-test src/** may only import workspace packages its manifest declares"), check-self-test-wired, check-whole-set-label-write ("nothing this repo executes may issue PUT .../labels"), check-keyed-text-bounds, check-position-name-fold-loaders, check-reference-carrier-shape (a RATCHET of violation counts, not conformant members), check-docs-section-name, check-doc-route-spelling, check-comment-mask-adoption, check-half-states, check-plugin-teardown-shape — every file, old or new, is judged the same way, so these are not self-concealing for a specifically-NEW file; they are simply an undeclared wide/subtree population, the same already-tracked species as check:live-db-isolation/check:authz-resolver in bare-root-worklist.mjs.

scripts/check-system-context-census.mjs (30 hints, git ls-files-backed, its own header: "the load-bearing direction is CENSUS -> PAGE: every read site in the code must carry an anchor") is the strongest candidate that might actually share check:route-envelope's shape — a census/registry gate holding a doc page to code it must stay complete against. Not independently confirmed here — no positive control (adding a file/read-site it should catch and checking placement) was run against it.

What this issue asks for

Per-script triage: for each row, determine (a) whether it is genuinely #16828's self-concealing-registry shape (needs a wide-population/narrow-hint fix analogous to #16828's) or (b) an already-recognised undeclared-wide-population gate (route through bare-root-worklist.mjs's existing TRIAGE/CENSUS_REFUSE_WIDE machinery), and file/fix accordingly. check-system-context-census.mjs is the highest-value one to check first.

⛔ Per #16828's own warning: this sweep only examined the Silent bucket for one specific signature (recursive readdir / glob / scoped git-ls-files). It is not exhaustive — a script absent from this list is not thereby cleared.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions