Skip to content

Windows: unified exec and apply_patch fail during sandbox setup refresh #44585

Closed

Description

@thanhtrung7492-design

Environment

  • Codex desktop package: OpenAI.Codex 26.903.9818.0 x64
  • Desktop product/file version: 152.0.7977.83
  • Bundled runtime: codex-cli 0.153.4
  • OS: Windows 11 Home Single Language, version 10.0.26200, x64
  • Permission profile: workspace-write
  • Approval reviewer: auto_review
  • Feedback ID: 01a08ad2-6828-7901-82bb-f865bf12e70f

Steps to reproduce

  1. Open a local project in Codex desktop.
  2. Run Get-Location through the agent's default exec route.
  3. Repeat once in another permitted workspace.
  4. Restart Codex desktop and reproduce.
  5. Try apply_patch on a permitted workspace file.

Actual behavior

Default exec fails before PowerShell starts:

helper_unknown_error: setup refresh had errors

apply_patch fails while initializing the same filesystem sandbox helper.

Expected behavior

Default exec and apply_patch initialize within the workspace sandbox.

Additional observations

  • The integrated terminal can run Get-Location.
  • Test-Continuity.ps1 -Summary passes in that terminal.
  • The failure reproduces in two permitted workspaces.
  • The desktop app and bundled codex-cli executables launch.
  • No relevant Application or AppModel-Runtime warning/error was found.
  • Desktop logs contain no matching sandbox setup diagnostic.
  • No explicit auto-review denial was observed.

Privacy

No account ID, credential, session transcript, raw log, or private project content is included.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Sep 10, 2026
  2. thanhtrung7492-design commented on Sep 10, 2026

    @thanhtrung7492-design
    Author

    Confirmed as a duplicate of #44425. The additional environment, reproduction, diagnostic, and Feedback ID evidence from this report has been copied to #44425. Closing this issue to consolidate tracking there.

  3. cdousign commented on Sep 11, 2026

    @cdousign

    codex-cli 0.153.0-alpha.5

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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions