From dae20c11fad3302d5e98b05add3eb21ce64d069b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Mar 2026 14:01:33 +0000 Subject: [PATCH] fix: make identity gate condition explicit for daily_checkin_required === true [ZY-GLSHELL-001] Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e198eccd-d605-4e5c-bddb-b0874c4207ec --- .github/scripts/guanghu-shell.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/guanghu-shell.js b/.github/scripts/guanghu-shell.js index 7750dcda..f9a09405 100644 --- a/.github/scripts/guanghu-shell.js +++ b/.github/scripts/guanghu-shell.js @@ -63,8 +63,10 @@ function identityGate(agentId) { if (agent.daily_checkin_required === false) { console.log(`🌊 事件触发型Agent ${agentId} (${agent.name}) 已确认身份,允许通行`); - } else { + } else if (agent.daily_checkin_required === true) { console.log(`🌊 定时型Agent ${agentId} (${agent.name}) 已确认身份,允许通行并登记签到`); + } else { + console.log(`🌊 Agent ${agentId} (${agent.name}) 已确认身份,允许通行(签到状态未标记)`); } return { allowed: true, agent: agent };