From 3c6019ae735126a189e668c9da142c4104bad986 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Mon, 29 Dec 2025 14:36:29 -0800 Subject: [PATCH] fix: Add logging guidance for no-idle-polecats case in swarm dispatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When ready tasks exist but no idle polecats are available, the Witness should log the situation rather than silently skip. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .beads/formulas/mol-witness-patrol.formula.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.beads/formulas/mol-witness-patrol.formula.toml b/.beads/formulas/mol-witness-patrol.formula.toml index e5d9029c..c687250f 100644 --- a/.beads/formulas/mol-witness-patrol.formula.toml +++ b/.beads/formulas/mol-witness-patrol.formula.toml @@ -306,6 +306,10 @@ bd list --type=agent --json | jq '[.[] | select(.description | contains("role_ty **Step 4: Dispatch ready tasks to idle polecats** +If ready tasks exist but NO idle polecats available: +- Log: "Swarm : N ready tasks waiting, 0 idle polecats" +- Skip dispatch this cycle (polecats will become idle after completing current work) + For each ready task (up to number of idle polecats): ```bash gt sling /