Skip to content

macOS desktop Local: Sites write_stdin rejected with sandbox_approval=false after on-request config and restart #56299

Open

Description

@williamreese23-png

Environment

  • ChatGPT desktop app on macOS, Local task.
  • Personal ChatGPT account; exact subscription tier not recorded.
  • Exact app and macOS versions not yet verified.
  • Chat approval menu shows "Ask for approval" selected.

Problem

Publishing an existing private Site using the official Sites source workflow is blocked when delivering its documented JSON input through write_stdin. The helper starts and displays:
Ready for Site workflow JSON on stdin (input is hidden).

Input delivery is rejected before publication:

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

No actionable sandbox approval prompt is presented.

Steps observed

  1. Prepare an existing private Site update locally using the Sites workflow.
  2. Start the official site-workflow.mjs helper with a terminal session and TTY.
  3. Send its documented JSON input through write_stdin; the short-lived repository credential is supplied by the official Sites connector.
  4. Observe the approval-policy rejection above.
  5. Configure and validate the following user settings, fully quit and reopen the desktop app, and retry:
approval_policy = "on-request"
sandbox_mode = "workspace-write"

[sandbox_workspace_write]
network_access = true
  1. Grant the task's requested turn-scoped network permission. The same stdin rejection persists.

A fresh same-directory task also reproduced the blocker earlier. No credential values or source contents are included in this report.

Expected

The supported Sites publishing workflow should proceed with appropriate scoped permissions, or show an actionable approval request. If a higher-precedence task policy prevents it, identify that policy and explain the supported resolution.

Actual / limits of diagnosis

Effective task instructions still specify a granular policy with sandbox_approval=false despite the user configuration above. The cause of that policy is not established. Earlier executor attempts also failed to resolve the repository host while Terminal on the same Mac reached it, but the latest retry stops at stdin approval before a network operation can be verified.

The local production build succeeded; no update was deployed during these failed attempts.

Diagnostics

In-app Feedback ID: 01a165cd-a4dc-7c02-8907-95ae2582b02d

The local application log records a feedback/upload response for that ID at 2026-10-22T23:50:18.739Z with errorCode=null. This is local evidence of the upload response, not a claim that a human has reviewed it.

Related macOS report: #52517. Similar Sites stdin issue: #51414.

Requested investigation

Please identify why the effective task policy rejects this official credential handoff, whether the desktop UI should expose the enforcing policy, and how to resume publication without bypassing restrictions or changing Site access.

Privacy

No credentials, private source code, domain, personal contact details, local user paths, or conversation attachments are included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions