gabriel / musehub public
verify_consumer_contract.sh bash
13 lines 669 B
Raw
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 26 days ago
1 #!/usr/bin/env bash
2 # L1 checkpoint: MuseHub still serves the exact paths the Scooling adapter needs.
3 #
4 # Scooling's museHubRepoTransport.ts re-derives and asserts the expected
5 # pathname, so the /api prefix is a cross-repo contract. This check is what makes
6 # a prefix change fail in MuseHub instead of silently breaking Scooling.
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_consumer_contract.py "$@"
File History 1 commit
sha256:f65847c6a4ae29872f3ccbc2420f91a8948949b84a06320bdaf2ac281c89ff8a docs(F7b): governance sync — BUILT awaiting Gabriel; carry … Human patch 26 days ago