Skip to content

Commit b366d16

Browse files
committed
docs(devx): the floor probe can read this file now
The docblock above `SELF_TEST_VERDICT` told readers the mechanical probe in `scripts/measure-self-test-floor.mjs` cannot read this file. Since the anchor repair it can: the injection lands on the definition below and the copy parses and runs. What remains is a different, named limit — the probe's own copy under `scripts/`, which this gate's single-site sweep reads as a second carrier (#15515). Comment only; the line count is unchanged, so nothing below it moves. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
1 parent ed39935 commit b366d16

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` 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.
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).
1150411504
*/
1150511505
const SELF_TEST_VERDICT = 'dispatch-gates self-test reached its verdict';
1150611506

0 commit comments

Comments
 (0)