auto-sync: 2026-05-21 20:50:44
This commit is contained in:
@@ -419,8 +419,10 @@ VALID_TRANSITIONS = {
|
||||
}
|
||||
```
|
||||
|
||||
**paused 恢复机制:** 恢复统一回 pending(Agent 重新认领)。暂停后 Agent session 已断,精确恢复状态无意义。
|
||||
- 任何状态 → paused → ▶恢复 → pending
|
||||
**paused 恢复机制:** paused 记录 `resumed_from` 字段,恢复时回到暂停前状态,从暂停的节点继续执行(允许一个 stage 的冗余重跑)。
|
||||
- working → paused → ▶恢复 → working
|
||||
- review → paused → ▶恢复 → review
|
||||
- claimed → paused → ▶恢复 → claimed
|
||||
|
||||
#### 取消 ADVANCED_ACTIONS 折叠区
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ const VALID_TRANSITIONS: Record<string, string[]> = {
|
||||
pending: ['claimed', 'paused', 'cancelled'],
|
||||
claimed: ['working', 'pending', 'paused', 'cancelled'],
|
||||
working: ['review', 'blocked', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
paused: ['working', 'cancelled'],
|
||||
paused: ['working', 'claimed', 'review', 'escalated', 'waiting_human', 'cancelled'],
|
||||
review: ['done', 'pending', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
escalated: ['working', 'pending', 'paused', 'cancelled'],
|
||||
waiting_human: ['working', 'done', 'paused', 'cancelled'],
|
||||
|
||||
Reference in New Issue
Block a user