Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.71326
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11, x64
What issue are you seeing?
I am trying to save a new version of a store created in Sites without publishing it or enabling payments. Codex needs to synchronize the code with the internal Sites repository, but the operation is blocked with this error: AskForApproval::Granular.sandbox_approval is false.
In the Codex App UI, "Ask for approval" is already selected. My local config.toml does not contain an approval policy, and no local managed configuration file setting this restriction was found.
Because of this permission mismatch, Codex cannot request my approval to synchronize the Sites repository and save the new version. I need help enabling the approval request so I can save the new version only, without deploying, running database migrations, or activating payments.
What steps can reproduce the bug?
- Open the Codex App on Windows.
- Set the permission control in the UI to "Ask for approval".
- Ask Codex to synchronize the existing Sites repository in order to save a new version without deploying it.
- Codex attempts to request approval, but the operation is blocked.
- The error shown is: AskForApproval::Granular.sandbox_approval is false.
- The local config.toml contains no approval policy, and no local managed configuration file setting this restriction was found.
- Restarting the app does not resolve the permission mismatch.
Feedback ID: 01a13553-ebd9-7802-a235-2245e4d27a95
What is the expected behavior?
The expected behavior is that, when "Ask for approval" is selected in the Codex App, Codex should be able to request my approval for the required operation. After I approve it, Codex should synchronize the existing Sites repository and save the new version without publishing or deploying the site, running database migrations, or activating payments.
Additional information
The Codex App feedback report was submitted before creating this issue.
Feedback ID: 01a13553-ebd9-7802-a235-2245e4d27a95
The Sites repository already exists and the last saved version is version 4. The new changes are preserved locally but cannot be synchronized because the effective session policy reports sandbox_approval=false, even though "Ask for approval" is selected in the UI.
No deployment, database migration, or real payment activation is requested. I only need to synchronize the existing repository and save a new version in Sites.
Activity
github-actions commentedon Oct 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
flipcyde101 commentedon Nov 1, 2026
Additional Windows desktop occurrence with a different workflow: an authorized LM Studio loopback server start. This may be related to this issue; the shared error alone does not establish a common root cause.
Environment
codex-cli 0.166.0-alpha.5.1.Observed sequence
127.0.0.1:1234and perform bounded synthetic tests.blocked by policy.sandbox_approval=false.sandbox_mode="danger-full-access",approval_policy="never", with network enabled. One explicitly authorized retry still fails before process creation with onlyblocked by policy. No alternative launch route was attempted afterward.Request shape (sanitized, not a fresh minimal reproduction)
The original request used semicolons between statements. This is its sanitized structural equivalent. The individual components were not isolated after rejection, so the triggering component is unknown. These are observed steps, not proof of deterministic reproduction on a clean installation. Do not disable protections or enable unrestricted access merely to reproduce this report.
Read-only audit
approval_policy="never",approvals_reviewer="user",sandbox_mode="danger-full-access".CODEX_HOMEoverride..codex/config.tomloverride found in the relevant project trees.config.toml,requirements.tomlormanaged_config.tomlat the documented%ProgramData%\OpenAI\Codexpaths.codex execpolicy checkdiagnostic was itself rejected before execution, so no matched-rule explanation was obtained.Expected / actual
Expected: show the supported approval prompt where approval is available, or identify the effective policy source and reason that makes the operation non-approvable.
Actual at the time of those rejections: no prompt under the historical Ask for approval selection; generic rejection under the later full-access/never configuration. Neither model inference test had run at that point. See the later update below.
No Windows GPO, Defender, firewall or Application Control cause has been established. No Windows security protections were disabled or modified by this task. Codex permission-profile changes are described above. We do not know why this compound command required approval, and do not claim that a particular setting change fixes it.
Questions for maintainers / other affected users
sandbox_approval=falseexpected in this build?Related source and report:
This report excludes personal paths, usernames, project names, account identifiers, screenshots, credentials and conversation logs. Public posting still identifies the posting GitHub account. No verified fix is available from this investigation.
Later update, November 1, 2026
The owner manually started LM Studio at 127.0.0.1:1234 and ejected the preloaded model. Read-only discovery then succeeded. The existing adapter completed one synthetic request per each of the two approved local Qwen models, sequentially, with context2048 and output cap128; both returned2outputtokens and each unload was acknowledged. Final discovery found zero loaded instances. No additional downloads, paid APIs or Windows security changes were made.
This unblocks the bounded model smoke tests only. It does NOT resolve the original Codex server-start rejection or explain the earlier Ask for approval/granular mismatch. No agent-driven server start was retried after the latest rejection. Please keep the diagnostic request open for the policy source and supported correction. This is not a verified policy fix or complete workbench integration.