auto-sync: 2026-05-29 13:31:31
This commit is contained in:
@@ -178,7 +178,7 @@ VALID_STATUSES = frozenset({
|
|||||||
TERMINAL_STATUSES = frozenset() # v3.1: 无终态,全靠 VALID_TRANSITIONS 校验
|
TERMINAL_STATUSES = frozenset() # v3.1: 无终态,全靠 VALID_TRANSITIONS 校验
|
||||||
|
|
||||||
# 手动状态(不参与聚合推导)
|
# 手动状态(不参与聚合推导)
|
||||||
MANUAL_STATUSES = frozenset({"cancelled", "paused"})
|
MANUAL_STATUSES = frozenset({"cancelled", "paused", "reviewing"})
|
||||||
|
|
||||||
VALID_TRANSITIONS = {
|
VALID_TRANSITIONS = {
|
||||||
"pending": {"claimed", "paused", "blocked", "cancelled"},
|
"pending": {"claimed", "paused", "blocked", "cancelled"},
|
||||||
@@ -190,7 +190,8 @@ VALID_TRANSITIONS = {
|
|||||||
"failed": {"pending", "escalated", "cancelled"},
|
"failed": {"pending", "escalated", "cancelled"},
|
||||||
"escalated": {"working", "pending", "paused", "cancelled"},
|
"escalated": {"working", "pending", "paused", "cancelled"},
|
||||||
"waiting_human": {"working", "done", "paused", "cancelled"},
|
"waiting_human": {"working", "done", "paused", "cancelled"},
|
||||||
"done": {"cancelled"},
|
"done": {"cancelled", "reviewing"},
|
||||||
|
"reviewing": {"done", "working", "cancelled"},
|
||||||
"cancelled": {"pending"},
|
"cancelled": {"pending"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user