Commit 28d9ece
Reuben Brooks
squad/council: give workers default tools + longer idle timeout for local models
Two fixes from actually running `scud squad --worker-model gemma-4-e4b`:
1. Squad and council workers now default to Read/Grep/Glob/Bash. Without
tools they can only speculate — useless for "explore this codebase"
queries. Write tools stay excluded: captain-driven synthesis expects
workers to analyze, not mutate.
2. executeAgents idle timeout was hardcoded 60s, which kills slow local
models (gemma-4 on a shared llama-server with N parallel slots often
spends 60+ seconds between stream events while waiting for its
compute turn). Now idle scales with base timeout, capped 180s.
Verified with 4 gemma workers × --timeout 300 → 2/4 completed
successfully at 147s and 402s elapsed; before this fix all 4 died
at 60s.1 parent 620663a commit 28d9ece
3 files changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
513 | 516 | | |
514 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
515 | 524 | | |
516 | 525 | | |
517 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| 155 | + | |
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
| |||
0 commit comments