Validation Loop
When to Use
- •npm run validate fails
- •CI/CD breaks
- •Test or build failures
Process
- •Capture full error output
- •Analyze root cause in context of examples/
- •Apply minimal fix aligned with patterns
- •Re-run validation
- •Repeat until success (max 5 attempts)
Commands
bash
npm run validate
Success Criteria
- •All gates pass
- •Fix follows patterns in examples/
- •No new anti-patterns introduced