Repository navigation
Description
Desktop “Ask for approval” UI conflicts with effective sandbox_approval=false, blocking Sites credential handoff
Environment
- macOS desktop app, Codex-backed local chat using Sites plugin
- App version 26.1007.71326, build 20398, prod release channel
- App update check reports up_to_date
- Account plan: Plus
- Exact macOS version and bundled Codex engine version: not yet collected
Problem
The desktop permissions UI displays “Ask for approval”, but the effective session policy disables granular sandbox approvals. The supported Sites publishing helper reaches its hidden-stdin input stage, then the write_stdin tool rejects the credential handoff before publishing can continue.
Exact error:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
Reproduction and checks
- In the desktop app, select Ask for approval for a local Codex chat.
- Use the Sites plugin to publish an existing private app via its supported publishing workflow.
- Start site-workflow.mjs with a PTY and wait for its ready-for-JSON message.
- Supply the required publishing credential via hidden stdin (credential contents omitted).
- Observe the error above instead of an approval prompt.
The user explicitly approved publication and the data transfer. Network permission was granted. Fully quitting/reopening the desktop app and retrying did not fix the error.
A new same-folder chat also reports sandbox_approval disabled in its effective permissions. No credential handoff was attempted in the new chat because the unchanged restriction was already visible. Thus the restriction is not limited to the original chat; the source of the policy is unknown.
Local checks found no approval_policy, approvals_reviewer, sandbox_mode or permissions overrides in the user config or its named profiles. No requirements.toml was present in the checked user/system locations, and no project-level .codex/config.toml was present. These checks do not rule out other app/session or managed-policy sources. No settings were changed to bypass the restriction.
Expected
The effective policy should match the selected UI mode, or the UI should clearly explain an overriding restriction. Where approval is allowed, the required operation should show a user approval prompt.
Actual
The credential stdin operation is automatically rejected. The app remains unpublished.
Investigation references
In-app feedback was submitted by the user.
- Original feedback/chat session: 01a13453-a6a6-7f31-bceb-d3e8d528a00d
- Fresh chat: 01a13fcb-0945-75c1-a448-51736b84b20f
Help Center AI support directed us to this bug tracker; no human escalation has been confirmed.
Privacy
This report deliberately omits application data, personal contact details, hosting project/repository identity, credentials, tokens, raw session transcripts and logs. Please request any additional sensitive diagnostics through an appropriate private channel.
Activity
github-actions commentedon Oct 15, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action