Repository navigation
fix(server): a first message into a linked thread prepares its worktree under the thread's link - #41994
Merged
Conversation
…ee under the thread's link Preparing a launch read the link from the request. A request that reuses an empty thread names none, so preparation now reads it from the thread, as a retried preparation already does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: 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. |
sandscooling
pushed a commit
to sandscooling/t3code
that referenced
this pull request
Nov 24, 2026
Sync 1124a: 63 upstream commits. Three additive conflicts: ClaudeAdapterV2 keeps the fork background-task start stamp beside pingdotgg#37875's sleep-timer wake, and the fork steer-ack cleanup beside pingdotgg#41928's startup phase reset; ThreadLaunchService keeps the fork skipSetupScript beside pingdotgg#41994's linkOrigin; ws.ts keeps the fork attached-worktree guard ahead of pingdotgg#41986's project commands. Two new upstream tests follow the fork's worktree guard and guest key routing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #41986.
What changes
worktreeLayout, that launch fails with the same message as any other worktree launch for such a thread, and the layout command does not run. A retried preparation already read the link from the thread, so the first attempt and a retry now agree.worktreeLayoutbehave as before.Tested
ThreadLaunchService.test.ts: over real Git, a launch that reuses an empty thread carrying a link below full access, with a request that names no link, fails without running the project'screatecommand. The assertion fails without the change (the run reachedstarting).vp run check:changedpasses.Docs
docs/internals/05_remote.mdsaid such a thread "gets no worktree". It now says a worktree launch or handoff fails and that restoring a missing folder brings back plain checkouts, which is what #41986 implemented.Claude Fable 5.2 via Claude Code
🤖 Generated with Claude Code