#!/usr/bin/env bash # CHECK -- sol: sol-lane triage manifest for 2026-11-01 (forge: sol lane). # Exit 0 iff the committed manifest re-derives from the frozen seed by the # rubric and every frozen path exists as a real, non-ignored file in the repo. set -u # Resolves the repo root from THIS script's own location, so the gate works # no matter what the caller's working directory is (the previous version did # `cd "$(dirname ...)"` which silently ran python3 from the wrong cwd). SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "$SCRIPT_DIR" && pwd)" cd "$REPO_ROOT" || exit 2 exec python3 wizard-work/sol/verify_sol_lane_triage_2026_11_01.py