#!/usr/bin/env bash
# CHECK -- ledger: 2026-11-05 wizard-work/ledger census.
# Re-derives the census from the committed tree at the pinned commit and
# diffs it against the committed census CSV. Exit code IS the verdict
# (0 = the committed CSV matches the pinned tree; nonzero = it does not).
set -u
cd "$(dirname "${BASH_SOURCE[0]}")" || exit 1
REPO_ROOT="$(pwd)"
exec python3 "$REPO_ROOT/wizard-work/ledger/2026-11-05-wizard-work-ledger-census-verify.py"
