Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Open a thread that has at least one finished turn.
- Fork it ("Fork from this response"). The fork is named
<source title> fork. - Rename the fork from the sidebar (Thread actions → Rename thread), for example to "Storage notes".
- Send the first message in the fork.
Expected behavior
The fork keeps the name I gave it.
Actual behavior
The name is replaced as soon as the first message is sent: first by the message text, then a few seconds later by a generated title.
On my machine the server log for the affected thread shows the order (18 Nov, UTC): fork created 14:30:04, thread.metadata.update (my rename) 14:30:20, message.dispatch 14:31:49, thread.title.regeneration.complete 14:31:53.
In the code, the first message.dispatch on a thread with no messages of its own sets title = titleSeed and queues an initial title generation unless hasTitleSetBeforeFirstMessage says the title was chosen on purpose (apps/server/src/orchestration-v2/Orchestrator.ts). That helper, added in #35117, returns false for every fork and side chat (thread.forkedFrom === null && thread.lineage.sideChat !== true), because their starting title is meant to be replaced. A rename leaves no trace on the thread, so a renamed fork looks the same as an untouched one.
A rename made after the first message is not affected: thread.metadata.update with a title clears titleRegeneration.
Impact
Minor bug or occasional failure
Version or commit
Desktop 0.1.11-nightly.20261117.4825. Also reproduced on main @ 8cf97b5 (dev build, web).
Environment
macOS 15.1, T3 Code desktop (nightly), Apple Silicon
Screenshots, recordings, or supporting files
A scenario that reproduces it in the web client is in the linked PR. vp run scenarios:prove reports it failing on main 8cf97b5: after the first message the sidebar no longer has a thread named "Storage notes".
Workaround
Rename the fork again after sending its first message.
Investigated and drafted by Claude Code (claude-fable-5-2) running inside T3 Code.
Activity