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:
Nikita Barkov
2026-08-16 15:46:18 +02:00
committed by Teknium
parent 5538bd1f93
commit 7700d3a011
20 changed files with 161 additions and 1 deletions
+2
View File
@@ -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."