Repository navigation
patch: move a thread to another machine, committing and pushing first - #69
Merged
Merged
Conversation
|
This PR changes the test suite by +20 test cases (browser 0, unit +6, server +14). Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Threads were stuck on the machine they started on. This carries the upstream draft pingdotgg#41771 into the fork build: a "Move to…" menu on web and desktop and a "Move to another machine…" action on mobile export the thread, import it into the same project on the target (or add the project there first), and archive the original. On top of that draft, moving first commits any uncommitted files on the thread's branch and pushes the branch through a new threadMove.prepare call, so the target receives the work. If the push fails the move stops and the original thread is left as it was. Merging into main also keeps the fork's "Move to project" menu next to the new one. Co-Authored-By: Jason Laster <[email protected]> Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
louisefindlay23
force-pushed
the
patch/move-thread-to-machine
branch
from
November 27, 2026 00:15
21d38f7 to
d7198ea
Compare
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. |
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
A thread is stuck on the machine it started on. To keep going elsewhere you start a new thread and paste context by hand, and the original stays active.
Change
Carries the upstream draft pingdotgg#41771 into the fork build, rebased onto current main:
MoveThreadDialogwith a project picker. A command palette action per machine opens the same dialog. If the target lacks the project, the dialog offers "Add project to ".threadMove.export,importandcomplete, and agents gett3_thread_move. The original thread is archived with a "Moved to …" notice, and unarchiving it reverses the move.On top of the draft:
threadMove.preparecall (operate scope) commits any uncommitted files on the thread's branch and pushes the branch, so the target receives the work. The client move and thet3_thread_movetool both call it first. If the push fails the move stops and the original thread is left as it was. A folder that is not a Git repository has nothing to carry and does not block the move.docs/user/thread-sidebar.mdis updated.AGENTS.mdsays to include mobile in every change that benefits it.Patched nightly
Scope
A feature for the fork build, requested directly by Louise. Fork-only; no upstream PR. It tracks pingdotgg#41771, which is still an open draft, so the next upstream sync may conflict with it.
Verification
Run on a Linux host with no browser and no devices:
vp run i18n:check, format, lint and knip pass.ws, launch, agent context budget), plus the client-runtime and web menu tests. The new server test covers committing two files, pushing, and skipping a non-repository folder.evals/README.md.Not checked:
vp unused patches(no pnpm on PATH).This PR had no CI because it conflicted with main after an upstream sync landed; GitHub does not start
pull_requestworkflows for a conflicting PR. It is rebased now.Model and harness: Claude Sonnet 5.5 in Claude Code, running inside T3 Code. Upstream draft by Jason Laster.
🤖 Generated with Claude Code