Repository navigation
feat(threads): persist active order across clients - #413
Merged
Merged
Conversation
Adapt final upstream thread arrangement and gesture lifecycle stack for Pylon. Upstream-source: 2d645df474f0af5e261edb56a79f7a2a9a2d442e Upstream-source: 6766e682ac1a0aa33020358ba98707f4f8fee467 Upstream-source: 4023d93bce3f610349fbf38e991f737c1c5e0c98 Upstream-source: 9a47c7bd40522977c7df022a5b64759aae7b58e0 Upstream-source: 490eb17d31d3037930d0e6b549393e9dbcebde60 Upstream-source: 4e969f3731aaa590889d74274b3b6dced6d86291 Upstream-source: 252df7742047af8a1b859dc652b2f40b639d16b3 Upstream-source: 5b0c923ea3413c038f32ac4c523ae96863443f9f
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
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.
Active threads previously returned to creation order after reload, and moving between sidebar sections required separate actions. Persist their manual order on the server, expose Move up/down on both mobile lists, and support web dragging across Active, Pinned, Settled and Snoozed with explicit destination cues and cancellation cleanup.
Pylon adaptations preserve migration numbering (new migration 057), archived and live snapshots, provider/Prime lifecycle ownership, delegation and attention indicators, draft discard, project filters and older-server capability guards. Hidden and snoozed order keys stay reserved. Bulk shell updates publish once per batch, while optimistic ordering waits for canonical state and receipts.
Validation: 550 focused tests across 20 files; contracts, client-runtime, server (
t3), web, mobile and desktop typechecks; scoped formatting, lint, dependency and export checks. Browser checks cover active reorder/reload persistence, active-to-pinned dragging, Escape cancellation, pin removal and cross-device mobile Move up. Native iOS reused the compatible development binary with the new bundle. Screenshots and motion evidence are below.Bounded upstream head:
062987b2fb0ef48cc7776d654931bd9f3bcf1f9f. All eight sources adopted with no remaining partial scope:2d645df474f0af5e261edb56a79f7a2a9a2d442e— feat(threads): persist manual active thread order (#9729)6766e682ac1a0aa33020358ba98707f4f8fee467— feat(mobile): arrange active threads from both thread lists (#9730)4023d93bce3f610349fbf38e991f737c1c5e0c98— feat(web): drag threads across sections with consistent motion (#9731)9a47c7bd40522977c7df022a5b64759aae7b58e0— feat(web): simplify sidebar drag destination cues (#9750)490eb17d31d3037930d0e6b549393e9dbcebde60— fix(web): clarify sidebar drag dividers and empty targets (#10464)4e969f3731aaa590889d74274b3b6dced6d86291— fix(web): keep sidebar drag dividers clear and gestures smooth (#10453)252df7742047af8a1b859dc652b2f40b639d16b3— perf(web): keep the sidebar responsive during bulk thread updates (#10413)5b0c923ea3413c038f32ac4c523ae96863443f9f— feat(web): name the drop action while dragging sidebar threads (#10378)Before / after web arrangement:
Mobile arrangement menu (Move up verified across the connected browser):
Drag destination and release motion:
thread-drag.mp4
Implemented and verified by GPT-6 Astra in the Codex desktop harness.