2 min lesson
Reduce and catch incorrect edits
Use the evidence to decide "Which incorrect code outputs can automated checks catch, and what must still be reviewed?" Explain the choice plainly.
Step 1 of 3
A code model can invent an API, use the wrong signature or change the wrong region. Design the agent so current repository evidence guides generation, automated checks catch suitable failures and the user can inspect what remains.
Prompt changes are one possible control, but they cannot verify the resulting code. Use several layers and state which failure each layer can detect.