Branch prefix setting is ignored when creating new worktree branches

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Cursor App branch prefix settings are not respected when creating new worktree branch names.

Actual

New worktree branches are created without the configured prefix (cursor/xxxxx).

Steps to Reproduce

  1. Set a branch prefix in Cursor settings (e.g. cursor-).
  2. Create a new worktree / worktree branch from the Cursor UI (Agents Window / worktree flow).
  3. Observe the branch name that is created.

Expected Behavior

New worktree branch names should include the configured prefix, e.g. cursor-<branch-name>.

Operating System

MacOS

Version Information

Version: 3.11.19 (Universal)
VS Code Extension API: 1.125.0
Commit: bf249e6efb5b097f23d7e21d7283429f0760b740
Date: 2026-07-12T21:39:24.175Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Additional Information

  • This appears to be a product/UI bug: settings are saved but not applied to worktree branch naming.
  • Happy to provide screenshots of the prefix setting + resulting branch name if helpful.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @JosephYoung!

Thanks for the report!

Currently, branch prefix normalization strips trailing separators and forces / at the end of the branch name. We have an open bug for this, and I’ve added your report.

You can still configure the prefix, but it will always end in a /.