I agree - in the end we have some fuzzy turing machine when writing in pseudo code. I think it is inherently hard to get this right. I also think that these decisions about control flow etc should stay with the developer given I find it very rewarding and LLMs are not very good at it yet (even though they have promised us the improvements for the past 5 years lol).
I kept mashing 1 to accept changes in Claude Code, so I automated it. It spawns your command in a PTY and pipes "1" into stdin on a loop.
npm install -g press-one
press-one --delay 3000 claude "fix all the bugs"
Known "features": a slow stream of 11111 appears while the model is thinking, and you can't type because stdin belongs to the machine now. Zero dependencies (just Node + Python for PTY allocation). MIT licensed.