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
macOS desktop: write_stdin rejected by granular policy while Ask for approval is selected #55169
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool calling
In the ChatGPT desktop app on macOS, a local Sites update is blocked when write_stdin attempts to send input to a running process. The permissions menu shows “Ask for approval” selected, but the tool reports that sandbox approval is disabled. No approval prompt appears.
Environment
ChatGPT desktop version verified during troubleshooting: 26.1007.30912 (build 20156)
Bundle identifier: com.openai.codex
Local execution on a personally owned Mac; personal account
This has not been reproduced in the standalone Codex CLI.
Steps observed
Select “Ask for approval” in the desktop chat.
Start the Sites site-workflow.mjs helper to update an existing site.
The process starts and waits for JSON input on stdin.
Invoke write_stdin to provide the input.
Actual result
The tool rejects the call before input is delivered:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
Expected result
The desktop permission selection and effective tool policy should be consistent, with an actionable approval prompt when approval is required.
Troubleshooting already completed
Fully quitting and reopening the desktop app did not resolve the failure.
The project is marked trusted.
The user config contains no approval_policy or sandbox_approval setting.
No project .codex/config.toml, /etc/codex/config.toml, /etc/codex/requirements.toml, or user *.config.toml profile files were found.
Failures were observed on October 13–14, 2026; the previous successful publication was October 6.
Only this existing site update has been tested; impact on other projects is unknown.
Desktop diagnostics were submitted privately through Feedback. OpenAI's support assistant directed us to this repository.
No credentials, full logs, local user paths, or private diagnostic identifiers are included here. Please confirm whether this desktop integration issue belongs in this repository and advise the appropriate next diagnostic step.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool calling
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action