GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(threads): every fork into a new tab carries the conversation itself by adampeterhiggins · Pull Request #236 · adampeterhiggins/t3code

Conversation

@adampeterhiggins

@adampeterhiggins adampeterhiggins commented Oct 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Only Fork from this response used upstream's native thread fork. Every other way to fork a chat into a new tab used the fork's summary handoff: Fork into new tab on a user message, the model picker's fork button, the account picker's New tab, the usage-limit banner's Continue in new tab, and mobile Hand off. Those tabs started from a summary chip, not the real conversation with upstream's fork marker.

Fix

  • Server: ForkThreadTabInput takes an optional modelSelection. ThreadTabs.fork runs thread.fork, then thread.model-selection.set on the new tab when the model differs. Upstream's fork already resolves a cross-provider or cross-account fork on the first send by handing over the full conversation, and every adapter supports that.
  • Client runtime: latestThreadForkPoint and threadForkPointBeforeMessage pick the completed response to fork from, including responses inherited from an earlier fork.
  • Web: forking from a user message forks at the response before it and puts the message text and attachments in the new tab's composer. Model and account picker forks fork at the latest finished response on the chosen model and copy the draft across.
  • Mobile: Hand off forks the same way.
  • Fallback: when no response has finished yet (for example, during the first turn), the old summary path is still used.
  • Docs: updated docs/fork-differences.md and the user guides.

Screenshots

Tested in the web app against a copy of real data, on a Claude Opus 5.5 thread.

Fork into new tab on a user message. The new tab carries the conversation through the previous reply under upstream's "Forked from conversation" divider. The message waits in the composer, and the model stays Claude Opus 5.5.

Fork from a user message

Model picker fork onto GPT-6.1-Sol (Codex). The new tab carries the whole conversation through the latest reply and runs GPT-6.1-Sol. The server stored codex as the new tab's provider.

Model picker fork onto Codex

First message in that Codex tab. Upstream hands the Claude conversation to Codex on send: the thread shows a "Context handoff Claude Opus 5.5 → GPT-6.1-Sol" marker, and the stored transfer resolution is portable_context. Codex recalls the previous exchange correctly.

After the first send on Codex

Notes

  • Forking while a turn is running now forks from the last finished response. The old summary included the partial in-progress turn.
  • The subagent "fork with context" action still attaches a summary of the subagent's work, because it isn't a thread fork.
  • Not tested in a real client: the summary fallback (covered by unit tests), the account picker and usage-limit banner (both use the same handler as the model picker), and mobile Hand off.

Verification

  • vp test on apps/server/src/threadTabs/ThreadTabs.test.ts and packages/client-runtime/src/threadTabs.test.ts, both with new tests and both passing.
  • Typecheck is clean for contracts, client-runtime, server, web and mobile.
  • Manual web pass as shown above.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adampeterhiggins @claude
feat(threads): every fork into a new tab carries the conversation itself
6d99417
Forking from a user message, the model or account picker, the usage-limit
banner and mobile Hand off now use upstream's native thread fork, as
"Fork from this response" already did. A fork onto another model switches
the new tab before its first message, so the conversation is handed to that
provider on send. A summary is used only when no response has finished.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@adampeterhiggins
adampeterhiggins merged commit 01a220d into main Oct 8, 2026
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 27, 2026
merge upstream/main into fork #502
Merged
@adampeterhiggins adampeterhiggins mentioned this pull request Nov 7, 2026
chore: sync upstream through 202d5b5616 #560
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@adampeterhiggins
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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.