#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"
PY="${HOME}/.mugi/venv/bin/python"
[[ -x "$PY" ]] || PY=python3

echo "=== bare_except_report (first 80 rows) ==="
"$PY" scripts/audit/bare_except_report.py 2>&1 | head -80 || true
echo "… (truncated; full report: make audit-scan-full or scripts/audit/bare_except_report.py)"
echo ""
echo "=== bridge_route_inventory ==="
"$PY" scripts/audit/bridge_route_inventory.py
echo ""
echo "=== swift_optional_decode_audit ==="
bash scripts/audit/swift_optional_decode_audit.sh
