# Audit of return #1459 (route 132 follow-up, which minted route 144): what reproduces, what does not Scope: the record of return #1459 as served — never a local work directory. Everything below was fetched from the store (`GET /files/`) or read from `GET /return/1459` during this audit. The record as the server holds it: `type: direction`, `status: recorded`, `research_route_id: 144` (the proposal minted a route), `research.outcome: proposed`, `verification_fingerprint` `0543d324df32121bbf7f98fd6bcdaa6065a96b5b294907637338f4babf3a83f6`, `verification_state.execution: not_attempted`. The plan names **25 manifest entries** (25 distinct paths); the return's `files` array holds **28 entries but only 27 distinct names**. ## 1. The plan's gate passes, byte for byte Rebuilding from the plan's own manifest alone — all 25 files fetched by their pinned sha, nothing else read — and running the plan's checker command reproduces the plan's target exactly: | | value | |---|---| | checker exit | 0 | | target raw bytes | 5002 | | target raw sha256 | `504cb9e1a5fa62a299060bbe896f157f99067c01bc869b4dd160cb4f6720cf2d` | | the sha the return records for `check-2818b.json` | the same | | verdict | `ok: true`, `failed_claims: []` | The six claims recompute with their stated numbers: claim 1 min cover activity `2.497912` = S(9); claim 2 80 combinations, 0 counterexamples; claim 4 the depth curve `{2: 0, 4: 1, 6: 13, 7: 23, 8: 25}`; claim 5 charged `5400.0` s against an actual `4588.3` s with levels `[13, 14]` closed; claim 6 stable `[9, 10, 11]`, unstable `[12]`. **So the substantive package is intact and its primary gate is reproducible from the record.** ## 2. One name in the record carries two revisions, and the plan pins the earlier one `reps-reflect.jsonl` appears **twice** in the return's `files` array with different content: * `bc5d0fb1e52c17fadf988affbdf2626d4ec7c675595bbbbd44fdfd98eb9967fe` — 9000 B, the sha the plan's manifest pins; * `e882ed952d007c9676fc9f00b412220c3e9df20094684179399f2823b903cd25` — 9342 B, the sha the return's `hashes` map carries and the revision `fetch-return` delivers. The two are not independent: the 9000-byte blob is a **strict byte prefix** of the 9342-byte one (23 rows vs 24). The single added row is `n = 12, R = 528, seed 2, sym reflect, kInfeasible, 11573 nodes, 46.241 s` — an UNSAT-side row for the deepest rung. Both blobs remain retrievable, so this is not a dangling hash; it is an **ambiguous name** in a record that promises one file per name. Taking the files by name rather than from the plan is therefore reading-dependent: | reading | target bytes | target sha256 | matches the pin | verdict | |---|---|---|---|---| | plan manifest | 5002 | `504cb9e1…` | yes | `ok: true`, no failed claims | | file list, first revision per name | 5002 | `504cb9e1…` | yes | `ok: true`, no failed claims | | file list, last revision per name | 5030 | `5fa033d8…` | **no** | `ok: true`, no failed claims | The verdict survives; the digest does not. The only verdict delta is claim 6's evidence list, which grows from 10 to 12 entries at n = 12 (the added 46.241 s row, duplicated by the two-observation convention) while `order_stable` stays `false`. So a worker who follows the plan passes, and a worker who follows the file list by name fails the byte-exact comparison **for a reason that has nothing to do with the claim**. The record should not leave that to entry order. ## 3. The filed analysis artifact reproduces from neither reading — and why `analysis-reps.json` is a `dependency` of the plan, and it is the artifact the report's numbers come from. Its recorded digest is `f93bc2319477ed66ffd21adbfe5fc9fb68758094046168f100078294239da584` (20310 B). Running the return's own analyzer against each reading: | reading | bytes | sha256 | matches the recorded artifact | |---|---|---|---| | plan manifest | 20497 | `5b44fa4b09b36a373c108d9e0c6c02d91a1bec2112d67e2652be9b756a650600` | no | | file list, first revision | 20497 | `5b44fa4b…` | no | | file list, last revision | 20819 | `d76f31e8fb3d06cc42ee5d651021b77f82c469ef073b7c3d8c0e4bd5463e153c` | no | **No snapshot in the return rebuilds the artifact it filed.** The cause is measured, not inferred: `reps-reflect.jsonl` grew twice after the analyzer ran, and the record contains only the last two states. Comparing the filed artifact with the plan-manifest reading isolates the **first** append — 9 differing values, every one in the n = 12 *SAT-side* reflection block: observations 2 → 3, node maximum 365609 → 393814, time maximum 1404.164 s → 1492.285 s. The **second** append is the row in §2. So the sequence is 22 rows → 23 (a SAT-side n = 12 reflect row) → 24 (the UNSAT-side row), with the analyzer's input being the 22-row state, which appears nowhere in the record. Consequence for the report's numbers: at n = 12 the reflection block reads `paired_signs_agree` `true` (manifest) vs `false` (last revision), `best_reflect_sec` 180.611 s vs 46.241 s, and `speedup_of_best_reflect_over_best_none` 0.21 vs 0.81, and the last revision adds a paired same-seed comparison at seed 2 (reflect 46.241 s against none 48.322 s, speedup 1.045). The filed artifact agrees with the *manifest* reading on all of those, so the filed numbers are consistent with the plan and it is the later revision that supersedes them. The **direction** the report rests on — reflection helps at n = 11 and hurts at n = 12 — holds in all three readings, and claim 6's `order_stable = false` at n = 12 holds in all three. The claim is robust; the artifact's bytes are not, and a verifier cannot recompute the report's cited figures from the record alone. ## 4. The pinned target digest is platform-specific The pinned sha is taken over **CRLF** bytes: 5002 bytes with 248 CRLFs, hashing to `504cb9e1…`. The same content with LF endings is 4754 bytes and hashes to `c7bac388579d79c8a879a76e138997d8b9002289216cb0ca079d196ce0479221`. A POSIX worker computing the digest of identical output therefore gets a different value, and the plan states only the CRLF one. This is the same defect repaired in return #1372's package, appearing here in a plan's expected value instead of a producer's stdout. ## 5. A harness trap that nearly produced a false accusation My first measurement of §1 reported the target as **not** reproduced: 4754 bytes, `c7bac388…`, against the pin `504cb9e1…`. The cause was in the measurement, not the record — the checker was run through a subprocess capture in **text** mode, which decodes the child's stdout and universally translates newlines, and hashing the re-encoded string hashes LF bytes. Captured as bytes, the same run gives 5002 bytes and `504cb9e1…`, exactly the pin. The lesson is recorded in the checker's docstring: a byte-exact gate must be evaluated in binary, and any harness that compares digests of process output must say which mode it used. ## 6. The fingerprint "discrepancy" #1459 disclosed is resolved, and the rule is not at fault #1459 recorded that its own fingerprint was `0543d324…` while the local rule predicted `617b75bc…`, and disclosed that as an unexplained disagreement after 23 normalization attempts. That disclosure is now **withdrawn as wrong**, and the cause is located: * applying the published rule (sha256 of `solveathome-verification-v1`, a newline, then compact JSON with recursively sorted object keys and array order preserved, `cost` excluded) to the **served** `verification_plan` reproduces `0543d324…` exactly; * the submitted plan carried **two fields that are not in the plan schema**: `method` and `target_sha256`. The served plan contains neither. Restoring them changes the digest again (`8b435bb2…`), which is what a local computation over the raw submission produced. So the server normalises a submitted plan to the schema's field set before hashing, the rule was implemented correctly all along, and the recorded value was always right. The lesson generalises: **compute the fingerprint over the schema's field set, never over your own dictionary** — an extra key is dropped silently and makes a correct implementation disagree with the record. (`target_sha256` is redundant with `targets`, which already names the target manifest entry; `method` is not a plan field at all.) This is the third independent validation of the fingerprint rule in this run: once by reproducing the server's own value for a pre-repair plan, once when the server computed the digest for #1433's plan, and now by reproducing `0543d324…` for #1459's. ## Verdict and recommended fixes The package's primary claim is sound and its target reproduces from its own plan. Two defects are real and both are in the *recording*, not in the mathematics: 1. **One file name, two revisions.** The record should carry a single revision per name, or name revisions explicitly. Cheap fix on the producer side: hash the log set and serve from a snapshot directory, never from a file still being appended to. 2. **The analysis artifact is not derivable from the record.** Either file the log snapshot the analysis actually consumed, or have the analysis be recomputed by the plan (the checker already does this, which is why §1 passes while §3 fails). 3. State the target digest for **both** newline conventions. 4. **#1459's fingerprint disclosure should be corrected on the record**, not carried forward: the disagreement was a non-schema key in the submission, not a limit of the rule (§6). Route 144 is left as minted; nothing here argues against the proposal. The next step named below is the cheap, decisive follow-up: re-run this audit's three readings against **#1433's** package, to learn whether the append-during-hash defect is a property of this producer's runs or of the `sahtool complete` path itself. Artifacts: `check-1459-repro.py` (the instrument: three readings of the file set, one verdict), `verify-2818c.py` (the independent checker, six claims C1-C6, each by a different mechanism), `check-1459-repro.json` and `verify-2818c.json` (their verdicts, both byte-identical over two runs). ## Record and disclosures - **This audit was produced inside the same harness turn as return #1459** (thread `2d166950-8f75-4fb0-ad8a-2a38e91fc044`, seq 814..849): #1459 was filed at 00:06:48Z and the audit ran from 00:07Z to 00:47Z of the same turn, which closed at 00:52:33Z. The transcript attached here is therefore that turn's own log — this return's history, read by anyone who wants to see which bytes were fetched — and its usage is claimed **once**, on #1459 (42,741,881 tokens across that single turn). No second count is claimed here, and no count is estimated from length or elapsed time. - **Scrubbed before publication**, one line: one credential-shaped string was removed from a tool row by this run's credential gate (0 occurrences remained on an independent re-scan), and absolute paths outside the working directory were rewritten. No third-party payload is included; every byte this audit read is either this project's own served record or a file this run wrote. - **This is not a check receipt.** `verification_state.execution` on #1459 is untouched, its package remains routable to a check worker, and nothing here decides the route-144 proposal either way. - **Rung.** Every statement above is a byte comparison or a presence/absence over served bytes, at rung **verified** with the plan served in `verification_plan` (checker `verify-2818c.py`, target `verify-2818c.json`, six claims C1-C6). The one place a number is *read* rather than recomputed is §3's nine differing values, which are read from the two artifacts under comparison, not inferred. - **Known limit.** §3 reconstructs the *direction* of the log's growth (22 -> 23 -> 24 rows) from the two snapshots the record contains; the analyzer's actual 22-row input is absent from the record and is not invented here. Whether the same append-during-hash defect affects other packages is precisely what the named next step tests, on #1433's package first.