File viewer sends /C:/... paths and fails with AbsolutePathBuf deserialized without a base path
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.41301
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
When the macOS ChatGPT/Codex desktop app connects to a native Windows host through the built-in "Connect other devices" feature, the project directory and filenames are visible, but opening any file fails with:
Could not open file
The same files open normally when ChatGPT/Codex is used directly on the Windows host.
The macOS logs show that a valid Windows path such as:
C:\Projects\RemotePathTest\README.md
is sent in the fs/watch request as:
/C:/Projects/RemotePathTest/README.md
The Windows app-server then returns:
Invalid request: AbsolutePathBuf deserialized without a base path
The remote client can successfully list the directory and display its filenames. The failure occurs when it attempts to open the selected file.
This appears to be a client-side cross-platform path normalization issue. A Windows drive path is being converted into a POSIX-shaped /C:/... path before it is sent to the Windows app-server.
What steps can reproduce the bug?
- Install and run ChatGPT/Codex Desktop on a native Windows machine.
- Pair the Windows machine through the built-in "Connect other devices" feature.
- From ChatGPT/Codex Desktop on macOS, connect to the Windows host.
- Open a Windows project such as:
C:\Projects\RemotePathTest
- Create a file:
C:\Projects\RemotePathTest\README.md
- Confirm that the macOS remote client can list the project directory and see
README.md. - Click
README.mdin the macOS remote client. - Observe
Could not open file. - Inspect the macOS logs and observe an
fs/watchrequest containing:
/C:/Projects/RemotePathTest/README.md
- Observe the following error:
Invalid request: AbsolutePathBuf deserialized without a base path
- Open the same file directly in ChatGPT/Codex on the Windows host.
- Observe that it opens normally.
What is the expected behavior?
When the macOS client is connected to a native Windows host, Windows drive paths should remain valid Windows paths when sent to the Windows app-server.
For example:
C:\Projects\RemotePathTest\README.md
should not be converted into:
/C:/Projects/RemotePathTest/README.md
Clicking a file that is visible in the remote project browser should load and display its contents in the macOS client.
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #32108
Powered by Codex Action
This is also reproducible with a Windows desktop client talking to its native local Windows host; it is not limited to a macOS client connected to Windows.
Environment
- Microsoft Store ChatGPT/Codex app:
26.715.8383.0 - Embedded frontend:
26.715.61943 - Windows 11 x64
- Native local Windows workspace (not WSL)
Opening a local generated/output Markdown file caused the valid drive path to be sent to fs/watch in POSIX-shaped form:
/C:/.../file.md
The app-server rejected it with the same error:
Invalid request: AbsolutePathBuf deserialized without a base path
The same behavior occurred historically with an ordinary local PowerShell file, so Unicode filenames, Markdown content, and file size are not required triggers.
On this build the failure can cascade into the uncloseable Markdown file-tab issue in #33160: the file editor installs an async onBeforeClose guard, the load/save path fails, and a stale guard can keep returning false. The right DetailPanel then remains mounted and continues generating ResizeObserver/layout churn.
Suggested boundary fix:
- When and only when the destination host is native local Windows, normalize
/^\/[A-Za-z]:[\\/]/by removing the leading slash and using native separators before all read/open/write/watch RPCs. - Do not apply that transform to POSIX remote hosts, WSL/container paths, or UNC paths.
- Make file-tab close and watcher disposal independent of whether
fs/watchsuccessfully registered.
Raw local paths and full logs are intentionally omitted; targeted sanitized log excerpts can be provided privately.