I've found codex to be better here than Claude. It has stopped many times and said hey you might be wrong. Of course this changes with a larger context.
Claude is just chirping away "You're absolutely right" and making me to turn on caps lock when I talk to it and it's not even noon yet.