Skip to content

codex really likes spaces, in a bad way #3870

@lattwood

Description

@lattwood

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions