Source identity
| Field | Recorded value |
|---|---|
| Source type | archive member |
| Original record | run_isolated_checks.sh |
| Date | Not specified in source |
| Path or archive member | archives/libsrc-b5cb90ed4bd7/AI_DEEP_SCAN_2026-10-14_v2/checks/run_isolated_checks.sh |
| Original SHA-256 | c61754f365e971fb842c3b1a6fca88e1851299845e4b2b0df50cc3c97f4da5a2 |
| Reading-copy SHA-256 | c61754f365e971fb842c3b1a6fca88e1851299845e4b2b0df50cc3c97f4da5a2 |
| Archive source | {"sourceId": "libsrc-b5cb90ed4bd7", "member": "AI_DEEP_SCAN_2026-10-14_v2/checks/run_isolated_checks.sh"} |
Recovered source transcript
Download complete source text ↓36 lines · 2.0 KB
#!/usr/bin/env bash
# Reproduces only the bounded audit checks. Does not run a recovered service,
# read user state databases, install dependencies, or access the network.
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
OUT="$(mktemp -d "${TMPDIR:-/tmp}/ai-recovery-checks.XXXXXX")"
mkdir -p "$OUT/home" "$OUT/go-cache"
export HOME="$OUT/home"
export GOPROXY=off GOSUMDB=off GOTOOLCHAIN=local GOCACHE="$OUT/go-cache"
export GO111MODULE=off
unset NODE_OPTIONS NODE_PATH GOFLAGS GOWORK || true
CXX="${CXX:-g++}"
python3 "$ROOT/checks/verify_originals.py"
node --version > "$OUT/environment.txt"
"$CXX" --version | head -1 >> "$OUT/environment.txt"
go version >> "$OUT/environment.txt"
node --experimental-default-type=module "$ROOT/verified_source/seferim-core/test/run.js" > "$OUT/seferim-official-tests.txt" 2>&1
node --experimental-default-type=module "$ROOT/checks/seferim_behavior_probes.mjs" > "$OUT/seferim_behavior_results.json"
go build -o "$OUT/indexer-build" "$ROOT/verified_source/seferim-agi-g16/tools/memory_indexer/main.go"
printf 'build_exit=0\nIndexer compiled only, not executed.\n' > "$OUT/indexer-build.txt"
INC="$ROOT/verified_source/seferim-agi-g16/include"
"$CXX" -std=c++20 -O2 -Wall -Wextra -pedantic -I"$INC" "$ROOT/verified_source/seferim-agi-g16/tests/test_g16_v2.cpp" -o "$OUT/g16-v2-test"
"$OUT/g16-v2-test" > "$OUT/g16-v2-official-tests.txt"
for PROBE in g16_v2_probes binary_roundtrip_probe; do
"$CXX" -std=c++20 -O2 -Wall -Wextra -pedantic -I"$INC" "$ROOT/checks/$PROBE.cpp" -o "$OUT/$PROBE"
"$OUT/$PROBE" > "$OUT/$PROBE.json"
done
"$CXX" -std=c++20 -O2 -Wall -Wextra -pedantic \
-I"$ROOT/verified_source/rhiannon/include" \
"$ROOT/verified_source/rhiannon/src/agents/two_way_engine.cpp" \
"$ROOT/checks/rhiannon_probes.cpp" -o "$OUT/rhiannon-probes"
"$OUT/rhiannon-probes" > "$OUT/rhiannon_results.json"
python3 "$ROOT/checks/learner_integration_probes.py" > "$OUT/learner_integration_results.json"
printf '\nAudit check outputs: %s\n' "$OUT"
printf 'This is not a full-repository build or a restoration of user state.\n'