← Registry
Loop Official

Zero-Warnings Quality Gauntlet

Run lint, typecheck, tests, and build as one chained gauntlet under a 'a warning FAILS' bar, and loop until the whole chain exits clean with the word 'warning' nowhere in its output.

Most fix loops chase a single gate to exit 0 and tolerate warnings. This loop enforces the stricter merge bar where a single warning is a failure: lint with max-warnings 0, typecheck with fail-on-warnings, the full test run, and a clean production build must ALL pass together in one chained command every iteration. The point is to surface the cross-gate failure that only appears when they run as a set — a typecheck warning lint ignores, a build that breaks on a test-only import. Distinct from lint-typecheck-fix (two gates, default warning posture) and independent-verifier-pass (runs build/lint/test but treats warnings as non-fatal): the exit condition is the entire chain exiting 0 with grep finding 'warning' nowhere in the captured output.

Loop

Goal
lint, typecheck, tests, and the production build all pass as one chained gauntlet with zero warnings emitted
Exit when
the chained command exits 0 AND the captured output contains zero occurrences of the word 'warning' (case-insensitive)

Check between iterations

{ npm run lint && npm run check && npm test && npm run build; } 2>&1 | tee /tmp/gauntlet.log; grep -ic warning /tmp/gauntlet.log
$

Kickoff prompt

Start the "Zero-Warnings Quality Gauntlet" loop. Goal: lint, typecheck, tests, and the production build all pass as one chained gauntlet with zero warnings emitted Max iterations: 10 Between iterations run: { npm run lint && npm run check && npm test && npm run build; } 2>&1 | tee /tmp/gauntlet.log; grep -ic warning /tmp/gauntlet.log Exit when: the chained command exits 0 AND the captured output contains zero occurrences of the word 'warning' (case-insensitive) Step 1: Run the full chained gauntlet, read the first gate that emits a warning or error, fix that single root cause, and re-run the entire chain rather than just the gate you touched.