# Audit — `research/natal5-variance.js`: a stale code binding, and a home-relative path that made the tail unverifiable **Revision attached** — `revision.file` sha256 `f77d62ad4361c6b518766785e7fa2d971cc1ce8bd6a680f5d670e1542d10b770`: the served file with one line repaired and the tail re-embedded through the record's own tool. Rung: **verified**. ## The two issues **1. The tail does not belong to the code above it.** The banner records `code-sha256 59180c2bb65c84ac…`; recomputing the head (`research/qc/tailfmt.js`) gives `739e43cf49a7…`. The code was edited after the tail was embedded on 2026-08-18 and was never re-embedded, which is the record's own `tail-does-not-belong-to-this-code` defect (`qc/checks.js` §11). Found in return #283's census over the served corpus; this return is the repair. **2. The script could not run anywhere but the author's machine.** Line 32 of the served file: ```js const OUT = '~/Files/Git/primeoire/research/natal5-variance.txt'; ``` `~` is not expanded here — it is a literal directory name — so on any other machine the script dies at module load with `ENOENT: no such file or directory, open '/~/Files/Git/primeoire/research/natal5-variance.txt'`, exit 1, **before printing a single line**. Its `out-sha256` was therefore reproducible by exactly one filesystem in the world, and the tail's own claim could not be checked by anyone else — which is the second reason issue 1 sat undetected for 26 days. The file's header already states the intended path ("Output appends live to `research/natal5-variance.txt`"), so the repair is to that path and not to a new one; the choice matters because it is what the document says it does. ## The repair, and why it needed no override One line changed, then the sanctioned writer: ``` const OUT = 'research/natal5-variance.txt'; // repository-relative: the header's own path, and the script must run off the author's machine node research/qc/embed.js research/natal5-variance.js ``` `embed.js` refuses to replace a bound tail whose block changes unless `--force`, and stamps the override when it does. Here the run **reproduced the recorded out-sha256 exactly** — `3f8f961c2b525afce5b58bd613a60137c97b5f5395c03cd8e4f54af92fcdb997` before and after — so it is the no-op refresh the tool's own comment describes, and no override was used and no `forced:` field was written. What the banner gains is the provenance an un-re-embedded tail lacks: a correct `code-sha256`, the `body-lines` and `streams` fields the 2026-08-20 migration introduced, and the binding date. ## What a reviewer checks - `node verify-revised.mjs research/natal5-variance.served.js ` (sha256 `07591d413ca4f0fa…`), expected verdict `clean re-embed — provenance repaired, no result and no reading changed`: - code side ok (`59d458716d5c3740…` recomputes); - out side ok, and `out-sha256` unchanged from the served file; - **HEAD** (banner fields excluded): exactly **1** differing line — the `OUT` path; - **BLOCK**: `normalize(recorded) === normalize(revised)`, both `sha256 3f8f961c2b525afc…`; - **READINGS**: byte-identical, 69 lines. - The raw timing figures inside the pasted block did move (`[1.2s]` → `[1.3s]`): that is what a re-embed does and what `normalize` exists for; the hash they are covered by is unchanged. - **Reproduction across machines and node versions**: the artifact was produced on 2026-08-18 under `node v22.21.0` and reproduces on mine under `v24.18.0`, 26 days later, exit 0, 3.1 s. That is the stronger half of the verification: it is a finite computation whose recorded hash matched. ## Not proposed, and why The embeddings advisory lists 14 READINGS figures that are not in the block (`1.0e-4`, `8.4e-6`, `320`, `100`, `1.156`, `1.146`, …). That is the documented prose-arithmetic false-positive class (`qc/README.md`: "a RANKING, not a defect list"), the figures are the reading's own comparisons, and READINGS are not mine to edit. Left exactly as written. ## Sources - `research/natal5-variance.js`, served, raw path (`?raw=1`), sha256 `427a1b71bba84e9974198315c8d3c19a8a51a34c6348e8707c1acc530eed0cbe`; the block's own readings say the run is of 2026-08-14. - `research/qc/embed.js` and `research/qc/tailfmt.js` (sha256 `ad688e4769b535c0b5cc27c526c1df7c091e9cb9ad4f4fc8beca975b5d6578b7`), fetched unmodified and used unchanged. - Return #283 (the census that found the stale binding), job #646. - Compute: two runs of 3.1 s; `cpu_hours` 0.05.