Skip to content

Mark worktree sessions on Home #700

Closed

Description

@ivanfenenko

A Home session that runs in a worktree shows a small icon on the project letter. The path subtitle stays the added project. Session Chat names the checkout.

Locked: prototype B. Badge the letter. Do not put the checkout name in the Home subtitle, and do not add a “Worktree” chip. A subpath such as packages/app gets no badge. Show no badge until the worktree inventory has loaded.

Follows #699, which lists V2 sessions with project= so worktree sessions appear under the added project. The row already stores the session directory separately from that path.

Remaining:

  • Badge the Home letter on iOS and Android when the session directory is in that project’s worktree inventory
  • Name the checkout in the Session Chat header: worktree icon plus checkout name
  • Use session.directory, not the added path, for open, rename, archive, delete, prompt, files, changes, and terminal
  • Load the V2 worktree inventory read-only: GET /api/worktree?projectID=, then POST /api/worktree/refresh, and refetch on worktree.updated
  • On V1, if GET /experimental/workspace exists, list sessions per workspace directory and badge them the same way; a 404 stops, and V2 does not wait on it

Out of scope: creating, deleting, or moving worktrees; a new-session worktree picker; wrk_* ids, warp, or a V1 workspace object on V2.

Activity

  1. added
    enhancement
    ios
    android
    shared
    todo
    priority: medium
    on Oct 16, 2026
  2. added 4 commits that reference this issue on Oct 16, 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

    androidenhancementiospriority: mediumsharedtodo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions