Independent Verifier Pass
When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implementer's rationale.
// parameters
// run_this_loop
Copy the kickoff into your agent first. The blueprint below explains how the loop evaluates progress and when it should stop.
Use loop copies the kickoff prompt. Share copies the loop link. Open in Cursor / Claude only pre-fill that prompt — they do not install hook files. Download loop saves the loop as independent-verifier-pass.md.
Start the "Independent Verifier Pass" loop.
Goal: build, lint, and tests pass under independent verification
Max iterations: 8
Between iterations run: npm run build && npm run lint && npm test
Exit when: all verifier commands exit 0
Step 1: Run build, lint, and tests as a verifier. Trust only command output, not prior claims.
Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.// blueprint
The loop contract: target outcome, execution sequence, checks, stopping condition, and safety constraints.
build, lint, and tests pass under independent verification
// loop_sequence
Trigger
Manual start
Actions block
Feedback gate
Evaluate: npm run build && npm run lint && npm test
Run the check, read the output, then decide whether the loop is complete.
Check failed
Repeat actions with the latest feedback.
Success
Build, lint, and tests all pass under independent verification
// steps
- 1Run verifier checks
As an independent verifier, run build, lint, and tests. Do not assume the prior pass was correct.
npm run build && npm run lint && npm test - 2Report gaps
List every failing check with file paths and error excerpts. No self-reporting — only command output counts.
- 3Fix or hand back
If failures exist, fix them or produce a concise failure report for the implementer to continue.
Pre-Commit Guard
Hook that runs tests before git commit commands to block commits when the suite is red.
Flaky Test Triage
Run failing tests repeatedly, classify each failure as flaky or real, and fix only confirmed regressions.
Post-Edit Test Guard
Hook-based loop that runs related tests after file edits to catch regressions early.