@filename lookup broken: “no matches” in trusted roots
### What version of Codex is running?
0.80.0
### What subscription do you have?
Plus
### Which model were you using?
Codex (GPT-5) — issue not model-specific
### What platform is your computer?
Darwin 24.6.0 arm64
### What issue are you seeing?
Summary
After starting Codex in a non‑git folder and choosing “Require approval of edits and commands,” @filename
stops working in trusted workspaces and returns “no matches.” This side effect is non‑obvious and appears
unrelated to safety.
### What steps can reproduce the bug?
- Start Codex in a non‑git folder.
- Choose “Require approval of edits and commands.”
- Open a trusted workspace and use @filename.
### What is the expected behavior?
@filename resolves consistently in trusted workspaces.
### Additional information
I tried removing the persisted trust entry in the TOML config; it sometimes helps after a terminal restart but
not reliably. This suggests the issue isn’t fully resolved by deleting that entry alone.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗