ADR 0051: No check reports evidence as verified when none was examined

  • Status: Accepted on 2026-11-29.
  • Date: 2026-11-29
  • SDD: 12; ADR 0025, 0036, 0041, 0050
  • Prompted by: an outside discussion of how missing, empty or blank inputs can pass a verifier; the engineering report is docs/design/evidence-verification-2026-11.md

Context

Three checks are what a reader relies on: scenario verify (a bundle against its manifest), gate verify-receipts (a system's receipts against the decisions of a run, and their signatures) and bench verify (a result directory against its record). At commit 65a4508 two of them could report success having examined nothing:

  • scenario verify reported a bundle whose manifest listed no files as intact, exit 0.
  • gate verify-receipts exited 0 with an empty receipt file, a file of blank lines, and with --verifier given but never run, as long as some decision carried a correlation.

bench verify crashed with a traceback when a record listed no card.

Decision

Five properties, never read from one another. Integrity: the files are the ones the record lists. Authenticity: who made them, which only a signature or an attestation shows. Validity: they hold what their schema says. Coverage: how much of what should be covered was. Completeness and availability: what must be there is there, and can be read. A matching hash establishes integrity and nothing else.

A bundle is checked against what its schema requires. check_bundle returns INTACT or NOT_INTACT with what it checked and what not, how many files were expected, checked, failed and missing. A manifest that lists no files, lacks one of the five files every bundle holds, gives a hash that is not a SHA-256, lacks the fields that say what ran, or is empty, blank, malformed or a directory, is never intact. A file may be empty: a run with no escalations has an empty escalations.jsonl, and that is valid evidence of no events. A bundle made before ADR 0038 has no action trace; that is a note, not a failure.

Receipts have a coverage status, and authenticity apart. verification in the report of gate verify-receipts: NO_EVIDENCE when no receipt line was read, NO_COVERAGE when none matched a decision, PARTIAL_COVERAGE when some decisions have none, COMPLETE when all do, FAILED when a receipt contradicts its decision or a signature fails, whatever the coverage. With expected_records, records_read, records_matched, records_failed, records_missing, records_unknown, coverage and reason_codes. authenticity says whether signatures were checked with keys, with the system's own verifier and how many times it ran, or not at all. NO_EVIDENCE and NO_COVERAGE exit 1; PARTIAL_COVERAGE exits 0 as before, says so, and exits 1 with --require-all.

A record checks a card or nothing. bench verify refuses a record that lists no result_card.json or names no commit, and reports an unreadable card instead of crashing. On success it says it checked integrity against the record, and how to check who made it.

Consequences

  • No frozen version, tag, card or historical result changes. Both published REMORA results verify as before.
  • A caller that read ok from the receipt report reads it as before; verification is added beside it.
  • A script that ran gate verify-receipts with an empty receipt file and expected exit 0 now gets 1. That is the point.
  • Not in scope: gate check checks the interface, and passes a gate that abstains on everything; gate advise and a run show what it does.