26 Code Generation and Repair Loop
27 Code Generation and Repair Loop
Working seal: stack://code-generation-and-repair-loop/DBD637DB96
Enter: Use when an AI system is helping write or modify software and generation should stay tied to execution evidence.
27.3 Loop or Recursion
{
"steps": [
3,
4,
5,
6
],
"until": "Checks pass, error surface stabilizes without progress, or attempt budget is exhausted"
}27.4 On Fail
Escalate with spec, code diff, failing output, diagnostic notes, and unresolved assumptions.
27.5 Why It Works
It separates invention from judgment and binds repair to execution evidence.