Repository navigation
Description
Summary
Updating an existing Sites project is blocked at the official source-workflow helper's stdin step. Reproduced on 2026-10-12 (Asia/Seoul) in the Windows desktop app with PowerShell and Sites plugin 1.0.1. Exact desktop app version and subscription were not verified in this session.
Possibly related to #53134, #50874 and #52517. This report records a further reproduction with explicit request_permissions grants.
Steps to reproduce
- Request edits and publication of an existing Sites website.
- Read the existing project identity and obtain a fresh source repository write credential through the Sites connector.
- Use request_permissions for network access and write access to the existing checkout's .git directory. The tool returns both permissions granted for the turn.
- Start the official site-workflow.mjs helper using exec_command with tty=true from the existing checkout.
- Wait for
Ready for Site workflow JSON on stdin (input is hidden). - Send the credential object as newline-terminated JSON using write_stdin, as required by the Sites skill.
Actual result
The write_stdin tool rejects the call before the helper can process it:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
The runtime describes a granular policy with sandbox_approval=false and request_permissions=true. Granting the requested network and Git-directory permissions does not resolve the rejection. A fresh credential and a newly started helper session still reproduce the failure. The app's visible permission selection was not independently inspected.
Expected result
The supported Sites workflow should be able to deliver input after the required scoped permissions are granted, or the app should surface an actionable approval prompt / explain the higher-priority policy blocking it.
Impact and scope
Local source edits and builds work, and 26 local application tests pass, but source synchronization and publication cannot proceed. Sites metadata operations work. No new version was published, and no production records were deleted. Tokens, site identifiers, local user paths, member data and raw conversation logs are intentionally omitted.
Please investigate the mismatch between granted scoped permissions and the write_stdin approval category, and provide a supported recovery path that does not require disabling security protections.
Activity
github-actions commentedon Oct 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
lpenev11 commentedon Oct 14, 2026
I can reproduce this on Windows with PowerShell and the Sites plugin 1.0.1 on 2026-10-14. The separate test site builds successfully locally, but publication is blocked at the official source-workflow helper’s hidden-stdin step.
Steps observed:
Actual result:
Explicit network and test .git-directory write grants through request_permissions did not resolve this. A fresh helper session after the grants reproduced the rejection. The effective session reports workspace-write and granular approvals with sandbox_approval=false; the local config contains a different sandbox_mode value. I have not verified the UI permission selector or the origin of the effective policy, so I am not claiming those settings must override managed restrictions.
Expected: either allow the supported workflow within the granted permissions, or provide an actionable explanation/approval path consistent with the applicable policy. Please advise on a supported recovery path without disabling security protections.
In-app feedback was submitted. Feedback ID: 01a0e306-f0d2-7e30-b352-58ac9b6385ce.
No credentials, private site identifiers, personal files, or full logs are included. The main site has not been changed.
lpenev11 commentedon Oct 19, 2026
Update — 2026-10-19: still reproducible on Windows/PowerShell with Sites plugin 1.0.2-remix-a.1.
The user restarted the desktop app and explicitly confirmed selecting “Ask for approval” in the UI. I cannot establish whether a managed policy overrides that selection.
Sites metadata confirms project ownership, and a fresh source write credential is issued successfully. Scoped network permission via request_permissions is granted for the turn. The official site-workflow.mjs helper starts with tty=true and reports “Ready for Site workflow JSON on stdin (input is hidden).” Delivering the required newline-terminated JSON via write_stdin is then rejected:
The effective session still reports workspace-write and granular approvals with sandbox_approval=false, rules=false, skill_approval=false; request_permissions and mcp_elicitations are enabled. A fresh helper and credential do not resolve this.
The isolated site copy passes 203 tests, TypeScript checks and the production build. No source push or publication occurred. We need to publish the standalone website while leaving a separate working Shopify application untouched.
Please provide a supported recovery path or investigate why the approval selection and scoped grants do not produce an actionable prompt for this helper input. If a higher-priority policy controls this, how can we identify and resolve it through supported settings? We are not requesting a security bypass.
Credentials, project identifiers, personal photos and raw logs are omitted.