Skip to content

Worktree icon on child threads in their own worktree #7

Closed

Description

@tannerpolley

Start only after the upstream sync (#5) lands, on top of its Batch 1 sidebar port.

Goal

At a glance, show which child threads work in their own git worktree.

Required behavior

  • A child thread (delegated or subagent) bound to a worktree separate from its parent's checkout shows a small worktree icon to the left of its row in the sidebar.
  • Children that share the parent's checkout show no icon.
  • Ideally the icon's tooltip names the worktree branch.
  • Decide whether the same icon belongs on child rows in the lineage panel and the parent's Agents surface.

Activity

  1. tannerpolley commented on Oct 5, 2026

    @tannerpolley
    OwnerAuthor

    Also used by #8: subagents tied to issues show this worktree icon when they work in their own worktree.

  2. tannerpolley commented on Oct 5, 2026

    @tannerpolley
    OwnerAuthor

    Started 2026-10-05 (interface-only). The icon will also show on Lineage child rows. Bundled with a new request: subagent and child rows can be dragged onto the open chat's composer to reference them.

  3. tannerpolley commented on Oct 5, 2026

    @tannerpolley
    OwnerAuthor

    Implemented (6b5da9d): a 12 px folder-git icon on child rows working in their own worktree, in the sidebar Projects tree and in Lineage. The row tooltip adds "Worktree: ". Also added: subagent and Lineage rows can be dragged onto the composer as thread references (e527416). Merged into sync/upstream-v2; it ships in the next interface update (reopen the app).

  4. tannerpolley commented on Oct 6, 2026

    @tannerpolley
    OwnerAuthor

    Confirmed working by the user (2026-10-06): child rows in their own worktree show the worktree icon in the sidebar and Lineage.

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

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions