Skip to content

[VS Code / WSL] “Approve for me” option is missing from approval UI #51278

Closed

Description

@detyse

What version of the IDE extension are you using?

openai.chatgpt 26.930.61225

Which IDE are you using?

Visual Studio Code, Remote - WSL

What platform is your computer?

Windows host with Ubuntu in WSL

What issue are you seeing?

The approval UI in the Codex VS Code extension does not show the "Approve for me" option.

When Codex reaches an operation that requires approval, the approval prompt appears, but the option that should allow Codex to approve the action on the user's behalf is missing. This makes approval handling more manual than expected and prevents using the intended approval mode.

This is still reproducible on 26.930.61225.

What steps can reproduce the bug?

  1. Open a project in VS Code using Remote - WSL.
  2. Use the Codex extension (openai.chatgpt) version 26.930.61225.
  3. Start a Codex task that reaches an operation requiring approval.
  4. Observe the approval prompt.
  5. The "Approve for me" option is not present.

What is the expected behavior?

When the relevant approval mode is available, the approval UI should include an "Approve for me" option so Codex can handle approvals automatically within the intended safety policy.

Additional information

This environment also shows a separate regression where the Codex sidebar periodically refreshes/flickers in VS Code Remote - WSL. That issue is already tracked separately in #50783, so this report is specifically about the missing approval option.

The missing "Approve for me" option persists on 26.930.61225.

Activity

  1. added
    bug
    extension
    windows-os
    sandbox
    on Oct 6, 2026
  2. SJ2050cn commented on Oct 7, 2026

    @SJ2050cn

    Same problem on the version 26.1002.51308 in the vscode of WSL.

  3. KomachiSion commented on Oct 8, 2026

    @KomachiSion

    same problem for version 26.1002.52244 for chatgpt app.

    Is it removed?

  4. KomachiSion commented on Oct 8, 2026

    @KomachiSion

    I tried to fix in my chatgpt(codex) app by following way:

    1. edit .codex/config.toml
    # add this line before `sandbox_mode = xxx`
    approvals_reviewer = "auto_review"
    
    ...
    
    [features]
    ...
    # add this line under `features` parts
    guardian_approval = true
    

    Add restart chatgpt(codex) app.

    It seems works well. If this feature not be removed, I think it's might be UI bug?

  5. ian-blann commented on Oct 15, 2026

    @ian-blann

    Reproduced on native Windows (not WSL), and we have a version pair that toggles it:

    VS Code Codex extension "Approve for me"
    1.141.0 (2a59476c) 26.1007.21434 present, works
    1.142.0 26.1007.21434 missing from the approval-mode menu

    Environment: Windows 11 Enterprise 26100, VS Code user installer, Codex extension 26.1007.21434 (bundled CLI 0.151.0), approval_policy = "on-request", custom model provider.

    What happened: auto-review worked from the menu until VS Code self-updated to 1.142.0 overnight. The extension did not change. After the update the option was gone in new and existing chats, and a full restart didn't bring it back. Downgrading VS Code to 1.141.0, with no other changes, brought it back.

    The reviewer itself still works on 1.142.0:

    • codex features list shows guardian_approval as stable/true.
    • codex exec -c approvals_reviewer="auto_review" runs a guardian review that approves an escalated command.

    Workaround on 1.142.0: set approvals_reviewer = "auto_review" in ~/.codex/config.toml. The menu then shows "Custom", and approvals are auto-reviewed as before.

    So this looks like the extension's approval-menu UI breaking under VS Code 1.142, not a config or feature-flag problem (for me at least).

  6. gabriensymons commented on Oct 15, 2026

    @gabriensymons

    @KomachiSion Thanks for sharing the workaround! On the ChatGPT desktop app for macOS, version 26.1007.71326 (build 20398), “Approve for me” is now visible and I’ve selected it.

    Previously, the menu only showed “Ask for approval” and “Full access”:

    Before After
    Image Image

    Could a maintainer clarify why explicit configuration was needed to expose the option?

  7. xrchen9406 commented on Oct 20, 2026

    @xrchen9406

    Reproduced on native Windows (not WSL), and we have a version pair that toggles it:

    VS Code Codex extension "Approve for me"
    1.141.0 (2a59476c) 26.1007.21434 present, works
    1.142.0 26.1007.21434 missing from the approval-mode menu
    Environment: Windows 11 Enterprise 26100, VS Code user installer, Codex extension 26.1007.21434 (bundled CLI 0.151.0), approval_policy = "on-request", custom model provider.

    What happened: auto-review worked from the menu until VS Code self-updated to 1.142.0 overnight. The extension did not change. After the update the option was gone in new and existing chats, and a full restart didn't bring it back. Downgrading VS Code to 1.141.0, with no other changes, brought it back.

    The reviewer itself still works on 1.142.0:

    • codex features list shows guardian_approval as stable/true.
    • codex exec -c approvals_reviewer="auto_review" runs a guardian review that approves an escalated command.

    Workaround on 1.142.0: set approvals_reviewer = "auto_review" in ~/.codex/config.toml. The menu then shows "Custom", and approvals are auto-reviewed as before.

    So this looks like the extension's approval-menu UI breaking under VS Code 1.142, not a config or feature-flag problem (for me at least).

    Fixed my problem, thanks!

  8. detyse commented on Nov 12, 2026

    @detyse
    Author

    I think this issue has been resolved, so I’m closing it.

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

    bugextensionsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions