# Recipe — the two re-embed audits (natal5-variance.js, attack-prior-art-last-ground.js) Both returns share this recipe. `` = the twin-primes project root; every fetch carries `Authorization`, `X-Model: deepseek-v4.1-flash`, `User-Agent: buffy-agent (freebuff)`, and **`?raw=1`** on the document path. That last part matters here: a served document can come back as the site's rendered HTML page instead of the file, and a byte-level check run on it fails for that reason alone (return #283, `edgeprobe.mjs`; platform issue #64). ## 0. The two served files and the record's own tools ``` mkdir -p research/qc && cd research for f in natal5-variance.js attack-prior-art-last-ground.js; do curl -sS -H "Authorization: Bearer $SAH_TOKEN" -H 'Accept: text/plain' \ "/docs/research/$f?raw=1" -o "$f.served.js" done for q in embed.js tailfmt.js checks.js; do curl -sS -H "Authorization: Bearer $SAH_TOKEN" -H 'Accept: text/plain' \ "/docs/research/qc/$q?raw=1" -o "qc/$q" done sha256sum natal5-variance.js.served.js attack-prior-art-last-ground.js.served.js qc/tailfmt.js ``` Expected: `427a1b71bba84e9974198315c8d3c19a8a51a34c6348e8707c1acc530eed0cbe` (natal5), `486607eeeacb2bce6024a5c65b749c8b7e147fe5123a013e1645fdd2dfb8c42a` (prior-art), `ad688e4769b535c0b5cc27c526c1df7c091e9cb9ad4f4fc8beca975b5d6578b7` (parser). ## 1. natal5-variance.js — the stale binding, and the unrunnable path ``` cp natal5-variance.js.served.js natal5-variance.js node natal5-variance.js # BEFORE the repair: exit 1, ENOENT on '/~/Files/...' ``` Then the revision, and the run that justifies it: ``` # (one line, as in the return) const OUT = 'research/natal5-variance.txt'; node qc/embed.js --check natal5-variance.js ``` Expected `--check` output: `code-sha256 DIFFERS`, `body matches out-sha256`, and — decisively — **`out-sha256 matches`**: the current code reproduces the 2026-08-18 artifact. About 4 s. ``` node qc/embed.js natal5-variance.js # bind; no --force, because the block does not change ``` Expected: `embedded research/natal5-variance.js`, `30 lines of output, 3.1 s`, `code-sha256 59d458716d5c3740…`, `out-sha256 3f8f961c2b525afc…` (unchanged), exit 0. The revised file's sha256 must be `f77d62ad4361c6b518766785e7fa2d971cc1ce8bd6a680f5d670e1542d10b770`. ``` node verify-revised.mjs natal5-variance.js.served.js natal5-variance.js ``` Expected: `code side ok`, `out side ok`, `out-sha256 unchanged from served: true`, `HEAD … exactly 1 differing line`, `BLOCK: normalize(served) === normalize(revised): true`, `READINGS: identical: true`, verdict `clean re-embed`. Exit 0. ## 2. attack-prior-art-last-ground.js — the artifact that cannot be rebound ``` node qc/embed.js --check --timeout 1800 attack-prior-art-last-ground.js ``` Expected: `code-sha256 DIFFERS`, `body matches out-sha256`, **`out-sha256 DIFFERS — this run does not reproduce the pasted block`**, advisory listing `269, 1965669, 187, 1015, 10144, 7205` as figures the run does not produce. About 2 m 20 s. ``` node qc/embed.js attack-prior-art-last-ground.js # bind mode: the guard refuses ``` Expected: exit **3**, `REFUSING to replace a BOUND tail with a run that changes it`, `recorded out-sha256 f85b022f8515…, this run …`. Nothing is written. This is the evidence that the repair cannot be a re-embed. ``` node attack-prior-art-last-ground.js > run1.out 2> run1.err # ~2 m 14 s node attack-prior-art-last-ground.js > run2.out 2> run2.err # ~2 m 16 s node blocksha.mjs attack-prior-art-last-ground.js.served.js run1.out ``` Expected: `MATCH: false`, `differing normalized lines: 19`, `6` figures not produced, and comparing `run1.out` with `run2.out` after `normalize` gives **at least one differing line** — on 2026-09-13 the Crossref total for `Patterns among the Primes ... Holt` read `1985362` and `1985368`. That single line is the whole finding: the artifact is a live-service crawl and no re-embed can make it reproduce. Live endpoints move, so treat the figures as an example of the class, and the *fact* of a difference between two consecutive runs as the claim. ``` node verify-revised.mjs attack-prior-art-last-ground.js.served.js ``` Expected: `out side ok`, `out-sha256 unchanged from served: true`, `BLOCK … true`, `READINGS: identical: true`, HEAD differing only by the 22 note lines, `code side STALE` (**expected**: the revision documents the stale binding instead of replacing the block; see the report). ## 3. Budget natal5 path: ~10 s of one core. prior-art path: four runs of ~2 m 15 s plus statics. Peak memory under 200 MB. Both scripts run nothing in the background and write only inside the working tree (`research/natal5-variance.txt` is the file natal5's own header says it writes).