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_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #25745

Powered by Codex Action

kendonB · 2 months ago

not a duplicate

kendonB · 2 months ago

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.

kendonB · 23 days ago

I hacked my CODEX_HOME to point to my wsl folder to work around this. Unsure if it's fixed or not but closing