| name | Running Validation Loops |
| description | Execute self-correcting validation workflow. Use when validation fails, tests fail, or build breaks. |
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
npm run validate
Success Criteria
- All gates pass
- Fix follows patterns in examples/
- No new anti-patterns introduced