Replay-verify
A verification domain — the shape where re-derivation is the product act. A score is never trusted; it is derived again from the committed record, and the verdict is itself an artifact with a manifest.
What the record is
A founding commits a match: { game, ruleset, seed } — a simulation seed and a ruleset pin. Facts append an input stream and nothing else: { type: 'input', tick, actor, action }. Outcomes are derived, never submitted — append a fact carrying a damage field and the record layer refuses it, because a value that can be derived does not get to be a fact.
What derives
final-state@1— folds the input stream through the pinned ruleset (duel-rules@1: energy-priced actions — advance, strike, guard, rest — against a shared target) and derives the final state: per-actor energy, position, and score; the target's remaining integrity; the run's score; the final state hash; and the full trace. Inputs fold in tick order, log position breaking ties; an action the actor cannot afford fizzles — marked in the trace, changing nothing.verify-score@1— the verification act itself, as a collapse. Given a claimed score (a collapse parameter, bound into the collapse's content key), it re-derives the run from the committed seed and inputs and returns the verdict: VERIFIED, REFUTED, or NO CLAIM STATED. Because the verdict is an artifact with a manifest, the verification itself replays and audits like any other claim.
What the proof shows
- The honest claim verifies. The canonical match — eight input facts folded through the ruleset — derives a score of 16, read from the derivation by the test driver, never hardcoded into the claim. Claimed against the honest record: VERIFIED, and the final-state manifest replays MATCH.
- One altered input refutes it. The tampered record is the same match with a single input changed — tick 3,
vexstrikes becomesvexrests. Its run derives 10. The honest claim against it: REFUTED. An inflated claim (honest score + 1) against the honest record: also REFUTED. - The MATCHes are not vacuous. The honest run's manifest, replayed against the tampered record, returns MISMATCH — the two directions of the control are both graded.
- Two-clocks byte-identical, verdict derivation included, under clocks shifted +61 seconds and +1 hour — with the deliberate clock-leak control diverging, as it must.
- The contract held at a third shape. This domain was built against the published record layer exactly as it stood: core changes needed, 0; record-layer changes needed, 0 — verified mechanically against a byte-level baseline, with the earlier suites re-run untouched (core 21/21, chronicle 11/11, service 8/8; this domain's own suite 13/13).
The honest limit
Replay-verify is the shape of a real, published product need — server-verified leaderboard scores, re-simulated from recorded inputs — and it is still a domain built by the core's own authors. The verdict-flip proof shows the mechanism catches tampering; it does not show that a stranger's simulation will express as cleanly. The integration guide's §3 walks this domain end to end so a pilot can run the flip themselves before believing any of it.