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
[VS Code / WSL] “Approve for me” option is missing from approval UI #51278
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
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?
Open a project in VS Code using Remote - WSL.
Use the Codex extension (openai.chatgpt) version 26.930.61225.
Start a Codex task that reaches an operation requiring approval.
Observe the approval prompt.
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.
I tried to fix in my chatgpt(codex) app by following way:
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?
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).
@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
Could a maintainer clarify why explicit configuration was needed to expose the option?
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).
bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems
Activity
SJ2050cn commentedon Oct 7, 2026
Same problem on the version
26.1002.51308in the vscode of WSL.KomachiSion commentedon Oct 8, 2026
same problem for version
26.1002.52244for chatgpt app.Is it removed?
KomachiSion commentedon Oct 8, 2026
I tried to fix in my chatgpt(codex) app by following way:
.codex/config.tomlAdd restart chatgpt(codex) app.
It seems works well. If this feature not be removed, I think it's might be UI bug?
ian-blann commentedon Oct 15, 2026
Reproduced on native Windows (not WSL), and we have a version pair that toggles it:
2a59476c)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 listshowsguardian_approvalas 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).
gabriensymons commentedon Oct 15, 2026
@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”:
Could a maintainer clarify why explicit configuration was needed to expose the option?
xrchen9406 commentedon Oct 20, 2026
Fixed my problem, thanks!
detyse commentedon Nov 12, 2026
I think this issue has been resolved, so I’m closing it.