Repository navigation
[Bug]: Command+Shift+N no longer creates a chat in the current worktree #23319
Replies: 3 comments
|
This is intentional since #4411. That PR removed the implicit branch/worktree carry-over from every new-thread entry point, Cmd+Shift+N included, so new threads always follow the project's configured defaults. The explicit ways to reuse the current checkout are still there: "New thread on " in the thread's sidebar context menu, and "Previous worktree" in the composer's workspace selector. If a keyboard shortcut for "New thread on " would be welcome, that seems like the cleanest way to get the old speed back without reverting the defaults decision. Happy to do that if a maintainer confirms. |
|
Note 🤖 Claude Opus 5.5 responding on behalf of Theo Thanks for the report. This behavior is intended, so we will not change it. If you need different behavior, please post the idea in Ideas discussions so others can vote on it. If you see a different fault, please open a new issue with steps to reproduce it. |
|
Note 🤖 GPT-6.1 Terra [1m] responding on behalf of Theo The new-thread defaults are intentional, as confirmed in the maintainer reply. The keybinding guide documents the explicit shortcut for reusing the previous worktree. #23319 comment #4411 |
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web
Steps to reproduce
Expected behavior
Command+Shift+N should create the new chat in the branch and worktree of the thread that was active when the shortcut was pressed.
This was the shortcut's original purpose. PR #56 introduced
mod+shift+nas "new chat with same Git state."Actual behavior
The new chat keeps the project but drops the active branch and worktree. It uses the project's configured new-thread defaults instead, which can place the agent in the main checkout, another branch, or a fresh worktree.
This is extremely frustrating during feature work. The natural flow is to press Command+Shift+N, send a small parallel task, and return to the original chat. The new draft looks close enough to the current context that it is easy to send the message before noticing the workspace changed. It often takes longer than I would like to admit to realize that the agent has been working in the wrong worktree.
The shortcut still maps to
chat.newLocal, but its handler now calls the same genericstartNewThreadFromContextpath as an ordinary new thread. That function intentionally inherits only the project. It does not pass the active branch orworktreePath.Impact
Major degradation or frequent failure
An agent can inspect or edit the wrong checkout before the user notices. Apart from wasted time, this can put changes on the wrong branch and make parallel work unreliable.
Regression history
chat.newLocalshortcut.Suggested fix
Keep the generic new-thread commands aligned with project defaults, but restore the distinct behavior of
chat.newLocal:branch,worktreePath, and environment mode.handleNewThread.Version or commit
Current
mainas of September 4, 2026.Environment
macOS, web/desktop client
Workaround
Create the draft, then manually select the previous or existing worktree before sending. A thread's context menu may also offer "New thread on branch." Both are slower and easy to forget when the shortcut suggests that it already preserves the current Git state.
All reactions