Agent unable to read new file in worktree mode.

Resolved 💬 4 comments Opened Feb 20, 2026 by Reekin Closed Feb 20, 2026

What version of the Codex App are you using (From “About Codex” dialog)?

26.217.1959 (669)

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.2.0 arm64 arm

What issue are you seeing?

I created a PRD.md file in the project root directory and then switched to worktree mode in codex app, asking the agent to implement it.
The agent searched for a long time but couldn't find the file, and finally gave up.
The session jsonl (renamed to json) is attached.
rollout-2026-02-21T03-38-57-019c7c8f-fcef-70b2-95de-5ffe2512fc5f.json

What steps can reproduce the bug?

  1. clone codex repo
  2. create an md in the root dir
  3. switch to worktree mode, @ the file and let it implement it

What is the expected behavior?

The agent can find and read the file

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗