Skip to content

Commit e6e354b

Browse files
committed
fix(devx): an artifact-roster row either judges the diff or says plainly that it cannot
The `--commands` roster block tells its reader to run its rows, and for some of them running them yields a green that cannot fail for anything in the diff: the invocation resolves to the checker's own `--self-test` and nothing else. Those rows sat in the same list, in the same syntax, as rows whose green does grade the diff. The two named rows are self-test-only ON PURPOSE -- the half of each gate that judges a pull request needs the event payload and runs in its own workflow -- so the repair is to say so, not to change the script definitions. Rows are now split by a derived predicate, with the marker on the row rather than only in a caption, because consumers of this block grep rows. The discriminator is resolved one hop through the manifest that DEFINES the name: reading the printed command alone selects five rows and misses both rows this is about, since a pnpm-spelled row carries the flag in its manifest entry. An invocation this tool cannot resolve is named unclassified rather than defaulted into either side. Rider: the residue printer now names the refusal that actually fired for a bare separator-less literal, by ordering that branch ahead of the extensionless-target branch, with the refusal itself given one owner that `hintCovers` calls. Reachability re-measured: 236 dead hints, 0 reaching the target branch. Rider: one docblock clause in check-cross-package-test-inputs completes the single-segment refusal's statement of the rule with its one exception. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW8
1 parent e611820 commit e6e354b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/pm/dispatch-gates.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3899,6 +3899,7 @@ const COMPOUND_ANCHOR_LEDGER = [
38993899
['scripts/pm/dispatch-gates.mjs', 'selfTestOnlyCallables', true],
39003900
['scripts/pm/dispatch-gates.mjs', 'maskSelfTests', true],
39013901
['scripts/pm/dispatch-gates.mjs', 'selfTestCaseLines', true],
3902+
['scripts/pm/dispatch-gates.mjs', 'selfTestOnlyInvocation', true],
39023903
];
39033904

39043905
/**

0 commit comments

Comments
 (0)