Skip to content

Windows: Sites deployment blocked by AskForApproval::Granular.sandbox_approval error #51414

Open

Description

@morinokuma0215

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?

  1. In the Windows desktop app, use the Sites plugin to prepare a web application for deployment.
  2. Keep Default permissions enabled and Full Access disabled.
  3. Grant the requested scoped network access and project .git write permissions.
  4. Start the official site-workflow.mjs deployment helper in a terminal session.
  5. Send the deployment JSON through write_stdin.
  6. 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.

Additional information

No response

Activity

  1. added
    app
    on Oct 6, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    skills
    on Oct 6, 2026
  3. morinokuma0215 commented on Oct 6, 2026

    @morinokuma0215
    Author

    Update after restarting Windows and updating the app:

    • The app is now version 26.930.61225 (build 13232), and the updater reports up_to_date.
    • The first deployment attempt after the update accepted the write_stdin input, but failed to connect to the Git hosting endpoint.
    • After granting scoped network access and write access to the project's .git directory, the agent retried in a new terminal session.
    • That retry was rejected before execution with the same error:

    write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false

    The issue therefore still occurs after updating the app and restarting Windows. Deployment has not completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxskillstool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions