codex really likes spaces, in a bad way
Resolved 💬 3 comments Opened Sep 18, 2025 by lattwood Closed Nov 11, 2025
What version of Codex is running?
main/tip
Which model were you using?
gpt-5
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
Get OpenAI Codex to modify any Go code.
It uses spaces.
What is the expected behavior?
Tabs.
What do you see instead?
Spaces.
Additional information
In #3099 they said to use AGENTS.md, which would be appropriate for a project or company convention.
There is no universe in which Go code can be considered "correct", if it is not using tabs for indentation. There's no charitable interpretation otherwise here.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗