Repository navigation
chore: sync upstream through 37e14f5c - #101
Merged
Merged
Conversation
…ingdotgg#39393) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#39395) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…el (pingdotgg#39415) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…elegating (pingdotgg#39413) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ect loop for good (pingdotgg#39420) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…eporting partial history (pingdotgg#39435)
…ain (pingdotgg#37419) Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…steners after a defect (pingdotgg#39431)
…pingdotgg#39453) Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…t and @ (pingdotgg#38323) Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ider versions (pingdotgg#39427) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…fest (pingdotgg#39434) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…urn ends (pingdotgg#38869) Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s parent (pingdotgg#39455) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#39548) Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com>
pingdotgg#39562) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…n closes (pingdotgg#39569) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#39579) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#39598) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#39605) Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…when they exit (pingdotgg#38348) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…a failure (pingdotgg#39596) Co-authored-by: Ryan McDonough <Ryan@r2n.io> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ands (pingdotgg#39618) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…lized scroll windows (pingdotgg#39574) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…es (pingdotgg#39636) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#39643) Co-authored-by: Geezy <igor.licko@gloryck.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Resolved by mergiraf 0.20.0 (reviewed): apps/mobile/src/features/browser/BrowserTabMenu.tsx,
apps/mobile/src/i18n/translations/{de,en,es,fr,ja,ko,pt-BR,ru,sv,zh}.json,
apps/server/src/provider/antigravityUsageLimits.ts, apps/web/src/browser/previewRuntime.ts.
Resolved by hand: apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts,
apps/server/src/provider/agentContextBudget.json,
packages/client-runtime/src/connection/supervisor.test.ts.
Mobile catalogs: dropped the stale English duplicates of b9185b31f8d03aaa and
ede9a884a11b7972 that earlier syncs appended, so upstream's translations apply again.
Upstream pingdotgg#39399 renews a peer-link session on the receiving host while the link is used. Egor chose that as the only mechanism for agent links, so the fork's linking-side renewal (ForkPeerLinkRenewal) and its PeerLinks and server mounts are removed, restoring upstream's lines. Fork renewal now refuses agent-link sessions, so it cannot move the rows upstream's SessionStore.extend maintains. Client-pairing renewal, its off-switch and yearly cap are unchanged. The surface tripwire records upstream's new `extend` member; the agent-link expiry case and peer_environment_links snapshot are dropped because no fork code depends on them any more.
Six shrinks traced to earlier syncs, the ten mobile catalogs that lost duplicate English keys, and the PeerLinks, testkit and server.ts lines restored to upstream when agent-link renewal was retired.
Removing the agent-link renewal tests also dropped the only tests of the renewal endpoint itself: bearer renewal and revocation, cookie refusal, the off-switch and unreadable cap, and managed-policy refusal. Move them to an auth test, restoring the testkit's optional routes parameter.
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.
Merges upstream
pingdotgg/t3codemainthrough37e14f5c81(84 commits) into the fork. The scheduled upstream sync has failed on conflicts for six days; this PR resolves them by hand. Merge commit:6c6ce02904.Decided: upstream renews agent links; fork renewal keeps client pairings
Upstream pingdotgg#39399 (
f6d941fa4f, "links between environments renew while they are used") makes the receiving host extend a peer-link session to 30 days from now when an MCP call uses it (at most once a day). There is no off-switch or cap. It also addsSessionStore.extend. The fork had its own linking-side renewal for the same links. Egor chose upstream's renewal as the only mechanism for agent links (commit8d2e5121bf):apps/server/src/peer/ForkPeerLinkRenewal.tsand its test. Its mounts are gone too.apps/server/src/peer/PeerLinks.ts(resolveForRenewal,Renewing) andPeerLinks.testkit.ts(routes,peerLinksparameters) are byte-identical to upstream again.server.tsmounts plainPeerLinks.layer. Nothing else used these.ForkSessionRenewal.ts,isRenewableaccepts only bearerone-time-tokenpairings. The fork endpoint therefore never moves a peer-link session row, so it cannot fight upstream'sextend. An older fork host still asking getsrefused/not_renewable. A new row in the existing "never renews" test table covers this.T3CODE_SESSION_RENEWAL,_WINDOW_DAYS,_MAX_AGE_DAYSand the managed-policy stop, all unchanged. For agent links, all three bounds (off-switch, yearly cap, and stopping when managed policy forbids remote clients) no longer apply: upstream's on-use renewal has none of them.extend.peer_environment_linkscolumn snapshot. Reviewer, please confirm this. The runbook's Behavior and Surface bullets are rewritten to match.docs/user/connection-renewal.md: the settings apply to client pairings. Linked environments renew while used, stay valid 30 days after the last use, have no cap, and both machines need this version.fork-session-renewal.ymlno longer runs the deleted test or upstream'sPeerLinks.test.ts, and no longer triggers onpeer/**.docs/operations/session-renewal-device-key-review.mdis left unchanged as history.What came in
420d1b5900, desktop: forward another environment's ports to this machine. AddsCommandPalettePortForwardItems.tsx,state/portForwards.tsand the desktopLoopbackTunnelchanges. This is an OS-level port forward and never goes through the preview openers, so browser-proxy routing does not apply to it.dcf158c591, server: a setting and a managed policy to turn off the preview tunnel (allowsPreviewTunnel, the webdesktopLoadsLoopback, and mobileuseEnvironmentPreviewTunnelOff).Conflicts and resolutions
scripts/fork-merge-upstream.shreported 16 conflicted files. mergiraf 0.20.0 resolved 13 of them; I reviewed each of those three-way. I resolved the other 3 by hand.apps/web/src/browser/previewRuntime.ts(browser-proxy)desktopLoadsLoopbackargument andallowsPreviewTunnelatom are kept. The fork'ssnapshot.proxyUrlguard still returnsnullfirst, so a proxied tab is never offered "move to desktop" and keeps streaming from the server browser. The server still forcesruntime: "server"for proxied tabs (browserProxyTabOptions). The only caller,PreviewView.tsx, already passes the new argument.apps/mobile/src/features/browser/BrowserTabMenu.tsx(browser-proxy)tunnelOff ? null : loopbackUrlForDevice(browserTabUrl(tab), tab.proxyUrl): upstream's tunnel-off check plus the fork's proxy guard, so a proxied tab never opens directly on the device.apps/server/src/provider/antigravityUsageLimits.ts(antigravity)runtimeVersionandsummaryOnlybehaviour sit on top of upstream's new keyring /antigravity-oauth-tokenpath and itsprojectIdrefactor. TheAntigravityDrivercall site still passessummaryOnlyandruntimeVersion.apps/mobile/src/i18n/translations/*.json(10 files)b9185b31f8d03aaa("Add an optional comment…") andede9a884a11b7972("Assistant quote"), which upstream translates. Because JSON takes the last value, the English copy overrode the translation in 9 locales. I dropped the duplicates, so upstream's translations apply again.apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.tsclaudeInstancefixture and two-instance registry inside upstream's newLayer.merge(ModelManifest.layerTest, …)wrapper.apps/server/src/provider/agentContextBudget.jsonmcpToolListJsonBytes: 58819= the fork's 58841 minus upstream's −22 bytes. Upstream dropped " Claude/OpenCode only." from thet3_background_waitdescription (pingdotgg#38348); the fork does not touch that tool. This value is computed, not measured.packages/client-runtime/src/connection/supervisor.test.tsdescribeblock at the end of the file: the fork'slearnLabelblock and upstream's "background fibers" block. Both are kept. The fork block's helpers (RELAY_TARGET,preparedFor,makeHarnesswithprepareandinitialConfig) andEnvironmentSupervisor.make'slearnLabeloption are still present.Dropped-mount check: I measured the fork diff against the upstream base for all 254 upstream-owned files the fork edits, before and after the merge. Every file has the same line count, except the mobile catalogs, which are each 2 lines smaller because of the duplicate removal above. The fork's client session-renewal mounts are still present: the driver's
ForkDirectSessionRenewal.makeand the supervisor'sfollowRenewedBearer. (The later agent-link retirement then deliberately removed thePeerLinks.ts,PeerLinks.testkit.tsandserver.tspeer-link mounts; see above.) Upstream added no new preview-open call sites that would need the fork'sproxyUrlhandling.Footprint findings
scripts/fork-footprint-budget.pyalready warned on fork main that some budgets exceed the real diffs. I traced each warning through fork main's history. No fork feature lost code. Each shrink came from an upstream refactor or an intentional extraction:apps/mobile/src/features/home/home-list-filter-menu.ts48 → 32, in sync Sync upstream 2026-11-18 with fork features preserved #90: upstream reflowedbuildHomeListFilterMenuItemsinto a multi-linepropsparameter and added an i18nresolveargument. The fork's 16-line signature rewrite therefore became 2 lines.machineSummary,ConversationListControls, machine and project presentation, "Working only" (now localised) and the filter submenus are all intact.packages/contracts/src/editor.ts23 → 16, in sync Integrate upstream main through 4b758f49ec #87 (resolved in merge24461cd46c): the fork moved itscustomlaunch-input variant into fork-ownedcustomEditors.tsasCustomLaunchEditorInput, which now also carries upstream's newpositionfield. This is an intentional extraction.threadOutboxDelivery.ts4 → 3 andComposerPromptEditorTiptap.tsx42 → 41 (Integrate upstream main through 4b758f49ec #87): the fork mounts were adapted to upstream's Effect generator conversion and paste-handler restructure, and the behaviour is intact.OpenInPicker.browser.test.tsx14 → 12 (Integrate upstream main through 4b758f49ec #87): upstream adopted the fork'srunAllTimersAsyncchange itself (fix(web): terminal file links preserve numeric filename suffixes pingdotgg/t3code#37201).settings.ts68 → 66 (chore(sync): integrate upstream through 38f7761148 #88): two removed blank lines no longer count because upstream changed the surrounding context.Recorded with
--writeinaea0693fd7: the six traced shrinks, the 10 catalogs,server.ts33 → 30, and the removal of thePeerLinks.ts(13) andPeerLinks.testkit.ts(7) entries, now identical to upstream. No other entry changed.Fork main merged in
origin/main(53ec4fc28b, including #96 CI caching and itsscripts/fork-prune-actions-caches.test.py) was merged inf6bbe539ffwithout conflicts. #99 was already on the branch's base, and #97 is still open.Checks
On head
aea0693fd7:python3 scripts/fork-feature-guard.py check(34 features, 216 protecting tests).python3 scripts/fork-footprint-budget.py(10422 changed lines in 252 upstream files, no warnings).scripts/fork-upstream-sync.sh footprint. NoPeerLinks*file is listed any more.python3 -B scripts/fork-prune-actions-caches.test.py(4 tests).git diff --checkis clean for the new commits.git grepfinds no reference toForkPeerLinkRenewal,resolveForRenewal,Renewing, the testkit'sroutes/peerLinksparameters orrenewalRoutes. The contract exports the deleted module used (FORK_SESSION_RENEWAL_PATH,ForkSessionRenewalResponse) still have live users./mcp(rejectMcpClientAudience). So the fork's change toawaitInvalidation(non-DPoP sockets close at the expiry they opened with) never applies to peer links, whose rows upstream now moves.ForkSessionRenewal.test.tsand the tripwire test), knip, formatter/lint,vp install --frozen-lockfileafter the auto-mergedpnpm-lock.yamlandpnpm-workspace.yaml, the i18n check, and a measurement ofagentContextBudget.json. CI decides these.Done by Claude Opus 5.5 (
claude-opus-5-5) in Claude Code (via T3 Code), as an implementation sub-agent.Review follow-up (Claude Opus 5.5, coordinator): the live HTTP tests of client pairing renewal (bearer renewal and revocation, cookie refusal, off-switch and unreadable cap, managed-policy refusal) lived in the removed agent-link test file. They now live in
apps/server/src/auth/ForkSessionRenewalHttp.test.ts, registered under the renewal feature and infork-session-renewal.yml;PeerLinks.testkit.tskeeps its optionalroutesparameter for them (4 budgeted lines). The guide now says a used link stays valid about 30 days after last use, with the expiry moving at most once a day.