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
omega-mv / evidence / CAND1-RECON-2eec75b / run_recon.sh
| 1 | #!/usr/bin/env bash |
| 2 | # Clean reconstruction of CAND-1 from fresh GitHub clones and a fresh CARGO_HOME, compared with the frozen digests. |
| 3 | set -u |
| 4 | ~/.local/bin/quietlock check || { echo "READY_TO_BUILD: quiet flag held"; exit 75; } |
| 5 | R=$HOME/workspace/cand2-campaign/recon; E=$HOME/workspace/evidence-out/CAND1-RECON-2eec75b; ORIG=$HOME/workspace/evidence-out/CAND1-BUILD-2eec75b/summary.txt |
| 6 | bash $R/cand1_recon_build.sh 2eec75b08aeb8f9d11f950070e13f6c2c046cf24; rc=$? |
| 7 | cp $R/cand1_recon_build.sh $R/run_recon.sh $E/ 2>/dev/null |
| 8 | : > $E/compare.txt |
| 9 | grep '^SAME ' "$ORIG" | while read _ name dig; do |
| 10 | p=$(grep "^SAME $name " "$E/summary.txt" | cut -d' ' -f3) |
| 11 | [ "$p" = "$dig" ] && echo "SAME $name $dig" >> $E/compare.txt || echo "DIFFERENT $name orig=$dig recon=${p:-missing}" >> $E/compare.txt |
| 12 | done |
| 13 | cat $E/compare.txt; echo "build rc=$rc"; echo "recon done $(date -u +%FT%TZ)" >> $E/compare.txt |