Initial diff format incorrect (command succeeds after model corrects itself)

Resolved 💬 3 comments Opened Aug 9, 2025 by Frulfump Closed Oct 27, 2025

What version of Codex is running?

0.20.0

Which model were you using?

gpt-5

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

codex /init

What is the expected behavior?

It can successfully get the diff format correct the first time.

What do you see instead?

thinking Correcting file format I see that for adding a file in the patch format, every line needs to be prefixe d with a '+'. It looks like I overlooked adding those '+' signs. I'll retry the process, ensuring I include the correct prefixes this time. Plus, I need to make sure to include the start and end tokens: " Begin Patch" and " End Patch. " Okay, I'm getting ready to re-run it with these corrections!

Additional information

N/A

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗