Skip to content

[macOS] New Work tasks ignore "Approve for me" and disable sandbox escalation #57117

Open

Description

@GuyP70

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.1021.31345

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Darwin 27.0.0 arm64 arm

What issue are you seeing?

Newly created ChatGPT Desktop Work tasks on macOS appear to ignore the explicitly selected "Approve for me" permission mode.

Despite selecting that mode, new sessions consistently report:

sandbox: workspace-write
approval_policy: granular
sandbox_approval: false
request_permissions: false
rules: false

Commands that require execution outside the sandbox are rejected before they can start.

The problem is reproducible using the Readdle Spark CLI integration. The spark accounts command works normally in macOS Terminal and in an older ChatGPT Work conversation, but fails in newly created Work tasks.

When execution is requested with sandbox_permissions="require_escalated", the system returns:

approval policy is Granular(GranularApprovalConfig {
  sandbox_approval: false,
  rules: false,
  skill_approval: false,
  request_permissions: false,
  mcp_elicitations: true
}); reject command — you cannot ask for escalated permissions

The command never starts, so Spark Desktop is not contacted.

An existing allow rule remains present in ~/.codex/rules/default.rules:

prefix_rule(pattern=["spark"], decision="allow")

The most significant finding is that an older conversation successfully accesses Spark under an auto_review policy, while newly created conversations enforce granular with escalation disabled.

This suggests a problem with the initialisation or application of session-level permission policies. The issue appears to have emerged following recent desktop updates, although the precise cause is unconfirmed.

What steps can reproduce the bug?

  1. Open ChatGPT Desktop on macOS.
  2. Ensure Spark Desktop is running and the Spark CLI is installed.
  3. Verify that spark accounts works successfully in macOS Terminal.
  4. Create a new ChatGPT Work task, explicitly selecting "Approve for me" as the permission mode.
  5. Ask Work to execute spark accounts using the installed Spark CLI.
  6. Request unsandboxed execution using sandbox_permissions="require_escalated" if the default sandbox prevents communication with Spark Desktop.
  7. Observe that the execution system rejects the command before starting it, with sandbox_approval=false and request_permissions=false.
  8. Compare with an existing older Work conversation that can successfully access Spark under an auto_review approval policy.

Reproducibility: Consistently reproduced in newly created Work tasks, including on 26 October 2026 after updating and fully restarting ChatGPT Desktop.

No rules or security settings were changed during the latest tests.

What is the expected behavior?

When "Approve for me" is selected, new Work tasks should initialise with the corresponding effective permissions policy.

Commands requiring execution outside the sandbox should be eligible for automatic review under the selected mode, subject to applicable security restrictions.

Previously authorised local commands, including spark, should be able to use an approved execution pathway without requiring unrestricted Full access.

If sandbox escalation is unavailable, the application should clearly explain why the selected permissions mode cannot authorise it.

The expected outcome is that the selected permissions mode and the effective runtime policy are consistent across newly created tasks.

Additional information

History and diagnostics

  • August 2026: Initially resolved a Spark/Codex sandbox issue by adding an explicit command-prefix allow rule and restarting ChatGPT Desktop.
  • October 2026: Spark stopped working in newly created Work tasks, while remaining functional in at least one older conversation.
  • 22 October: Diagnosed new tasks reporting granular with sandbox escalation disabled.
  • 26 October: Retested after application updates and restart. The same failure persists, despite explicitly selecting "Approve for me".

Controlled comparison

Setting Older working thread New failing Work task
Sandbox workspace-write workspace-write
Approval policy auto_review granular
Escalation mechanism Available, subject to review Disabled
Spark access Working Blocked

The successful older conversation is called "CAT customer queries". It successfully located and read an email using Spark. Its reported effective approval policy differs from that of new conversations.

This suggests either a regression in new-session permission initialisation or an inconsistency in how permission policies are applied between existing and new conversations.

Related Readdle issue:
readdle/spark-codex-marketplace#1

I would appreciate clarification on whether this is a known regression, whether the selected "Approve for me" mode should permit sandbox escalation in this context, and whether a supported workaround exists that does not require enabling Full access.

Potentially related OpenAI issues:

These appear related to desktop approval-policy handling, but none reproduces the exact older-working/newer-failing conversation behaviour documented here.

Activity

  1. added
    app
    on Oct 26, 2026
  2. added
    bug
    sandbox
    on Oct 26, 2026
  3. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor
  4. GuyP70 commented on Oct 26, 2026

    @GuyP70
    Author

    Update — Root cause identified: Work Cloud vs Local execution

    I've identified an important factor that appears to explain the reported behaviour.

    The new Work tasks that failed were running in Work Cloud, whereas the older working conversations used local execution on my Mac.

    Spark CLI requires communication with the locally running Spark Desktop application, which is not accessible from an isolated cloud execution environment.

    This explains why spark accounts worked in Terminal and older local conversations but failed in newly created cloud Work tasks, including the different sandbox and approval policies.

    The problem appears to have been execution-environment selection rather than a regression in permission handling. My earlier suspicion about a recent update was therefore probably incorrect.

    However, I think there is a significant usability issue here: the Local/Cloud selector beneath the new-chat composer is small and easy to miss, and the application does not sufficiently explain the implications for locally installed plugins.

    I suggest making the selected execution environment much more prominent and warning users when a plugin requiring local desktop access is invoked from Work Cloud.

  5. miguelcafigue2-oss commented on Nov 21, 2026

    @miguelcafigue2-oss

    I’m seeing a similar permissions issue in ChatGPT Desktop for macOS, version 26.1117.41037, with a ChatGPT Plus subscription.

    • When I start a new local Work session directly, it can read files but can’t write outside the sandbox. The permission options are restricted, and the context indicator doesn’t appear.
    • On the same Mac, when I start in a regular Chat and accept “Continue in Work,” the resulting Work session has full access and can write to files outside the sandbox.

    I can provide the affected session ID later if it would help with triage.

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

    appbugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions