Skip to content

Project locations are stored as UNC paths in config on Windows #10347

@ofek

Description

@ofek

What version of Codex is running?

0.93.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Windows 11

What terminal emulator and version are you using (if applicable)?

Windows Terminal

What issue are you seeing?

In ~\.codex\config.toml every project path is stored as UNC:

[projects.'\\?\C:\Users\ofek\Desktop\code\datadog-agent']
trust_level = "trusted"

[projects.'\\?\C:\Users\ofek\Desktop\code\hatch']
trust_level = "trusted"

[projects.'\\?\C:\Users\ofek\Desktop\code\msgspec']
trust_level = "trusted"

What steps can reproduce the bug?

Open any directory on a Windows machine and select the option to trust the current directory when prompted.

What is the expected behavior?

UNC paths should only ever be used internally, never exposed, to maintain interoperability with the majority of software and to reduce user confusion when seen.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions