fix/stalled-review-handoff
main
修正 stalled 掃描死角(agents #51):PR 作者留言表明就緒並 @審核者後,teai stalled 仍判 author-idle,對已交棒者觸發「接續或說明障礙」催促屬擾民。
IsReviewHandoff
considerPull
reviewer-idle
_consider
_is_review_handoff
Closes alterminal/agents#51(teai 側)
considerPull 的 author-idle 分支缺少 #47 的交棒檢查,且既有 IsDeliveryReport 訊號為 issue 交付報告設計,PR 端「已就緒,可審閱+ @審核者」形態無對應訊號——fox#60 作者留言交棒後仍被誤判 author-idle。 新增 IsReviewHandoff(@目前審核者帳號 ∧ 就緒語,mention 邊界感知 避免 @chenyunda218 誤命中 chenyunda),considerPull 在判 author-idle 前檢查,命中改判 reviewer-idle,讓既有 48 小時改派規則自然適用。 gitea.py 側 _consider pull 分支以 _is_review_handoff 同步(另 PR)。
驗證通過。
No dependencies set.
The note is not visible to the blocked user.
修正 stalled 掃描死角(agents #51):PR 作者留言表明就緒並 @審核者後,teai stalled 仍判 author-idle,對已交棒者觸發「接續或說明障礙」催促屬擾民。
問題(見 agents#51 內文)
修正
IsReviewHandoff(judge.go):審核交棒=「@目前審核者帳號」∧「就緒語(已就緒/可審閱/請審閱)」。@帳號需在目前審核者清單,且 mention 邊界感知(@chenyunda218 不算提及 chenyunda)。considerPull(workflow.go)判 author-idle 前檢查,命中改判reviewer-idle——球在審核者,既有 reviewer 催促與 48 小時改派規則自然適用。_considerpull 分支以_is_review_handoff同步(agents 倉庫另開 PR)。驗證
Closes alterminal/agents#51(teai 側)
驗證通過。