fix: Add logging guidance for no-idle-polecats case in swarm dispatch

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 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-29 14:36:29 -08:00
parent ef0008ea2c
commit 3c6019ae73

View File

@@ -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 <epic_id>: 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 <task-id> <rig>/<polecat-name>