Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sovereign-intelligence/blob/main/evidence/x86-native/stale-pins.sh # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `sovereign-intelligence / evidence / x86-native / stale-pins.sh` 53 lines ยท 3041 bytes Raw Blame History 1 #!/bin/sh 2 # evidence/x86-native/stale-pins.sh QUALIFY_JSONL OMEGA_MV 3 # 4 # Explains each FAIL row "compiler stdout differs from oracle sha:X" or "... oracle file:F", an emit 5 # row: the AArch64 compiler's output for the row's exact source must have sha256 X (or equal F as 6 # committed at omega-mv `6fbc6cbe`). For every such row it recompiles that source with 7 # - each AArch64 omc omega-mv committed (seed/out/omc) from `62d1d0d6`, the compiler of the 8 # 2026-10-30 x86 receipt, to `6fbc6cbe`, newest first, until one reproduces the pin; and 9 # - this repository's out/omc, the compiler under test, 10 # and prints one TSV line: the case, the pin, the newest omega-mv commit whose omc reproduces it 11 # (and that omc's sha256), our omc's sha256, the sha256 the oracle observed, and a verdict: 12 # STALE_PIN when an earlier committed omc reproduces the pin and ours reproduces what the oracle saw, 13 # else UNEXPLAINED. A STALE_PIN row pins AArch64 bytes of an older omc; omc's AArch64 code for that 14 # source has changed since, so the row fails on any host. Exit 1 if any row is UNEXPLAINED. 15 set -eu 16 [ $# -eq 2 ] || { echo "usage: sh evidence/x86-native/stale-pins.sh QUALIFY_JSONL OMEGA_MV" >&2; exit 2; } 17 R=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd) 18 J=$1 MV=$2 19 MV_REV=`6fbc6cbe4bfa4092608e2b5f06d2e8f537893992` 20 OLDEST=`62d1d0d668f897386a0e311374f8dbcc5c32dde8` 21 T=$(mktemp -d) 22 trap 'rm -rf "$T"' EXIT 23 sha() { sha256sum | cut -c1-64; } 24 { git -C "$MV" log --format=%H "$OLDEST..$MV_REV" -- seed/out/omc; echo "$OLDEST"; } > "$T/commits" 25 while read -r c; do 26 git -C "$MV" show "$c:seed/out/omc" > "$T/omc-$c" 27 chmod +x "$T/omc-$c" 28 done < "$T/commits" 29 printf 'case\tpin\tpin_sha256\treproduced_by_commit\treproduced_by_omc_sha256\tnew_sha256\tobserved_sha256\tverdict\n' 30 : > "$T/verdicts" 31 jq -r 'select(.status? == "FAIL" and (.reason | test("^compiler stdout differs from oracle (sha|file):"))) 32 | [.case, .evidence.source_spec, (.reason | capture("^compiler stdout differs from oracle (?
[^ ]+): bytes=[0-9]+ sha256=(?