Worktree sessions get a branch prefixed with my GitHub username, even though ...
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 2.1k
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
Worktree sessions get a branch prefixed with my GitHub username, even though branch_prefix is empty for every project in the app database. The username fallback isn't configurable: setting a prefix replaces it, but there's no way to have no prefix at all.
This breaks conventional branch naming (feat/..., fix/...), which our repos rely on. Please make an empty prefix mean "no prefix".
Also, rename_branch can only be called once per session and reapplies the prefix, so an agent can't correct it.
| Field | Value |
|---|---|
| App version | 1.1.16 |
| OS | macOS 26.6.2 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 2 (Week 1) |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing worktree session branch creation and the handling of branch_prefix, then inspect the rename_branch flow. Done means an empty prefix produces no username prefix, while configured prefixes still work and rename_branch can correct a branch more than once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100