Skip to content

sync: upstream through 8cfd2b5211 (841 commits) - #132

Merged
mfituri merged 850 commits into
mainfrom
sync/upstream-20261121
Nov 21, 2026
Merged

mfituri merged 850 commits into
mainfrom
sync/upstream-20261121

Conversation

@mfituri

@mfituri mfituri commented Nov 21, 2026

Copy link
Copy Markdown

Sensitive changes (155)

Upstream changes that run on install or in CI, steer our agents, or decide where data goes or who gets in. Read each one before merging.

package.json scripts, bin and lifecycle hooks (9)

Review: Checked — adds i18n scripts (i18n:generate, i18n:check, i18n:untranslated from #37893/#37954), apps/server dev wrapper (node scripts/dev.ts), evals mcp-tool-use:compare (#39922), scripts for the new workspace package packages/issue-tracker-linear (#19274), and test in packages/provider-testing. Matches upstream PRs; no lifecycle hooks or unexpected commands.

  • apps/desktop/package.json: script i18n:generate added
  • apps/server/package.json: script dev changed
  • evals/package.json: script mcp-tool-use:compare added
  • package.json: script i18n:check added
  • package.json: script i18n:untranslated added
  • packages/issue-tracker-linear/package.json: script generate added
  • packages/issue-tracker-linear/package.json: script test added
  • packages/issue-tracker-linear/package.json: script typecheck added
  • packages/provider-testing/package.json: script test added

Packages added to pnpm-lock.yaml (8)

Review: Checked — @cursor/sdk@1.4.2 (and platform binaries) for Cursor background shells / out-of-process runner (#38348, #39526), @legendapp/list@3.7.3 bump, and local react-native-screens-5.0.0-t3.61.tgz tarball update. Matches upstream PRs.

  • @cursor/sdk-darwin-arm64@1.4.2
  • @cursor/sdk-darwin-x64@1.4.2
  • @cursor/sdk-linux-arm64@1.4.2
  • @cursor/sdk-linux-x64@1.4.2
  • @cursor/sdk-win32-x64@1.4.2
  • @cursor/sdk@1.4.2
  • @legendapp/list@3.7.3
  • react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.61.tgz

Build permissions and release-age settings in pnpm-workspace.yaml (1)

Review: Checked — minimumReleaseAgeExclude updated from @legendapp/list@3.7.2 to 3.7.3 and adds @cursor/sdk@1.4.1 platform packages. Matches upstream PRs.

  • pnpm-workspace.yaml minimumReleaseAgeExclude: + - "@legendapp/list@3.7.3", + - "@cursor/sdk-darwin-arm64@1.4.1", + - "@cursor/sdk-darwin-x64@1.4.1", + - "@cursor/sdk-linux-arm64@1.4.1", + - "@cursor/sdk-linux-x64@1.4.1", + - "@cursor/sdk-win32-x64@1.4.1", + - "@cursor/sdk@1.4.1", - - "@legendapp/list@3.7.2"

CI workflows and actions (10)

Review: Checked — no new .github/workflows/*.yml files added (3 composite actions added for mobile EAS local builds in #37755; existing workflows updated for Linear codegen, i18n:check, PR-base context budget comparison, Windows VC++ runtime, and mobile builds). All runs-on: in ci.yml remain ubuntu-24.04 / macos-26.

  • .github/actions/drop-checkout-credentials/action.yml
  • .github/actions/eas-local-build/action.yml
  • .github/actions/record-build-tag/action.yml
  • .github/workflows/agent-context-budget.yml
  • .github/workflows/ci.yml
  • .github/workflows/mobile-eas-preview-fork.yml
  • .github/workflows/mobile-eas-preview.yml
  • .github/workflows/mobile-eas-production.yml
  • .github/workflows/mobile-fingerprint-check.yml
  • .github/workflows/release-desktop.yml

Agent instructions (these steer our agents) (40)

Review: Checked — AGENTS.md updates (i18n, SECURITY.md trust model, dev runner safety; fork notice preserved at top), contribution-triage skill update, new launch-video skill, and evals/ additions for issues, PR tools, secrets, themes, and arm comparison. Matches upstream PRs.

Install and setup scripts, and git hooks (1)

Review: Checked — scripts/install.sh adds rm -rf "${target_dir}/${staging##*/}" after mv to clean up concurrent install races. Matches upstream PR.

  • scripts/install.sh

Update and release URLs (5)

Review: Checked — desktop update track/feed diagnostics (#37476, #38506), CLI update DB check (#37873), Windows UTF-16LE service task (#38494), atomic file save (#24310), and i18n (#37893). No update or release endpoints moved.

  • apps/desktop/src/updates/DesktopUpdates.ts
  • apps/desktop/src/updates/updateMachine.ts
  • apps/server/src/cli/update.ts
  • apps/server/src/cloud/selfUpdate.ts
  • apps/server/src/desktopUpdate/DesktopAppUpdate.ts

Telemetry endpoints (13)

Review: Checked — Antigravity model token analytics (#39897), OTLP export failure recording (#38091), process group metrics startup warning fix (#38026), telemetry URL test concurrency fix (#39067), Hermes stack frame parsing (#39498), and RPC instrumentation for issues/linked threads/MCP sign-in. No telemetry endpoints moved.

  • apps/server/src/observability/Metrics.ts
  • apps/server/src/observability/Observability.ts
  • apps/server/src/observability/OtlpExportFailures.ts
  • apps/server/src/observability/RpcInstrumentation.ts
  • apps/server/src/resourceTelemetry/ProcessGroupMetrics.ts
  • apps/server/src/telemetry/ProviderDimensions.ts
  • apps/web/src/components/settings/ResourceTelemetryDiagnostics.logic.ts
  • apps/web/src/components/settings/ResourceTelemetryDiagnostics.tsx
  • apps/web/src/components/settings/TelemetryExportSettings.tsx
  • apps/web/src/lib/resourceTelemetryState.ts
  • infra/relay/src/mobileTelemetry/sourceMap.ts
  • packages/contracts/src/resourceTelemetry.ts
  • scripts/scenarios/corrected-telemetry-url-can-be-tested.e2e.ts

Auth, policy and secrets code (68)

Review: Checked — security hardening and feature PRs matching upstream: secret path traversal fix (#39483), destination-scoped secrets (#38037), multi-value secret cards (#31257), GitHub enterprise token host scoping (#39480), pairing/DPoP/peer-link auth (#37823, #37825, #37980, #38410, #39399, #39406, #39439, #39495), Antigravity sign-in fixes (#28355, #38953, #39443), MCP OAuth sign-in (#39921), /logout scope guard (#39027), and preview tunnel policy (#39415). Matches upstream PRs.

Upstream 6b7027b1f4..8cfd2b5211: 841 commits.

Target: 8cfd2b5211e9c377379a52195bdb31924655e845 was named with --to (authorized to skip the 3-day quarantine).

Land this with Create a merge commit. A squash merge would drop upstream's history from main.

Conflicts resolved (32)

All 32 conflict stops were resolved keeping both upstream and fork intent:

Verification

  • Static divergence checks passed:
    • .github/workflows/ci.yml: all runs-on: labels are ubuntu-24.04 or macos-26.
    • AGENTS.md: fork notice line present under title.
    • Replay fixtures: no running in T3 Code strings in apps/server/src/orchestration-v2/testkit/fixtures.
    • No new .github/workflows/*.yml files added by this sync.
  • GitHub CI: running on this PR (no upstream code was executed locally).

Synced with Gemini 4 Neon (Antigravity harness).

StiensWout and others added 30 commits November 19, 2026 12:09
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ir own outcome (pingdotgg#38911)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…upting a caller stops them (pingdotgg#38912)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…fect (pingdotgg#38913)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
pingdotgg#39214)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#37542)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…orts success (pingdotgg#38420)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#38468)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#23824)

Co-authored-by: HelixNebula <249811984+helixnebulatech@users.noreply.github.com>
…ugin (pingdotgg#38634)

Co-authored-by: asssslay <avramova.ruslana.a.r.r@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…a clientRequestId (pingdotgg#38167)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…data (pingdotgg#38807)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#39086)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
pingdotgg#32697)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t the compromised eMudhra intermediates (pingdotgg#26040)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#31874)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#39312)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…7442)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… clean up their files (pingdotgg#39275)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
juliusmarminge and others added 16 commits November 20, 2026 16:34
…#39903)

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>
…39922)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#39653)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…the thread card (pingdotgg#30778)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…lpers (pingdotgg#39668)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…bility (pingdotgg#39651)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Upstream: https://github.com/pingdotgg/t3code.git 6b7027b..8cfd2b5

Conflicts resolved (32):
- 750e492 feat(web): copy snapshots into another composer (pingdotgg#37771)
    apps/web/src/components/chat/TimelineUserMessageRow.tsx
- acddfae fix(desktop): opening the app refreshes the t3 launcher with Local environment off (pingdotgg#31522)
    apps/desktop/src/app/DesktopApp.test.ts
- c242558 feat(web): dictation keeps recording into its thread when you switch away (pingdotgg#35761)
    apps/web/src/components/ThreadRouteView.tsx
- 9d28fc9 feat(themes): theme CSS can hold 100,000 characters (pingdotgg#37781)
    apps/server/src/provider/agentContextBudget.json
- 85dcfa6 feat(web): add the Issues page and issue detail panel (pingdotgg#19260)
    apps/web/src/components/RightPanelTabs.tsx
    apps/web/src/components/sidebar/SidebarChrome.tsx
    apps/web/src/components/sidebar/mainAppLocation.ts
    apps/web/src/rightPanelStore.ts
- 0597b9e feat(issues): link issues to threads and expose issue tools to agents (pingdotgg#19270)
    apps/server/src/provider/agentContextBudget.json
    apps/web/src/components/ChatMarkdown.tsx
- 49fad98 refactor(issues): move issues between their tracker's own states (pingdotgg#37930)
    apps/server/src/provider/agentContextBudget.json
- 055b449 feat(web,mobile,desktop): translate the whole app into every supported language (pingdotgg#37893)
    apps/mobile/src/features/settings/OutdatedServerUpdateSection.tsx
    apps/web/src/components/ChatMarkdown.tsx
    apps/web/src/components/CommandPalette.tsx
    apps/web/src/components/RightPanelTabs.tsx
    apps/web/src/components/Sidebar.tsx
    apps/web/src/components/chat/AssistantCitationSource.tsx
    apps/web/src/components/chat/AssistantSelectionToolbar.tsx
    apps/web/src/components/chat/ChatComposer.tsx
    apps/web/src/components/chat/ChatHeader.tsx
    apps/web/src/components/chat/ThreadDetailsUsage.tsx
    apps/web/src/components/chat/TimelineAssistantRows.tsx
    apps/web/src/components/chat/TimelineUserMessageRow.logic.ts
    apps/web/src/components/chat/TimelineUserMessageRow.tsx
    apps/web/src/components/chat/citationProcedure.ts
    apps/web/src/components/chat/threadDetailsItems.ts
    apps/web/src/components/settings/SettingsPanels.tsx
    apps/web/src/components/sidebar/SidebarChrome.tsx
    apps/web/src/components/sidebar/SidebarUpdatePill.tsx
- 39ad0c5 fix(agents): link tracked issues to their threads (pingdotgg#38356)
    apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_permission/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_approval/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_interrupt/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_workflow/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/simple/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/subagent_v2/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt/muse_transcript.ndjson
    apps/server/src/provider/agentContextBudget.json
- 052ca49 fix(web,mobile): side chats keep your attachments and context (pingdotgg#38350)
    apps/web/src/components/chat/chatViewSend.ts
    apps/web/src/components/chat/useComposerSend.ts
- 669e2ea feat(web): usage limit rows show your pace and open the usage page (pingdotgg#38789)
    apps/web/src/components/chat/ThreadDetailsUsage.tsx
- 28d96a2 fix(server): a PR watch the agent owns keeps its thread working until the PR merges (pingdotgg#38926)
    apps/server/src/provider/agentContextBudget.json
- 5d05902 feat(server): agents read, open, update, respond to, and merge PRs through MCP tools (pingdotgg#26751)
    apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_permission/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_approval/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_interrupt/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_workflow/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/simple/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/subagent_v2/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt/muse_transcript.ndjson
    apps/server/src/provider/agentContextBudget.json
    evals/mcp-tool-use/run.ts
- f7041fa feat(server): agents read failing CI logs and re-run checks through MCP tools (pingdotgg#26752)
    apps/server/src/orchestration-v2/testkit/fixtures/multi_turn/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_permission/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_approval/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_subagent_interrupt/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/muse_workflow/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/simple/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/subagent_v2/muse_transcript.ndjson
    apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt/muse_transcript.ndjson
    apps/server/src/provider/agentContextBudget.json
- 37f8a53 feat(server): agents land a GitHub stack in one merge (pingdotgg#38973)
    apps/server/src/provider/agentContextBudget.json
- 54038e1 fix(pi): Pi agents get T3's pull request linking rules (pingdotgg#31727)
    packages/provider-pi/src/server/mcpExtensionSource.ts
- 9d0d006 fix(server): keep Antigravity thread cwd in workspace by omitting attachmentsDir from additionalDirectories (pingdotgg#37997)
    apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.ts
- b5bef4d fix(server): /logout in chat needs providers:manage (pingdotgg#39027)
    apps/server/src/orchestration-v2/ThreadMessageIntake.ts
- b0b2c4f fix(server): agents can tell another agent's message from the user's (pingdotgg#39306)
    apps/server/src/orchestration-v2/ProviderTurnStartService.ts
- 90a86d5 fix(server): refuse Antigravity runtimes below 1.5 (pingdotgg#38970)
    apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts
- b5453de fix(cursor): background commands survive the turn and wake the agent when they exit (pingdotgg#38348)
    apps/server/src/provider/agentContextBudget.json
- fe9baf8 fix(server): watch_pull_request says a merge or close wakes the agent (pingdotgg#39739)
    apps/server/src/provider/agentContextBudget.json
- 0bc9b57 feat: secret cards get a show/hide toggle and multi-value fields (pingdotgg#31257)
    apps/server/src/provider/agentContextBudget.json
- 1cb3a8c feat: read a linked environment's threads from the client (pingdotgg#39406)
    apps/server/src/server.ts
    apps/web/src/components/RightPanelTabs.tsx
    apps/web/src/rightPanelStore.ts
- d7f6b3e feat: connect to a linked environment from its read-only thread (pingdotgg#39439)
    packages/contracts/src/environmentHttp.ts
- 7c6e889 feat: subagents, side chats and linked threads open the same way (pingdotgg#39515)
    apps/web/src/components/ChatView.tsx
    apps/web/src/components/RightPanelTabs.tsx
    apps/web/src/components/chat/RightPanelSurfaceContent.tsx
- b985057 chore(server): PR tool descriptions stop steering away from gh and cafe (pingdotgg#39947)
    apps/server/src/provider/agentContextBudget.json
- 2770bf3 feat(server): a thread turn can return a typed result (pingdotgg#38874)
    apps/server/src/orchestration-v2/ProviderTurnStartService.ts
    apps/server/src/provider/agentContextBudget.json
- e19193d feat(server): pull_request_read returns a compact summary by default (pingdotgg#39901)
    apps/server/src/provider/agentContextBudget.json
- 3e837d0 fix(server): pull_request_create pushes an unpushed branch (pingdotgg#39903)
    apps/server/src/provider/agentContextBudget.json
- 669d894 feat: sign in to an agent's MCP server from its warning (pingdotgg#39921)
    packages/client-runtime/src/state/commandPermissions.test.ts
- 634ee43 test(evals): measure T3's PR tools against raw forge CLIs (pingdotgg#39922)
    evals/mcp-tool-use/README.md
    evals/mcp-tool-use/regrade.ts
    evals/mcp-tool-use/run.ts

Upstream-Commit: 8cfd2b5
@cursor

cursor Bot commented Nov 21, 2026

Copy link
Copy Markdown

This PR is too large for Bugbot to review. It changes 41,551 lines and 3,808,596 characters. Split the change into smaller pull requests to get a review.

@mfituri mfituri added the agent-context-increase Raises the agent instruction budget label Nov 21, 2026
Comment thread packages/shared/src/markdownLinks.ts Resolved
Comment thread packages/shared/src/shell.ts Resolved
Comment thread packages/shared/src/usageLimits.ts Resolved
Comment thread packages/shared/src/htmlRender.ts Resolved
Comment thread packages/shared/src/htmlRender.ts Resolved
Comment thread packages/shared/src/htmlRender.ts Resolved
Comment thread packages/shared/src/htmlRender.ts Resolved
Comment thread packages/shared/src/htmlRender.ts Resolved
@mfituri

mfituri commented Nov 21, 2026

Copy link
Copy Markdown
Author

All CI checks passed on 8ced199960 (including CI/Check, CI/Build and Typecheck, CI/Lint, CI/Test, CI/Test Server 1-8, CI/Test Web 1-2, CI/Rust, CI/Mobile Native Static Analysis, CI/Release Smoke, and Agent Context Budget). Ready to merge with Create a merge commit (do not squash-merge).

@mfituri
mfituri merged commit a8f4f58 into main Nov 21, 2026
25 of 26 checks passed
@mfituri
mfituri deleted the sync/upstream-20261121 branch November 21, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Raises the agent instruction budget

Projects

None yet

Development

Successfully merging this pull request may close these issues.