Skip to content

Codex app: show worktree path/branch in bottom status and auto-create branch for new worktrees #22130

Open

Description

@jimpudar

What variant of Codex are you using?

Codex App Version 26.506.31421 (2620) on macOS

What feature would you like to see?

When starting a task with "New worktree" selected, the bottom status bar only says "Worktree". When you hover over this element, you can see the full path of the worktree in a popup, but you can't copy it.

It would be useful if it showed the worktree name/path and current branch/detached state without hovering, and allowed copy.

Suggested behavior:

  • Bottom status chip shows something like: Worktree: 7159/xyz · my-branch
  • Clicking it copies the name of the worktree

Additional information

No response

Activity

  1. added
    enhancement
    on May 11, 2026
  2. added
    app
    on May 11, 2026
  3. github-actions commented on May 11, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. jimpudar commented on May 13, 2026

    @jimpudar
    Author

    Just a note - this does not seem to be a duplicate of the issue listed above. That seems to have an extremely wide scope and low specificity. This ask is quite small in scope and has a high specificity.

  5. sbscan commented on Sep 11, 2026

    @sbscan

    I run into this regularly in Codex Desktop on macOS. When I open a task in a worktree, I need to be able to see which worktree that task is using without asking the agent or investigating the filesystem.

    A practical example: I want to switch to that checkout and start my development server there so I can test the changes. With several tasks in the same repository, knowing only that a task is in "Worktree" mode is not enough to identify the correct directory.

    The active worktree's identity should be easy to see somewhere in the app, with its full path readily accessible and preferably copyable. I do not have a preference for a particular label, badge, or placement; the important part is making the current checkout clear and keeping that information up to date when switching between Local and Worktree.

    My current workaround is a custom agent instruction that adds the worktree identifier to the task title. It helps, but adds latency and only updates when the agent runs. This feels like information the application should expose directly, without needing an agent turn.

  6. gabrielsky commented on Oct 19, 2026

    @gabrielsky

    please implement it,claude code support this feature

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

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions