Codex Desktop “Pinned summary” shows another task’s worktree and branch after creating tasks

Open 💬 1 comment Opened Aug 12, 2026 by song-eunn
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.803.61601

What subscription do you have?

Pro 5x

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

After creating a new worktree-backed task or a new chat/task in Codex Desktop, the “Pinned summary” of other existing tasks can show the local/worktree environment and branch belonging to a different task.

The actual Git worktree state does not appear to be corrupted:

  • Each affected task terminal continues to operate in its correct worktree.
  • pwd, git branch --show-current, and git worktree list report the expected task-specific path and branch.
  • The mismatch appears limited to the worktree/branch information displayed in “Pinned summary”.

Quitting and reopening Codex Desktop restores the correct worktree and branch display for the affected tasks.

This looks like stale or cross-task UI state being reused after task or worktree creation, rather than an actual Git worktree mix-up.

What steps can reproduce the bug?

  1. Open a local Git repository in Codex Desktop.
  2. Create or open Task A backed by worktree/branch A.
  3. Create a new worktree-backed Task B, or create another new chat/task for the same repository.
  4. Return to Task A and inspect its “Pinned summary”.
  5. Observe that the displayed local/worktree environment or branch can belong to Task B, or vice versa.
  6. In the terminal of each task, run:
   pwd
   git branch --show-current
   git worktree list
  1. Observe that the terminal and Git state remain correct for each task, despite the incorrect “Pinned summary” display.
  2. Quit and reopen Codex Desktop.
  3. Observe that “Pinned summary” now displays the correct local/worktree environment and branch again.

What is the expected behavior?

“Pinned summary” should always display the active task’s own local environment, worktree path, and branch.
Creating a new worktree-backed task or a new chat/task must not alter the displayed environment of other existing tasks.

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 16 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #38082
  • #37591

Powered by Codex Action