interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / adapters / aien / setup-siblings.sh
| 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) |
| 4 | set -euo pipefail |
| 5 | here="$(cd "$(dirname "$0")" && pwd)" |
| 6 | parent="${1:-$(cd "$here/../../.." && pwd)}" |
| 7 | # shellcheck source=PINS |
| 8 | . "$here/PINS" |
| 9 | dest="$parent/interplane-audit" |
| 10 | mkdir -p "$dest" |
| 11 | pin() { # 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 | } |
| 17 | pin aegis-runtime "$AEGIS_RUNTIME_REPO" "$AEGIS_RUNTIME_REV" |
| 18 | pin aien-protocols "$AIEN_PROTOCOLS_REPO" "$AIEN_PROTOCOLS_REV" |
| 19 | # The Cargo.toml git revs must match PINS. |
| 20 | for 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; } |
| 22 | done |