Repository navigation
Description
Environment
- ChatGPT desktop app (bundle ID
com.openai.codex), version 26.1007.71326, build 20398, read directly from the installed app's Info.plist. - Work Mode with local Codex execution tools.
- macOS 26.5.2 (25F84).
- Xcode 26.6 (17F113); selected developer directory is
/Applications/Xcode.app/Contents/Developer. - Observed 2026-10-16, approximately 09:55–12:53 America/Los_Angeles.
Issue
The user reports starting this new project session with Full Access after the preceding session was restricted. They have explicitly authorized ordinary, scoped iOS project development and validation. However, the effective policy supplied to this running task still says:
sandbox_mode: workspace-write- restricted network access
- granular approval, with
sandbox_approval,rules, andskill_approvaldisabled
The agent could not independently inspect the selected permission control. A UI/runtime permission mismatch is suspected, not proven. Please help distinguish stale task permissions, another controlling policy source, and intended Work Mode behavior.
Reproduction and actual results
- Start a local Work Mode project task after selecting Full Access (user-reported selection).
- Inspect the effective task policy: it remains restricted as described above.
- Run
xcrun simctl list devices available.
Observed errors include:
CoreSimulatorService connection became invalid.
Error opening log file (...CoreSimulator...simctl.log): Operation not permitted
Unable to locate device set: ... Connection refused
- Typecheck a minimal Swift file:
import Observation
@Observable final class Probe { var value = 0 }Using:
xcrun swiftc -typecheck -module-cache-path /tmp/probe-module-cache Probe.swiftObserved:
sandbox-exec: sandbox_apply: Operation not permitted
external macro implementation type 'ObservationMacros.ObservableMacro' could not be found
swift-plugin-server produced malformed response
- Attempt a normal unsigned generic-device Release build, with task-specific DerivedData under /tmp and
CODE_SIGNING_ALLOWED=NO.
The build exits 65 in CompileAssetCatalogVariant:
No available simulator runtimes for platform iphonesimulator.
SimServiceContext supportedRuntimes=[]
Earlier read-only local evidence records installed iOS simulator runtime bundles. This is not proof that the services work outside this task.
Expected behavior
The permission UI and the task's effective execution policy should agree. If Full Access cannot apply in this mode or is overridden by a managed requirement, the UI/task should identify the controlling restriction and provide a supported way to reconcile it without discarding the chat or project state.
Scope and limitations
- No successful unrestricted comparison has been performed; the root cause is unconfirmed.
- These failures do not establish a project source defect or a system-wide Xcode failure.
- A separate CLI configuration reportedly specifies full access, but that does not establish the effective permissions of this running desktop task.
- No permission stores, services, signing settings, or access controls were changed.
- Separately, the app's terminal-opening tool returns
Codex app tool request failed; it is unknown whether this shares a cause. - OpenAI's official support chat received the selected error details but said it cannot create an internal case/reference number and directed tracked bug reports to this repository.
Only minimal technical examples and selected error text are included. No credentials, account email, private project paths, source repository, full logs, or screenshots are attached.
Activity
github-actions commentedon Oct 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
AUsernameForYou commentedon Oct 16, 2026
Fresh reproduction in a new projectless Work chat, October 16, 2026, approximately 15:14–15:30 America/Los_Angeles.
Impact: this continues to block iOS app validation and is delaying our App Store submission. Please investigate the effective permission policy and provide a supported recovery that preserves the chat and project.
New evidence beyond the original report:
approval_policy = "never"andsandbox_mode = "danger-full-access". This establishes the contents of that configuration, not that the desktop Work execution surface uses it.xcrun simctl list devices bootedagain fails withCoreSimulatorService connection became invalid,Operation not permittedwhen opening its simulator log, and device-set initialization / connection-refused errors./tmpDerivedData andCODE_SIGNING_ALLOWED=NOexits 65 inCompileAssetCatalogVariant. Exact error:Computer Use is not allowed to use the app 'com.openai.codex' for safety reasons.Environment remains Codex Desktop 26.1007.71326, macOS 26.5.2 (25F84), Apple Silicon; Xcode UI reports 26.6 and the selected developer directory points to the installed Xcode.
OpenAI Support's web chat received this updated reproduction but explicitly said it cannot append to an internal bug, escalate to a human, or issue a reference number, and directed us to
/feedbackor this issue tracker. We are therefore adding the evidence here to the existing tracked report.Root cause remains unconfirmed. No permission stores, access controls, services, signing configuration, or project source were changed for these access checks. No credentials, account email, private project paths, source code, full logs, or screenshot bytes are included in this public comment.
AUsernameForYou commentedon Oct 17, 2026
Follow-up after reboot and a new local Work task — October 17, 2026 (America/Los_Angeles).
The issue persists after the user restarted the Mac and explicitly requested a fresh local task for ordinary Xcode/Simulator discovery.
Verified environment:
Fresh task result, 07:56:45–46 PDT:
xcodebuild -versionand developer-directory reads succeeded.xcrun simctl list devices runtimesexecuted and exited 1.Policy/context distinction:
The problem continues to prevent fresh iOS validation and genuine app-screen capture for App Store preparation. The root cause remains unconfirmed; these observations do not establish a source defect, a system-wide Xcode failure, or that a particular app update will fix it.
Please provide a supported way to identify and reconcile the controlling local Work executor policy while preserving existing chats/projects, and clarify the expected relationship between the Full access UI selection and the effective policy delivered to these tasks.
No service/runtime resets, permission-store edits, signing changes, alternate execution routes, or further native retries followed these failures. No private filesystem paths, source, credentials, account details, raw logs, screenshots or private task identifiers are included in this update.
romilmartinez888-cloud commentedon Nov 8, 2026
Additional matching Swift macro failures in a local desktop task. Environment versions were checked on 9 November 2026 (Asia/Manila):
Earlier build and SwiftData type-check attempts in the same chat failed with:
Macro-free Swift compilation succeeds. Full application compilation and native runtime validation have not passed. No fresh native build was attempted for this update; these failure observations come from the existing task logs.
The current task still receives a workspace-write policy with restricted network access and granular
sandbox_approval,rules, andskill_approvaldisabled;request_permissionsandmcp_elicitationsare enabled. Scoped development-directory permission requests returned no grants and no detailed reason. The user reported selecting Ask for approval in the actual chat before the most recent failed retry; the agent could not independently verify the selected UI mode.Please provide a supported way to identify the controlling policy and enable the Apple compiler tools for an authorized local build while preserving the current chat and project. This is a matching symptom, not proof of the same root cause. No unrestricted comparison has been performed and no permission stores or security controls were modified.
This update includes no private project name or paths, source code, personal content, credentials, screenshots, or full logs.
FoxsterDev commentedon Nov 18, 2026
Additional local Work occurrence — November 18, 2026
Posting at the affected user's explicit request rather than opening a duplicate Simulator-access report.
Environment verified during the diagnostic: installed macOS desktop bundle
com.openai.codex26.1111.21308 (27194); macOS 26.6.2 (25G83), arm64; Xcode 26.6 (17F113). These describe the installed environment at inspection, not an independently verified binary identity for every earlier command.Observed evidence from the existing local iOS Work task:
verdict=blocked, no candidate devices, and completion at 2026-11-18T19:41:34Z and 20:02:11Z.simctldevice discovery, before acquiring a device or launching XCTest. Sanitized errors:xcrun simctl list devices --jsonbeing rejected before launch becausesandbox_approval=falseandrequest_permissions=false, despite the user's explicit authorization. This is a recorded policy rejection, not an unrestricted comparison..git/index.lock, while source-file edits remain saved. No fresh Git write probe was performed for this report. A related current macOS report is macOS Codex Desktop 26.1106.51428 blocks Git writes with Full Access enabled #61297.Post-restart comparison, same Mac: at 2026-11-18T20:09:50Z, read-only broker status and
simctldiscovery succeeded in a different authorized execution context. A new turn in the affected Work task, completed at 20:16:12Z, still received effectiveworkspace-writewithsandbox_approval=falseandrequest_permissions=false; ordinarysimctldiscovery again failed withOperation not permitted/ POSIX 61. The task policy therefore did not change on this resume. This comparison supports a context-specific access problem; it does not prove which policy source controls the affected executor or that native tests have passed elsewhere.Impact and limits: native validation cannot proceed, and macOS-only deterministic logic tests do not establish iOS UI/device acceptance. The user restarted the desktop app and reported continued severe UI lag. Existing task inspection still returned an active/in-progress turn with recent command outputs and no recorded turn error; that does not prove the UI is responsive or the native access problem recovered. No successful same-task post-restart Simulator discovery or native test run is claimed. The user additionally reports that the permission-mode selector is missing in this affected chat and that they cannot switch permissions there. This is user-reported, not independently visually verified. A working selector or supported same-chat permission-recovery path is therefore also needed. This occurrence does not independently prove what permission mode was selected when the task was created.
The earlier local checkpoint mislabeled UTC-03:00 wall times as UTC and incorrectly said receipts were absent. The timestamps above come from the receipts' explicit
completedAtUTCfields; the receipts do exist.Please advise a supported way to identify the controlling policy of an existing local Work executor and restore authorized CoreSimulator access without losing the conversation or project state. A broker source defect, global Simulator-service outage and shared cause with UI lag have not been established.
This comment contains no private project/chat names or IDs, repository paths, account details, credentials, source code, screenshots, full logs or raw receipt attachments. The diagnostic did not reset services, modify permission stores, launch duplicate work, or change project code.
FoxsterDev commentedon Nov 20, 2026
Recurrence on desktop build 29030, with same-Mac A/B — Nov 20 UTC
The symptom in my Nov 18 report recurred after a desktop update. A local iOS audit reported that both the full Swift test suite and a critical UI scenario stopped at Simulator discovery, before the first test.
At about 00:28–00:29 UTC on Nov 20 (Nov 19 local), I independently tested the same read-only discovery command,
xcrun simctl list devices booted -j, in both execution contexts on the same Mac:CoreSimulatorService connection became invalid,NSPOSIXErrorDomain Code=61 "Connection refused"; device set could not initialize. This reproduces without the project broker or XCTest.Installed environment at verification: desktop build 29030, macOS 27.2.1 (26B131), Xcode 27.2 (27B52). The user also reports that Claude accessed CoreSimulator successfully on the same Mac. That last observation is user-reported; I did not compare Claude's effective permissions.
The A/B isolates the failure to the managed execution context in this check, rather than a host-wide Simulator outage, a busy broker slot, or a test failure. It does not identify the exact policy rule, establish a Full Access UI mismatch on this turn, or establish that the full test suite passes. The scoped approval restored this discovery probe only; an earlier affected task did not offer approval.
Could the task show which policy blocks CoreSimulator and offer a supported scoped recovery for local iOS testing, or fail early with an explicit permission diagnostic? No private repository paths, device identifiers, or unredacted logs included.
FoxsterDev commentedon Nov 22, 2026
Same-Mac controlled recurrence on desktop build 29803 — November 22 UTC
Following up on my November 20 comparison. The user reported that a local iOS screenshot/capture task could not connect to CoreSimulator. I ran an independent, read-only A/B on the same Mac at approximately 01:20 UTC, using the identical command in both cases:
xcrun simctl list devices available -j.CoreSimulatorService connection became invalid, XPCConnection invalid, and POSIX 61 (Connection refused) during device-set initialization.Installed desktop 26.1117.41037 (29803), macOS 27.2.1 (26B131) arm64, Xcode 27.2 (27B52). No device boot, test, capture, broker invocation, service restart, or settings change was needed to reproduce the difference.
This reproduces the access failure before any project broker or XCTest code and shows that simulator discovery worked on the host outside the restriction at the time of the check. It does not prove which precise policy rule is responsible, what permission mode the affected task's UI showed, or that the approved read-only probe restores Simulator access in that task. Please surface the effective restriction and a supported, scoped way to recover CoreSimulator access for an existing local task without losing its state. No private paths, task identifiers, device identifiers, or raw logs included.