I'm not sure what's wrong with me, but I just wasted several hours wrestling codex to make it behave.
Here's my workflow that keeps failing:
- it writes some code. It looks good a first glance
- I push it to github
- automated tests on github show that there's a problem
- go back to codex and ask it to fix it
- it does stuff. It looks good again.
Now what do I do? If I ask it to push again to github, then it will often create a pull request that doesn't include stuff from the first pull request, but it's not a pull request that stacks on top of the previous pull request, it's a pull request that stacks on top of main.
When asked to write something that called out to gpt-4.1-mini, it used openai.ChatCompletion.create (!?!!?)
I just found myself using claude to fix codex's mistakes.