@filename lookup broken: “no matches” in trusted roots

Resolved 💬 1 comment Opened Jan 10, 2026 by philcockfield Closed Jan 30, 2026

### 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?

  1. Start Codex in a non‑git folder.
  2. Choose “Require approval of edits and commands.”
  3. 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.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗