Skip to content

VS Code's horrible confirmation work-flow #11580

Closed

Description

@bLightZP

What version of the IDE extension are you using?

0.4.73

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

When requesting a complex job, I may be faced with 10-20 approval requests for one action, preventing me from working on other things.

For example, in this screenshot situation where codex is requesting multiple slices of code in a row, and since each request uses a slightly different command line to access different sections of the code in the same file, the "Yes, don't ask me again" simply doesn't work.
Image

Yes, I can give full access, but I don't want a glitch to accidentally damage to my workstation.

Yes, I can run everything in a virtual machine, but that adds several layers of complexity that I would rather avoid.

Ideally, there would be a third option in between "Default permission" and "Full access", a "Do whatever you want in white-listed folders" option where codex can take any action as long as it's limited to the approved folders.

Or at the very minimum, adapt the "Yes, don't ask again" option to actually not ask again for different code slices read requests in the same file.

What steps can reproduce the bug?

Ask any complex question on a large code base.

What is the expected behavior?

Don't interrupt my flow so many times.

Additional information

No response

Activity

  1. added
    extension
    on Feb 12, 2026
  2. added
    enhancement
    windows-os
    sandbox
    on Feb 12, 2026
  3. zba commented on Feb 12, 2026

    @zba

    I agree, this button useless, as workaround I set prefixes manual in ~/.codex/rules/ : https://developers.openai.com/codex/rules/

  4. etraut-openai commented on Feb 12, 2026

    @etraut-openai
    Contributor

    If you haven't already done so, please enable the experimental Windows sandbox. Without a sandboxing mechanism, we need to be very conservative about which tool calls to allow without user permission.

  5. bLightZP commented on Feb 12, 2026

    @bLightZP
    Author

    If you haven't already done so, please enable the experimental Windows sandbox. Without a sandboxing mechanism, we need to be very conservative about which tool calls to allow without user permission.

    That adds several layers of complexity I (and probably many others) don't want to deal with.

    When running under windows, you can hook into child processes functions, intercepting and block any disk access on the WinAPI level. Should be pretty easy to lock out any reads or writes from unauthorized folders without having to use WSL or any sandboxing.

  6. 0tii commented on May 14, 2026

    @0tii

    how the fuck is this closed when codex has never been worse in that regard, im in WSL and i cant let codex do ANYTHING without asking for permission 6 times per single fucking action. its unbearable!

  7. zba commented on Jun 23, 2026

    @zba

    how the fuck is this closed when codex has never been worse in that regard, im in WSL and i cant let codex do ANYTHING without asking for permission 6 times per single fucking action. its unbearable!

    they now have ✋ icon which controls, 2nd option works fine, by default it is 1st option, there is also yolo mode, but you better to jail vscode with codex and single project before run yolo

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

    enhancementextensionsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions