Repository navigation
Description
Environment
- Codex desktop app on Windows; local task.
- Windows OS version: 10.0.26200.0.
- Desktop app version: not yet verified.
- User reports selecting Ask for approval in the chat permissions control.
- Active Personal vs managed workspace has not been independently verified.
Problem
An official Sites source-workflow helper starts successfully and waits for its documented JSON input on stdin. Sending that input through write_stdin is rejected before delivery:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
No manual approval prompt appears. The selected UI mode and effective execution behavior appear inconsistent, or the enforcing policy source is not explained.
Reproduction in the affected session
- Select Ask for approval in the desktop chat permissions control.
- Start the official Sites source-workflow helper for an existing project in a local working directory. It reports readiness for JSON input on stdin.
- Submit the documented input using write_stdin. The input contains a short-lived credential supplied by the official connector; no credential value is included here.
- Input delivery is rejected with the error above, without a manual approval prompt.
Expected behavior
Honor the selected mode for eligible operations, or clearly identify the enforcing policy and provide actionable supported corrective steps. If write_stdin approvals are unavailable in this environment, explain this before starting an input-waiting helper.
Effective session policy observed
- sandbox_approval: false
- rules: false
- skill_approval: false
- request_permissions: true
- mcp_elicitations: true
- Permission profile environment value: :workspace
Checks already performed
- Narrow network and project-directory write permissions were granted; the same rejection persisted.
- No approval override was found in the inspected user/project configuration files.
- The documented Windows system requirements.toml and legacy managed_config.toml paths checked were absent.
- The user changed the selector and fully restarted the app. Subsequent turns in the existing chat still loaded the restrictive granular policy.
- Fresh Personal-workspace reproduction has not been tested. Managed policy, retained session policy, or a client issue remain possible explanations; no root cause is asserted.
- The user could not find Feedback after entering / in the composer.
Requested investigation
Please identify the configuration/session layer setting sandbox_approval=false, explain whether the UI should reflect it, and provide supported recovery steps.
Privacy
This report intentionally omits company information, email addresses, business source code, project identifiers, credentials, private paths, session identifiers, full conversation logs, and attachments.
Activity
github-actions commentedon Oct 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Codex App cannot request approval: sandbox_approval is false#54368Powered by Codex Action
Israf01 commentedon Oct 22, 2026
Je rencontre également ce blocage sous Windows lors d’une publication privée avec Sites. Les autorisations réseau et d’écriture ont été accordées. L’outil officiel démarre, mais write_stdin est refusé avec « AskForApproval::Granular.sandbox_approval is false », sans nouvelle possibilité d’approbation.
Un signalement a été envoyé depuis l’application. Existe-t-il une procédure de résolution prise en charge qui conserve les protections ?