igneum/tools/attack/adv-accept/run-box.sh
igneum-labs 8423de3eb9 adv-accept: harness, run script and report skeleton
The adv-accept harness crate (draw-path check, accepted-program sweep over class v4,
closed-form distinct and per-site ratio, plant hooks), the box-2 run script, and the
Deliverable-2 report with the status board. Draw path validated (shared devnet epoch-0
id a785001687d8688a). The plant fires on (a'). The 10k-seed sweep is running on box 2.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 18:14:37 +00:00

14 lines
673 B
Bash

#!/usr/bin/env bash
# Start a long adv-accept run on build box 2 under this lane's rules: nice 10, core band 0-31, a pid
# file beside the log, logs under /srv/builds/igneum-wt-adv-accept/adv/. Run ON box 2, from the built
# crate dir. Kill only by the pid file (kill "$(cat <log>.pid)"), never by name.
# run-box.sh <tag> <adv-accept args...>
set -euo pipefail
tag="$1"; shift
dir=/srv/builds/igneum-wt-adv-accept/adv
mkdir -p "$dir"
bin=/srv/builds/igneum-wt-adv-accept/tools/attack/adv-accept/target/release/adv-accept
log="$dir/$tag.log"
nohup nice -n 10 taskset -c 0-31 "$bin" "$@" > "$log" 2>&1 &
echo $! > "$log.pid"
echo "started pid $(cat "$log.pid"); log $log"