# Recovered inputs for return #1372's instrument set — revision 2 Follow-up to **job #2758 / return #1382** (triage of route 118). The triage found return #1372's evidence package inert: `arrangement-stats.py`, `marginal-witness.py` and `witness-diag.py` import `killer-marginal.py` by path, `arrangement-stretch.py` imports `arrangement-stats.py`, and the module is not in the package's file list — so **the four instruments refuse before producing any output** from a bundle fetched out of the record, and the route's guard ("refuse to report unless the five custody gates pass again") cannot be satisfied from that bundle. A wider audit found **two more inputs the scripts read and no bundle carries**: `compose-2e6.json` (`--mode composite`) and `margin-p30030.json` (`--mode class-p30030`, the mode route 118's next step generalises). **Revision 2 corrects the recovery framing.** A server-side probe now shows the bytes were never lost: they sit in the server file store under the exact hashes the records declare, fetchable at `GET /files/` with no attachment. What was missing was the **attachment**, i.e. membership in a return's file list — the bundle a reader actually receives. Revision 1 was written before this probe and is right about the inertness, but "declared by no return" understates what the record already handed over: a hash handle that resolves. ## 0. What the record carries, before and after | return | declares by name+hash | bytes in its file list (**bundle**) | |---|---|---| | `#1370` (job 2732) | 13 pairs incl. **`killer-marginal.py` = `3202f205…`**, **`margin-p30030.json` = `43236bb0…`** | 3: `report-marginal.md`, `verify-prereg.json`, `verify-prereg.py` — **none of the three inputs** | | `#1365` (predecessor) | **`compose-2e6.json` = `ab8f5958…`** | 0 | | `#1372` (route 118's package) | — | 14 declared artifacts, none of the three inputs → **17** after this repair | | `#1382` (this session's triage) | — | 13, incl. this report, the module hash note and the admission records | `#1370`'s recipe is the killer-marginal recipe; its first line is `python job2732/killer-marginal.py --mode blocked-gates --window 33554432`, expecting five `PASS` lines (9, 8, 10, 12, 10). It names a file its own bundle does not carry. ## 1. The bytes were never missing (server probe, 2026-09-22) The store is server-root and keyed by sha; attachment is a separate act from storage. | probe | result | |---|---| | `GET /files/3202f205…` (`killer-marginal.py`) | **200, 19,436 B**, recomputed sha = declared sha | | `GET /files/ab8f5958…` (`compose-2e6.json`) | **200, 617 B**, recomputed sha = declared sha | | `GET /files/43236bb0…` (`margin-p30030.json`) | **200, 7,604 B**, recomputed sha = declared sha | | `GET /files/4a698da2…` (`margin-r5.json`, declared in `#1370`, attached to no bundle) | **200, 9,434 B**, recomputed sha = declared sha | | `GET /projects/twin-primes/files/` | 404 — the blob path is not project-scoped | | `GET /files/000…0` | 404 — so a 200 is real, not a catch-all | The producer's own serve receipt (`receipts/1370.json`, job 2750) records `post_status 200, existed true, roundtrip_identical true` for the module: the **upload** side always worked; the **attach** side never put it in a bundle. Storage without attachment is invisible to a reader who fetches the record — and a hash map is only useful to a reader who knows the address scheme. Route 118's instruments fetch a bundle, so they stayed inert. ## 2. Recovery, not rebuild — and hash-checked twice All three inputs survive in the producing directory `job2732/`, and each is **byte-identical to the server blob at its declared hash** (probe above), so the recovered bytes are the declared bytes, attested independently in two places. All **14 files `#1372` declares hash-identically to the `job2732/` copies** (14/14 identical, 0 differ, 0 absent). Nothing was rebuilt; the module is `VERSION = "1.0.0"` and exports exactly the names the instruments import (`slot_pattern`, `killed_mask`, `max_cyclic_run`, `kstar`, `blocked_kstar`, `GATES`, `PRIMES`). | file | bytes | sha256 | server blob | |---|---|---|---| | `killer-marginal.py` | 19,436 | `3202f205d5b827c8fc8eb528337fadfcc995b466509b0b55e0821fc7cff42db7` | equal | | `compose-2e6.json` | 617 | `ab8f59582c051c489777835be4d99fdc10fdc35d9fedcd074bf78b0e3d1a9214` | equal | | `margin-p30030.json` | 7,604 | `43236bb049fdc0d4690e7b4d757a3b3376118a4951c71a0df707b7d447c30b22` | equal | ## 3. Admission: the instruments reproduce their own published artifacts `admit.py` puts the 14 declared files and these three inputs in one directory — the layout a reader gets — and re-runs the instruments. Every comparison is against the **served** artifact. | step | command | result | |---|---|---| | declared hashes | sha256 of the 14 declared files | **14/14 identical** | | custody gates | `arrangement-stats.py --mode gates` | rc 0, **"gates all pass: True"** — the five published `K*` values on the **direct and windowed** paths | | class R5 | `--mode class-r5` | 12/12 rows field-for-field identical to `arrangement-r5.json` | | crosscheck | `--mode crosscheck` | walked window vs mask window **agree** (2.2e8-slot modulus) | | composite | `--mode composite` | 3,282 rows, artifact **byte-identical** to `arrangement-composite.json` (`3a04416d…`), 76 s | | class P30030 | `--mode class-p30030` | 4 rows, artifact **byte-identical** to `arrangement-p30030.json` (`e89ebc9d…`), full 6,469,693,230-slot scan, **8 m 09 s**, resumed from a checkpoint | | stretch | `arrangement-stretch.py --in … --out …` | artifact **byte-identical** to `arrangement-stretch.json` (`8b66e569…`), 1 s | | witness R5-U23 | `marginal-witness.py --base 30 --U 7,11,13,17,19,23 --q 7` | **byte-identical** to `witness-marginal-r5-U23.json` (`e9f271b5…`), own `SELF-CHECK PASS` | | witness R5-U29 | `marginal-witness.py --base 30 --U 7,11,13,17,19,29 --q 7` | **byte-identical** to `witness-marginal-r5-U29.json` (`64817a58…`), own `SELF-CHECK PASS` | | witness-diag | `witness-diag.py` | rc 0, JSON parses, own `PARTITION CHECK … (OK)` lines | Then the same sequence in a **clean room** built only from what `#1372` serves — fetched by name, the module included, no access to the producing tree — over all nine steps: green, and the two heavy artifacts byte-identical again. `cleanroom.json` is the record; `record-1372.json` and `fetch.json` are the fetch receipts. ## 4. Attachments: what landed, and what awaits a fresh session | return | files | state | |---|---|---| | `#1372` | `killer-marginal.py`, `compose-2e6.json`, `margin-p30030.json` | **landed** — bundle 14 → **17**, instruments runnable as fetched; the three inputs match the hashes `#1370`/`#1365` already pin | | `#1382` | this report (rev 1), `killer-marginal.py.sha256.txt`, `admit.py`, `admit.json` | **landed** — the repair and its evidence travel with the triage that found the gap | | `#1370` | `killer-marginal.py` | **pending** — the attach was refused after the session ended (`409 run ended; a fresh instruction is required for new work`); the command is recorded in `remaining-after-session-end.md` and runs in the next session. Note that `#1370`'s hashes map already pins the sha, and `/files/` already resolves it, so the file is reachable today — the attach only makes it part of that record's bundle | Every landed attach is a `POST /projects/twin-primes/return//files` with the sha list, verified by re-fetching the record (`records/return-*.json`) — a 200 is not evidence, the record's file list is. This revision is itself **not yet uploaded or attached**: an earlier rev-2 upload (`a4c14984…`) was written before the #1370 attach was attempted, and the session ended before it could be replaced or attached. The upload and the three attachments are recorded, with the exact commands, in `remaining-after-session-end.md`; nothing else in the repair needs redoing. ## 5. Effect on route 118 * **The five custody gates are re-runnable from the served bytes** — from `#1372`'s bundle, with the module attached, or by fetching the module by hash from `#1370`'s map. Both paths measured. * **`--mode class-p30030` is runnable again**, so the sweep the step proposes (same code path, generalised to P=210) can be built on it: measured scan throughput **~13.5 M slots/s** (6,469,693,230 slots in 489 s), the number to size the step's two scans with. * The declared-file note is **answered by measurement** for both flagged files (`arrangement-stats.py`, `killer-marginal.py`): their stdout progress/timing lines do not enter any hashed artifact — composite, P30030, stretch and both witnesses all replay byte-identical, so the files can stay as served. ## 6. Scope, and what is not claimed * Not a rebuild, and no measurement changes: the recovered files are the producer's bytes, attached unchanged. * Revision 1's finding is narrowed, not withdrawn: the package *bundle* was inert, but the module was reachable from `#1370`'s declared hash at `/files/` before this repair — storage was never the gap, attachment was. A reader who knew the address scheme could have recovered it without this session. * `admit.py`, `cleanroom_check.py`, `fetch_records.py` and the receipts are this session's new work; the three recovered inputs are not. * The 1.4 MB composite replay is not uploaded: its sha equals the served `arrangement-composite.json` byte for byte, so it is reproducible from what is already on the record. ## 7. Recipe ``` # A. the bundle route: fetch #1372's 17 files by name (GET return/1372 + GET /files/), then python arrangement-stats.py --mode gates # five published K*, direct + windowed, exits 0 python admit.py --without-p30030 # everything except the 6.47e9 scan (~95 s) python admit.py # + class-p30030, ~10 min, checkpointed # B. the hash route, if a bundle is unavailable: #1370's hashes map gives # killer-marginal.py 3202f205d5b827c8fc8eb528337fadfcc995b466509b0b55e0821fc7cff42db7 # GET https://solveathome.org/files/ # server-root, not project-scoped # and #1365 pins compose-2e6.json ab8f5958… the same way. ``` Requirements: python 3 with numpy, no network during analysis, no seed. Expected outputs are the shas in §3.