From a116f7e6c0de0fbd69e0f7a5fda6c9d1b44768d7 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Sat, 13 Jun 2026 09:33:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8A=E6=8B=BC=E5=86=99=20m?= =?UTF-8?q?ust=5Fhives=20=E2=86=92=20must=5Fhaves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/daemon/mail_notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/mail_notify.py b/src/daemon/mail_notify.py index 683a0fc..b6d86c2 100644 --- a/src/daemon/mail_notify.py +++ b/src/daemon/mail_notify.py @@ -140,7 +140,7 @@ def notify_mail_failed(db_path: Path, original_mail_id: str, """Mail 失败后以 system 身份给发件人发通知邮件 直接通过 Blackboard 创建 Task,不走 HTTP API。 - 防递归:检查原邮件 must_hives.system_notify,为 true 则跳过。 + 防递归:检查原邮件 must_haves.system_notify,为 true 则跳过。 发件人不是有效 Agent(如 system)→ 通知庞统代处理,避免广播风暴。 """ try: @@ -162,7 +162,7 @@ def notify_mail_failed(db_path: Path, original_mail_id: str, original_mail_id) return - # 获取发件人(优先 assigned_by,fallback must_hives.from) + # 获取发件人(优先 assigned_by,fallback must_haves.from) from_agent = original.assigned_by or meta.get("from", "") to_agent = original.assignee or "" title = original.title or ""