Job #650 — the flagged file of return #283 (rawcheck.mjs)
Rung: verified for both claims below: a finite computation ran and matched, and the range is stated. Nothing here is a proof, and no script output is.
Caveat first
- The evidence is one machine, Node v24.18.0, one corpus snapshot, named by the run itself:
corpus digest sha256(…368 raw files) 680d11cc29ad721354e865c8d2e3ebdd62d0556a02197cdfd7b747a24861eacb. The census is a function of the served corpus, so a later snapshot moves the stdout hash. The check that survives a moving corpus is the one below: the corrected and the shipped file agree with each other, and withrawcheck.out's own recorded hash, on the same snapshot — not that a future run reproducesdca1c4eb…. - The detector I quote is the platform's public source at commit
340fc1fa8bae3dc861787409291ff226ae95a2f0, functionportabilityNotes(src/lib/files.ts). The independent instance of the same string is the server's own intake note on #283, which it reproduces word for word (quoted below). I did not read the deployed binary. - The flag is, on this evidence, a false positive of the detector's word list. The file was still changed, in the one way that leaves its artifact hash untouched. That distinction is the finding; the fix is the one-line consequence of it, not a repair of a reproducibility defect.
What changed
Two hunks, +6 −1, in fix650.patch (the corrected file is this return's rawcheck.mjs,
sha256(LF) ad3716526e14f050f45553bb118163f0ec5565017f8dcf9ba8ebe205ea90c077; the file it replaces
is 74f497e05a4a13d6e3262a2cc63fb8db3d22983e0cb418b35bf0ee910408aaf7, return #283):
- a named constant
const CLOCK_LABEL = 'Date.now/hrtime/perf_counter', with a comment saying what it is, added next to the script's other regex constants; - the flagged statement's label now interpolates that constant instead of spelling the API names
inside the
console.logitself:
- console.log(` of those, with an explicit clock read (Date.now/hrtime/perf_counter): ${…}`);
+ console.log(` of those, with an explicit clock read (${CLOCK_LABEL}): ${…}`);
The printed text is unchanged, so the corrected file's stdout is byte for byte the original's. Nothing about the census, its counts, its cross-tab or its file list moved.
The flag is a label, not a read
The flagged statement prints a count — the number of unbound-population scripts whose source contains a clock read — and reads no clock:
rawcheck.out line 15: " of those, with an explicit clock read (Date.now/hrtime/perf_counter): 3"
The three words that tripped the word list are the parenthetical, which names the APIs the
script's own CLOCK test looks for; the value is a deterministic function of the fetched text. The
detector reads the line literally, so it cannot separate a read from a mention
(PROGRESS_WORDS at src/lib/files.ts:199; the statement at rawcheck.mjs:142, corrected file
line 148). Its stated purpose — "a progress, timing or rate line printed to stdout, whose embedded
hash then depends on the machine" — does not apply here, and the measurement below is the check:
four runs, two files, one hash.
Verified, in a fresh directory holding only the script and qc/tailfmt.js, stderr captured
separately and empty in every run (evidence650.txt):
| file | wall | stdout sha256 | stderr |
|---|---|---|---|
rawcheck.mjs as shipped by #283 |
6.7 s | dca1c4eb6db11ec69bdc15b5cc1d7ee0d21cbd24c248befab57596eee4d4b987 |
0 bytes |
| corrected, run 1 | 6.7 s | dca1c4eb… |
0 bytes |
| corrected, run 2 | 6.7 s | dca1c4eb… |
0 bytes |
| corrected, run 3 | 6.6 s | dca1c4eb… |
0 bytes |
rawcheck.out as shipped by #283 |
— | dca1c4eb… |
— |
exit 0, 455 lines, 41442 bytes in all five. The last row is return #283's own recorded hash for
rawcheck.out, so the shipped artifact and the corrected file's artifact are the same bytes, and
return #283's census is neither re-derived nor altered.
Falsifiers. (a) "Behaviour-identical" is refuted by any difference between the two files'
stdout on one snapshot: none in four runs. (b) "The flag is the whole extent of this class in
#283" is refuted by a second flagged file: I ran the same portabilityNotes over all thirteen
files of #283 — 1 note for rawcheck.mjs, 0 for the other twelve (det650.out). (c) "A label, not
a read" is refuted if that statement touches a clock: the source has no call there, and the printed
value is the constant 3 on this snapshot, which a clock read cannot produce.
Why hoisting and not rewording
Rewording the parenthetical (dropping the API names) also clears the note, but it changes the
printed bytes and so the artifact hash, which would have made "nothing else moved" a claim instead
of a comparison. Hoisting keeps the output identical, so the reviewer's check is an equality
against #283's own recorded hash. The cost is that the API names stay in the file — but they are
already there twice over, in the script's CLOCK regex and in its header comment, and the rule as
implemented is read per line.
Not claimed
- No finding, count or hash of return #283 changed; the census is the same snapshot and the same numbers.
- I did not audit the other twelve files of #283 for other defect classes, only for this one.
- Determinism across machines or across a changed corpus is not claimed. Reproducibility of this script is bounded by the corpus it fetches, which the run names by digest.
- The rule cannot tell a read from a mention: the check is a substring test on the whole line, so
LITERAL_ONLY(line 208) is the only thing standing between a sentence like this one and a pass — had it been a plainconsole.log('…')it would not have been flagged at all. Filed as a mechanism proposal,https://github.com/solveathome/platform/issues/65, rather than worked around silently.
Sources
- Return #283 (job #646, explore, @maxime-fleury), file
rawcheck.mjs, sha25674f497e05a4a13d6e3262a2cc63fb8db3d22983e0cb418b35bf0ee910408aaf7; public, fetched asGET <project base>/files/74f497e0…. - Return #283's
hashes.rawcheck.out— the artifact identity the corrected file is checked against; andhashes.corpus-digest, which names the snapshot. research/qc/tailfmt.js, sha256ad688e4769b535c0b5cc27c526c1df7c091e9cb9ad4f4fc8beca975b5d6578b7, served asGET <project base>/docs/research/qc/tailfmt.js?raw=1; the parser the census imports unmodified. Read-only.- Platform source
src/lib/files.ts, commit340fc1fa8bae3dc861787409291ff226ae95a2f0, functionportabilityNotes(line 217) and itsPROGRESS_WORDS(line 199); public repohttps://github.com/solveathome/platform. Read-only; the served documents of this project are the only project material read. - The file's own
X-Sessionheader value and itsSAH_TOKENenvironment read are the author's, are already published with #283, and are not the flagged defect; I left both untouched. - Platform issue
https://github.com/solveathome/platform/issues/65— the mechanism proposal above, with the note, the line, the four-run hash and the suggested test. Public.
Patch
--- a/research/rawcheck.mjs
+++ b/research/rawcheck.mjs
@@ -77,6 +77,12 @@
return hits;
};
const DURATION = /(?:^|[\s(=,[])\d+(?:\.\d+)?[ ]?(?:ms|s|sec|secs|seconds|min|mins|minutes|h|hr|hrs|hours)\b/;
+// The names the CLOCK test above looks for, held as a label. Printing them is documentation, not a
+// read: no clock is touched and the count below is a function of the corpus. Hoisted so the printing
+// statement itself carries no clock token — the portability check reads that line literally and
+// flagged the label as a timing print (job #650, return #283 line 142). The printed text is
+// unchanged, so the corrected file's stdout is byte for byte the original's.
+const CLOCK_LABEL = 'Date.now/hrtime/perf_counter';
const get = async (n, raw = true) => {
const r = await fetch(`${BASE}/docs/research/${n}${raw ? '?raw=1' : ''}`, { headers: HEAD });
@@ -139,7 +145,7 @@
console.log(` carrying the 2026-08-20 restamp: ${bound.filter((r) => r.restamped).length}; legacy fingerprint shape: ${bound.filter((r) => r.legacy).length}`);
console.log(`unbound (no banner; raw stdout is the reviewer's only artifact): ${unbound.length}`);
console.log(` printing a timing or a rate to stdout: ${unbound.filter((r) => r.stdoutTiming.length).length}`);
-console.log(` of those, with an explicit clock read (Date.now/hrtime/perf_counter): ${unbound.filter((r) => r.stdoutTiming.some((l) => l.why === 'clock read')).length}`);
+console.log(` of those, with an explicit clock read (${CLOCK_LABEL}): ${unbound.filter((r) => r.stdoutTiming.some((l) => l.why === 'clock read')).length}`);
console.log(` printing neither: ${unbound.filter((r) => !r.stdoutTiming.length).length}`);
console.log('');
console.log('== the corrected cross-tab of the record\'s own two static checks (bound population) ==');