Repository navigation
fix(server): skip Claude fork retries when the transcript is missing - #182
Merged
Merged
Conversation
|
ScriptedAlchemy
enabled auto-merge (squash)
November 24, 2026 14:37
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.
Problem
When the source Claude transcript is missing on the T3 server running a fork (for example, after moving history to another machine without copying the Claude transcript), Claude reports
Session … not found. T3 treats that as retryable, delays the fork, then shows an opaque internal thread ID when falling back.Change
Recognize the SDK's exact missing-source error in both the default and custom Claude homes. Skip retries, continue with T3's saved thread history in a fresh Claude session, and explain that the provider transcript is not available on this server. Other fork failures still follow the existing retry policy.
Scope
Focused server-side bug fix; no client, provider settings, or wire contract changes. The fix does not copy or synchronize native transcripts.
Verification
exit 1; Session 10000000-0000-4000-8000-000000000000 not found.vp run check:changed origin/mainpassed, including 632 tests and affected-package typechecks. Tested the server with a separate Claude home, not a live two-machine deployment.OpenAI GPT-6.1 Sol via Codex in T3 Code.