From e452a1afbfa0ac7ca4c3dad493f931f8a73ecb2d Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 1 Oct 2026 22:11:34 -0700 Subject: [PATCH] harness: tolerate missing container in ASI capture; llama cmdline fallback --- autoresearch.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoresearch.sh b/autoresearch.sh index afb2f5e..7c532a1 100755 --- a/autoresearch.sh +++ b/autoresearch.sh @@ -69,7 +69,10 @@ fi # 5. Identity evidence for the loop's records (exact engine argv). ASI_ARGS="$(ssh "$HOST" 'podman inspect frank-large-mimo \ - --format "{{join .Config.Cmd \" \"}}" 2>/dev/null' | tr -d "\n" | head -c 400)" + --format "{{join .Config.Cmd \" \"}}" 2>/dev/null' | tr -d "\n" | head -c 400 || true)" +if [ -z "$ASI_ARGS" ]; then + ASI_ARGS="$(ssh "$HOST" "tr '\\0' ' ' < /proc/\\$(pgrep -x llama-server | head -1)/cmdline 2>/dev/null" | head -c 400 || true)" +fi echo "ASI engine_args=${ASI_ARGS:0:400}" # 6. The battery, on the host, medians over 3 reps x 2 greedy prompts.