Codex App: @ filename-only search shows conversations, while a directory prefix reveals the matching file
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.908.70816 (build 9275), read from the installed application's Info.plist. Bundle identifier: com.openai.codex.
What subscription do you have?
prolite (planType reported by the signed-in account's usage API; recorded verbatim).
What platform is your computer?
macOS 27.0 (build 26A428), Apple Silicon / arm64.
uname -mprs: Darwin 27.0.0 arm64 arm.
What issue are you seeing?
In a project-associated task, searching the @ mention picker using only a filename fragment shows conversation candidates but no matching project file. Adding a directory prefix to the same fragment makes a file candidate appear.
The original report concerned finding a PDF. The concrete screenshot comparison below demonstrates the problem with an XLSX file, so this is not established as a PDF-specific defect.
What steps can reproduce the bug?
Observed sequence in the same project task (Chinese-language UI):
- Type
@最终版(final version) in the composer. - The visible picker shows eight conversation entries and no file candidates. None of the displayed conversation titles visibly contains
最终版. - Change the input to
@教案/最终版(lesson plans/final version). - The picker now shows
人工智能教学原理与算法_12次课程与助教分工_最终版.xlsx, with an Excel icon and directory label教案.
| Query | Visible result |
|---|---|
@最终版 |
Conversation candidates only; matching file absent |
@教案/最终版 |
Matching XLSX file candidate appears |
Both screenshots are attached in this comment. Detailed screenshot interpretation.
This records the observed behavior; it has not been independently reproduced in a clean project.
What is the expected behavior?
Typing a filename fragment such as @最终版 should make matching project files discoverable and selectable without requiring the user to know their directory. The need is fuzzy/partial filename discovery.
A Files / Conversations filter or separate result groups could help ensure that file candidates remain accessible when conversations are also suggested.
Additional information
- The screenshots show a project-associated task, not a projectless chat.
- Adding a directory prefix exposes the XLSX candidate in this example. This is still a partial filename, not a complete file path. It is a workaround for this example, not a resolution of filename-only discovery.
- PDFs are visible in the conversation history, but the screenshots do not establish whether those PDFs match the query or are searchable.
- The cause remains unknown. The screenshots do not establish whether this is ranking, query filtering, or selection of which resource types to search. Overlapping conversation titles are not established as a necessary condition.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the @ picker behavior in a project-associated task using the filename-only and directory-prefixed queries described. Trace how the picker searches conversations and project files, and determine whether filtering, ranking, or resource selection omits filename-only matches. Done means matching project files appear and remain selectable when users search with a filename fragment alone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100