Finalize security-review: repo-sourced hooks, two-tier nightly auto-discovery #6

Merged
amoussa1229 merged 16 commits from feature/security-review-two-tier-auto-discovery into main 2026-06-17 19:03:16 +00:00
Showing only changes of commit f4bb2bce8a - Show all commits

View file

@ -202,6 +202,7 @@ scan_scanners() { # target slug
T1_CRIT="$(jq -r '(.summary.confirmed_critical // 0)' "$result_json" 2>/dev/null || echo 0)"
T1_HIGH="$(jq -r '(.summary.confirmed_high // 0)' "$result_json" 2>/dev/null || echo 0)"
[ "$rc" -eq 1 ] && T1_BLOCK=1
return 0 # MUST return 0: results go via globals; a falsey last cmd would trip set -e in the caller
}
# --- TIER 2: agentic run_headless + full review.sh over a target dir ----------