gabriel / musehub public
verify_app_imports.sh bash
12 lines 585 B
Raw
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 27 days ago
1 #!/usr/bin/env bash
2 # L1 checkpoint: the FastAPI app imports with declared dependencies only.
3 #
4 # Catches the feat/kd-6b class of defect (issue #169): a Form(...) dependency
5 # without python-multipart declared, which makes the whole app refuse to start.
6 #
7 # `ok verify-step` appends --manifest/--step/--policy; the checker ignores them.
8 # The checker's ARTIFACT_SHA256 line must remain the last line of stdout, so this
9 # wrapper execs rather than printing anything after it.
10 set -euo pipefail
11 source "$(dirname "$0")/_python_env.sh"
12 exec "${PY}" tools/verify/check_app_imports.py "$@"
File History 1 commit
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 27 days ago