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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
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
26.715.8383.026.715.61943Opening a local generated/output Markdown file caused the valid drive path to be sent to
fs/watchin POSIX-shaped form:The app-server rejected it with the same error:
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
onBeforeCloseguard, the load/save path fails, and a stale guard can keep returningfalse. The right DetailPanel then remains mounted and continues generating ResizeObserver/layout churn.Suggested boundary fix:
/^\/[A-Za-z]:[\\/]/by removing the leading slash and using native separators before all read/open/write/watch RPCs.fs/watchsuccessfully registered.Raw local paths and full logs are intentionally omitted; targeted sanitized log excerpts can be provided privately.
Current-build confirmation: native local Windows still sends
/C:/...tofs/watchThis remains reproducible on the current Windows desktop package and does not require macOS remote control, WSL, or a cross-device host.
Environment
10.0.26200OpenAI.Codex 26.727.6591.026.727.51351Observed behavior
On a clean desktop relaunch, the app attempted to watch a local Markdown file using a POSIX-shaped drive path of the form:
The app-server rejected the request with:
The desktop log then recorded:
Across the three most recent startup logs sampled after the relaunch, there were:
AbsolutePathBuf deserialized without a base pathFailed to watch open fileThe correct native path begins with
C:\, not/C:/.Isolation
This persisted after:
ChatGPT.exeprocesses;safe.directoryownership errors for restored worktrees.That makes this a separate path-normalization/file-watch defect rather than a cache or Git ownership failure.
No raw local paths, file contents, credentials, or conversation data are included.