A pattern I've settled into is to write code but leave a TODO for every narrow thing I want the LLM to do for me. Then just tell the agent to fix the todos. It's often faster and easier to give "instructions" this way
In most cases you could work around that. For instance write the code yourself and make the AI write the tests. Or keep it busy writing superfluous documentation. Very few people are micromanaged to the extent that they can’t subvert the system.