Skip to content

Commit 08cf96d

Browse files
committed
revert(devx): leave dispatch-gates.mjs to PR #15570; its docblock correction moves to #15553
PR #15570 rewrites the same `SELF_TEST_VERDICT` region (it inserts the `selfTestCaseLines` docblock directly after the sentence this branch edited), and `git merge-tree` reports a conflict between the two, so this PR would go dirty the moment that one lands. It is ahead in the queue and the serial-file rule allows one live PR per hot file, so the hunk is dropped here rather than raced. `scripts/pm/dispatch-gates.mjs` is restored from `origin/main`; its blob is byte-identical to this branch's merge base (f9dbdd6 at cf6b671, at origin/main 0c5e973 and in the tree now), so no content from the newer main comes in with it. Nothing else on this branch changes: the anchor repair, the DECOY fixture and the `ENTRY_BY_HAND` row all live in `scripts/measure-self-test-floor.mjs`. The docblock there still tells readers the mechanical probe cannot read that file, which this branch makes false. That correction is deferred to #15553 rather than dropped. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
1 parent b366d16 commit 08cf96d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/pm/dispatch-gates.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11495,12 +11495,12 @@ export function bannerLines({ identity, paths = [], drift = null }) {
1149511495
* "1288 cases pass" to zero bytes of output and exit 0 — a self-test that never
1149611496
* finished, reported as one that passed.
1149711497
*
11498-
* The mechanical probe in `scripts/measure-self-test-floor.mjs` anchored on the
11499-
* FIRST `function selfTest() {` in raw source until #14963 -- here a docblock
11500-
* sentence, then a FIXTURE STRING -- so its injection landed inside a template
11501-
* literal and produced only a SyntaxError. It anchors on the definition below
11502-
* now, and that copy parses and runs; the entry is still read by hand there, and
11503-
* the row's remaining NOT MEASURED is the probe's own artifact (#15515).
11498+
* The mechanical probe in `scripts/measure-self-test-floor.mjs` cannot read this
11499+
* file (its anchor matches the first `function selfTest() {` in the source, which
11500+
* here is a FIXTURE STRING, so the injection lands inside a template literal and
11501+
* only ever produces a SyntaxError). That is a limit of the instrument, not a
11502+
* property of this file, and it is why the entry is hand-read there. Anchoring an
11503+
* early return on the real definition below measures it in one run.
1150411504
*/
1150511505
const SELF_TEST_VERDICT = 'dispatch-gates self-test reached its verdict';
1150611506

0 commit comments

Comments
 (0)