Skip to content

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

@philcockfield

Description

@philcockfield

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions