chore(autoresearch): log iter 6, distinguish compile-level from assertion-level proof

This commit is contained in:
ryan
2026-08-29 08:17:59 +08:00
parent ce33997c23
commit bf364f4036
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -46,10 +46,12 @@ if [ "${RC}" -eq 0 ]; then
echo "PROVE FAILED: tests still pass without the fix — this is not a real bug fix"
exit 1
fi
if echo "${OUT}" | grep -qE '^(FAIL|--- FAIL)'; then
if echo "${OUT}" | grep -q 'build failed'; then
KIND="compile (signature changed; behaviour proven by inspection)"
elif echo "${OUT}" | grep -qE '^--- FAIL'; then
KIND="assertion"
else
KIND="compile"
KIND="failure"
fi
echo "PROVED: test fails without the fix (${KIND})"
exit 0