You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Windows]Codex IDE full access still requests approval #2828
Even with agent (full access) granted, the codex extension on vscode for windows still requires approvals. This is probably related to issue #2350#2710#2179
What is the expected behavior?
Approvals should never be asked for when full access is requested.
What do you see instead?
Constantly getting asked for approvals
Additional information
This is a pretty blocking issue for Windows that hasn't been addressed. Any workaround would be super helpful that doesn't involve directly patching the rust source code
Reacted by Tomas Marek, GurumNyang, Mark Kretschmann, s2005, Adham-A, Shane Zarechian, snow-1983, Rasmus Wulff Jensen, Thilo R., Appcaster and 27 more
I can confirm this issue exists. I tried overwriting both sandbox modes and approval modes via .vscode/settings.json and ~/.codex/config.toml, but the Visual Studio Code plugin continues to prompt for approval. Codex CLI respects the settings, but the Visual Studo Code plugin does not.
just spent hours with this bug. confirm that it still exists. pretty shocking that it's still ongoing for such a fundamental, extension breaking issue. needs to be re-opened.
Run this in CLI instead of the extension: codex --sandbox workspace-write --ask-for-approval never
Doesnt work for me. CLI can't read any file from my project
I tried to list the contents of app/, but the environment blocks read commands. To integrate it properly, I need to see
where your sidebar and menu are.
Please share:
app/src/main/AndroidManifest.xml
app/src/main/res/menu/ (sidebar menu file, if it exists)
app/src/main/res/menu/ (sidebar menu file, if it exists)
app/src/main/res/layout/ (layout where that sidebar or its container is defined)
Indicate whether you use Navigation Component (nav_graph) or handle clicks manually.
My mind now thinks that this is an strategy from OpenAI keeping us from burning tokens, but hey, don't offer the possibility then
Activity
himomohi commentedon Aug 29, 2025
same here
mgreshis commentedon Aug 29, 2025
I can confirm this issue exists. I tried overwriting both sandbox modes and approval modes via .vscode/settings.json and ~/.codex/config.toml, but the Visual Studio Code plugin continues to prompt for approval. Codex CLI respects the settings, but the Visual Studo Code plugin does not.
jamneutrino commentedon Aug 29, 2025
Yes makes it basically unusable which is a shame cause the rest of it seems so nice
pinkyttk commentedon Aug 30, 2025
same issue, just got on codex and experienced this. though i was missing a setting.
14790897 commentedon Aug 30, 2025
same here
simonhx commentedon Aug 30, 2025
I have the same issue, also tried setting the global
{
"chat.tools.autoApprove": true
}
in settings.json, and it didn't change a thing
Adham-A commentedon Aug 30, 2025
Same
uzuenee commentedon Aug 30, 2025
same here
ershiyidian commentedon Aug 31, 2025
Same
Sing303 commentedon Aug 31, 2025
Made a PR to fix #2988
Related topics #2860 and #2969
21 remaining items
LeviMelo commentedon Sep 19, 2025
Can confirm. This is absolutely infuriating.
LeviMelo commentedon Sep 19, 2025
Odd thing is, i downgraded to version 0.5.4 and it still doesnt work. I have to push "aprove this session" all the time. I'm on windows 11.
chrisbint commentedon Sep 19, 2025
Same issue here using 0.5.12
tophat1986 commentedon Sep 19, 2025
pohlipit23 commentedon Sep 20, 2025
I can confirm this is still not fixed in 0.5.12. Makes Codex inside VScode unusuable.
cconw commentedon Sep 20, 2025
just spent hours with this bug. confirm that it still exists. pretty shocking that it's still ongoing for such a fundamental, extension breaking issue. needs to be re-opened.
vega-holdings commentedon Sep 20, 2025
same, still with latest version in cursor
KatyPurry commentedon Sep 20, 2025
Bug persists on 0.5.12
arminima commentedon Sep 21, 2025
same issue
bmartin13 commentedon Sep 22, 2025
SAME
Kinetae commentedon Sep 23, 2025
same
arminima commentedon Sep 23, 2025
Run this in CLI instead of the extension: codex --sandbox workspace-write --ask-for-approval never
alopezal97 commentedon Sep 23, 2025
Doesnt work for me. CLI can't read any file from my project
Please share:
My mind now thinks that this is an strategy from OpenAI keeping us from burning tokens, but hey, don't offer the possibility then
adelsonrms commentedon Sep 24, 2025
I got resolve downloading and install last Codex cli using
npm install -g @openai/codex
after restart vs code, next commands no more ask me to approval.
Alternatively, the Codex CLI itself instructed me to set this option in the settings.json
"openAI.approvalPolicy": "never"
orbz22 commentedon Oct 20, 2025
its work, change mode to agent (full access), and this is my setting.json