Đang tải…
Đang tải…
Runs realistic scenarios and fixes failures until the suite passes N times in a row with no regressions.
npx claude-code-templates@latest --loop evaluation/quality-streak-loopLoop Engineering — don't trust a single green run. Require a streak of clean passes to prove stability before stopping.
Exercise the product with realistic scenarios, fix every failure, and keep going until the suite passes N consecutive times — catching flakiness and intermittent bugs.
Suggested interval: 20m.
/loop 20m "Run the realistic scenario suite. Fix any failure you find, including flaky ones. Reset the streak counter on any failure. Continue until the suite passes 5 times in a row."
test-runner hook./test-quality-analyzer.test-automator; reset the streak on any failure.N consecutive passes (default 5) with zero failures or flakes.
agent:performance-testing/test-automator — fixes and hardens tests.hook:testing/test-runner — auto-runs the suite.command:testing/test-quality-analyzer — distinguishes real bugs from flakes.The suite passes 4 times then a timing-dependent test flakes; the loop stabilizes it with a deterministic clock and restarts the streak until it hits 5 clean.