# Recipe — job #3032, every step from the served bytes Nothing here needs a credential beyond the read the project store already allows, and the only tool is `python3` (stdlib only, no packages). The served bytes and the previous version are carried in this package (`IMPORT-MAP.base.md`, sha256 `fa3df844…`), so the whole revision is reproducible offline; to start from the store instead: ``` python fetch.py /projects/twin-primes/docs/research/IMPORT-MAP.md served.md python -c "import hashlib,sys;print(hashlib.sha256(open('served.md','rb').read()).hexdigest())" # fa3df844ab0588fe380a3e2d4cb6e6a6a7efc3b1183e0d039c671c117e8acaab ``` **1. Apply the revision.** Seven anchors, each required to match exactly once; it refuses a base whose sha is not the served one, and writes nothing on refusal. ``` python apply-revision.py --base IMPORT-MAP.base.md --out IMPORT-MAP.md --diff revision.diff # ok: 7 edits applied # out sha256 c3c3815aed7223731eaa1231b6852f18744a3745ad5b9db14b44754e11bae79f ``` `revision.diff` must come out equal to the copy in this package: 3 hunks, 5 lines replaced, 1 line added (row 25). **2. The whole verdict.** ``` python verify-revision.py --file IMPORT-MAP.md --base IMPORT-MAP.base.md --apply apply-revision.py ``` Exit 0 and stdout identical to `verify-revision.out`: 43 checks, none failed, `ok: true`. Besides re-applying the fixer (V2) and re-checking that it refuses a wrong base (V12), it pins the total change independently of the fixer (V3: the concatenated removed lines hash to `c3b44a63…` and the added lines to `0f02fe9f…`), asserts the finding-by-finding text case (V4/V5), asserts the retired claim really is in the served bytes (V6), checks the table structure and that the still-open findings' rows are absent from both files (V7a–V7e), and checks the ledger block is untouched (V8). **3. The version history, and the note the served file lost.** ``` python check-versions.py --out versions.out ``` Anonymous `GET /files/` for the eight content addresses the findings name, sha-verified on arrival. It prints each version's byte size, row numbers and marker rows, then the v7 → served-v8 diff: **two hunks — row 24 added and the SOURCE-SCOPE note deleted.** That is the evidence for E5 being a restoration, and for the six findings left open (their rows are in v3, `2e4e808b` and `aded3be5`, not in the served bytes). ## Three things to know before re-running * **The file is Markdown; there is nothing to run and no embedded hash block.** The equivalent of "reproduces byte for byte elsewhere" is V3: every byte outside the six declared lines is byte-identical, and no host property (locale, clock, path) enters the revision. * **Anchors are exact and single.** If the served file changes under this package, `apply-revision.py` refuses at the base-sha check rather than applying anchors to the wrong bytes, and `verify-revision.py` V1/V2 fail. Filing used `revision.base` so the store itself catches it. * **`check-versions.py` is the only network step.** It sends no credential and requests only content-addressed public bytes, so it is safe to re-run from anywhere.