The clarifier (ClaudeClarifier._turn) called claude_invoke with no max_turns, inheriting the single-shot default (1). When the model's one turn did not terminate in a final result the SDK raised 'Reached maximum number of turns (1)' and, with no salvageable text, the call failed and crashed the clarify node — leaving the task wedged at clarify with NO question posted to Slack (the human never sees a clarifier prompt). Observed live on the R720. Same single-shot flake the planner hit and fixed in PR #58 (_PLANNER_MAX_TURNS=4); the clarifier never got the headroom. Give it the same: pass max_turns=4 (tools stay off — still a fast reasoning->JSON completion). - clarifier_llm.py: _turn passes max_turns=_CLARIFIER_MAX_TURNS (=4). - tests: clarifier passes max_turns headroom to the invoke seam. Full suite 1505 passed; ruff clean. |
||
|---|---|---|
| .. | ||
| db | ||
| nodes | ||
| transport | ||
| __init__.py | ||
| api.py | ||
| billing.py | ||
| ci_fetcher.py | ||
| ci_gate.py | ||
| ci_watcher.py | ||
| coordinator.py | ||
| dashboard.py | ||
| deadline_timer.py | ||
| decisions.py | ||
| dispatcher.py | ||
| draft_pr_monitor.py | ||
| graph.py | ||
| invoker.py | ||
| invoker_multi.py | ||
| ledger.py | ||
| operator_cli.py | ||
| recovery.py | ||
| responder.py | ||
| resume_worker.py | ||
| state_store.py | ||
| status_page.py | ||
| task_model.py | ||
| topology.py | ||