Files
SoulStream/handoff/tools/compare-walks.sh
T
KeelrLeek 9f0601027c android: the handoff — the pending rounds, the pipeline, and what is unverified
Everything written this session that has not been through the device: rounds 43
to 48 (each patch adversarially verified, 43's transient-notice expectation
fixed), a partial round 49, the pipeline scripts, the Android Auto design and
the icon comparison mock. Also the two harness changes that were never A/B'd —
adaptive waits, which may only shorten a declared wait and never lengthen it,
and a ship that runs the mock walk and the deploy at the same time. The A/B and
its 255-step baseline are in handoff/tools; main stays at what the phone has
actually walked.
2026-09-14 07:57:41 -05:00

15 lines
765 B
Bash

#!/usr/bin/env bash
# Compare a walk log against the baseline, step by step: same verdicts or not.
# bash compare-walks.sh <new-log>
S="C:/Users/Kyle/AppData/Local/Temp/claude/F--Coding-SoulStream/5488514a-11e8-482a-b0a0-20cb511ee110/scratchpad"
grep -E "^ ok |^ FAIL " "$1" | awk '{print $1, $2}' > "$S/new-mock-steps.txt"
echo "baseline steps: $(wc -l < "$S/baseline-mock-steps.txt") new steps: $(wc -l < "$S/new-mock-steps.txt")"
if diff -q "$S/baseline-mock-steps.txt" "$S/new-mock-steps.txt" > /dev/null; then
echo "IDENTICAL: every step reached the same verdict"
else
echo "DIFFERENCES:"
diff "$S/baseline-mock-steps.txt" "$S/new-mock-steps.txt" | head -30
fi
grep -m1 "waits:" "$1" || true
grep -m1 "no exceptions\|problem(s)" "$1" || true