Skip to content

Desktop Ask for approval blocks Sites source sync; /feedback unavailable #52971

Open

Description

@mirceamihalache-maker

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

  1. Select Ask for approval in the desktop permissions picker.
  2. Start the official Sites site-workflow helper in a local checkout, using a PTY.
  3. When the helper reports Ready for Site workflow JSON on stdin (input is hidden), provide the repo-scoped credential object using write_stdin.
  4. 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

  1. added
    bug
    app
    sandbox
    tool-calls
    on Oct 10, 2026
  2. alexbravoreyna-boop commented on Oct 25, 2026

    @alexbravoreyna-boop

    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

    • Sites successfully creates a short-lived source repository credential.
    • Network access to git.chatgpt-team.site is available.
    • site-workflow.mjs reaches: Ready for Site workflow JSON on stdin (input is hidden).
    • Supplying the credential through the required write_stdin path is rejected with:
    write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
    
    • request_permissions was explicitly used for network and filesystem access, but it cannot change this effective sandbox approval policy.

    Session ID: 01a06631-46ba-72a2-8096-04e0739e9c9d

    Session 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:

    Could not resolve host: git.chatgpt-team.site
    Operation not permitted
    

    In that session, request_permissions is not available, so the network restriction cannot be approved or repaired.

    Session ID: 01a1705b-9dd1-7f43-8b12-914cb7995d06

    Related earlier session: 01a17026-cb9f-7181-b3c5-befc06113449

    Alternative deployment path was also tested

    The production bundle builds successfully. We packaged it and attempted the supported archive-backed save_site_version flow. 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:

    1. protected credential handoff through stdin;
    2. network access to the Sites repository; and
    3. an available approval mechanism to recover the missing permission.

    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:

    • A Sites credential must be transferable to the official helper without entering model-authored arguments, logs, or files.
    • git.chatgpt-team.site must be reachable in the same session.
    • If either action requires approval, the user must receive an actionable approval prompt instead of an automatic rejection.
    • If an administrator policy is responsible, the UI must identify the effective policy and the concrete administrator action required.
    • /feedback or 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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