Skip to content
LITHOEN

Evidence platform and governance

Document

ADR-0012: Review provenance, source revalidation, and the corpus manifest

Repository path
docs/decisions/ADR-0012-review-and-reproducibility.md
Size · SHA-256
2.0 KB · 115363c75ae7ab05269b95c8158eef9c2d72c952c7400a573165b7c241b88237

Status: accepted (2026-09-06)

Context

At Phase 0 scale (23 claims, 4 sources) it was obvious what had been checked and when. At Phase 1 scale (180 claims, 24 sources) it is not. Three separate questions became real: has this claim been reviewed? is this source still saying what we said it said? and does this checkout hold the corpus that produced a given build?

Decision

Three minimal, migration-safe additions.

  1. Claim.review — optional in the schema so Phase 0 records stayed valid, and required by the review-provenance validator before a PUBLIC claim may be PUBLISHED. The method vocabulary contains exactly one value, INTERNAL_STRUCTURED_VERIFICATION, and it means what it says: a reviewer re-read the cited source at the recorded locator. There is no value that could be mistaken for external peer review, and none will exist until external peer review actually happens.

  2. Source.lastVerifiedAt and Source.verificationStatus — distinct from retrievedAt, which never changes. A Phase 0 source re-checked in Phase 1 keeps its original retrieval date and gains a newer verification date. SUPERSEDED sources cannot support published claims.

  3. data/corpus-manifest.json — counts plus per-store content hashes plus a corpus hash, computed over normalised record content (keys sorted), so reformatting does not move the fingerprint but changing a value does. generatedAt is recorded for humans and excluded from every hash, keeping the manifest byte-stable across runs. pnpm validate fails on a stale manifest.

Consequences

  • Publication is now a machine-checked assertion that a human read the source.
  • Reproducibility is one file comparison, not a diff of 460 records.
  • Deliberately not built: archival snapshots of source artefacts, a review queue, or multi-reviewer sign-off. Those need a second person before they mean anything.