Another typical coding agent problem is adding and adding and adding until the problem is solved, then walking away without really understanding what solved the issue, or building that understanding into the codebase. A good question to ask, or incorporate into your instructions and rules as appropriate for your agent:
“Can this be achieved by subtraction or simplification, rather than addition?”
