Worktree appears misattributed into a $HOME project, and is setup on the wrong volume

Open 💬 1 comment Opened Feb 28, 2026 by niieani

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

Version 26.228.1430 (760)

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

My projects live in: /Volumes/Projects/Software/$project
Whenever I use the feature "Fork into new worktree" two things happen:

  • The worktree gets created on a different volume - /Users/$USER/.codex/worktrees/ffc5/$project
  • The forked thread gets misattributed to the Codex project /Users/$USER (I've previously opened Codex in my $HOME and asked it to make some changes to .zshrc), rather than show up under the correct project

What steps can reproduce the bug?

In terminal:

  1. go to $HOME, run codex app
  2. go to $PROJECT_DIR, run codex app
  3. start a thread in $PROJECT_DIR (say "hello")
  4. select "Fork into new worktree"

What is the expected behavior?

  1. Worktree threads are attributed to correct projects
  2. Worktrees are created on the same volume that the project originated from (or target is configurable)

Additional information

_No response_

View original on GitHub ↗

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