Windows ChatGPT app generates incorrect local file hyperlink for Work artefacts

Open
#36,968 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
desktop

Research direction

Reproduce the Work task on Windows and begin at the code that creates the generated artefact hyperlink after task completion. Compare the emitted path with the file location under the user's .codex.chatgpt-projects directory. Done means the hyperlink opens the successfully created Markdown file at its actual path.

Written by the indexing model from the issue text.

Description

app bug windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.727.51351

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When a Work task completes, the generated hyperlink to the output Markdown file points to an invalid local path.
Example generated path:
C:\Users\User.codex.chatgpt-projects\g-p-6a70af3ddf248191ae90ff9ed95de4a9\Competitor Analysis.md
The actual file is correctly created at:
C:\Users\User.codex.chatgpt-projects\g-p-6a70af3ddf248191ae90ff9ed95de4a9\Competitor Analysis.md
The Windows app appears to concatenate the path incorrectly, omitting the required \ separators around the .codex directory.
The file itself is created successfully; only the hyperlink is incorrect.

Reproduction steps
Open a Project in the Windows ChatGPT app.
Start a Work task that generates a Markdown artefact.
Wait for completion.
Click the generated hyperlink.
Observe that the link points to:C:\Users<user>.codex.chatgpt-projects...

Verify that the file actually exists in:C:\Users<user>.codex.chatgpt-projects...

Expected behaviour
The hyperlink should point to the actual file location inside:

C:\Users<user>.codex.chatgpt-projects\

Image
What steps can reproduce the bug?

Feedback ID: no-active-thread-019fce73-dbd9-79b3-af23-83d3063a5bb6

What is the expected behavior?

The hyperlink should point to the actual file location inside:

C:\Users<user>.codex.chatgpt-projects\

Additional information

"The Work artefacts are written correctly to the local project workspace. It would be helpful if the Windows app exposed an 'Open containing folder' action in addition to the hyperlink."

That's not a bug—it's a feature request—but it's a sensible quality-of-life improvement for users working with generated documents.
Overall, this is a high-quality bug report because you've:
isolated the issue,
identified the incorrect and correct paths,
confirmed the file generation succeeds,
and provided a simple way to reproduce it. That makes it much easier for the engineering team to diagnose.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.