Windows App in WSL mode incorrectly uses Windows AGENTS.md, not the WSL AGENTS.md
Resolved 💬 4 comments Opened Jun 2, 2026 by kendonB Closed Aug 4, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.60818
What subscription do you have?
Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Windows App in WSL mode incorrectly uses Windows AGENTS.md, not the WSL AGENTS.md
What steps can reproduce the bug?
Go to Settings -> Personalization -> Custom Instructions
What is the expected behavior?
Your WSL ~/.codex/AGENTS.md is there
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
not a duplicate
Is this as simple as setting CODEX_HOME inside the app to
~/.codex/instead of/mnt/c/Users/USERNAME/.codex? This is clearly the right default in WSL mode.I hacked my CODEX_HOME to point to my wsl folder to work around this. Unsure if it's fixed or not but closing