Agent Manager 缺少 approval decision 接收并继续或停止执行接口 #79
Notifications
Total Time Spent: 53 hours 8 minutes
chenchen
53 hours 8 minutes
No due date set.
Dependencies
No dependencies set.
Reference: taijibaga/heicode-mananger#79
Reference in New Issue
Block a user
问题
Manager 已能把
approval.requested转成审批记录,也能在用户 approve/reject 后回传 decision。但 Agent Manager 必须提供接收接口,并根据决定继续或停止高危动作。需要 Agent Manager 提供
POST /api/swarms/{swarm_id}/approvals/{approval_id}。decision=approved/rejected、reason、manager_deployment_id、credential_lease。approved后继续原高危动作。rejected后停止该动作并回调timeline.updated或task.failed。验收标准
credential_ref,不记录明文密钥。对接文档
见
docs/integration/AgentManager蜂群Runtime接口实现要求.md第 11 节。