Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web (also used by desktop) and the shared Markdown file-link parser.
Steps to reproduce
-
On the thread's environment host, create a real file with
printf 'Example checklist content\n' > /tmp/t3-sandbox-link-checklist.txt. -
Put this Markdown in a chat message:
[Open the generated checklist](sandbox:/tmp/t3-sandbox-link-checklist.txt)
I first saw this in an agent reply. It also reproduces in a user message using the same renderer.
-
Click Open the generated checklist. As a control, use the same Markdown with
/tmp/t3-sandbox-link-checklist.txtas the destination.
Expected behavior
The written label is actionable and opens the real file from the thread's host in the existing file panel, just like the ordinary absolute-path link.
Actual behavior
The label is rendered, but it has no actionable destination and does not open the file panel. sandbox: is stripped by Markdown sanitization and is not recognized by parseMarkdownFileLink. The same file is recognized with the ordinary absolute path. This is not a request to retrieve a file from a separate ChatGPT sandbox. The target exists on the host already.
Impact
Minor bug or occasional failure. Agent-generated checklists and reports are harder to open from the conversation when the reply uses this format.
Version or commit
main at 79f1432a17643eb1a9a3fc91709bc85ac40f092d.
Environment
Local macOS arm64 environment, upstream Web client using the same Markdown renderer as desktop, and an isolated Replay (dev) thread using a test file outside the project directory.
Workaround
Remove the sandbox: prefix and keep the target's absolute path. #7554 and #6360 were similar symptoms, but covered ordinary local links rather than this destination scheme.
Screenshots and verification
The Web scenario failed on the upstream commit because the written label had no link role. With the proposed fix, the same scenario clicked the label and read Example checklist content from the file panel. The captures are cropped only to omit the local path in the test message's header.


Activity
harshit-jain-hj commentedon Nov 27, 2026
Additional reproduction on T3 Code Desktop (Beta) 0.1.11, Windows 11 (build 26200), with the Codex provider and a local scratch workspace.
An assistant generated a PDF and an HTML file, then returned Markdown links with this structure (personal path components redacted):
Both labels rendered like links, but clicking either did not open the file viewer or download the file. Right-clicking the HTML label showed the standard text context menu (Copy, Select All) rather than link actions. Both files were confirmed to exist at the ordinary Windows paths on the same machine.
This adds a Windows drive-letter and PDF/HTML case to the original report. The affected build predates #43525, and we have not tested the merged fix on Windows.