-
Notifications
You must be signed in to change notification settings - Fork 1
Build Loop Convergence Accelerator with Spec-Guided Iteration Pruning #652
Open
Description
Strategic Improvement
Reduce wasted iterations by using spec.json acceptance criteria and test delta analysis to guide the build loop. After each iteration, score progress against spec requirements and test coverage improvements. Skip redundant iterations when progress stalls or criteria are met. Complements early termination (#623) with smarter guidance.
Acceptance Criteria
- Spec compliance scoring after each build loop iteration (0-100 scale)
- Test delta analyzer: lines covered, new tests added, assertions changed
- Skip iteration logic when score improvement <5% for 2 consecutive iterations
- Inject spec compliance feedback into loop prompt context
- Metrics: reduce avg iterations per successful build by 20%
- Integration with spec_verification stage and convergence detector
Context
- Priority: P0
- Complexity: standard
- Generated by: Strategic Intelligence Agent
- Strategy alignment: P0: Reliability & Success Rate