@ symbol seems to only autocomplete one level down from CWD.

Resolved 💬 4 comments Opened Sep 17, 2025 by ocolluphid Closed Jan 10, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.38.0

Which model were you using?

codex-medium

What platform is your computer?

linux-ubuntu24

What steps can reproduce the bug?

just try using @ from any project folder and you can only see autocomplete for one level down.

What is the expected behavior?

ideally autocomplete would search entire codebase and provide better suggestions

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

samreid · 10 months ago

Similar problem here, on macOS 15.7.1 running OpenAI Codex (v0.46.0) in the default mac Terminal. Autocompleting paths with @ used to work well, matching a deeply nested file by name, but this broke sometime in the last several versions (or something changed in my configuration)? Now it only discovers top level, and seemingly random files. See this screenshot, where searching for @GameNumbe should (and used to) match several files, but now it only finds one.

<img width="1267" height="655" alt="Image" src="https://github.com/user-attachments/assets/141e021d-c80e-4294-85e9-f9cd1666cc03" />

It does seem to match top-level files though, as @ocolluphid indicated.

I am seeing the same problem in Ghosttty 1.2.2

samreid · 10 months ago

Something else is off. Note that the directory above is ~/phet/root, but the relative path to the discovered file is js/game/view/GameNumberLineNode.ts. It should have matched number-pairs/js/game/view/GameNumberLineNode.ts instead. Somehow it is missing that top directory.

samreid · 10 months ago

Testing the hypothesis that something was off in my configuration, I cleared my ~/.codex and re-initialized, using OpenAI Codex (v0.46.0). This had the same symptom (cannot discover files with @ symbol)

etraut-openai contributor · 7 months ago

Closing old bug.