add-dir bug?

Open 💬 0 comments Opened Feb 11, 2026 by fun-li

What version of Codex CLI is running?

v0.98.0

What subscription do you have?

team

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Windows wsl

What terminal emulator and version are you using (if applicable)?

WSL

What issue are you seeing?

I use this command to run codex:

codex -C /mnt/d/ideaProject/lr-marketing-compliance --add-dir /mnt/d/webstormProjects/lr-mc-admin --add-dir /mnt/d/webstormProjects/lr-mc-portal

and ask "List all writable workspaces"

<img width="698" height="405" alt="Image" src="https://github.com/user-attachments/assets/42dcb020-7a96-4184-bde3-c521e3857fa0" />

That‘s right. But if I use /permissions, select "Default", the result will change:

<img width="701" height="379" alt="Image" src="https://github.com/user-attachments/assets/3cb648f9-59db-410c-b31e-88f70b1058a0" />

What steps can reproduce the bug?

1.codex -C /mnt/d/ideaProject/lr-marketing-compliance --add-dir /path --add-dir /path
2.ask List all writable workspaces
3.use /permissions select Default
4.ask List all writable workspaces

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗