You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a sub-agent is spawned during the planning phase (via an LLM tool call), it occupies the only available concurrency slot (max_concurrent=1). When /plan confirm triggers execution, spawn_for_task for all DAG tasks immediately fails with ConcurrencyLimitReached and the plan never progresses.
Short-term: Document that [agents] max_concurrent must be set high enough (e.g., N+1 where N = max orchestration parallel tasks) when orchestration is enabled.
Medium-term: Reserve concurrency slots for orchestration tasks at plan-confirm time so planning-phase sub-agents cannot starve them.
Long-term: Separate concurrency budgets: one pool for LLM tool-call sub-agents, one pool for orchestration task agents.
Severity: High
Plan execution silently fails to make progress when the concurrency limit is set to default (1). User sees "Confirmed. Executing plan..." but no tasks complete.
Description
When a sub-agent is spawned during the planning phase (via an LLM tool call), it occupies the only available concurrency slot (
max_concurrent=1). When/plan confirmtriggers execution,spawn_for_taskfor all DAG tasks immediately fails withConcurrencyLimitReachedand the plan never progresses.Root Cause
spawn_subagenttool during planning — sub-agent (e.g. rust-architect) occupies slot 1/1spawn_for_taskfails:ConcurrencyLimit { active: 1, max: 1 }Observed Log
Fix Directions
[agents] max_concurrentmust be set high enough (e.g., N+1 where N = max orchestration parallel tasks) when orchestration is enabled.Severity: High
Plan execution silently fails to make progress when the concurrency limit is set to default (1). User sees "Confirmed. Executing plan..." but no tasks complete.
Discovered
Continuous improvement session 2026-03-13, v0.14.3