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
This commit is contained in:
copilot-swe-agent[bot] 2026-03-21 14:01:33 +00:00
parent d7ff35e346
commit dae20c11fa
1 changed files with 3 additions and 1 deletions

View File

@ -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 };