codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows local Work fails before command launch: invalid sandbox permission path 'file:///workspace'

Open cputech019-boop opened this issue 1 week ago • 2 comments

Summary

ChatGPT desktop Work on Windows intermittently loses the ability to run local commands after earlier successful operations. The failure occurs during sandbox preparation, before the requested command runs.

This has interrupted both product-content generation and product-upload workflows.

Environment

  • OS: Windows; exact OS build not collected.
  • Last checked ChatGPT desktop version: 26.1117.41037.
  • Execution: local Work project using folders on the Windows computer.

Observed sequence

  1. Local reads and writes initially worked.
  2. A batch saved 36 output files for 12 products.
  3. While attempting to save the next product, exec_command failed.
  4. A subsequent read-only attempt to read AGENTS.md failed with the same error.
  5. apply_patch also failed to save a diagnostic file.
  6. Browser/REPL access subsequently failed with another path validation error.

The trigger is unknown. Successful startup checks did not prevent the failure from recurring later.

Errors

exec_command:

Failed to create unified exec process: exec-server rejected request (-32602): failed to prepare process sandbox: invalid sandbox permission path: 'file:///workspace' is invalid on 'windows'

Browser/REPL:

Error: filesystem path `/home/agent/.codex/.arcade-git/aggregate-skills` must be absolute, use `~/...`, or start with `:`

Expected behavior

Permitted local read/write commands should start successfully using paths valid for the Windows execution environment.

Impact

The workflow cannot continue or save its latest checkpoint after the failure.

Please investigate the source of these paths in the Windows execution context and advise on a supported repair or fixed version. Whether the two errors share a root cause is unknown.

Submitted diagnostic feedback

Feedback ID: c52c6a68-3f33-4ce3-8984-c262e55f643f

cputech019-boop avatar Nov 24 '26 02:11 cputech019-boop

Additional reproduction on Windows 11 Pro 25H2, desktop package 26.1120.5083.0 (Nov 25, 2026).

A local Work conversation had already executed commands successfully. After a long-running task disconnected, seven retries failed before PowerShell started with invalid sandbox permission path: 'file:///workspace' is invalid on 'windows'. The URI is from the product error, not a user directory or a path passed in the command. The previous execution session could not be reattached. A different conversation on the same Windows machine later completed the work.

Could the team compare the effective host, working-directory URI, workspace roots, and filesystem permission paths immediately before and after reconnect? The expected behavior is that local execution resumes with valid Windows paths, without relaxing the sandbox. No private logs or project data are attached.

xzk112300-source avatar Nov 26 '26 02:11 xzk112300-source

2026年12月2日、日本時間にWindowsローカルWorkで再現しました。

環境:Windows 26H2、build 26300.9974、デスクトップパッケージ26.1120.6357.0。

既存WorkでこのWindows PCを選び直しても、コマンド起動前に以下で停止します。

  • invalid sandbox permission path: 'file:///workspace' is invalid on 'windows'
  • PC操作では /home/agent/.codex/.arcade-git/aggregate-skills のパス検証エラー。

同一PCのローカルCodexでは、PC操作、Driveからの59,345,161バイトのPDF取得、全3ページの描画が成功しています。

別途確認した古いネイティブパイプ参照は、バックアップ付きで接続先1項目だけを補正し、新しいWorkプロセスへの反映を確認しました。しかし、上記のパスエラーは残ります。

WindowsローカルWorkへ渡される作業フォルダ・権限パスの変換を調査し、正式な修復手順または修正版をご案内ください。

digital-iv avatar Dec 02 '26 01:12 digital-iv