Commit e808676
committed
gate: assert gate binary's commit hash matches HEAD
Companion to f3271f5 (cp-without-||-true). The cp fix prevents
ONE class of stale-binary contamination (busy file → silent
fallback). It does NOT prevent every class — a stale build that
wasn't rebuilt after pull, a wrong working-tree state at build
time, or a corrupted ${PYTHON} binary all still produce a
${PYTHON}_gate that doesn't correspond to HEAD.
Fix: extract sys.version from the gate binary, grep for the
short HEAD hash, abort if absent. 'GATE PASS commit X' now
carries its own falsifier — without BINARY_MATCH in the
transcript, the verdict is unreliable.
Per theologian 2026-04-22 00:43:35Z architectural framing:
the underlying issue was unfalsifiability of the PASS verdict.
This step makes the verdict structurally falsifiable.1 parent f3271f5 commit e808676
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
87 | 109 | | |
88 | 110 | | |
89 | 111 | | |
| |||
0 commit comments