# Loop Configuration

## Planning Template

```markdown
## Loop Execution Plan: [Task Name]

### Objective
[What iterative improvement to achieve]

### Loop Configuration
- **Mode**: [Fixed / Criteria / Convergence / Hybrid]
- **Max Iterations**: [N]
- **Min Iterations**: [N] (optional)
- **Success Criteria**:
  - [ ] Criterion 1: [specific, measurable]
  - [ ] Criterion 2: [specific, measurable]
- **Convergence**: [threshold]% improvement over [N] iterations (optional)

### Agent Sequence Per Iteration
1. [Agent/Action]: [purpose]
2. [Agent/Action]: [purpose]
3. Validation: [how to measure progress]
4. Decision: [continue/stop logic]

### Success Definition
All success criteria met OR converged OR max iterations

### Progress Metrics
- [Metric 1]: [how to measure]
- [Metric 2]: [how to measure]
- [Improvement]: [how to calculate delta]
```
