|
| 1 | +# ADR-0039 — A prediction is only a prediction if it was chained first |
| 2 | + |
| 3 | +- **Date:** 2026-09-22 |
| 4 | +- **Status:** accepted |
| 5 | +- **Area:** prior, provenance, brief |
| 6 | +- **Depends on:** ADR-0003 (the hash-chained ledger), ADR-0013 (the gate does not grade reasoning) |
| 7 | +- **Evidence:** the three corpora named below, and the measurements in this file |
| 8 | + |
| 9 | +## Context |
| 10 | + |
| 11 | +Three corpora in this repository carry a prediction written before collection, and in each |
| 12 | +case the prediction is worth more than the finding that follows it. |
| 13 | + |
| 14 | +The **EUDR** prior was a year wrong on both dates. That is the only reason its brief can say |
| 15 | +the corpus supplied something the reviewer could not have — without the prior on record, the |
| 16 | +brief would have been eight captures agreeing with each other and no evidence that anyone's |
| 17 | +belief had moved. The **Tavily** prior held. That is the only reason its brief can say so |
| 18 | +without it reading as a boast, because the claim is checkable rather than remembered. |
| 19 | + |
| 20 | +The habit was mine and it was unenforced. It has exactly one failure mode, and it is not |
| 21 | +forgetting. |
| 22 | + |
| 23 | +**It is writing the prediction afterwards, once the answer is known, and remembering it as |
| 24 | +foresight.** Nobody has to be dishonest for that to happen. "I thought that" is a memory, |
| 25 | +and memories reshape themselves around what turned out to be true. An unenforced prior is |
| 26 | +therefore not weak evidence of foresight — it is no evidence at all, because the honest |
| 27 | +version and the reconstructed version are the same file. |
| 28 | + |
| 29 | +## Decision |
| 30 | + |
| 31 | +A prior is **optional**, and when it exists its ORDER is **cryptographic, not procedural**. |
| 32 | + |
| 33 | +1. The prediction lives in `research/PRIOR.md`, outside `research/raw/` so it is never read |
| 34 | + as a capture. |
| 35 | +2. Registering it appends an `op: 'prior'` entry to the hash-chained fetch ledger, carrying |
| 36 | + the file's sha256 in `bodySha256` and its path in `raw`. |
| 37 | +3. Two things stop being editable at that moment, and neither needed new machinery: |
| 38 | + - the **text**, because `verifyLedger` already hashes anything a ledger entry names, so |
| 39 | + revising the prediction fails `provenance/body-unmodified`; |
| 40 | + - the **position**, because every later entry's `prev` is the previous entry's |
| 41 | + `entrySha256`, so moving a prior after a scrape rewrites every hash that follows it. |
| 42 | +4. `provenance/prior-precedes-collection` fails a prior registered after a scrape. |
| 43 | +5. The drafted brief quotes it verbatim, above `## Intent`. |
| 44 | + |
| 45 | +## The three paths, measured |
| 46 | + |
| 47 | +Not reasoned. Each was performed against a real corpus and the result recorded. |
| 48 | + |
| 49 | +| path | what happened | |
| 50 | +|---|---| |
| 51 | +| Edit `PRIOR.md` after registering | `fail provenance/body-unmodified` — *does not match the hash recorded at fetch* | |
| 52 | +| Register after collecting, via `bin/prior.mjs` | refused, exit 2, nothing written | |
| 53 | +| Chain a prior at seq 2 **by hand**, every hash correct | chain verifies, and `fail provenance/prior-precedes-collection` | |
| 54 | + |
| 55 | +The third is why the check exists at all. `appendFetch` is a public export and will happily |
| 56 | +chain a prior after the evidence with a perfectly valid chain — so the gate verifies the |
| 57 | +order itself rather than trusting that the tool was used. Without it, the first two refusals |
| 58 | +would be a fence with a gate left open beside it. |
| 59 | + |
| 60 | +## What is deliberately not checked |
| 61 | + |
| 62 | +**Nothing grades the prediction.** Not whether it was specific, not whether it was |
| 63 | +reasonable, and above all not whether it turned out right. |
| 64 | + |
| 65 | +This is ADR-0013 applied to the one place where violating it would be most tempting and most |
| 66 | +destructive. A gate that preferred correct priors would teach the exact opposite of the |
| 67 | +habit: it would reward hedging, vagueness, and predicting the safe thing. **A prior that was |
| 68 | +wrong has done its job** — the EUDR one is the most valuable artefact in that corpus |
| 69 | +precisely because it was wrong. |
| 70 | + |
| 71 | +The single content rule is a **length floor** of 80 characters, and it is stated as a floor |
| 72 | +rather than a judgement. It stops `"fine"` from being a registered prediction. It cannot |
| 73 | +stop `"fine, and here are ninety more characters of nothing"`, and it is not meant to. |
| 74 | + |
| 75 | +## Why absence is silent |
| 76 | + |
| 77 | +A project with no prior produces **no finding at all** — not a warning, not a passing one. |
| 78 | + |
| 79 | +A warning that fires on every project that skipped an optional step is a warning nobody |
| 80 | +reads, and it would turn the habit into a toll. This repository already learned that from |
| 81 | +`partial-render`, which stood permanently on three captures it actively relied on until the |
| 82 | +review could be recorded and closed. |
| 83 | + |
| 84 | +The nudge lives where it can still be acted on instead: `bin/research.mjs` prints one line |
| 85 | +before a spending run, because after the first page lands there is no second chance. |
| 86 | + |
| 87 | +## Why the brief carries it |
| 88 | + |
| 89 | +A prior left in its own file is a file nobody opens. The brief is the one document phase 2 |
| 90 | +is required to read, so the drafter emits the prediction there, above the findings. |
| 91 | + |
| 92 | +That placement also removes the quiet edit. An author who has just learned they were wrong |
| 93 | +does not have to decide whether to mention it — the text is already on the page, and the |
| 94 | +ledger already fixed it. The two cases, confirmed and demolished, look identical to the |
| 95 | +renderer, which is what keeps it from becoming a scoreboard. |
| 96 | + |
| 97 | +## Consequences |
| 98 | + |
| 99 | +- One prior per corpus. A prior you can re-register is a prior you can retry until it is |
| 100 | + right. Under ADR-0030 each decision gets its own nested project, so each gets its own |
| 101 | + prediction; a project that opens a genuinely new question after collecting should say so |
| 102 | + in the brief, where it is labelled as hindsight. |
| 103 | +- The corpora that already exist have no registered prior and never will — the mechanism |
| 104 | + cannot be applied retroactively, which is the whole point. Their priors stay where they |
| 105 | + are, in prose, and should be read as the weaker thing they are. |
| 106 | +- `usageSummary.ledgerEntries` counts the prior, because it is one. |
0 commit comments