Skip to content

[Windows] Sites publishing blocked by granular sandbox approval policy with no visible approval control #56713

Open

Description

@qaidqa2026-dev

What version of the Codex App are you using (From “About Codex” dialog)?

Unknown — unable to locate About/version in the desktop UI

What subscription do you have?

Unknown — account/workspace type not confirmed

What platform is your computer?

Windows native PowerShell; Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

During a user-authorized Sites publication workflow in Codex desktop on Windows, the official source helper starts and prints that it is ready for hidden JSON on stdin. The subsequent write_stdin tool call is rejected before delivery:

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

Site ownership verification and issuance of a short-lived repository credential succeeded. The credential was held in memory only; no credential, project identifier, private source, or conversation transcript is included in this report. Publication did not complete.

The user could not find a Permissions control in the chat composer, and typing / did not expose Feedback. We do not know whether this is intended policy or a client/configuration defect.

What steps can reproduce the bug?

  1. In the Windows desktop client, authorize publication of an existing owner-private Site.
  2. Verify ownership and obtain its short-lived source repository credential through Sites.
  3. Start the official site-workflow.mjs helper for that Site in its checkout using exec_command with a PTY.
  4. After “Ready for Site workflow JSON on stdin (input is hidden).”, attempt to pass the credential JSON using write_stdin as prescribed by the Sites skill.
  5. Observe the granular sandbox_approval=false rejection instead of an approval prompt.

Observed on October 24, 2026. No minimal standalone reproduction outside the affected desktop session has been established.

What is the expected behavior?

If approval is permitted, expose a scoped human approval prompt for this official workflow. If a managed policy prohibits it, identify the effective policy source and provide actionable instructions appropriate to the installed Windows client. We are not asking to bypass policy or enable unrestricted access.

Additional information

Read-only configuration findings:

  • The user config.toml exists but contains none of approval_policy, sandbox_approval, sandbox_mode, or approvals_reviewer.
  • No CODEX_HOME override was present.
  • No requirements.toml was found in the user location, project .codex location, or the common ProgramData/OpenAI/Codex location checked. Other possible policy sources were not exhaustively examined.
  • The effective session permissions shown to the agent explicitly disallow sandbox_approval.

The exact upstream source remains unknown; absence of a UI control does not establish managed Workspace membership. No local approval settings were changed. No alternate credential channel or publication bypass was attempted. Support suggested filing an issue.

App version and subscription are currently unknown and marked as such. Session identifiers and private logs have intentionally not been published.

Activity

  1. added
    app
    on Oct 24, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    on Oct 24, 2026
  3. qaidqa2026-dev commented on Oct 27, 2026

    @qaidqa2026-dev
    Author

    Additional diagnostic update:

    Windows native; Firebase CLI 15.34.0.

    C:\ProgramData\OpenAI\Codex\requirements.toml does not exist.

    The effective session is read-only with sandbox_approval disabled. request_permissions did not grant write access to C:\Users\Admin\AppData\Local\Temp.

    Firebase CLI stops before upload with EPERM when creating its temporary deployment ZIP.

    Please identify the effective policy source and provide the supported method to grant scoped Temp write access in this desktop client. No Permissions control is visible.

    We have not changed policies or bypassed restrictions. No credentials, private logs, or conversation history are attached.

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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions