codex is constantly confused by LF vs CRLF on WSL on Windows

Resolved 💬 2 comments Opened Oct 31, 2025 by dkoding Closed Oct 31, 2025

What version of Codex is running?

0.50

What subscription do you have?

Pro

Which model were you using?

GPT-5

What platform is your computer?

x64

What issue are you seeing?

The agent constantly gets confused by line endings, causing the agent to see large diffs when doing code edits. It's super frustrating to constantly have to remind the agent about my setup. I have the instructions in my AGENTS.md file but that is also consistently ignored during work.

What steps can reproduce the bug?

Uploaded thread: 019a393f-1a46-7e70-a48d-bddb30ff44e1

Try running codex on WSL on Windows.

What is the expected behavior?

I expect the agent to initialize with the correct line endings at startup, and remember this throughout the session.

Additional information

_No response_

View original on GitHub ↗

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