Repository navigation
Description
Environment
- Observed October 3, 2026
- Windows connected computer, desktop package
OpenAI.Codex_26.930.3930.0_x64 - Installed CLI:
codex-cli 0.160.0 - Task created by a dot on the connected Windows computer
Issue
A fresh dot-created task reports a different execution policy from the existing user-level Codex defaults. I could not identify a supported persistent setting that controls this launch route. This report is about fresh task creation/default inheritance, not changing permissions after launch or authorizing a particular repository action.
Existing user configuration:
approval_policy = "on-request"
approvals_reviewer = "user"
sandbox_mode = "danger-full-access"Reported policy in the newly created task:
sandbox_mode = workspace-writeapprovals_reviewer = auto_review- Managed, restricted filesystem profile; writes limited to task workspace and system temporary directories
- Restricted command networking;
CODEX_SANDBOX_NETWORK_DISABLED=1 - The launch's effective
approval_policywas not separately reported
Reproduction / observed workflow
- Have the above existing user-level configuration on a connected Windows computer.
- Ask a dot to create a fresh task on that computer.
- Inspect the new task's reported sandbox/reviewer/network policy before changing task permissions.
- Observe the difference above.
Read-only diagnosis found no project configuration along this task's directory ancestry and no documented Windows system requirements or legacy managed-config file. Effective remotely supplied requirements and explicit launch fields remain unknown. Reading process launch flags was denied; a supported app-server diagnostic query failed before connection with Could not find home directory. No attempt was made to bypass either boundary.
Expected behavior / requested clarification
Please identify which policy source controls dot-created local tasks and whether non-inheritance of user defaults is intentional. If an independent policy applies, expose/document a persistent user-visible launch control and accurately show its effective values. If inheritance is intended, investigate the mismatch.
I am not asking to bypass OS administrator permissions, organization-enforced requirements, or action-specific safeguards. Editing the same global sandbox default again has no demonstrated effect. The dot's exposed task-creation interface has no sandbox or approval override parameter.
Related reports
- [macOS/dots] Tasks created by dots show Full access but delegated follow-up turns remain restricted #50671 concerns task-selected Full access and delegated/resumed work
- Dot-delegated Windows task rejects explicit root-user authorization for gated PR merges; effective approval profile differs from local config #50701 includes a similar Windows configuration discrepancy but primarily concerns propagation of explicit authorization
- [Windows][Dots] SSH denybin wrapper returns exit 0 without executing SSH; persists across permission-mode changes #50333 concerns dot SSH execution restrictions
These may share a cause, but that is not established. I found no verified Desktop/dot resolution in those discussions. Please consolidate if this fresh-launch/default-control case belongs in an existing issue.
No configuration changes, private repository details, credentials, session transcripts, or personal filesystem paths are included.
Activity
github-actions commentedon Oct 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
AIRMANLANSDALE-tech commentedon Oct 5, 2026
I’m seeing what appears to be the same issue on Windows with a Dot-created local task in the ChatGPT desktop app.
The Dot had previously been able to read and write files in a folder on my D: drive. Today, it suddenly lost the ability to write or modify files there, while still being able to read them.
We did several tests to isolate the problem:
Reading existing files from the D: folder: works
Writing/modifying files in the D: folder from the Dot: fails
Writing a file to the Dot/task temporary directory: works
Manually creating and saving a new test text file in the exact same D: folder from Windows: works
This seems important because Windows itself clearly still has permission to write to the folder, and the Dot can still read from it. The restriction appears specific to writes made by the Dot-created local task.
The fact that the Dot can successfully write to its temp directory but not to the normal D: folder makes this look very similar to the reports of Dot-created tasks unexpectedly running under a restricted workspace-write / temp-only sandbox.
We tried multiple troubleshooting steps before stopping, and the filesystem behavior remained consistent. Afterward, the Dot also began intermittently returning generic “I can’t assist with that request” responses.
This occurred during the October 5 ChatGPT Work / Codex Desktop incident, so I’m not sure whether the service incident caused the sandbox state, exposed an existing bug, or is unrelated.
I’m happy to provide my ChatGPT desktop version, Windows version, timestamps, or sanitized logs if those would help reproduce it.
Summary of the interesting part:
D: read ✅
D: write from Dot ❌
Temp write from Dot ✅
Manual Windows write to same D: folder ✅
This strongly suggests the failure is in the Dot/local-task write sandbox or delegated permission context rather than the underlying Windows filesystem permissions.
patrickgagnon22-cyber commentedon Oct 5, 2026
Independent reproduction / additional diagnostic detail from a Windows dot-created local task (2026-10-05).
Environment:
Observed:
Could not find home directoryCODEX_HOMEis not set in the task context. A native Windows profile-location query was inaccessible from that context, although other non-sensitive profile indicators were present. No private paths or values were collected..codex/config.toml, but because AppServer cannot initialize, we cannot obtain effective runtime evidence for the selected profile, sandbox/filesystem roots, approval state, network policy, or policy provenance.We also found that this failure is relevant beyond simple default inheritance: the current task route cannot prove the effective parent policy at all before the home-resolution failure. That overlaps with the policy-provenance questions in #51155.
We intentionally did NOT try workarounds such as setting
CODEX_HOME/HOME/USERPROFILE, changing environment variables, weakening sandboxing, reinstalling/upgrading Codex, or changing Windows security state, because that would alter the environment being diagnosed.Requested guidance/fix:
No credentials, private repository details, usernames, home paths, tokens, or raw logs are included here. Happy to provide further sanitized fields if maintainers identify a specific allowlist.
Morgan279 commentedon Oct 6, 2026
Additional macOS fresh-creation evidence, checked 2026-10-06 (not a resume/UI-selection reproduction):
A newly Dot-delegated local task was assigned
workspace-write,auto_review, a managed/restricted filesystem, and restricted command networking before its first tool call. No permission-menu change, resume, or custom launcher was involved in creating that task. These observations come from its assigned execution context, not an independently captured server-side creation receipt. Its approval policy and named profile ID were not separately exposed; I am not inferringon-requestor:workspace.Version queries and installed-schema generation succeeded on this Mac. That only establishes binary/interface availability, not a successful native runtime A/B test, and does not contradict the Windows home-resolution failure reported above.
A separate, previously recorded local API inspection returned the explicitly requested
never/dangerFullAccesssettings for an empty thread with zero substantive dispatches. That is historical evidence from a different launch route, not proof that Dots inheritance is broken or that a workaround repairs it.The new contribution here is the same fresh-task/default-policy discrepancy on macOS with the named-profile configuration. It is distinct from #50671's subsequent-turn/UI-selection case, although a shared cause is possible. The originating creation payload and effective managed-policy source remain unavailable, so I cannot attribute this to the open-source CLI or propose a justified code patch. Enforced policy must still take precedence.
No security/configuration changes or sandbox-escape tests were performed for this investigation. Personal paths, account/task/host identifiers, prompts and project data are omitted.
simpsonkorea commentedon Oct 6, 2026
Adding another macOS report from October 6. My user configuration already has
sandbox_mode = "danger-full-access"andapproval_policy = "never", and the desktop app's saved default isfull-access. However, the local task created by my dot was assignedworkspace-writewithauto_review.The practical issue is having to revisit permissions in delegated tasks even though I already selected Full Access as my default. This makes it difficult to hand off work from my phone.
Could we have a supported default specifically for dot-created local tasks, plus a clear indication of the effective permission mode and where it comes from? If a managed policy intentionally overrides the user's default, showing that up front would also help.
I haven't verified that changing the permission menu in an existing task carries through subsequent delegated turns, and I'm not attributing this to the open-source CLI rather than the desktop/delegation layer. This request is for explicit, user-controlled settings and visibility; mandatory security controls should still apply.
bookmahjdev commentedon Oct 11, 2026
Adding a macOS reproduction that appears closely related to this report. This is supporting evidence, not a claim that all reported cases share the same cause.
Saved defaults and fresh-task behavior
The existing user configuration was:
The desktop app's saved host preference was also Full access. The destination project was trusted and had no project-level sandbox or approval overrides.
A fresh dot-created local project task, created after those defaults were saved, nevertheless started its first turn with:
These values were read from the task's persisted
turn_contextrecord, rather than inferred from the permission menu or configuration file. Routine Git network reads/fetches then produced manual terminal approval prompts.Controlled local creation test
We separately tested the supported local task-creation path:
create_threadto create one child in the same local project and working directory, withenvironment.type = local(no worktree).The child used ordinary command execution, without requesting escalation, for:
Neither check requested user approval. The temporary-file check is a functional probe, not proof of unrestricted access to arbitrary paths; the permission-mode evidence is the recorded runtime policy.
Limits and requested clarification
This verifies one local coordinator-to-child creation in the same working directory. It does not establish a persistent fix for direct dot creation, dot-driven continuation, different directories, worktrees, or restarts. We did not independently capture the originating dot creation payload or all remotely supplied requirements, and are not attributing the cause to the open-source CLI.
No denied action was bypassed. The controlled tests did not change application code, Git history/remotes, credentials, cloud resources, or permission settings. Raw logs, account/project/host/task identifiers, paths, domains, and exact timestamps are omitted.
Could maintainers clarify which policy source initializes dot-created local tasks, whether this difference from local creation is intentional, and whether a supported persistent user setting exists? A diagnostic showing the effective initial policy and its provenance would also help distinguish enforced restrictions from an inheritance defect.
kamado-kita commentedon Oct 14, 2026
Additional Windows reproduction / diagnostic information.
Environment
26.1007.2314.0Observed behavior
On October 13, a dot-created task successfully saved several files to a development folder on the D: drive. A subsequent task verified the saved files and their SHA-256 hashes.
However, later dot-created tasks were assigned
workspace-write, with writable roots limited to the managed task directory underC:\Users\<user>\Documents\Codex\...andC:\Users\<user>\AppData\Local\Temp.The previously writable D: development folder was not included.
The behavior was observed again in a fresh delegated task on October 14.
Additional findings
sandbox,writable_roots, orapproval_policyarguments.auto_review.Expected behavior
A supported and clearly documented way to grant a dot-created delegated task access to a user-approved development folder, without unnecessarily granting unrestricted filesystem access.
Questions
This appears related to the reported delegated-task permission inheritance issue. No sandbox bypass has been attempted.
ACNLoraxxx commentedon Oct 14, 2026
Additional macOS evidence: fresh dot-created task still receives restricted command networking after enabling Allow network access.
Environment:
Observed sequence on October 14, 2026 UTC:
Fresh-task evidence at 02:55:32 UTC:
Supplied network metadata: Network access is restricted.
CODEX_SANDBOX_NETWORK_DISABLED=1
Command executed once:
curl --head --connect-timeout 10 --max-time 15 https://registry.npmjs.org/
Result:
Exit code: 6
Stdout: empty
Stderr: curl: (6) Could not resolve host: registry.npmjs.org
No HTTP response was received.
Support suggested checking Admin Console → Agent Security. That entry is absent from the visible navigation in my workspace's Admin Console. This does not prove that no managed policy exists; it means I cannot inspect the suggested control through that interface.
Please identify the effective policy or launch configuration controlling dot-created local tasks. If a requirement intentionally overrides the user setting, please expose its source and supported management path. If the setting should apply, please investigate the mismatch.
This report concerns the network setting and effective task configuration. A separate cybersecurity-safeguard failure has also occurred, but a shared cause has not been established. No policy bypass, escalation, proxy workaround, or stopped-task rerouting was attempted.
Related existing-task report: #50671
Private account identifiers, task IDs, local paths and repository details are omitted from this public comment. Diagnostic references can be supplied through a verified private support channel.
xenstalker02 commentedon Oct 16, 2026
Seeing the same thing on Windows, with a network side effect.
Environment: Windows 11, task created by a dot. ChatGPT desktop app 26.1007.9446.0, bundled Codex core 0.162.0-alpha.17.2, standalone Codex CLI 0.163.0.
The dot-created task runs with a restricted profile while the app shows Full access: sandbox mode workspace-write, writable roots limited to the task folder and one Codex documents folder, command network off.
Effect: git push from the dot-created task fails with "getaddrinfo() thread failed to start". It looks like name resolution is blocked, not a login problem.
I have not changed any sandbox settings. Like the original report, I could not find a setting that controls the dot's launch profile. Could you say which source controls it, and whether this is intended?
xenstalker02 commentedon Oct 16, 2026
Update after the Store update to the ChatGPT/Codex app 26.1013.3656.0 on Windows 11. Still reproduces.
curl: (6) Could not resolve host(HTTP 000). The task reports the workspace-write profile with restricted network.Happy to run any sanitized check that helps narrow it down.
antibeelzebub-commits commentedon Oct 23, 2026
Another Windows reproduction, still present on a newer build, with one extra detail: dot-created tasks ignore a named permission profile (
default_permissions), not just the legacysandbox_mode.Environment (2026-10-23)
OpenAI.Codex_26.1016.8622.0_x64codex-cli 0.163.0User config
What the desktop app records per thread (from
.codex-global-state.json,heartbeat-thread-permissions-by-id):activePermissionProfile = {"id": "build-net"},networkAccess = true. The profile applies.activePermissionProfile = null,sandboxPolicy = {"type": "workspaceWrite", "writableRoots": ["C:\\Users\\<me>\\Documents\\Codex", "<visualizations dir>"], "networkAccess": false}. The profile's extra writable folder and network settings never reach them, so writes to that folder fail and anything that needs the network (e.g. calling another CLI) fails, unless I open the task and change its permissions by hand.So the dot launch path appears to send its own explicit legacy
sandboxPolicyinstead of resolving the user'sdefault_permissions.Asks
default_permissions(or offer a persistent "default permissions for dot-created tasks" setting).I'll add a follow-up on whether the per-task picker option "Custom (config.toml)" reliably applies the profile to a dot-created task.
RoySalisbury commentedon Oct 25, 2026
Additional macOS reproduction on 2026-10-25, with OS-level sandbox-denial evidence and same-host connectivity controls. This appears related to the fresh-task/default-policy discrepancy tracked here; a shared underlying cause has not been established.
Environment
Personal ChatGPT account, not a Business/Enterprise workspace; exact subscription tier not collected.
ChatGPT desktop app 26.1021.31345, build 21828, bundle ID
com.openai.codex.Bundled executable reports codex-cli 0.164.0-alpha.11.1.
Apple Silicon / arm64.
sw_vers: macOS 26.7.1, build 25G241. Separately,uname -mprsreportsDarwin 25.6.0 arm64 arm; these are the actual collected outputs.A dot creates local tasks on its connected, authorized Mac. These tests concern the connected Mac, not the dot's cloud computer.
Existing user configuration contains:
The desktop's persisted local-host permission selection is also
full-access. These are saved defaults, not proof of the dot task's effective runtime policy.Reproduction and results
Ask the dot to execute
/bin/echo testin its local Mac task: succeeds, exit 0, outputtest.In a newly created local task, check a known reachable LAN SSH port:
Actual output (LAN address redacted):
Exit 1; tool-level error: None. Earlier SSH attempts also failed, with corresponding port-22 sandbox denials.
In a local Mac task, check an existing loopback HTTP listener:
curl --noproxy '*' --connect-timeout 5 --max-time 10 -i http://127.0.0.1:27182/Exit 7. This was a connectivity probe at
/, not an MCP initialization request.To distinguish proxy requirements from direct-network restrictions, run the following separately in the same local task, preserving its environment:
The first produces the same curl error/exit 7. The second returns:
Exit 6. All six proxy variables were reported unset in that task:
HTTP_PROXY,HTTPS_PROXY,ALL_PROXY,http_proxy,https_proxy,all_proxy.Independent same-Mac controls and kernel evidence
The task results above were supplied by the owner from the dot's command runner. Independently, a separate local shell on the same Mac, outside the dot runner, verified:
HTTP/1.1 404 Not Foundwith{"error": "Not Found"}.lsofconfirms an existing listener bound to127.0.0.1:27182. The 404 is a root-route response, not a connectivity or MCP-handshake success claim.HTTP/2 200.macOS kernel logs directly record the denied operations. Selected lines, with host-local timestamps:
The DNS symptom therefore has independent evidence of sandbox denial of the resolver socket; it is not merely inferred from curl's error message.
Recovery attempts and scope
curl -I https://example.com/check still returned exit 6, with no tool-level error./etc/codex/requirements.toml,/etc/codex/managed_config.toml, or/etc/codex/config.tomlwas present. Local app-server logs report no forcedcom.openai.codexmanaged preferences forconfig_toml_base64orrequirements_toml_base64. This does not exclude a remotely supplied policy or an explicit policy on the dot launch path.Requested investigation
Please identify the policy source controlling networking for dot-created tasks on connected Macs. Is this restriction intentional, or a policy-selection/propagation defect? If intentional, what supported personal-account control allows approved LAN, loopback, and public-network operations, and why is no actionable approval/control shown? If unintended, please provide a supported recovery or fixed version.
Private LAN addresses, account/task identifiers, usernames, credentials, and full transcripts are omitted. This comment adds a newer macOS build, kernel-level TCP/DNS denial evidence, successful same-host controls, and an unsuccessful computer-grant refresh to the existing report.
albertloky commentedon Oct 28, 2026
Additional macOS observation from 2026-10-28: three dot-created tasks on a connected Mac reported
workspace-writewithauto_review, despite different saved user defaults. This appears related to the discrepancy tracked here; a shared root cause is not established.Environment and saved settings
--version. This identifies the installed executable, not an independently verified version of the runtime serving the affected tasks.~/.codex/config.tomlcontains:Observed behavior
Three tasks reported
workspace-writeandauto_reviewin their supplied execution context. This is task-reported context, not an independently captured server-side launch receipt.A fresh diagnostic turn in the existing affected task confirmed the same sandbox/reviewer combination. Its effective
approval_policywas not explicitly exposed. I am not inferringon-requestorneverfromauto_review; these are separate settings. The affected task's composer permission-menu selection remains unverified.The task-creation and continuation tools exposed to the dot offer model/reasoning controls but no sandbox or approval-policy parameter.
Scoped read-only configuration checks
On the native Mac:
These checks do not rule out remotely supplied requirements or an explicit launch policy. They do not establish that native user defaults are intended to govern this execution route.
Separately, earlier read-only SSH operations succeeded, while a later read-only preflight was rejected before process creation. This is not evidence that all networking fails, nor proof that the action rejection and configuration mismatch share a cause.
Requested clarification
This report does not independently reproduce the task-menu/resume sequence in #50671. No permission settings were changed and no denied operation was bypassed during these diagnostic checks.
Personal/account/task identifiers, project and server details, private paths, credentials, screenshots, and raw logs are omitted. This comment was prepared and posted by my dot at my explicit request.