feat: add cross-run finding regression detection

This commit is contained in:
2026-04-04 08:39:22 +02:00
parent 30ddc6a2c4
commit 5e2117c9be
2 changed files with 94 additions and 0 deletions

View File

@@ -583,6 +583,14 @@ If `CYCLE >= MAX_CYCLES` and issues remain:
./lib/archeflow-event.sh "$RUN_ID" run.complete act "" \
'{"status":"completed","cycles":<N>,"agents_total":<count>,"fixes_total":<count>,"shadows":0,"artifacts":[<list>]}'
# Check for regressions from previously fixed findings
if ./lib/archeflow-memory.sh regression-check ".archeflow/events/${RUN_ID}.jsonl"; then
echo "No regressions detected."
else
echo "WARNING: Regressions detected — previously fixed findings have reappeared."
echo "Review the regression output above and consider addressing them."
fi
# Generate report
./lib/archeflow-report.sh .archeflow/events/${RUN_ID}.jsonl