interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / adapters / aien / setup-siblings.sh

22 lines · 994 bytes Raw Blame History
1#!/usr/bin/env bash
2# Clone the pinned AIEN sibling checkouts next to the interplane checkout. Reads ./PINS.
3# Usage: adapters/aien/setup-siblings.sh [parent-dir] (default: the parent of the interplane checkout)
4set -euo pipefail
5here="$(cd "$(dirname "$0")" && pwd)"
6parent="${1:-$(cd "$here/../../.." && pwd)}"
7# shellcheck source=PINS
8. "$here/PINS"
9dest="$parent/interplane-audit"
10mkdir -p "$dest"
11pin() { # name repo rev
12 [ -d "$dest/$1/.git" ] || git clone -q "$2" "$dest/$1"
13 git -C "$dest/$1" fetch -q origin "$3" 2>/dev/null || true
14 git -C "$dest/$1" checkout -q "$3"
15 echo "$1 @ $(git -C "$dest/$1" rev-parse HEAD)"
16}
17pin aegis-runtime "$AEGIS_RUNTIME_REPO" "$AEGIS_RUNTIME_REV"
18pin aien-protocols "$AIEN_PROTOCOLS_REPO" "$AIEN_PROTOCOLS_REV"
19# The Cargo.toml git revs must match PINS.
20for crate in aien-capability aien-mcp; do
21 grep -q "^$crate = .*rev = \"$SOVEREIGN_CORE_REV\"" "$here/Cargo.toml" || { echo "Cargo.toml rev for $crate differs from PINS" >&2; exit 1; }
22done