interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / CAND1-RECON-2eec75b / run_recon.sh

13 lines · 890 bytes Raw Blame History
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.
3set -u
4~/.local/bin/quietlock check || { echo "READY_TO_BUILD: quiet flag held"; exit 75; }
5R=$HOME/workspace/cand2-campaign/recon; E=$HOME/workspace/evidence-out/CAND1-RECON-2eec75b; ORIG=$HOME/workspace/evidence-out/CAND1-BUILD-2eec75b/summary.txt
6bash $R/cand1_recon_build.sh 2eec75b08aeb8f9d11f950070e13f6c2c046cf24; rc=$?
7cp $R/cand1_recon_build.sh $R/run_recon.sh $E/ 2>/dev/null
8: > $E/compare.txt
9grep '^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
12done
13cat $E/compare.txt; echo "build rc=$rc"; echo "recon done $(date -u +%FT%TZ)" >> $E/compare.txt