"Penalty"? Fucking hell, that's exactly how my AI development is done. My personal tools repo that isn't shared with anyone has almost 2k tests that run every time there is a change. Also the documentation is updated, and multiple adversarial agents are run to challenge every decision from a security standpoint and a simplicity standpoint. And there's another guard I'm forgetting.
If you're going to code with AI, that's the least you can do.