Repository navigation
Replies: 1 comment
|
Prototyping this changed my view of the scope: the parity entry point isn't enough by itself. Typing a path is too much friction for something you do on every new thread. In practice you need what #8517 built: a list of the project's existing worktrees to pick from. #8517 was closed because "users can already reuse worktrees through the branch selector". But choosing a branch is not the same as choosing a worktree:
The prototype I have is small:
Launch reuses the Could #8517's direction be reconsidered on that basis? I'm happy to open the prototype as a PR if the scope sounds right. 🤖 Claude Opus 5.5 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Agents can start a thread in an existing checkout, but users can't.
t3_thread_launchacceptsworkspaceStrategy: {type: "existing_worktree", worktreePath, branch}. The composer's workspace picker only offers Current checkout, New worktree, and Previous worktree, which is the single worktree used by the project's most recently updated thread. The branch selector can reach an existing worktree, but only by picking the branch that worktree has checked out. A detached checkout can't be reached that way.Proposal
Expose the existing launch path in the UI. Add an "Existing checkout…" entry to the new-thread workspace picker. It would take a path (or choose from the project's known checkouts) and start the thread with the same
existing_worktreestrategy that MCP uses. No new launch machinery is needed.This lets users set up a checkout with whatever source control tooling they like, such as a colocated jj workspace, and then point a new thread at it.
I'm aware of the ongoing jj work. This is much simpler as it's just the UI change over the logic that's already there (probably)
Prior work
🤖 Claude Opus 5.5
All reactions