gabriel / musehub public
verify_routes_registered.sh bash
13 lines 618 B
Raw
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 31 days ago
1 #!/usr/bin/env bash
2 # L1 checkpoint: every declared APIRouter is reachable from the running app.
3 #
4 # Catches the Phase 9A-4 F7 class of defect: a fully implemented handler with
5 # green unit tests that no request can reach, because the suite never observes
6 # the app's route table.
7 #
8 # `ok verify-step` appends --manifest/--step/--policy; the checker ignores them.
9 # The checker's ARTIFACT_SHA256 line must remain the last line of stdout, so this
10 # wrapper execs rather than printing anything after it.
11 set -euo pipefail
12 source "$(dirname "$0")/_python_env.sh"
13 exec "${PY}" tools/verify/check_routes_registered.py "$@"
File History 1 commit
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 31 days ago