From e145f358f86be1e7b0aa7b05609560b131f508aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 14:33:18 +0000 Subject: [PATCH] [skyeye-governance] Fix suspended guard check consistency in weekly-scan.js Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/33ac7cc1-616d-426c-9b8f-6ad1a72df739 --- skyeye/scripts/weekly-scan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyeye/scripts/weekly-scan.js b/skyeye/scripts/weekly-scan.js index 2a70aee6..e45e0954 100644 --- a/skyeye/scripts/weekly-scan.js +++ b/skyeye/scripts/weekly-scan.js @@ -61,7 +61,7 @@ function countGuards() { const guard = loadJSON(path.join(guardsDir, file)); if (guard) { if (guard.status === 'active') active++; - else if (guard.mode === 'suspended') suspended++; + else if (guard.status === 'suspended' || guard.mode === 'suspended') suspended++; } }