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/omega-mv/blob/main/evidence/GATE14-FOUNDATION/legs-1720a8d/runner.sh # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / GATE14-FOUNDATION / legs-1720a8d / runner.sh` 24 lines ยท 1702 bytes Raw Blame History 1 #!/bin/bash 2 # Gate 14 leg on omega `1720a8d` + physics `e95e3ed` (clean worktrees). usage: g14leg-`1720a8d`.sh forge|m19r 3 # Never resets/closes the device. On any non-zero exit it snapshots dmesg/devnodes and leaves state alone. 4 set -u 5 H=$HOME/workspace/hive-worktrees 6 O=$H/omega-g14-`1720a8d`; P=$H/physics-g14-`e95e3ed` 7 D=$HOME/workspace/evidence-out/G14-`1720a8d` 8 OC=`1720a8d42bca03181be5da69317ec38fc52ea9bf`; PC=`e95e3ed2a86fe4bffe4d954fa94c27dfb5284280` 9 leg=$1; mkdir -p "$D" 10 [ "$(git -C $O rev-parse HEAD)" = "$OC" ] && [ "$(git -C $P rev-parse HEAD)" = "$PC" ] || { echo "WRONG HEADS"; exit 1; } 11 [ -z "$(git -C $O status --porcelain)" ] && [ -z "$(git -C $P status --porcelain)" ] || { echo "DIRTY tree before run"; exit 1; } 12 start=$(date -u +%FT%TZ); echo "$leg start $start" >> $D/timings.txt 13 case $leg in 14 forge) "$P/tests/run_forge_gates.sh" --omega-dir "$O" --omega-candidate $OC --physics-candidate $PC \ 15 --evidence-dir "$D/FORGE-GATES" --record > $D/gate3_4.out 2>&1; rc=$?;; 16 m19r) "$O/tools/m19r_qualify.sh" --omega-candidate $OC --physics-candidate $PC --physics-dir "$P" > $D/gate1_2.out 2>&1; rc=$? 17 run=$(ls -td "$O"/build/qual-runs/2*/ | head -1); mkdir -p $D/M19R; cp "$run/receipt-preview.json" $D/M19R/receipt-preview.json 2>/dev/null 18 cp -r "$run" $D/m19r-run-dir 2>/dev/null;; 19 esac 20 end=$(date -u +%FT%TZ); echo "$leg end $end rc=$rc" >> $D/timings.txt 21 if [ $rc -ne 0 ]; then { date -u; dmesg 2>&1 | tail -200; } > $D/$leg.dmesg.txt; ls -l /dev/nvidia* > $D/$leg.devnodes.txt 2>&1; fi 22 echo "porcelain after: omega[$(git -C $O status --porcelain)] physics[$(git -C $P status --porcelain)]" 23 tail -15 $D/*$([ $leg = forge ] && echo gate3_4 || echo gate1_2).out 24 exit $rc