feat(v2): make worktree branch naming configurable - #13294
Conversation
There was a problem hiding this comment.
All clear
Posted via Macroscope — Effect Service Conventions
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR adds configurable branch naming across settings, prompt generation, and background worktree renames, while changing existing installations to use the new You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
5561c2a
into
t3code/codex-turn-mapping
Automatically generated worktree branches currently have no configurable naming convention. Add three modes in Source Control settings: a static prefix defaulting to
t3code/, a model-selected semantic prefix, or custom instructions for the complete name. Environment defaults and project overrides work across web, desktop, and mobile.Semantic prefixes are generated in the same request as the name. Custom names preserve casing and punctuation, and a collision keeps the temporary branch rather than adding a suffix. This applies to v2 worktree launches; manual names, commit-created feature branches, and worktree directories retain their existing behavior.
Based on the v2 branch from #2829.
Verification
Before
Actual base
9cbaf77f7f7, same isolated data, project scope, 1280×500 viewport, and scroll position.After
Mode switching
https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/3ad597055056e576/43d4cddd-606d-4d5a-a2fc-3101a882e06e-ea15274a-3fbe-4fba-a119-f1d5e08cd27c-mp4.mp4
Model: GPT-6. Harness: Codex.