fix(kanban): wake the origin on review handoffs and triage escalations
`review_requested` and `block_loop_detected` are terminal event kinds that hand a decision back to the origin subscriber, but neither was listed in the gateway notifier's `_WAKE_KINDS`. A `notify+wake` subscription therefore got the passive ping only and the origin agent never took a turn — so an agent that delegated implementation work slept through the "ready for review" handoff and through a task being routed to triage, while the equivalent `blocked` event woke it. Add both kinds to the wake set, add their status strings to the synthetic wake message in every locale, and document which events wake.
This commit is contained in:
@@ -166,6 +166,8 @@ gateway:
|
||||
crashed: "crashed (worker exited); dispatcher will retry"
|
||||
timed_out: "timed out; dispatcher will retry"
|
||||
blocked: "blocked; needs attention"
|
||||
review_requested: "handed off for review; the implementation is done"
|
||||
block_loop_detected: "routed to triage after repeated blocks; needs a decision"
|
||||
status_default: "status changed"
|
||||
status_joiner: ", "
|
||||
message: "[kanban] Task {task_id} {status}.\nTitle: {title}\nAssignee: @{assignee}\nBoard: {board}\n\nCheck the result or decide the next step."
|
||||
|
||||
Reference in New Issue
Block a user