This loop starts from the idea that the agent is not dumb; the instructions are just vague.
The cycle’s first job is to rewrite the request into a rigorous goal: the exact end state, how it will be verified, what must not be touched, and the stop condition with a turn cap.
Once you confirm the goal, it executes until the end state is verified.
That way “make the app faster” becomes something measurable with clear limits before any code is written.
When to use
- When the request is vague and could sprawl out of control.
- Before large tasks that need a defined scope.
- To make the do-not-touch list explicit.
How to use
Run the goal asking it to first rewrite your request into a precise, verifiable goal, confirm it with you, and only then execute.