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 / CAND3-AUDIT-20261006 / runners / cand3_setup_trees.sh

17 lines · 1180 bytes Raw Blame History
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}).
4set -eu
5. "$(dirname "$0")/cand3_env.sh"
6add() { # 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}
10git -C $HOME/workspace/omega fetch -q origin; git -C $HOME/workspace/physics fetch -q origin
11add $HOME/workspace/omega "$W/wt-omega-chip" "$HARNESS_SHA"
12add $HOME/workspace/physics "$W/wt-physics-chip" "$PHYS_SHA"
13add $HOME/workspace/r16-survey/aegis-runtime "$W/survey/aegis-runtime" "$AEGIS_RUNTIME_SHA"
14add $HOME/workspace/r16-survey/aienos "$W/survey/aienos" "$AIENOS_SHA"
15add $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; }
17echo "trees ready"