full_recovery
Terminates a malfunctioning agent, removes its worktree, creates a new worktree and agent, and reassigns pending tasks to restore normal operation.
Instructions
異常なエージェントの完全復旧を実行する。
以下のステップで復旧を行う:
古い agent を terminate
古い worktree を remove(存在する場合)
新しい worktree を作成(同じブランチ名で)
新しい agent を作成
未完了のタスクを新しい agent に再割り当て
※ Admin のみ使用可能。
Args: agent_id: 復旧対象のエージェントID caller_agent_id: 呼び出し元エージェントID(必須)
Returns: 復旧結果(success, old_agent_id, new_agent_id, reassigned_tasks, message)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| caller_agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||