#!/usr/bin/env bash # L1 checkpoint: the FastAPI app imports with declared dependencies only. # # Catches the feat/kd-6b class of defect (issue #169): a Form(...) dependency # without python-multipart declared, which makes the whole app refuse to start. # # `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_app_imports.py "$@"