Skip to content

The agent that grows with you

fix(kanban): dispatch dependency block hook post-commit

Marc D'Aoustd4283a9c9cdf
diff --git a/hermes_cli/kanban_db.py b/hermes_cli/kanban_db.py
index cff3def20be..cd14dc277c3 100644
--- a/hermes_cli/kanban_db.py
+++ b/hermes_cli/kanban_db.py
@@ -3208,10 +3208,6 @@ def block_task(
)
_append_event(conn, task_id, event_kind, payload, run_id=run_id)
blocked_task = get_task(conn, task_id)
- if kind == "dependency":
- # Historical ordering: the dependency lane fires inside the txn.
- _fire_task_hook("kanban_task_blocked", blocked_task, task_id, run_id, reason=reason)
- return True
_fire_task_hook("kanban_task_blocked", blocked_task, task_id, run_id, reason=reason)
return True