Skip to content

Codex desktop renders identical-looking file cards when multiple edited files share a basename (e.g. README.md) #20700

@liby

Description

@liby

What version of the Codex App are you using (From "About Codex" dialog)?

Version 26.429.30905 (2345)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.4.0 arm64 (macOS)

What issue are you seeing?

When a single turn touches multiple files that share the same basename, the desktop app's auto-rendered file panel below the assistant message shows one card per file, but each card displays only the basename and the label Document · MD. Cards for distinct files become visually indistinguishable.

Image

In the screenshot, four README.md cards stack under a single assistant turn. The footer reads 12 files changed +16 −199. The four cards correspond to four README.md files in different subdirectories of a repo. The panel renders only the basename, with no path. The only way to identify which README.md is which is to click Open on each card.

Expected behavior

Any of:

  • Show the path (full or directory-prefixed) on the card so identical basenames are distinguishable.
  • Deduplicate by basename and collapse repeats into a single expandable summary.

Actual behavior

Multiple identical-looking cards stack vertically with no path context.

What steps can reproduce the bug?

  1. Open a repo containing multiple README.md files (or any other whitelisted-extension files) in different directories.
  2. Ask the agent to make a multi-file edit that touches several of those files in one turn.
  3. After the turn completes, observe stacked cards in the chat with the same basename and no path information.

Additional context

Static read of the bundled webview suggests the card list is built from turn.artifacts.editedFilePaths ∪ turn.artifacts.referencedFilePaths plus paths extracted from assistant text, then filtered by an extension whitelist that includes md, mdx, and doc/spreadsheet/image types (composer-CNnjHdHK.js, artifacts-Bcx1U0Rd.js). Not verified at runtime.

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions