fix: address review findings (rollback mainline, audit flag, confidence gate, test pattern, jq args)

- git revert uses --mainline 1 for merge commits
- inject dispatch passes all args so --audit flag is reachable
- confidence gate defaults to 0.0 (triggers gate) instead of 0.7 (bypasses)
- test-first grep uses word-boundary patterns to avoid false positives
- jq uses --arg instead of string interpolation for safe filtering
This commit is contained in:
2026-04-04 07:42:31 +02:00
parent f2b886880a
commit d9ec148bb3
3 changed files with 14 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ if timeout 300 bash -c "$TEST_CMD"; then
fi
echo "Tests FAILED — reverting merge..."
git revert --no-edit HEAD
git revert --no-edit --mainline 1 HEAD
# Emit event if event script exists
if [[ -x "$SCRIPT_DIR/archeflow-event.sh" ]]; then