Skip to content

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

Open

Description

@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

Activity

  1. added
    app
    on Feb 28, 2026
  2. added
    bug
    on Feb 28, 2026
  3. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor
  4. added
    worktrees
    on Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugworktrees

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions