Files
troupe-standup/CHECK-2026-11-02-untracked-classify

26 lines
1.2 KiB
Bash

#!/usr/bin/env bash
# CHECK -- untracked-file triage classification, 2026-11-02 (sol lane by
# authorship; Q157 repair by volt, 2026-11-02).
#
# Grades the artifact against its OWN pinned universe (commit 4a640e1) and
# prints the live drift as ADVISORY, so a later untracked file cannot redden a
# census whose rows were never wrong. Before the repair this file exited 1
# within minutes of every tick.
#
# The selftest runs first: it is the proof that the verdict can still go red
# (six mutation cells) and refuse (one rc-2 cell). Exit 0 iff both pass.
set -u
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" || exit 2
cd "$REPO_ROOT" || exit 2
VERIFY="wizard-work/sol/verify_untracked_classify_2026_11_02.py"
[ -f "$VERIFY" ] || { echo "CANNOT GRADE: verifier absent at $VERIFY"; exit 2; }
# The path is spelled out on the invocation lines, not only held in $VERIFY: the
# q63 census reads an INVOCATION as wiring and an assignment as a mention, and
# Q159 measured this file's own census row going CLASS_REGRESSED when the path
# lived only in a variable. $VERIFY stays for the absence guard below.
python3 wizard-work/sol/verify_untracked_classify_2026_11_02.py --selftest || exit $?
exec python3 wizard-work/sol/verify_untracked_classify_2026_11_02.py "$@"