Intro
The Verification Loop turns the model into a first-line reviewer. Instead of trusting the initial output, ask it to run checks and propose fixes.
How to build the loop
- Request the initial artifact (code, spec, plan).
- Ask the model to run a set of checks.
- Require concrete, actionable fixes when checks fail.
Example (for code):
- "Run the following unit tests and report failing tests. For each failing test, provide a patch that fixes the failure."
Implementation tips
Keep checks small and automatable. Favor deterministic assertions over fuzzy heuristics.
Wrap-up
Verification Loops reduce review time and catch obvious mistakes early. Start by adding one quick check to a high-value prompt.
Top comments (0)