KB-370F
FIX7 P0 CI Adoption Packet — commands.sh
1 min read Revision 1
tool-kiem-thufix7p0ci-seal-vs-bytesadoption-packet2026-06-12
#!/bin/sh
FIX7 P0 - CI seal-vs-bytes adoption packet :: command evidence (off-production)
Runs the gate selftest, the sample-seal verification, and the 9 byte-drift
tests. NO CI trigger, NO production contact, NO secrets.
set -u HERE=$(cd "$(dirname "$0")" && pwd) cd "$HERE" overall=0
echo "== [1/3] gate selftest (writes ci-seal-vs-bytes-gate-selftest-result.json) ==" python3 ci_seal_vs_bytes_gate.py --selftest || overall=1
echo "== [2/3] sample seal manifest verifies byte-exact ==" python3 ci_seal_vs_bytes_gate.py --manifest sample-seal-manifest.sha256 --root . || overall=1
echo "== [3/3] byte-drift test cases (writes ci-gate-test-results.json) ==" python3 run_byte_drift_tests.py || overall=1
if [ "$overall" -eq 0 ]; then echo "CI_ADOPTION_PACKET_COMMANDS: OVERALL PASS" else echo "CI_ADOPTION_PACKET_COMMANDS: OVERALL FAIL" fi exit "$overall"