Repository navigation
Description
Environment
- macOS desktop app, bundle com.openai.codex
- App version 26.1007.21159, build 20052
- Bundled codex-cli 0.162.0-alpha.17.2
- Local workspace execution
Problem
The owner explicitly authorized publishing an existing Sites project. The UI shows Ask for approval selected, but the source workflow cannot receive its credential JSON via hidden stdin. The tool returns:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
Neither typing / nor /feedback exposes a feedback form; /feedback remains plain text.
Reproduction
- Select Ask for approval in the desktop permissions picker.
- Start the official Sites site-workflow helper in a local checkout, using a PTY.
- When the helper reports Ready for Site workflow JSON on stdin (input is hidden), provide the repo-scoped credential object using write_stdin.
- The request is rejected by the effective granular approval policy without a user approval prompt.
Read-only checks
User config has no approval_policy, sandbox_mode, permissions profiles, or feedback-disable entry. No project override or standard system requirements.toml/managed_config.toml was found. MDM enrollment and Codex managed preference keys were absent.
Recorded failures on 2026-10-10 (UTC)
19:08:42.754Z approval error above
19:09:08.072Z approval error above
19:09:18.923Z approval error above
19:12:00.541Z approval error above
19:13:01.275Z Could not resolve host: git.chatgpt-team.site
19:13:20.941Z approval error above
Expected
An authorized sandbox exception should present an approval prompt, or the app should identify which policy enforces automatic rejection. The documented feedback flow should be available, or a supported alternative should be provided.
Questions
Which layer supplies sandbox_approval=false in this build? How can an owner request a narrow supported exception without disabling the sandbox? Where is the feedback form in this build?
Privacy
This report intentionally omits account email, project ID, customer information, credentials, raw logs and personal filesystem paths. Workspace/account tier has not been confirmed. No full-access workaround has been applied.
Activity
github-actions commentedon Oct 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
alexbravoreyna-boop commentedon Oct 25, 2026
Confirmed reproduction on a newer desktop build — production Sites publishing remains blocked
This is still reproducible on Codex/ChatGPT Desktop for macOS 26.1013.40934 (build 20770), target Local, on 2026-10-24 (America/Mexico_City).
We reproduced the failure across two sessions using the same local checkout and the official Sites workflow:
Session A: repository network works, protected stdin is denied
git.chatgpt-team.siteis available.site-workflow.mjsreaches:Ready for Site workflow JSON on stdin (input is hidden).write_stdinpath is rejected with:request_permissionswas explicitly used for network and filesystem access, but it cannot change this effective sandbox approval policy.Session ID:
01a06631-46ba-72a2-8096-04e0739e9c9dSession B: protected stdin works, repository network is denied
A fresh same-directory task recovered the secure credential/stdin path, but the repository could not be reached:
In that session,
request_permissionsis not available, so the network restriction cannot be approved or repaired.Session ID:
01a1705b-9dd1-7f43-8b12-914cb7995d06Related earlier session:
01a17026-cb9f-7181-b3c5-befc06113449Alternative deployment path was also tested
The production bundle builds successfully. We packaged it and attempted the supported archive-backed
save_site_versionflow. The backend correctly rejected it because the local commit was not yet the remote branch HEAD. Therefore archive upload is not a workaround for the broken source push.This rules out application code, the custom domain, the Site build, and DNS configuration as the cause. The blocker is that no available desktop session simultaneously provides:
Production impact
A live customer-facing Site cannot publish validated fixes. Repeated edits continue accumulating locally while production remains on an older commit. This is not merely a poor error message; it blocks the supported release path.
Required permanent resolution
Please do not close this as a one-time permission/configuration problem. The supported Sites workflow needs a durable end-to-end contract in Codex Desktop:
git.chatgpt-team.sitemust be reachable in the same session./feedbackor an equivalent trace-submission path must actually be available.Acceptance criterion: from one Local desktop session, an owner can obtain a temporary Sites credential, run the official helper, push the commit, save a version, deploy it, and verify
succeeded—and can repeat this for future releases without recreating the Site or weakening sandbox security.Please correlate the session IDs above and confirm which component owns the fix.