Agent Manager 缺少 handoff / retry / blocked 状态机回调 #77

Open
opened 2026-05-28 03:59:23 +00:00 by xiaohei · 0 comments
Owner

问题

Manager 已能接收 handoff.*、task.blocked、task.retried、task.failed,但真实状态机必须由 Agent Manager / Swarm Runtime 产生。

需要 Agent Manager 提供

  • task.blocked:包含 task_id、reason。
  • task.retried:包含 task_id、attempt。
  • task.failed:包含 task_id、reason。
  • handoff.requested / handoff.completed:包含 task_id、from_role、to_role。

验收标准

  • Runtime 真实触发 blocked/retry/handoff 后,Manager timeline 和 Agent task map 可见。
  • 回调可幂等重试,不重复落库。
  • 失败原因脱敏,不包含密钥、Token、连接串。

对接文档

见 docs/integration/AgentManager蜂群Runtime接口实现要求.md 第 8、9 节。

## 问题 Manager 已能接收 `handoff.*`、`task.blocked`、`task.retried`、`task.failed`,但真实状态机必须由 Agent Manager / Swarm Runtime 产生。 ## 需要 Agent Manager 提供 - `task.blocked`:包含 `task_id`、`reason`。 - `task.retried`:包含 `task_id`、`attempt`。 - `task.failed`:包含 `task_id`、`reason`。 - `handoff.requested` / `handoff.completed`:包含 `task_id`、`from_role`、`to_role`。 ## 验收标准 - Runtime 真实触发 blocked/retry/handoff 后,Manager timeline 和 Agent task map 可见。 - 回调可幂等重试,不重复落库。 - 失败原因脱敏,不包含密钥、Token、连接串。 ## 对接文档 见 `docs/integration/AgentManager蜂群Runtime接口实现要求.md` 第 8、9 节。
chenchen started working 2026-05-29 06:57:15 +00:00
chenchen worked for 1 hour 52 minutes 2026-05-29 08:49:37 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Total Time Spent: 1 hour 52 minutes
chenchen
1 hour 52 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: taijibaga/heicode-mananger#77