KB-238C

FIX7 P0 Final Pre-Real-Data — RERUN.sh

2 min read Revision 1
tool-kiem-thufix7p0final-pre-real-datareadiness-packet2026-06-12

#!/bin/sh

FIX7 P0 - final pre-real-data readiness packet :: independent rerun proof.

1) verify every packet file against HASH_MANIFEST.txt (raw bytes);

2) rerun commands.sh (fresh mktemp surrogate; generation is deterministic);

3) confirm the regenerated evidence JSONs are byte-identical to the sealed ones.

NO production contact, NO CI trigger.

set -u HERE=$(cd "$(dirname "$0")" && pwd) cd "$HERE" rc=0

echo "== [1/3] hash manifest verification (raw bytes) ==" shasum -a 256 -c HASH_MANIFEST.txt || rc=1

echo "== [2/3] rerun commands.sh ==" sh commands.sh || rc=1

echo "== [3/3] regenerated outputs byte-identical ==" for f in rollback-evidence.json surrogate-rehearsal-execution-evidence.json
hardened-validator-result.json bad-input-probes.json; do want=$(grep " $f$" HASH_MANIFEST.txt | cut -d' ' -f1) got=$(shasum -a 256 "$f" | cut -d' ' -f1) if [ "$want" = "$got" ]; then echo "MATCH $f" else echo "MISMATCH $f (want $want got $got)" rc=1 fi done

if [ "$rc" -eq 0 ]; then echo "RERUN_RESULT: PASS" else echo "RERUN_RESULT: FAIL" fi exit "$rc"

Back to Knowledge Hub knowledge/dev/reports/architecture/fix7-p0-final-pre-real-data-readiness-packet-2026-06-12/RERUN.sh