# Recipe — job #646 (explore, lane formalize) Everything below runs from a working directory holding the uploaded files. `` is `/projects/twin-primes` (never a hostname: this recipe outlives the host). All requests carry `Authorization: Bearer $SAH_TOKEN`, `X-Model: deepseek-v4.1-flash`, `User-Agent: buffy-agent (freebuff)`; the scripts set those themselves from `SAH_TOKEN` and print no timing of their own, so their stdout reproduces byte for byte. **Read this first.** Every document fetch here uses `?raw=1`, and that is not a stylistic choice: on the bare URL the same document can come back as the site's rendered HTML page instead of the file, and then a byte-level check is checking escaped text. `edgeprobe.mjs` (step 4) demonstrates it live. If you fetch a served document for any byte-level purpose, append `?raw=1` and compare the response's `X-Content-SHA256` to the bytes you hashed. ## 0. The parser (the record's own, unmodified) ``` mkdir -p qc curl -sS -H "Authorization: Bearer $SAH_TOKEN" -H 'Accept: text/plain' \ '/docs/research/qc/tailfmt.js?raw=1' -o qc/tailfmt.js sha256sum qc/tailfmt.js ``` Expected: `ad688e4769b535c0b5cc27c526c1df7c091e9cb9ad4f4fc8beca975b5d6578b7`. The census script prints this hash as its second line, so a reviewer can see immediately whether they are running against the parser the census was taken with. (Static, nothing executed.) ## 1. The census — the two regimes and the two static verdicts ``` node rawcheck.mjs > rawcheck.out # ~90 s: 369 HTTP GETs, 368 scripts + the index sha256sum rawcheck.out ``` - `rawcheck.mjs` sha256 `74f497e05a4a13d6e3262a2cc63fb8db3d22983e0cb418b35bf0ee910408aaf7` - `rawcheck.out` sha256 `dca1c4eb6db11ec69bdc15b5cc1d7ee0d21cbd24c248befab57596eee4d4b987`, 455 lines, exit 0. Expected, in order: `parser: … ad688e47…`; `scripts listed 368; fetched 368; served as plain text 368/368`; the corpus digest line `680d11cc29ad721354e865c8d2e3ebdd62d0556a02197cdfd7b747a24861eacb`; `bound … 354`, `code side ok 352/354; out side ok 354/354`, `recorded artifact changes under normalize … 354/354`, `duration-bearing lines … 3005`, `bound artifacts with a timing print in the source: 163`, `restamped: 11; legacy fingerprint shape: 195`; `unbound … 14`, `printing a timing or a rate to stdout: 8`, `of those, with an explicit clock read …: 3`; the cross-tab with exactly `out ok, code STALE 2` and the other three rows as printed; the 15-file re-test with `ok ok` on 13 of them and `STALE` on two; the unbound list statement by statement; the two failures with the sibling group `59 / 57 ok / 2 STALE`; then the 368 lines `sha256 name`. **If the corpus moved** (documents are revised in place), the digest line differs and the last section tells you which files moved. Compare the cross-tab rows and the boundary facts rather than requiring byte-identical output. ## 2. The two code-side failures are not a revision artifact ``` node twostale.mjs > twostale.out # ~5 s sha256sum twostale.out ``` - `twostale.mjs` sha256 `dac94f0fd3eaf253c70e950f9f0746e4947c22f1f2bc758c2a46ea8ba8ebf149` - `twostale.out` sha256 `d07503715e73ee474ac64d2dc74b69da3633ee28210eb5344edab454f75dc2fe`, 12 lines, exit 0. Expected: for each of `attack-prior-art-last-ground.js` and `natal5-variance.js`, `identical true` between the served file and its mirror, `head(current)` equal to `head(mirror)` and both unequal to the recorded `code-sha256`, out side `ok` on both. (This falsifies "the served file is a swarm edition whose head was replaced": `?original=1` returns the mirror and the two are byte-identical.) ## 3. The sibling group (why the two failures mean something) Already inside `rawcheck.out`: `2026-08-18 legacy-shape embeds: 59; code side ok 57; STALE 2`. If the embedder of that date had used a different head rule, this would read `2` and the finding would be an instrument artifact; at `57` the head rule is consistent and the two are the exceptions. ## 4. The trap (live, volatile — do not hash) ``` node edgeprobe.mjs 60 > edgeprobe.out # ~60 s, prints one line per anomalous file only ``` Expected: the mechanism section ends with three request shapes for `attack-09-chen-theta.js`, each returning `text/html`, `html=true`, `cf=HIT`, `bytes=6901`, `header-sha=fb0c5dddae`, and the last line giving the raw file's sha256 as `fb0c5dddae` — i.e. the header names the file while the body is the page. On that page the record's gate reports `code STALE`; on the raw bytes, `code ok` and `out ok`. **This output is not reproducible and must not be hashed.** `cf-cache-status`, `age` and how many of the 60 sampled URLs are currently trapped all move with the edge's cache state: my first sweep had 12 of 368 scripts served as the page, a 60-file sample minutes later had 0, and the one URL above is still trapped for every `Accept` value including `text/plain`. Check the relation, not the sample. The deterministic part of the same finding is step 1: with raw bytes, 354/354 pass the out side. ## 5. The wrong pass, for the record (optional, volatile) `volembeds.mjs`, `codeside.mjs`, `pre0820.mjs`, `variants.mjs` are the three instruments whose bare URL fetches produced the 15 false positives reported at the top of the report, plus the normalizer matrix that tested whether an older scrubber explained them. Their outputs depend on what the edge serves, so they are evidence of how the error arose, not verification of a claim. `pre0820.out` (`/` the `variants.mjs` matrix) shows the second-order point: under no normalizer variant — served, each rule removed, the blunt `min` rule, or the identity — does the recorded `out-sha256` reproduce for a file fetched as the page, which is what made the false positive look like a corpus defect until the fetch path was questioned. ## Budget Steps 0–3: about 100 s wall, one core, no disk beyond the outputs. Step 4: about 60 s. Peak memory under 200 MB; nothing is written outside the working directory.