interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

branch main Branches Tags History

aien-protocols-mv / specs / microjob / tools / check-collective.sh

13 lines · 637 bytes Raw Blame History
1#!/usr/bin/env bash
2# External verification instrument, discovered by the existing c-vectors gate.
3set -euo pipefail
4ROOT=$(cd "$(dirname "$0")/../../.." && pwd)
5PKT=$ROOT/specs/microjob/collective-fixtures
6for tool in cargo rustc; do command -v "$tool" >/dev/null || { echo "NOT_RUN: missing $tool"; exit 3; }; done
7cargo --version
8rustc --version
9mkdir -p "$ROOT/target"
10TASK=$(mktemp -d "$ROOT/target/collective-fixtures.XXXXXXXX")
11trap 'rm -rf "$TASK"' EXIT
12cargo build --offline --locked --release --manifest-path "$PKT/oracle/rust-probe/Cargo.toml" --target-dir "$TASK"
13RUST_PROBE="$TASK/release/ocf-probe" bash "$PKT/run-host.sh"