You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Windows client path overrides accept drive-less rooted paths #7808
Client path overrides are resolved in src/clients/client-path.ts, which treats any value for which path.isAbsolute() is true as absolute (line 28). On Windows that includes drive-less rooted paths such as \\Users\\me\\.codex, which resolve against whichever drive is current when the command runs, so the same override can point at different locations. Expected: on Windows, require a drive letter or UNC prefix (or refuse the drive-less form with a clear message).
Reproduction
On Windows, set a client config path override to a drive-less rooted path such as \\tmp\\client.
Run the export/sync command from a different current drive.
Observe the resolved path follows the current drive.
Version
2.93.0
Operating system
Windows 11
Provider and model
No response
Logs or error output
n/a
Screenshots and supporting files
No response
Redacted configuration
n/a
Checks
I searched existing issues and documentation.
I removed secrets, tokens, account details, request credentials, and personal data.
Fixed on dev by #7824 (squash merge 07161c5). On Windows, client path overrides now require a drive letter or UNC share and refuse drive-less rooted paths such as \tmp\client with a clear message; the shared check lives in src/clients/client-path.ts and covers the clients that resolve overrides through it, including T3 Code. Closing manually because pull requests into dev do not auto-close issues.
Activity
test(clients): use a native absolute Pi override in the route fixture
lidge-jun commentedon Oct 28, 2026
Fixed on
devby #7824 (squash merge 07161c5). On Windows, client path overrides now require a drive letter or UNC share and refuse drive-less rooted paths such as\tmp\clientwith a clear message; the shared check lives insrc/clients/client-path.tsand covers the clients that resolve overrides through it, including T3 Code. Closing manually because pull requests intodevdo not auto-close issues.