#!/usr/bin/env bash # L1 checkpoint: every declared APIRouter is reachable from the running app. # # Catches the Phase 9A-4 F7 class of defect: a fully implemented handler with # green unit tests that no request can reach, because the suite never observes # the app's route table. # # `ok verify-step` appends --manifest/--step/--policy; the checker ignores them. # The checker's ARTIFACT_SHA256 line must remain the last line of stdout, so this # wrapper execs rather than printing anything after it. set -euo pipefail source "$(dirname "$0")/_python_env.sh" exec "${PY}" tools/verify/check_routes_registered.py "$@"