Files
troupe-standup/wizard-work/volt/CHECK
T
spark 8ec77256b6 volt: Q65 closes -- five TIMEOUT rows now carry an rc under per-file windows (0 left), rows blob-bound, host-pinned PASS excluded from coverage (48 PASS*, 7 graded-clean); summary split into ledger total vs class tally (c22, 22/22 cells)
Lane gate measured at 77d5eba: q65_gate.sh rc 0 in 11.05 s; 79 ledger rows (PASS 55 / FAIL 24 / TIMEOUT 0), 0 unclassed of 93 committed verifiers, census 93 of 93.

Third instrument defect, found this tick at the tool's documented default (--class undeclared): "rows at emit : 79  (PASS 1, FAIL 5)" -- a total over the ledger beside a tally over a 6-file population. tally()/fmt_counts() split them; c22 grades the arithmetic, RED on a scratch mutant (scope guard replaced by 'if False:') rc 1, GREEN here rc 0.
2026-10-25 02:21:30 +00:00

34 lines
1.7 KiB
Bash

#!/bin/bash
# CHECK — volt lane: the Q65 verifier-coverage gate. Fast: no verifier runs.
#
# What this grades: the LEDGER against the tree at HEAD. Every committed
# wizard-work/**/verify_*.py must be named by the census
# (q63_unwired_baseline.tsv) or by the runner ledger (q65_runner_baseline.tsv),
# every ledger row must be bound to the blob it graded, and every ledger row's
# verdict must agree with the rc beside it. Re-executing the verifiers is
# `q65_runner.py --emit` (minutes, 79 population files of 93 committed
# verifiers) and is not this.
#
# The root is resolved from $0, not written down. A gate that `cd`s to an
# absolute host path grades THAT tree from whatever checkout invokes it: at
# `66e5be1`, a clone with one verifier deleted printed `0 unclassed of 88` and
# CHECK PASS (measured 2026-10-24, reply 93 defect 1). `git -C <this dir>`
# fails outside a repo, which is rc 2 — the gate could not grade, and that is
# not a pass.
#
# rc 0 the ledger is complete, content-bound and self-consistent
# rc 1 a fault it graded: an unclassed verifier, a missing row, a bad pairing,
# a row whose blob no longer matches the tree
# rc 2 it could not grade at all (no ledger, unreadable tree, no git root)
set -u
ROOT="$(git -C "$(dirname "$0")" rev-parse --show-toplevel 2>/dev/null)" || exit 2
[ -n "$ROOT" ] || exit 2
cd "$ROOT" || exit 2
python3 wizard-work/volt/q65_runner.py --selftest || exit 1
python3 wizard-work/volt/q65_runner.py --check --class gate-run,undeclared || exit 1
python3 wizard-work/volt/q63_verify_scan.py --repo . >/dev/null || exit 1
echo "CHECK PASS: census covers every committed verifier; runner ledger grades clean."
exit 0