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 / CAND3-AUDIT-20261006 / runners / cand3_setup_trees.sh
| 1 | #!/usr/bin/env bash |
| 2 | # Create the clean chip worktrees and the R16 survey checkouts at the CAND-3 commits (git worktree add only; no build, no chip). |
| 3 | # Same layout as CAND-2 (cand2/wt-omega-chip, wt-physics-chip, survey/{aegis-runtime,aienos,aien-sovereign-core}). |
| 4 | set -eu |
| 5 | . "$(dirname "$0")/cand3_env.sh" |
| 6 | add() { # repo dir sha |
| 7 | [ -d "$2" ] || git -C "$1" worktree add -q --detach "$2" "$3" |
| 8 | [ "$(git -C "$2" rev-parse HEAD | cut -c1-${#3})" = "$3" ] && [ -z "$(git -C "$2" status --porcelain)" ] || { echo "NOT CLEAN/NOT AT $3: $2"; exit 3; } |
| 9 | } |
| 10 | git -C $HOME/workspace/omega fetch -q origin; git -C $HOME/workspace/physics fetch -q origin |
| 11 | add $HOME/workspace/omega "$W/wt-omega-chip" "$HARNESS_SHA" |
| 12 | add $HOME/workspace/physics "$W/wt-physics-chip" "$PHYS_SHA" |
| 13 | add $HOME/workspace/r16-survey/aegis-runtime "$W/survey/aegis-runtime" "$AEGIS_RUNTIME_SHA" |
| 14 | add $HOME/workspace/r16-survey/aienos "$W/survey/aienos" "$AIENOS_SHA" |
| 15 | add $HOME/workspace/r16-survey/aien-sovereign-core "$W/survey/aien-sovereign-core" "$SC_FINAL" |
| 16 | [ "$(tr -d '[:space:]' < "$W/survey/aien-sovereign-core/omega.lock")" = "$OMEGA_FINAL" ] || { echo "sc omega.lock != OMEGA_FINAL"; exit 3; } |
| 17 | echo "trees ready" |