interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / docs / external / nightdriver / 666 / harness / run-matrix.sh
| 1 | #!/bin/sh |
| 2 | # Reproduce the NightDriver 666 matrix. Needs: git, g++ (C++20), cargo, and a clone of |
| 3 | # https://github.com/PlummersSoftwareLLC/NightDriverStrip (set ND_REPO). No NightDriver source is stored in this repo: |
| 4 | # each snapshot is extracted unmodified with `git archive` at the SHA under test. |
| 5 | # |
| 6 | # ND_REPO=~/workspace/external/NightDriverStrip ./run-matrix.sh > results.tsv |
| 7 | set -e |
| 8 | H=$(cd "$(dirname "$0")" && pwd) |
| 9 | : "${ND_REPO:?set ND_REPO to a NightDriverStrip clone}" |
| 10 | W=$(mktemp -d) |
| 11 | (cd "$H/torture" && cargo build --release -q) |
| 12 | T="$H/torture/target/release/nd666-torture" |
| 13 | |
| 14 | # label variant sha audio (variant: which stub set matches that snapshot's platform API) |
| 15 | # s0 = 15221f20 last socket-server commit before the issue was filed (2024-11-09) |
| 16 | # s1 = parent of the fix commit, s2 = the fix commit d73d18db (2025-08-27), main = pinned upstream main |
| 17 | while read -r label variant sha audio; do |
| 18 | git -C "$ND_REPO" archive "$sha" include src/socketserver.cpp | (mkdir -p "$W/$label" && tar -x -C "$W/$label") |
| 19 | "$H/host/build.sh" "$variant" "$W/$label" "$W/$label.bin" -DENABLE_AUDIO="$audio" |
| 20 | "$T" "$W/$label.bin" --label "${label}_audio${audio}" --audio "$audio" |
| 21 | done <<LIST |
| 22 | s0 legacy 15221f20 0 |
| 23 | s1 legacy d73d18db~1 0 |
| 24 | s2 legacy d73d18db 0 |
| 25 | s2 legacy d73d18db 1 |
| 26 | main modern 4d79c290 0 |
| 27 | main modern 4d79c290 1 |
| 28 | LIST |
| 29 | rm -rf "$W" |