Codex CLI: file references report 'no matches' even for existing files in CWD
Resolved 💬 3 comments Opened Dec 30, 2025 by vforsh Closed Dec 30, 2025
Problem
In Codex CLI I try to reference files that definitely exist in the current working directory / repo, but Codex responds with "no matches".
Examples
- In a repo where
src/GameScaler.tsexists, attempting to reference it via@GameScalerin chat yields "no matches".
Expected behavior
- When a user references an existing file path (relative to repo root or CWD), Codex should resolve it and include it as context (or at minimum provide a clear error explaining the required syntax / root).
Actual behavior
- Codex replies with "no matches" even though the file exists.
Environment
- Product: Codex CLI
- Version:
codex-cli 0.77.0 - OS: macOS 15.5 (24F74), arm64
- Terminal: Ghostty 1.2.3
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗