verify-repair-loop
A bounded generate → run → revise → re-run cycle whose pass signal is the
executed verdict — the project's real test/quality output, scored against a
numeric threshold — escalated to a judge for qualitative confirmation only
after the numeric gate passes (staged escalation). The loop is the
conversation, not a process: this loop introduces no resident process of its
own and no persistent cross-session state. Use
it to drive a change to green when the verdict source is runtime execution,
not a judge reading a diff.
When to use
- A change must converge against the project's test runner / quality tools
and you want the agent to iterate until checks pass before asking for review.
- Test/quality coverage is the authoritative signal (high coverage, actionable
failures) — not subjective craft.
- You want bounded auto-repair with a hard stop, not an open-ended fix loop.
Do NOT use when:
- The verdict is subjective craft (naming, architecture, style) or coverage
is incomplete → use do-and-judge in