Skip to content

[Windows Desktop regression] Existing root-deny permission-profile chat cannot resume after 26.911.7940.0 update #46312

Open

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.Codex package: 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 transport parser 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 = false

The 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

  1. On Windows, create/select a project-local named profile with the restricted filesystem rules above for a local Work chat.
  2. Use and resume the chat on Codex Desktop 26.908.9136.0.
  3. Update the Desktop app to 26.911.7940.0 without changing the filesystem rules.
  4. 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

  1. added
    bug
    app
    windows-os
    sandbox
    session
    config
    on Sep 17, 2026
  2. github-actions commented on Sep 17, 2026

    @github-actions
    Contributor
  3. edwardswhiskeyblues-alt commented on Sep 18, 2026

    @edwardswhiskeyblues-alt
    Author

    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.Codex package 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.2 command 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/resume error record now confirms failure while loading AGENTS.md, before work begins: elevated Windows sandbox requires effective :root read access. The log's Desktop client identifier is 26.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 unelevated kept 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 access and Could 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 :root from deny to read, leaving all other declared filesystem entries and network.enabled = false the 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.

  4. J0hnDing commented on Sep 23, 2026

    @J0hnDing

    Additional reproduction from a Windows App Server integration:

    • The integration starts local managed agent threads through Codex App Server; the bundled Codex CLI was 0.155.0 at the time of testing.
    • The thread uses the native Windows elevated sandbox and a named permission profile. The Assistant profile grants :minimal = "read" and read access to the application/runtime root, with no filesystem write grants for Assistant.
    • Thread startup fails before the agent turn, while loading AGENTS.md, with the same error:
    Could not start the managed agent thread during Codex thread/start:
    CodexAppServerError: error creating thread: 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
    

    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 :root entry. 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 :root read is required for AGENTS.md loading and provide a compatible path for managed profiles?

  5. JasonLiver commented on Oct 5, 2026

    @JasonLiver

    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 :root read access

    Changing 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?

  6. StormOrtus commented on Oct 6, 2026

    @StormOrtus

    I may be seeing a related Windows Desktop sandbox regression, although my reproduction differs from the original report in some important ways.

    Environment:

    • Windows 11
    • ChatGPT/Codex Desktop version: 26.930.61225
    • Local Codex execution
    • Custom named permission profile with workspace write access, filesystem-wide read access, and network disabled

    Relevant profile shape (no private paths included):

    default_permissions = "workspace-write-root-read"
    
    [permissions.workspace-write-root-read]
    extends = ":workspace"
    
    [permissions.workspace-write-root-read.filesystem]
    ":root" = "read"
    ":minimal" = "read"
    ":tmpdir" = "deny"
    ":slash_tmp" = "deny"
    
    [permissions.workspace-write-root-read.network]
    enabled = false
    

    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 :root read 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:

    1. I had a long-running local Codex chat working normally with workspace-write-root-read.

    2. I hit my Codex usage limit while that chat was in progress.

    3. After usage became available again, I attempted to resume the existing chat and received the failure described below.

    4. Only AFTER encountering the failure did I update the ChatGPT/Codex Desktop app. Updating did not fix it.

    5. 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:

    failed to load AGENTS.md instructions for environment 'local'
    

    The underlying Windows sandbox error references a private UNC/network share path in readOnlyPaths that could not be resolved to a filesystem object.

    It also says that because deniedPaths are 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:

    • the exact private UNC path is NOT present;
    • no UNC/network path is present anywhere in the config.

    I then reproduced the problem outside that project:

    1. I created a new project-less Codex chat.
    2. I selected workspace-write-root-read.
    3. Sending a message produced the same sandbox failure.

    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-read named profile.

    Existing older chats also now show Approve for me, and I cannot successfully switch them back to workspace-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 current config.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.

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

    appbugconfigsandboxsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions