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
Windows: Sites deployment blocked by AskForApproval::Granular.sandbox_approval error #51414
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingskillsIssues related to skillstool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.930.41038 (build 13022)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows
What issue are you seeing?
Sites deployment is blocked in the Windows desktop app. Local build and verification succeed, but sending deployment JSON to a running site-workflow.mjs process through write_stdin fails with:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
Default permissions are enabled and Full Access is disabled. Scoped network access and project .git write permissions were granted, but the deployment remains blocked.
What steps can reproduce the bug?
In the Windows desktop app, use the Sites plugin to prepare a web application for deployment.
Keep Default permissions enabled and Full Access disabled.
Grant the requested scoped network access and project .git write permissions.
Start the official site-workflow.mjs deployment helper in a terminal session.
Send the deployment JSON through write_stdin.
The tool call is rejected with the approval-policy error before the deployment proceeds.
The agent retried with fresh repository credentials and a new terminal session, but the same error occurred.
Diagnostic checks:
Simple stdin input succeeds.
Sending empty JSON to the same helper succeeds and produces the expected credential-validation error.
Sending the actual deployment input is rejected.
Feedback ID: 01a05ab2-af9a-7f61-a270-53014d181556
What is the expected behavior?
The Sites deployment workflow should proceed when the necessary scoped permissions have been granted, or show an actionable approval request explaining which additional permission is needed.
Please advise on a supported resolution without enabling Full Access.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingskillsIssues related to skillstool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 6, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
morinokuma0215 commentedon Oct 6, 2026
Update after restarting Windows and updating the app:
up_to_date.write_stdininput, but failed to connect to the Git hosting endpoint..gitdirectory, the agent retried in a new terminal session.write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is falseThe issue therefore still occurs after updating the app and restarting Windows. Deployment has not completed.