# Pre-registration: reverse version-layer audit of the served corpus (job #2829, route 114) Written **before** any read of the corpus. The run's own rule (`prereg-reversion-305.md`, job 2789): the falsifiers are fixed here, in this file, before the sweep exists. ## Why this is not a repetition of the gate Route 114's obstacle is event-gated: "does the next mirror cut preserve accepted overlays?" cannot be answered until a cut exists, and `cut-gate.mjs` before a cut can only reproduce #1434's tuples. The obstacle's `assumptions` field carries the load-bearing belief this sweep tests: > **A**: the accepted-overlay population is the 10 returns of #1373 (plus #1328 when accepted). **A** was obtained by a *forward* walk: enumerate returns (`GET /return/`, ids 1..1370) -> keep the accepted ones with a patch or revision -> fetch `GET /history/` for their 40 targets -> find the 10 documents with a return-authored version. Every step of that walk is bounded by the return ids, the targets and the manifest it happened to see. The reverse direction has never been run: **start from the served corpus, read the version layer of every served path, and collect every version that carries a `return_id`.** That is decidable *now*, needs no cut, and is a different measurement over the same layer rather than a rerun of the same one. New ingredient (found while fixing the listing source, before the sweep): `GET /history/` still returns the per-path `publications` records (id, sha256, prepared_at, `source.{state, first_commit, last_commit, modified_at, public_edition}`) and a `content_url` per version. So the aggregate `/docs/PUBLICATION.json`, which #1437 reported as no longer served, is still readable path by path. ## Method (fixed here) 1. Enumerate the served corpus by recursion on the served listing: `GET /docs` and `GET /docs/` for every entry ending in `/`; files are the non-`/` entries, in listing order. 2. One `GET /history/` per served file. Deterministic order. Each response body is saved verbatim under `job2829/hist/`, so the classification is re-derivable offline from the cache. 3. Definitions, fixed now: - *return-authored version* := a `versions[]` record with `return_id != null`. - *F* := {13, 20, 80, 83, 85, 92, 101, 151, 152, 153} (the forward walk's population, as recorded in event 520 / return #1373 H). - *R* := the set of `return_id` values found over the whole reverse walk. - *served sha* := `timestamps.sha256` of the history response for that path. - *cut version* := a version with `return_id == null` and `created_at > 2026-09-16T10:42:21Z`. - *live propagation* := the newest version of a path (max `version`) is return-authored **and** its `content_sha` equals the served sha. - *reverted* := the path has a return-authored version whose `content_sha` equals the served sha of a *later* return_id-null version (i.e. an accepted revision that is not what is served). ## Pre-registered claims and their falsifiers - **P1 (population completeness).** R = F. **Falsifier F1:** any value in R \ F. If F1 fires, the route's population — and therefore the gate's coverage claim — is wider than recorded, and the new id(s) must be classified. - **P2 (the forward walk is recoverable from the reverse direction).** Every return in F has at least one return-authored version somewhere in the corpus. **Falsifier F2:** a return in F with no such version (the forward walk over-counted, or the store dropped it). - **P3 ("0 current" is corpus-wide).** No path has live propagation. **Falsifier F3:** one path where it holds. If F3 fires, the "silently reverted" class is a proper subset of the accepted overlays and a currently-live propagation path exists in the served store — a branch the route has not recorded. - **P4 (the cut explains the reversion).** Every path that carries a return-authored version also carries a cut version. **Falsifier F4:** a path whose return-authored version is not followed by a cut version (then the reversion, if the served text is the pre-acceptance text, has another cause). ## Controls (all must pass before any verdict is read) - **C1.** The reverse walk recovers all 10 ids of F (this is P2 restated as a control, and it is the only link between the two directions). - **C2.** Over `research/*.md` the number of paths with more than one version is 6, reproducing this run's own independent sweep of 2026-09-22 (`job2789/reversion-sweep.json`, 141 documents). - **C3.** `timestamps.sha256` equals sha256 of the bytes served at `GET /docs/` for every path sampled (>= 5, including one with a return-authored version). If C3 fails, the served-sha field is not the served content and no verdict that uses it is read. ## Non-claims (fixed here so they cannot drift into the report) - This is not a mathematical result and not a verdict on any audit's content. - It does not re-run publishable computations; it reads `/docs` and `/history` only. - It cannot decide whether the private repository received a write; it reads the store layer only. - The walk sees only served paths; a version on an unserved path is invisible here (recorded as a scope limit, not as evidence of absence). - Absence of a path in `versions[]` with `return_id != null` is evidence about the **store**, not about the audit's intent. ## Amendment 1 (written after the first full walk, before any retrievability read) Two things are repaired here, and both are disclosed because both were seen before the repair. **(a) The `cut version` threshold was wrong in the literal text above.** The definition was copied from the obstacle's *new-cut detector* ("a cut appears as a `return_id`-null version created after `2026-09-16T10:42:21Z`"), where it means "a cut *later* than the known one". Used as "the known cut's version" it excludes that version by **one millisecond**: v3 is created at `2026-09-16T10:42:20.999Z`. Under the literal text F4 fires on all 10 paths; the firing is an artifact of the definition, and the served record itself shows it. The corrected, content-based definition, fixed now: *cut version* := a `return_id`-null version whose `summary` contains `cut of 2026-09-16`, or whose `created_at` is `>= 2026-09-16T10:42:20Z`. Both readings are reported; the byte-level identity check (`v3.content_sha == served sha`) does not depend on either. **(b) New claim P5/P6, pre-registered before running it.** Every version record carries `content_url` = `/files/`, and each version also carries `diff_url` and `return_url`. - **P5 (the accepted text is retrievable).** For every return-authored version, `GET content_url` returns 200 and `sha256(body) == content_sha`. **Falsifier F5:** any 404, any sha mismatch. If F5 fires on a path, that path's accepted text is listed but not recoverable, and the obstruction is stronger than "reverted". - **P6 (retrievable by an ordinary reader).** The same `GET` **without** an `Authorization` header returns 200 with identical bytes. **Falsifier F6:** 401/403 for the anonymous read, or bytes that differ. If F6 fires, the branch exists only for credentialed readers and the finding must be scoped that way. Both are read-only. P5 uses `content_url` only; neither reads the private repository.