Skip to content

[Windows]Codex IDE full access still requests approval #2828

Closed

Description

@pablovela5620

What version of Codex is running?

codex-cli 0.25.0

Which model were you using?

gpt-5 high reasoning

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

Image

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

Activity

  1. added
    bug
    on Aug 28, 2025
  2. added
    windows-os
    on Aug 28, 2025
  3. himomohi commented on Aug 29, 2025

    @himomohi

    same here

  4. mgreshis commented on Aug 29, 2025

    @mgreshis

    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.

  5. jamneutrino commented on Aug 29, 2025

    @jamneutrino

    Yes makes it basically unusable which is a shame cause the rest of it seems so nice

  6. pinkyttk commented on Aug 30, 2025

    @pinkyttk

    same issue, just got on codex and experienced this. though i was missing a setting.

  7. added
    extension
    and removed on Aug 30, 2025
  8. 14790897 commented on Aug 30, 2025

    @14790897

    same here

  9. simonhx commented on Aug 30, 2025

    @simonhx

    I have the same issue, also tried setting the global

    {
    "chat.tools.autoApprove": true
    }

    in settings.json, and it didn't change a thing

  10. Adham-A commented on Aug 30, 2025

    @Adham-A

    Same

  11. uzuenee commented on Aug 30, 2025

    @uzuenee

    same here

  12. ershiyidian commented on Aug 31, 2025

    @ershiyidian

    Same

  13. Sing303 commented on Aug 31, 2025

    @Sing303
    Contributor

    Made a PR to fix #2988
    Related topics #2860 and #2969

  14. 21 remaining items

  15. LeviMelo commented on Sep 19, 2025

    @LeviMelo

    Can confirm. This is absolutely infuriating.

  16. LeviMelo commented on Sep 19, 2025

    @LeviMelo

    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.

  17. chrisbint commented on Sep 19, 2025

    @chrisbint

    Same issue here using 0.5.12

  18. tophat1986 commented on Sep 19, 2025

    @tophat1986
  19. pohlipit23 commented on Sep 20, 2025

    @pohlipit23

    I can confirm this is still not fixed in 0.5.12. Makes Codex inside VScode unusuable.

  20. cconw commented on Sep 20, 2025

    @cconw

    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.

  21. vega-holdings commented on Sep 20, 2025

    @vega-holdings

    same, still with latest version in cursor

  22. KatyPurry commented on Sep 20, 2025

    @KatyPurry

    Bug persists on 0.5.12

  23. arminima commented on Sep 21, 2025

    @arminima

    same issue

  24. bmartin13 commented on Sep 22, 2025

    @bmartin13

    SAME

  25. Kinetae commented on Sep 23, 2025

    @Kinetae

    same

  26. arminima commented on Sep 23, 2025

    @arminima

    Run this in CLI instead of the extension: codex --sandbox workspace-write --ask-for-approval never

  27. alopezal97 commented on Sep 23, 2025

    @alopezal97

    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

  28. adelsonrms commented on Sep 24, 2025

    @adelsonrms

    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"

  29. orbz22 commented on Oct 20, 2025

    @orbz22

    its work, change mode to agent (full access), and this is my setting.json

    "chatgpt.cliExecutable": "",
    "openAI.approvalPolicy": "auto",
    "chat.tools.autoApprove": "true",
    "files.autoSave": "afterDelay"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions