agent-team-task-retry
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesetask retry
任务重试
PREREQUISITE: Read.../agent-team-shared/SKILL.md
Move a , , or task back to for another attempt.
blockedin_progressfailedpending前置条件: 阅读。../agent-team-shared/SKILL.md
将处于、或状态的任务重新设为,以便再次尝试执行。
blockedin_progressfailedpendingUsage
使用方法
bash
agent-team task retry --task TASK_ID --reason TEXTbash
agent-team task retry --task TASK_ID --reason TEXTFlags
标志参数
| Flag | JSON key | Required | Default | Description |
|---|---|---|---|---|
| | yes | - | Task to reset to |
| | yes | - | Retry rationale stored in the event payload. |
| 标志 | JSON键 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| | 是 | - | 要重置为 |
| | 是 | - | 存储在事件负载中的重试理由。 |
Examples
示例
bash
agent-team task retry --task task_docs --reason "API schema is now available"
agent-team task retry --params '{"task_id":"task_docs","reason":"API schema is now available"}'bash
agent-team task retry --task task_docs --reason "API schema is now available"
agent-team task retry --params '{"task_id":"task_docs","reason":"API schema is now available"}'Behavior
行为说明
- Allowed source status: ,
blocked,in_progress.failed - Clears ,
evidence,artifact, andblocked_reason.started_version
- 允许的源状态:、
blocked、in_progress。failed - 清除、
evidence、artifact和blocked_reason字段。started_version
Errors
错误信息
| Code | Meaning | Action |
|---|---|---|
| Task is not | Inspect task and choose the correct operation. |
| Required field is missing. | Provide task and reason. |
| 代码 | 含义 | 操作建议 |
|---|---|---|
| 任务状态不是 | 检查任务状态,选择正确的操作。 |
| 必填字段缺失。 | 提供任务ID和重试理由。 |
See Also
另请参阅
- agent-team-task-show
- agent-team-event-log
- agent-team-task-show
- agent-team-event-log