Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Installed app bundle metadata reports version 26.429.61741, build 2429 (read from /Applications/Codex.app/Contents/Info.plist; not independently checked against the About dialog).
What subscription do you have?
Not verified in this session.
What platform is your computer?
macOS 27.2. This is a macOS reproduction of the symptom reported in #53134, which describes Windows. Also related to #53601 and #52210.
What issue are you seeing?
Publishing an HTML visualization through the Sites plugin repeatedly fails at the hidden credential handoff to the official Sites source helper. The project exists, but its source cannot be synchronized and no version has been published.
Exact error:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
The permissions tool successfully grants both network access and write access to the selected project's .git directory. Grants have been returned at turn and session scope. Nevertheless, the following write_stdin call is rejected before the helper can receive its input, without an approval prompt for that step.
The effective policy supplied to the agent allows request_permissions and mcp_elicitations, but disables sandbox_approval, rules, and skill_approval. We cannot determine which app, managed-profile, or session setting imposes this combination. This report does not independently verify the user's visible permissions-menu selection.
What steps can reproduce the bug?
-
In a local macOS desktop chat, ask the Sites plugin to publish a user-supplied standalone HTML visualization in an existing Sites project.
-
Retain the existing project ID and obtain a fresh source repository write credential through Sites.
-
Request network access and write access to that checkout's
.gitdirectory. Observe both permissions granted. -
Start the official helper from the checkout using
exec_command, withtty: true:node <sites-plugin-root>/scripts/site-workflow.mjs --project-id <existing-project-id> -
The helper successfully starts and prints:
Ready for Site workflow JSON on stdin (input is hidden). -
Supply the required newline-terminated workflow JSON using
write_stdin, including the credential object,commands: [], and a task-owned archive path, as instructed by the Sites skill. -
The tool rejects the input with the exact policy error above, without showing a prompt.
Repeated attempts in the same conversation, including fresh credentials and newly granted permissions, fail at the same point. The latest reproduction was on October 19, 2026.
What is the expected behavior?
The supported Sites publication workflow should proceed within the granted permissions, or expose an actionable approval prompt. If managed policy intentionally prevents this operation, the app should identify the governing restriction and a supported way to resolve it rather than allowing permission grants and then rejecting the credential handoff without recourse.
Additional information
- Related issue Windows: “Ask for approval” selected, but write_stdin blocked by sandbox_approval=false #53134 matches the error and workflow; this report adds a macOS reproduction and the observed effective policy.
- The local source file was verified byte-for-byte against the user's supplied file. Its sandboxed iframe and CSP were preserved.
- The Site remains unpublished. There is no deployment ID or production URL.
- No credentials, tokens, private project IDs, user documents, or full session logs are included.
- Please advise whether this is expected under the managed permission profile, or an approval-policy propagation bug, and provide a supported publication path that retains scoped permissions.
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action