Repository navigation
Description
Summary
An existing local Codex Desktop Work chat stopped resuming after the Windows app updated from 26.908.9136.0 to 26.911.7940.0. Its selected named permission profile explicitly sets :root = "deny" and :minimal = "read", with project-scoped read/write exceptions. The app now fails during session initialization, before the chat can work:
Failed to resume chat
error resuming thread: Fatal error: Failed to initialize session:
failed to load AGENTS.md instructions for environment `local`:
fs sandbox helper failed with status exit code: 1:
windows sandbox failed: elevated Windows sandbox requires effective `:root` read access
This is not a request to broaden the profile to :root = "read": that would remove an intentional isolation boundary.
Environment and evidence
- Windows 11 Pro, build 26200; native local execution.
- Installed
OpenAI.Codexpackage: 26.911.7940.0. Windows AppX events recorded replacement of 26.908.9136.0 at approximately 2026-09-18 00:01 local time (Europe/Bucharest). - The project-local profile predated the update. A local rollout from the previous app version records the named managed profile selected for 19 subsequent turn contexts, with many successful shell-tool results. This establishes that the chat ran with the profile selected; it does not independently certify enforcement of every deny rule.
- The
:root = "deny"and:minimal = "read"lines were not changed during troubleshooting. - A separate malformed, disabled MCP stanza initially caused an
invalid transportparser error. Removing only that incomplete stanza allowed configuration parsing to proceed; the above sandbox error then appeared. These are separate failures. - Other Codex chats can run; this is not a global inability to launch the app.
- The existing conversation data remains locally present. The failure is at resume/initialization, not evidence that the conversation was deleted.
Relevant profile shape (paths and name sanitized):
default_permissions = "restricted-audit"
[permissions.restricted-audit]
extends = ":read-only"
[permissions.restricted-audit.filesystem]
":root" = "deny"
":minimal" = "read"
'C:\Work\Audit' = "read"
'C:\Work\Audit\Reports' = "write"
'C:\Work\Audit\Scratch' = "write"
'C:\Work\OtherProject' = "deny"
[permissions.restricted-audit.network]
enabled = falseThe official permissions documentation explicitly illustrates workspace-limited profiles using :root = "deny" with :minimal = "read". The Windows sandbox documentation describes the elevated backend but does not flag such a profile as unsupported.
Steps to reproduce
- On Windows, create/select a project-local named profile with the restricted filesystem rules above for a local Work chat.
- Use and resume the chat on Codex Desktop 26.908.9136.0.
- Update the Desktop app to 26.911.7940.0 without changing the filesystem rules.
- Reopen the existing chat.
Actual: The chat cannot resume; AGENTS.md loading aborts with the effective-:root-read error.
Expected: Preserve the documented workspace-limited policy and resume the chat, or provide a supported recovery path with equivalent isolation and a clear compatibility diagnostic. Do not silently weaken filesystem access.
Relationship to existing report
#46114 has the same visible error string, but reports an all-threads provisioning failure with a different permission pattern. This report isolates an explicit :root = "deny" profile that was selected and usable before the Desktop update. The common error could have a shared underlying cause; this report does not assume one.
No private paths, conversation transcript, raw logs, or project files are attached.
Activity
github-actions commentedon Sep 17, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
edwardswhiskeyblues-alt commentedon Sep 18, 2026
Follow-up from the same Windows environment, with additional evidence after the original report. No private paths, chat transcript, audit inputs, raw logs, or configuration files are attached.
The installed
OpenAI.Codexpackage is now 26.915.3509.0; the selected restricted profile still has:root = "deny"and:minimal = "read".I compared the current profile's filesystem entries with a pre-update turn context from 2026-09-17 18:20 UTC: the entries are identical, including the root deny. That historical turn contains 125 typed command-execution records, all exit code 0. A contemporaneous native sandbox log shows the older
0.154.0-alpha.6.2command runner launching, with a sample reporting 7 deny-read ACLs applied, 2 write roots, and no setup errors. The native log has no thread ID: temporal/count correspondence is not definitive per-command attribution, and the seven concrete denials do not prove that the general root-deny boundary was universally enforced.A native
thread/resumeerror record now confirms failure while loadingAGENTS.md, before work begins:elevated Windows sandbox requires effective :root read access. The log's Desktop client identifier is26.911.61220; that is a separate identifier from the installed Windows package version. A neutral sandbox-start command under the same profile fails before its marker with the same error.One Owner-approved, process-only test overriding the backend to
unelevatedkept the profile unchanged, but also failed before its marker:Restricted read-only access requires the elevated Windows sandbox backend. Pre/post configuration hashes matched. No audit was started.The Owner also attempted a new local chat in the same project with the same profile and a text-only first prompt forbidding tools/commands. The UI returned
error creating thread: failed to load AGENTS.md ... elevated Windows sandbox requires effective :root read accessandCould not start this chat. Thus the observed failure is not limited to resuming the existing conversation. We do not infer that a usable new thread was created.A separate, Owner-approved process-only candidate changed only
:rootfromdenytoread, leaving all other declared filesystem entries andnetwork.enabled = falsethe same. Its neutral elevated-sandbox command exited 0 and emitted only the expected marker; stderr was empty. The saved profile and backup were unchanged before/after. This demonstrates that root-read permits this startup path in the current backend; it widens default read access, does not establish equivalent isolation, and is not a validated or recommended audit workaround. No auditor conversation or audit was started.This establishes changed observed compatibility for the same declared rules; it does not establish whether the cause is an unintended regression, stricter fail-closed validation, or a changed startup/instruction-loading path. A supported recovery path that preserves the intended root-deny isolation would be valuable. We have not changed the saved profile, downgraded, or resumed audit work.
Usage impact / request
Would OpenAI consider a one-time Codex usage-limit reset, or an equivalent courtesy credit, for the affected account? Reproducing this app issue across updates, collecting diagnostics, and testing safe alternatives has consumed substantial time and Codex usage that would otherwise have gone to normal work. I understand any adjustment depends on your support policy; this is a request for consideration, not an assumption that compensation is guaranteed.
J0hnDing commentedon Sep 23, 2026
Additional reproduction from a Windows App Server integration:
:minimal = "read"and read access to the application/runtime root, with no filesystem write grants for Assistant.AGENTS.md, with the same error:The CLI and App Server are reachable and pass a separate readiness preflight; failure occurs at thread/start, before agent work or tool calls. In this setup the profile grants scoped read access but does not grant the special
:rootentry. This is an independent App Server integration reproduction of the startup failure; I cannot determine from this evidence whether it is a regression or an undocumented backend requirement.Could startup load the applicable project instructions under their scoped read permissions, or document why effective
:rootread is required forAGENTS.mdloading and provide a compatible path for managed profiles?JasonLiver commentedon Oct 5, 2026
I’m seeing the same regression on Windows (build 26200.9457).
Current desktop app version: 26.930.31730
Windows sandbox: elevated
An existing local chat has saved managed filesystem permissions with :root = deny and :minimal = read, plus access to its project folder. Resuming it fails before the chat starts:
failed to load AGENTS.md instructions for environment
local:fs sandbox helper failed with status exit code: 1:
windows sandbox failed: elevated Windows sandbox requires effective
:rootread accessChanging the chat’s approval option to “Ask for approval” did not help. The iPhone app also says it cannot reconnect to this task on my Windows host. The host log records that iPhone resume attempt failing with the same root-read error.
The chat remains in the local history, and its last completed turn is readable. A new chat with root read access works. I also found this error in desktop logs from October 2 under app version 26.924.22138, so it predates my current 26.930.31730 build.
Is there a supported way to resume existing chats with their restricted permissions, without broadening them to full-disk read access?
StormOrtus commentedon Oct 6, 2026
I may be seeing a related Windows Desktop sandbox regression, although my reproduction differs from the original report in some important ways.
Environment:
Relevant profile shape (no private paths included):
One potentially relevant piece of history:
I previously used a more restrictive profile with
:root = "deny". I changed it to:root = "read"because Codex's elevated Windows sandbox was producing errors requiring effective:rootread access, and I needed that change to get Codex working again.So my current
:root = "read"setting predates this new problem and was itself a compatibility workaround. I did not change it to troubleshoot the problem described below.My current issue also began BEFORE I updated the Desktop app.
Sequence of events:
I had a long-running local Codex chat working normally with
workspace-write-root-read.I hit my Codex usage limit while that chat was in progress.
After usage became available again, I attempted to resume the existing chat and received the failure described below.
Only AFTER encountering the failure did I update the ChatGPT/Codex Desktop app. Updating did not fix it.
I have subsequently fully closed the app through Task Manager and also performed a Windows update/shutdown cycle. The problem remains.
Observed failure:
The error is wrapped as approximately:
The underlying Windows sandbox error references a private UNC/network share path in
readOnlyPathsthat could not be resolved to a filesystem object.It also says that because
deniedPathsare present, the sandbox cannot verify that the unresolved path does not alias a denied object, so the configuration is rejected.The UNC/network path is unrelated to the project/chat where I first encountered the problem.
I carefully checked my current
config.toml:I then reproduced the problem outside that project:
workspace-write-root-read.That makes this appear not to be specific to the original project's AGENTS.md or to one old conversation.
After that failure, the project-less chat became stuck loading when I tried again. I ended the ChatGPT app through Task Manager and reopened it.
I then used the SAME project-less chat with
Approve for me, and it worked.So local Codex execution itself is functional. The failure currently appears specifically associated with starting the Windows sandbox using my
workspace-write-root-readnamed profile.Existing older chats also now show
Approve for me, and I cannot successfully switch them back toworkspace-write-root-read.The part that seems especially unusual is that a private, unrelated UNC/network path is appearing in the effective runtime
readOnlyPaths, despite that path not appearing anywhere in my currentconfig.toml.Because my profile already uses
:root = "read", this also differs from the original report in this issue, where the failure involves a profile intentionally using:root = "deny".I am intentionally not posting the actual UNC path, network device/share names, Windows username, project paths, conversation contents, or full config publicly.
If useful, I can provide additional sanitized error text or other non-sensitive diagnostics.