hermes - 💡(How to fix) Fix kanban: parent-child deadlock blocks parallel War Room orchestration

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Two bugs in hermes_cli/kanban_db.py break the War Room orchestration workflow where an orchestrator parent task coordinates child review tasks in parallel.

Root Cause

Every War Room mission that uses parent-child task links hits this deadlock. The orchestrator creates child review tasks that can never be dispatched because the parent never reaches done while coordinating.

Fix Action

Fix / Workaround

The kanban dispatcher only promotes todoready when ALL parents are done. But in War Room orchestration, the parent orchestrator task stays running while coordinating children. Children get permanently stuck in todo.

Every War Room mission that uses parent-child task links hits this deadlock. The orchestrator creates child review tasks that can never be dispatched because the parent never reaches done while coordinating.

  1. Create a parent task (orchestrator) assigned to profile default
  2. Create child tasks linked to the parent, assigned to worker profiles
  3. Parent goes running, children stay todo
  4. Kanban dispatcher never promotes children → entire mission deadlocks

Code Example

if all(p["status"] == "done" for p in parents):

---

if all(p["status"] in ("done", "running") for p in parents):

---

if parent_status != "done":

---

if parent_status not in ("done", "running"):
RAW_BUFFERClick to expand / collapse

Affected downstream project: Naroh091/hermes-war-room — the UI orchestration layer built on Hermes Agent kanban delegation. Every War Room mission that spawns child review tasks via parent-child links hits this deadlock.

Summary

Two bugs in hermes_cli/kanban_db.py break the War Room orchestration workflow where an orchestrator parent task coordinates child review tasks in parallel.

Bug 1: recompute_ready blocks children on running parents

File: hermes_cli/kanban_db.py line 1169
Current:

if all(p["status"] == "done" for p in parents):

Expected:

if all(p["status"] in ("done", "running") for p in parents):

The kanban dispatcher only promotes todoready when ALL parents are done. But in War Room orchestration, the parent orchestrator task stays running while coordinating children. Children get permanently stuck in todo.

Bug 2: link_tasks demotes children linked to running parents

File: hermes_cli/kanban_db.py line 861
Current:

if parent_status != "done":

Expected:

if parent_status not in ("done", "running"):

When a child task is linked to a parent via link_tasks(), if the parent is not done, the child gets demoted from readytodo. Same issue as above — a running orchestrator parent causes demotion.

Impact

Every War Room mission that uses parent-child task links hits this deadlock. The orchestrator creates child review tasks that can never be dispatched because the parent never reaches done while coordinating.

Reproduction

  1. Create a parent task (orchestrator) assigned to profile default
  2. Create child tasks linked to the parent, assigned to worker profiles
  3. Parent goes running, children stay todo
  4. Kanban dispatcher never promotes children → entire mission deadlocks

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING