β All fixes
Build failure
Every prompt adds unrequested state
The fix
Constrain the model upfront. "Don't add new state, don't add new dependencies, don't add new files unless I explicitly ask." Write it once in your AGENTS.md and reference it. Without constraints, the model defaults to "add everything that might be useful" which is the opposite of what shipped code needs.
Deeper dive: read the full article β