> STATUS (v3.8.353): COMPLETED at v3.8.91 — the substantiation programme.

<!-- phase-claims-checked -->

# Substantiation Program

**DRAFT for review. Not yet integrated into the package.** Proposed for the
package root alongside `RECONSTRUCTION_PROTOCOL.md`,
`DATA_REPRODUCIBILITY_PLAN.md` and `SOURCE_RETRIEVAL_PLAN.md`.

This file states the **arc**: what the platform is doing to its own numbers, in
what order, and what has to be true before each step begins. The three files
named above document retrieval mechanics. None of them documents the program
those mechanics serve, and this one does.

---

## Why this file exists

Sessions have inferred the program's phase from the release narratives and got it
wrong. The specific failure, recorded so it is not repeated: releases v3.8.79
through v3.8.84 each costed a reading of `FIG-existing-programs-absorbed`,
recorded it, and explicitly declined to adopt it. Read in sequence without the
program in view, that looks like an unresolved decision drifting across six
releases and a maintainer who will not choose. It is the opposite. It is the
sourcing pass working exactly as designed, under a protocol that says a
reconstruction contradicting the published figure is *a better result*.

A reader who does not know the phase order cannot tell those two readings apart,
because the release text is identical either way. That ambiguity has already cost
a session's worth of misdirected advice. This file removes it.

**The general rule this file encodes:** the program's *order* is durable and
belongs in writing. The program's *current position* is not, and must be derived
from the registries rather than stated here. See "Which phase are we in" below.

---

## The history that produced the program

Architecture came first. Analysis came second and was believed to be captured in
the platform documentation as it was produced. Claims were then established on the
supporting information available at the time.

The discovery that reframed everything: many published values had **no citable,
reusable source** and **no re-runnable process**. They were sourced in the weak
sense that somebody had once read a number somewhere, and they could not be
re-derived by anyone, the author included. A platform whose numbers cannot be
re-derived is not falsifiable, and a platform that is not falsifiable cannot
usefully be handed to an expert reviewer.

That is the whole reason the work turned inward. Everything below follows from it.

---

## The goal

Every published value is either **reproducible from a sealed archive by a script
that ships**, or **explicitly labelled as not reproducible**, with the label
machine-checked rather than asserted in prose. Then, and only then, the platform
is compared against itself, changed where the comparison demands it, and offered
for external review.

The goal is not to make the platform's numbers survive. It is to find out which
of them do.

---

## Phase order

### P0 — Enforceability

*Make the checking apparatus capable of catching a stale or unsourced value at
all.*

Covered by `DATA_REPRODUCIBILITY_PLAN.md` Phases 0 through 2: ingestion scripts
wired into the audit in verify mode, the IPEDS debt repaid, a source ingestion
template that later retrievals follow.

**Exit:** every registered ingestion runs under `audit_script.py` and a shipped
value that no longer matches its archive produces a finding without anyone
remembering to look.

### P1 — Substantiate

*Retrieve, archive, seal, register, and make repeatable every input the platform
rests on.*

Covered by `SOURCE_RETRIEVAL_PLAN.md` (which source, what to capture, in what
priority) and `RETRIEVAL_RUNBOOK.md` (how to do it, step by step).

Two source types, two definitions of done:

- **Type A, bulk dataset.** The file, a checksum, and an ingestion script that
  regenerates the figures. Done means `--verify` passes.
- **Type B, single published figure.** The published artifact plus a locator
  precise enough to re-verify by eye: report title, edition, table or page, and
  the figure as printed. Done means a future reader can confirm the number
  without trusting the register. **Do not build a pipeline for a Type B source.**

Also inside P1: establishing, for a figure whose derivation is lost, whether it
can be reconstructed at all. `RECONSTRUCTION_PROTOCOL.md` governs the attempt.
A terminated reconstruction is a **completed** P1 outcome, not a failed one,
provided the termination and its evidence are recorded.

**Exit:** no figure carries `substantiation: unexamined` or `sourced`. Every
figure is `reproducible`, `unreconstructible`, or `not_applicable`.

### P2 — Compare

*Recompute every figure from its now-sourced inputs and record the delta against
the published value.*

**As a set, in one pass.** Not one figure at a time as each source lands. The
whole point of the comparison is to see the direction and magnitude of the drift
across the platform, and a figure judged alone loses that context.

Rules carried from `RECONSTRUCTION_PROTOCOL.md`, which apply unchanged here:
method written before the run, tolerance pre-registered, run once, open the
published figure only afterwards, record the delta either way, and no tuning of
inputs to close a gap.

**Exit:** every figure carries `substantiation: compared` with a recorded
`delta_pct` and the method that produced it.

### P3 — Reconcile and decide

*For each figure with a delta, decide. For each claim resting on those figures,
decide whether it survives.*

Three dispositions per figure, all legitimate:

- **Adopt.** The recomputed value replaces the published one.
- **Retain with disclosure.** The published value stands and the delta is
  published beside it, with the reason for retention stated.
- **Retire.** The figure was load-bearing for a claim that does not survive, and
  both go.

Then the second-order question, which is the one that actually matters: **does
the architecture still work?** Where it does not, what has to change so that the
platform has a defensible path to every claim it makes. This is design work, not
data work, and no retrieval resolves it.

**Exit:** no figure carries an undisposed delta, and every claim in the platform
traces to figures that are adopted or disclosed.

### P4 — Outreach

*Submit the reconciled platform for expert scrutiny.*

Governed by the outreach conventions already in force. Outreach exists to get
WTPP red-teamed; the success metric is a credentialed reviewer engaging a
specific Tracked Issues Registry item, not a wider audience.

**Entry:** P3 complete. Sending an unreconciled platform to a reviewer spends a
contact on findings the platform already knows about and has not yet resolved,
which is the one thing outreach cannot afford.

---

## Release discipline

The phase order says what to do in what order. This says how much to do at once.

It exists because three releases in one session moved a great deal: two governing
documents, six gates, a new registry axis, a propagation tool, five source-URL
replacements, a source split and a rewritten public disclosure page. That worked
because each change was verified against a fixture before shipping, and it does
not scale. The failure mode it invites is specific: **when a release changes
several classes of thing at once, a regression in one is attributed to another,
and the audit can only report that something broke, not which change broke it.**

Five rules. They govern every release, not only the ones on a plan.

**1. One class of change per release.** A release may change *content*, or
*schema*, or *gates*, or *derived artifacts*. Not several. Content divides
further into archives, documentation and values, and those are separate classes
too.

*Learned at v3.8.86:* running the BLS stage-one rebuild to restamp a version
string clobbered the regional factors and dropped `direction_f_thresholds`,
producing 1 SIG and 3 MIN that had nothing to do with the uncertainty
propagation that release was about. The findings were real; attributing them
took longer than fixing them.

*The one exception, added v3.8.91.* **A gate release may include the minimal
fixes required to make the new gate pass.** Every release must ship 0 SIG and 0
MIN, so a gate that catches something real cannot be added without also fixing
what it caught. Those fixes are not separate work smuggled in; they are **the
gate's evidence**, each one a demonstration that the check fires on something
that was actually wrong. Anything beyond the minimum waits for its own release.
The test is whether the fix would have been made if the gate had not found it:
if yes, it is separate work.

**2. Never change a canonical value in the same release as a schema change.**
If a figure moves and the registry shape moves together, the comparison that
should catch an error has no fixed reference. Values move alone, and one at a
time where possible.

**3. Every gate ships with a fixture proof.** State the finding count the new
check produces against the *previous* release and against the current one. A
check not shown to fire is indistinguishable from a check that cannot fire.

*The established format:* `check_declared_dependency_edges` fires 5 findings
against the v3.8.84 registry and 0 against v3.8.85.
`check_disclosure_freshness` fires 7 against the v3.8.86 bundle and 0 against
v3.8.87.

**4. Refresh `_internal/figures_registry.baseline.json` every release,** from
the previous release **as shipped**, never from the working copy.
`check_substantiation_monotonic` and `check_p1_no_adoption` are blind without
it, and a stale baseline is worse than an absent one because it reports passing.

**5. Every stage must be worth stopping after.** If a piece of work only pays
off when the next piece lands, it is scoped wrong: split it, or merge it into
the thing it depends on. This is the only scheduling guarantee this project
makes, and it is the reason no file here carries a date.

The current schedule under these rules is `IMPLEMENTATION_PLAN.md`. That file is
the sequence; this section is the discipline, and it outlives any particular
plan.

## The rule the phase order implies

**No individual figure is adopted, replaced, or retired during P1.**

Costing an alternative reading, recording it beside the canonical value, and
declining to adopt it is *correct P1 behaviour*. Choosing between the alternatives
is *P3 work*. A session that presents such a choice as a decision awaiting the
author has misread the program, and should be corrected against this file.

Two reasons, both learned the hard way:

1. **Comparison is a set operation.** One sourced lever moved 39 percent in the
   unfavourable direction. That is a sample of one. Deciding a single figure
   against the published value, before the rest of the set is measured, means
   deciding without knowing whether that figure is typical or an outlier.
2. **Adopting early destroys the baseline.** Once a published value is replaced,
   the comparison for that figure can no longer be run, and the record of how far
   the original was off is only as good as the note somebody wrote at the time.

The exception, and it is narrow: a value that is **demonstrably an error rather
than a disagreement** may be corrected on sight, in P1, with the correction
recorded. A transcription error, a mislabelled unit, a wrong vintage. The test
is whether anyone would defend the old value if they saw the evidence. If the
answer is "it depends what you think the platform means by X", it is a P3
decision, not an error.

---

## Which phase are we in

**Not recorded in this file, deliberately.** A phase marker here would go stale
the same way the paused-build marker went stale through twenty-five active
releases, and a number that can rot reads as authority.

Derive it:

```bash
# figures by substantiation label
python3 - <<'EOF'
import json, collections
d = json.load(open('00_GUI_Files/figures_registry.json'))
c = collections.Counter(e.get('substantiation', 'unexamined') for e in d['entries'])
print(c, '| total', len(d['entries']))
EOF

# sources archived vs cited-only
python3 - <<'EOF'
import json
s = json.load(open('data_recency.json'))['sources']
a = [x for x in s if x.get('archive_dir')]
print(f'{len(a)} archived of {len(s)}; {len(s)-len(a)} cited-only')
EOF
```

P1 is live while anything reads `unexamined` or `sourced`. P2 is live while
anything reads `reproducible` but not `compared`. P3 is live while any `compared`
figure lacks a disposition.

---

## Labels

`validation_status` records **how a value was produced**. It does not record
**whether it has been through this program**, and those are orthogonal. A figure
can be `anchored` and never re-examined (somebody read a number off a page once).
A figure can be `derived` from a workbook that no longer exists. Today both read
as respectable statuses.

Measured at v3.8.84:

```
$ python3 -c "import json,collections; d=json.load(open('00_GUI_Files/figures_registry.json')); \
print(collections.Counter(x.get('validation_status') for x in d['entries'])); \
print('source_id:', sum(1 for x in d['entries'] if x.get('source_id')), 'of', len(d['entries'])); \
print('derivation block:', sum(1 for x in d['entries'] if x.get('derivation')))"
Counter({'derived': 35, 'anchored': 9, 'scenario': 9, 'interim_benchmark': 8,
         'reconcile_pending': 3, 'benchmarked': 1})
source_id: 22 of 65
derivation block: 7 of 65
```

Thirty-five figures share the label `derived`. Some are recomputable from a model
that ships; others rest on a workbook that does not exist. The label cannot tell
them apart, so no check can either.

**Proposed second field: `substantiation`.** Orthogonal to `validation_status`,
closed vocabulary, one value per figure:

| value | meaning |
|---|---|
| `unexamined` | not yet touched by this program. The default. |
| `sourced` | every input archived and sealed, figure not yet recomputed |
| `reproducible` | recomputable from the sealed archive by a shipping script; `--verify` passes |
| `unreconstructible` | established, with recorded evidence, that no method survives. Needs new analytical work, not retrieval |
| `compared` | recomputed and the delta against the published value recorded. Requires `delta_pct` |
| `reconciled` | comparison disposed: `adopt`, `retain_disclosed`, or `retire`. Requires `disposition` |
| `not_applicable` | a policy target or design choice, not an empirical claim. Requires a reason |

Companion fields: `substantiation_note` (free text, why this value), `delta_pct`
(required at `compared` and beyond), `disposition` (required at `reconciled`).

Why a second field rather than more values on the first: adding these to
`validation_status` would force a choice between recording how a value was made
and recording whether it has been checked. Both facts matter and neither
substitutes for the other.

What the second field buys immediately: the phase pointer becomes a *count*
rather than a *claim*, which is the same move the evidence-discipline rule makes
everywhere else in this project.

---

## Proposed gates

Named here so the ratchet is explicit. Each closes a failure this program has
already seen.

1. **`check_declared_dependency_edges` (SIG).** Any figure ID named in another
   figure's prose (`notes`, `derivation.method`, `source`) must either appear as
   a structural edge in that figure's derivation inputs, or be listed in an
   explicit `mentions_not_dependencies` field. *Closes:* the package asserting,
   in two places, that `FIG-fund-coverage-share` reaches
   `FIG-existing-programs-absorbed` through `FIG-total-new-commitments`, when the
   structural inputs of `FIG-total-new-commitments` contain no such edge. A prose
   dependency claim that no edge supports is how that error entered and how it
   propagated.

2. **`check_substantiation_coverage` (OBS, escalating to MIN).** Report the count
   of figures at each `substantiation` value. MIN if a figure sits at `compared`
   or beyond without `delta_pct`, or at `reconciled` without `disposition`.

3. **`check_substantiation_monotonic` (SIG).** `substantiation` may only move
   forward through the sequence. A backward move requires a recorded reason in
   `substantiation_note`. *Closes:* a figure being quietly downgraded to make a
   pass look complete.

4. **`check_phase_claim` (MIN).** Any shipped `.md` asserting a phase, a
   completion state, or a count of figures or sources must carry the command that
   derived it, in the same file. *Closes:* the class of error that produced the
   stale opening of `SOURCE_RETRIEVAL_PLAN.md`, which still reads "23 external
   sources. Three are archived" after five more were archived.

5. **`check_p1_no_adoption` (MIN).** While any figure reads `unexamined` or
   `sourced`, no figure's `canonical` value may change in a release unless the
   release narrative names it an error correction under the narrow exception
   above. *Closes:* the phase-order rule being violated by momentum rather than
   by decision.

---

## Relationship to the existing files

| file | scope |
|---|---|
| `SUBSTANTIATION_PROGRAM.md` (this file) | the arc: phases, order, entry and exit criteria, labels, release discipline |
| `IMPLEMENTATION_PLAN.md` | the current schedule: which stage next, in what order, with what left deferred |
| `SUBSTANTIATION_FINDINGS.md` | findings the programme has produced that are not yet dispositioned |
| `DATA_REPRODUCIBILITY_PLAN.md` | P0 and P1 mechanics: what enforceable ingestion looks like |
| `SOURCE_RETRIEVAL_PLAN.md` | P1 inventory: which sources, what type, what priority |
| `RETRIEVAL_RUNBOOK.md` | P1 procedure: the steps to retrieve and seal one source |
| `RECONSTRUCTION_PROTOCOL.md` | per-figure method for P1 reconstruction and P2 comparison |
| `FINDING_TRACE_PROTOCOL.md` | how a finding is verified before it is recorded |
| `09_Verified_Platform_Status.md` | verified ground truth about derivation provenance |

If any of these contradicts this file on **order**, this file is wrong and should
be corrected. If any contradicts it on **current state**, the registries win and
both files are wrong.

---

## What this program does not do

**It does not validate the models.** A perfectly reproducible pipeline can feed a
model whose method is wrong. METHOD-3 records that no model here has been
independently audited, and that stays true through P3. It is P4's job.

**It does not make the platform's numbers survive.** The one lever sourced end to
end so far moved 39 percent in the unfavourable direction. The mechanism that
produced that, figures set to make the architecture work and then never checked,
applies to the rest of the set by construction.

**It does not resolve architectural questions.** Joint fundability under the
3 percent cap, what the healthcare pillar replaces, whether the education fund
can carry a stipend whose cost is absent from its solvency model: no data settles these. They are P3 and
they are design decisions.

**It does not have a schedule.** Every phase has to be worth stopping after.
