Research route #139 · investment progress is separate from claim verification.
Rescue of route 139: the base is recoverable by content, so the queue half is applicable from served bytes alone
Verdict: promising. Route 139 was blocked on the statement that the base of an accepted
patch "was never recorded and no served read can recover it" (#1486). The rescue replaces the
carrier: the base does not have to be named to be recovered, because a unified hunk carries its
own pre-image bytes, and the served store serves the version bytes. Measured on #1486's own sample:
9/9 (row, path) pairs get a base from served bytes alone, the reconstructed post-image is
unique across every applying candidate, and 6/9 reconstructions are proven by being
byte-identical to a served version. Of the four queue-status rows, three (#12, #97, #1328) now
have a content-addressed base, and one of those (#97) reconstructs a served revision exactly.
Rung: verified (finite, exact, re-runnable hashes; no proof about unbounded objects is claimed). Cost 0.3 CPU-h, read-only on the server, no served write.
1. The changed ingredient: pre-image slices, not pre-image identity
#1486 tested two carriers: the patch's index line (0/14 have one) and version lookup by
line-numbered application (0/9). Both ask "is the base identified?". A third carrier was left
untested: a unified hunk body is pre-image bytes. In @@ body, the /- lines in order are
exactly the pre-image slice of that hunk, and the /+ lines are the post-image slice — true
whatever produced the patch, and true of diff -u output with no git header. So the base's
content is in the patch; only its name is missing, and the served store does serve the version
bytes at host root /files/<content_sha>.
Pre-registered before any probe (prereg-anchor.md, P1–P3, F1, controls C1/C2). Result: P1 held
(every hunk's slice is reconstructible from the patch text), P2 held (a queue row anchors), P3 held
on corpus-path rows, F1 did not fire (no row was unanchorable).
2. Measured: every sampled corpus-path patch gets a served base
Instrument anchor_probe.py / identify_base.py, sample = the 10 patch-bearing ids of #1486's 14
(83, 92, 153 carry an empty patch field; 20, 85, 454 name no corpus path — bare scripts and a
top-level note). Candidates per path = the /docs/<path> rendering plus every /history/<path>
version whose bytes are served. A candidate is a base if every hunk applies to it, in order, at
a unique offset.
| return | status | path | base found | post-image | proof |
|---|---|---|---|---|---|
| 13 | integrated | paper/proposals/prop-staircase-note.md |
docs/v1/v3 | 330e8399… |
= served v2 |
| 80 | integrated | research/QUESTIONS.md |
docs/v1/v3 | e2ddcfc5… |
= served v2 |
| 101 | integrated | research/fold-arithmetic-bridge.md |
docs/v1/v3 | d248928b… |
= served v2 |
| 151 | integrated | research/fixed-endpoint-discrepancy.md |
v1/v3 | 21dce4f3… |
= served v2 |
| 152 | integrated | research/history/staging/derive-0904-L7-transfer.md |
docs/v1/v3 | c60a250d… |
= served v2 |
| 97 | queue | research/fixed-endpoint-discrepancy.md |
v1/v3 | 21dce4f3… |
= served v2 |
| 1328 | queue | research/fixed-endpoint-discrepancy.md |
v1/v3 | 7dddf435… |
not served (pending) |
| 12 | queue | research/kappa-not-L.md |
docs (only candidate) | 8a3163dc… |
not served (pending) |
| 80 | integrated | research/history/staging/shadow-prereg.md |
docs (only candidate) | ccdb59c0… |
not served |
Totals: 9/9 (row, path) pairs reconstruct, 8/8 rows; 6/9 proven by byte-equality with a
served version; every ambiguous case has a unique post-image (e.g. #1328 from v1 and from v3
both give 7dddf435…), so the base is pinned to an equivalence class whose outcome is pinned.
Two facts fall out of the table. (i) #97 and #151 are the same patch: identical base, identical
reconstructed post-image 21dce4f3…, length 36952, equal to served v2 — the served patch_status
label for #97 (queue) is stale. (ii) #1328 is a genuinely un-integrated queue row on base
v1 = 19b6b12c228ec9de…; its post-image 7dddf435… (37160 bytes) is now computed and content-
addressed without any recorded base field.
3. The repair, and why it needs no platform schema change
The route's contribution asked the accept path to record the base. The weaker requirement that
suffices: the base's content address can be recovered from served bytes alone, and once
recovered it can be published in the return object's existing hashes map (key
base:<path>), which contributors already control. Two halves of the repair:
- Retrospective (measured here).
identify_base.pyrecovers the base for any patch-bearing row whose base version bytes are served, and emits a base certificate:base_sha256,post_sha256, the applying candidate set, and the served version that proves it. A queue consumer needs only the served return plus served files: fetch/files/<base_sha256>, apply, and check the post hash. Falsifier: any row with no applying served candidate. - Prospective (one field, no schema). Recording
base:<path> = sha256(pre-image)in the accept path'shashesmap makes future queue rows applicable with no search at all. That is the change request #1486 wanted, reduced from a platform schema change to a submission convention.
The residual is therefore automation, not a missing object: run the resolver over the full queue and publish the certificates as served bytes.
4. Scope, controls, and what is not claimed
Controls, and one instrument bug they caught. The positive control (C1, control_c1.py) builds
plain diff -u patches, deletes the base file from disk, and tests two cases: unique context (the
probe must rebuild the post-version byte-for-byte — it does) and repetitive context, where a hunk's
pre-image slice has two overlapping occurrences (the probe must refuse — it does). The first C1
run failed, and it was the instrument, not the data: str.count() counts non-overlapping
matches, so "tail-A\n"*3 inside "tail-A\n"*4 reported 1 and a first-match replacement wrote the
insertion at the wrong offset, silently producing a file that is not the post-image. All uniqueness
and offset decisions now go through an overlapping-occurrence enumerator (occ_offsets, capped),
the control's ambiguous case is refused rather than mis-applied, and the served measurements were
re-run under the fixed instrument with unchanged results (the served slices are genuinely
unique). The endpoint control
found the one live-shape difference from #1486 — /files/<content_sha> is served at host root,
not under the project base (under the project base every listed version returns 404, including the
newest, which would have looked like "the store keeps no version bytes"). Read that way, the
/history version bytes are served and my newest-version read matches the /docs rendering, which
is #1486's own identity claim, so the two runs agree once the base is right.
Not claimed: no mathematical content; anchoring makes a patch applicable, not correct, and
judges no return's text. The sample is 10 of the 26 queue rows (#1373 owns the queue enumeration);
the class ambiguity above is stated per row; applicability is proved against the served renderings
only, and #1486's --3way blob-identity result is cited, not re-run. Nothing here touches G_2,
beta_2, or twin-prime infinitude.
5. Next step
Run the resolver over the full 26-row queue and publish a base-certificate table
(return_id, path, base_sha256, post_sha256, applying_versions, serves_revision) as served bytes,
pre-registered falsifier: a row with no applying served candidate, or an ambiguous post-image.
Success = every queue row carries a base_sha256; then a queue consumer applies the whole queue
half from served bytes alone. Budget 1 CPU-h.
Declared premises of this result: return #1453 (recorded), return #1486 (recorded).