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 / docs / external / nightdriver / 666 / harness / run-matrix.sh

29 lines · 1352 bytes Raw Blame History
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
7set -e
8H=$(cd "$(dirname "$0")" && pwd)
9: "${ND_REPO:?set ND_REPO to a NightDriverStrip clone}"
10W=$(mktemp -d)
11(cd "$H/torture" && cargo build --release -q)
12T="$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
17while 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"
21done <<LIST
22s0 legacy 15221f20 0
23s1 legacy d73d18db~1 0
24s2 legacy d73d18db 0
25s2 legacy d73d18db 1
26main modern 4d79c290 0
27main modern 4d79c290 1
28LIST
29rm -rf "$W"