You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex desktop on Windows reports malformed cwd for worktree threads and can target the wrong checkout #16525
Note that this is a regression, not sure from which version, probably 1-2 releases earlier?
Also, it impacts hand-off/commit availability in the UI - these operations are not available in worktrees created with this bug present, since the working dir is malformed.
Seems the following is a workaround: Don't select "New worktree" in the lower left when starting a new chat. That triggers the bug. Instead, start new chats using "Local", then immediately stop, switch to a worktree using "Hand off", and as the agent to continue.
Activity
github-actions commentedon Apr 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
cmeeren commentedon Apr 2, 2026
I believe this issue is distinct from those issues.
cmeeren commentedon Apr 7, 2026
Note that this is a regression, not sure from which version, probably 1-2 releases earlier?
Also, it impacts hand-off/commit availability in the UI - these operations are not available in worktrees created with this bug present, since the working dir is malformed.
cmeeren commentedon Apr 8, 2026
Seems the following is a workaround: Don't select "New worktree" in the lower left when starting a new chat. That triggers the bug. Instead, start new chats using "Local", then immediately stop, switch to a worktree using "Hand off", and as the agent to continue.