Configuration
Orchestrator Configuration
Workflow execution controls - concurrency, git integration, and workflow behavior.
Configuration
orchestrator:
max_concurrent_agents: 2
git_commit_on_gate_pass: false
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
orchestrator.max_concurrent_agents | number | 2 | Maximum parallel agent executions per wave |
orchestrator.git_commit_on_gate_pass | boolean | false | Auto-commit wave output when review gate passes |
Concurrency Guidelines
| Project Type | Recommended Value | Rationale |
|---|---|---|
| Solo/small | 2-3 | Lower resource contention |
| Team/medium | 2 | Balanced parallelism |
| CI/CD heavy | 3-4 | More parallel waves |
| Resource constrained | 1 | Sequential execution |
Example: Wave Execution with Concurrency 2
| Wave | Tasks | Parallel Slots | Wall-Clock |
|---|---|---|---|
| Wave 1 | 1 researcher | 1 | 1 task duration |
| Wave 2 | 1 implementer (coalesced) | 1 | 1 task duration |
| Wave 3 | 1 reviewer | 1 | 1 task duration |
Git Integration
When git_commit_on_gate_pass: true:
flowchart LR
A[Wave Completes] --> B{Review Gate\nPassed?}
B -->|Yes| C[Auto-Commit\nWave Output]
B -->|No| D[Wait for Revision]
C --> E[Tag: wave-{n}-complete]
E --> F[Next Wave Starts]
Commit message format: wave({n}): {objective}
Key Rules
- Max concurrency respected - Never exceeds configured value
- Retries count toward limit - Each retry consumes a slot
- Git commits are wave-level - Not per-task
- Failures don't commit - Only gate passes trigger commits
Related Pages
- Orchestrator Agent - Workflow coordination
- Workflow: Execute - Wave loop and concurrency
- Configuration Overview - Full config reference