Hold agents to a written project contract
A coding agent on a large project will usually produce something that compiles. The damage shows up a few sessions later. A helper gets a new name because the new name sounded clearer. A function that already had callers is rewritten “while we are here.” A comment block explains what the model was thinking, which prompt it was answering, or why an earlier attempt was discarded. The next session then repairs the names, breaks a caller, and you spend the evening restoring behavior that had already been fixed.