#!/usr/bin/env bash
# CHECK -- sol: sol-profile directory triage (2026-11-04, schema-B).
# Independent re-derivation from the LIVE profile directory, then cross-check
# of the committed artifact. Exit 0 = PASS (the exit code IS the verdict).
set -u
REPO=/root/troupe-standup
A="$REPO/wizard-work/sol/sol-profile-triage-2026-11-04.json"
V="$REPO/wizard-work/sol/verify_sol_profile_triage_check_2026_11_04.py"
[ -f "$A" ] || { echo "MISSING_ARTIFACT $A"; exit 1; }
[ -f "$V" ] || { echo "MISSING_VERIFY $V"; exit 1; }
python3 "$V" "$A"
exit $?