refactor: adopt 36 upstream cleanups with Pylon adaptations - #332
Merged
Conversation
(cherry picked from commit a399473c30e6b451ec6348e52cbf9b4c4b07e505)
(cherry picked from commit dfc70a3294641a2acb021766a759ac4c79665944)
(cherry picked from commit eda0cec92398a4097958b55accaa59fdd178a977)
(cherry picked from commit 2fc630c9e85321b7b3963372fd316877a7581639)
(cherry picked from commit 1550f1b742138df8b31b24e34ddea58c80afb3cc)
(cherry picked from commit 14da634577773d291c494635c1a4bcdb0e70f9ee)
(cherry picked from commit a9caf7b7089afb6f1b3b888ea404b75b8f9e88e1)
(cherry picked from commit 371e32392570fdc0d2309e9f92490bbd2c6b3f02)
(cherry picked from commit 9867eb12396439f58e03e3548e053d966f0f64a6)
(cherry picked from commit 94d1fa7ff268e88476a341eb73f9f032e2af6a21)
(cherry picked from commit da1bebbb11701b58ebdde5ee019f3aeef3d42b27)
(cherry picked from commit 3bcde91f8215ec24eeffdd4abdee8fcb8a5e94f9)
(cherry picked from commit bf1c1b09756a56a0600faf52561f0fb4ae94e355)
(cherry picked from commit 3fedf52467dd8d2734a7aca4c6c7da421c12474f)
(cherry picked from commit 270e021f2a7ed34e3d81d1cdc9f1ca0c0ac85df4)
(cherry picked from commit 82c2b7ffb4d450572f5baf9a70693f1e25cfdfed)
(cherry picked from commit f5d9d12026d98b2b4b975f1944e7503d6c2c9eb3)
…(#10033) (cherry picked from commit 83a2897ed6c400b3679a37920e964d829094bd43)
(cherry picked from commit 5cb696595cd66bb00e03fa5f91d9cd4273949f5b)
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. |
(cherry picked from commit ad3721eb5bec31066d162916f700107aab5e125b)
(cherry picked from commit 5e828bf3de1c86d85afdd91a02cc4ca1a38d4aef)
(cherry picked from commit df370c31d26afc72ace55263e746ba4386dada25)
(cherry picked from commit 62e74cdd9a0aa4df5fc612d94193da9610129dc9)
(cherry picked from commit 80f775a42c448290c102e572fc889e4e4a1dd546)
(cherry picked from commit d524eb96936090bd2b8a96449784155ad4af9591)
(cherry picked from commit bc24d98d1630104722abe6a4d839365d24e2aa27)
(cherry picked from commit 43700b83e73fca3af7b63769876c409b5c6f5a3f)
(cherry picked from commit fedf84ac7922e11be0971ac50817d7c4199b8e89)
…067) (cherry picked from commit 4db2c542a8c5e6b6756fac08615e30b220b71a2f)
(cherry picked from commit 009c13fade9dde2fe7eed068c72c579172f12e60)
(cherry picked from commit 38812c101e562c4f8d9bea7b1a592a4b02954a39)
(cherry picked from commit 19ea3c5beb4cd93dd19f51f3e7c6d760357b41df)
(cherry picked from commit b92a8122876458a67cc225f75c1d31bd3e33dc30)
(cherry picked from commit ab0933a41ae3a69632ea68809700a040bde26c22)
(cherry picked from commit 47e250a842ee254cd2230949f8575093da6a7adf)
(cherry picked from commit 25cbcd62d9750d3e8903fd752078e66c7943ecdb)
rynfar
force-pushed
the
upstream/2026-09-06-cleanup-pylon-adaptations
branch
from
September 6, 2026 18:21
2df3f6e to
996867d
Compare
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.
Obsolete helpers and tests of their implementation details make it harder to maintain the active Pylon paths. Adopt 36 reviewed upstream cleanup commits, remove unused code, and exercise retained behavior through the public APIs used by the product.
Adapt conflicts to Pylon's provider selection and capacity retention, Cursor discovery cache, held-send recovery, preview controls, and branding. Preserve draft annotation recovery from #330. The theme editor already uses the vivid palette generator; its semantic contrast coverage remains. Keep the existing pricing lookup equivalent when removing its normalization wrapper. No dependency, protocol, persistence version, layout, or animation changes.
The upstream review ledger lists every source SHA and three concrete deferrals for code Pylon still uses. All source patches and PR context were reviewed before adoption. Grok discovery cleanup was re-evaluated and adopted after #310 merged; DEF-16 is retired. The complete upstream cursor remains unchanged.
Validation: 1,125 focused tests in 36 files passed, including the corrected pricing adaptation. Shared, contracts, client-runtime, server, web, mobile, and desktop typechecks passed; lint and formatting passed on all 66 surviving changed code/test files. After rebasing onto the merged skill-discovery changes, 89 provider tests and the server typecheck passed. Real worker and Pylon-specific regression tests remain. Native-device testing and deployment are not claimed.
Model: GPT-6 Astra. Harness: Codex.