Skip to content

chore: sync main from pingdotgg/t3code - #90

Merged
D3SOX merged 692 commits into
mainfrom
upstream-sync
Nov 15, 2026
Merged

D3SOX merged 692 commits into
mainfrom
upstream-sync

Conversation

@D3SOX

@D3SOX D3SOX commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Sync pingdotgg/t3code:main into main.

Merge with a merge commit to preserve fork changes and shared upstream history.

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Nov 14, 2026
@D3SOX

D3SOX commented Nov 14, 2026

Copy link
Copy Markdown
Owner Author

Note

🤖 Claude Opus 5.5 responding on behalf of Nico

Merged 423 upstream commits from pingdotgg/t3code (head f12527ecf0) into this branch, then merged main into it. 42 files conflicted. Fork behavior wins where the two sides changed the same thing on purpose.

Conflict decisions

  • Storage cleanup: kept the fork's handling of branch changes. It reclaims a worktree after its branch changes and records the checked-out branch when it removes it, and WorktreeBranchSync backfills branches at startup. Upstream's followBranch (keep the worktree and re-record the branch on the next sweep) is dropped, along with its tests. Upstream's owning-repository removal and its later git clean are kept. The other-repository test now adds a remote-tracking ref, because the fork keeps unpublished commits.
  • Attachment cleanup: upstream's skipReferenced cleanup for dropped queued-edit files is combined with the fork's thread-scoped image-preview cleanup. A queued edit no longer deletes the thread's retained previews.
  • Web queue: kept the fork's composer-banner queue. Ported upstream's quiet projection (fewer re-renders while text streams) and the queued-image viewer, with a new browser test.
  • Mobile queue: kept the fork's rewrite. Ported upstream's tap-to-preview thumbnails.
  • Queued edits: cancelling a fork edit now releases staged uploads, as upstream's fix intends. Upstream's new test was adjusted for the fork's pause and resume calls.
  • Send flow: ported upstream's batched first-send dock transition into the fork's queued send path.
  • Kept the fork's mobile disabled-button look. Combined the notification gating (upstream snooze plus fork settle and silent runs), the sidebar row (upstream accessible title plus fork rename permission), and the mobile row status (upstream "opened failure is ready" plus fork branch and draft details).
  • agentContextBudget.json is set to the measured values.

Proof: typecheck passes for contracts, shared, client-runtime, server, web, mobile, and desktop. Lint, format, and knip are clean. Unit and browser tests beside every conflicted file pass, including all 235 storage cleanup tests.

Reviewed with sol-loop: 2 rounds with gpt-6.1-sol on xhigh/high.
Sol verdict: approved

juliusmarminge and others added 27 commits November 14, 2026 15:27
…breaks media in PR descriptions (pingdotgg#30571)

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

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

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

Co-authored-by: Trevor Edwards <9443483+trevoedwards@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…r lists as a second "No project" (pingdotgg#30597)

Co-authored-by: DanielJBurbridge <36094258+DanielJBurbridge@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#30539)

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

Co-authored-by: Tin Zeljar <35663757+Zheruel@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…will wake the thread (pingdotgg#30646)

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

Co-authored-by: Trevor Edwards <9443483+trevoedwards@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…relaunching (pingdotgg#30667)

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

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

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

Co-authored-by: Geezy <igor.licko@gloryck.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…30700)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Hirbod Mirjavadi <hirbod@expo.dev>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#29918)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#30718)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…t replaced it (pingdotgg#30387)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
notzenco and others added 25 commits November 14, 2026 21:52
…33069)

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

Co-authored-by: Zuri <zurih@rtx.internal>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…d player item (pingdotgg#32196)

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ad read instead of hiding its threads (pingdotgg#32620)

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…sitory opens that file (pingdotgg#32684)

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ne shows on click (pingdotgg#32842)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… git status read fails (pingdotgg#32705)

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…c-merge

# Conflicts:
#	apps/desktop/src/preload.ts
#	apps/mobile/src/features/threads/thread-list-v2-items.tsx
#	apps/server/src/orchestration-v2/runtimeLayer.test.ts
#	apps/server/src/provider/agentContextBudget.json
#	apps/server/src/storageCleanup.ts
#	apps/web/src/components/chat/ChatComposer.tsx
#	apps/web/src/components/chat/useComposerSend.ts
#	apps/web/src/hooks/useThreadActions.ts
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
@D3SOX

D3SOX commented Nov 15, 2026

Copy link
Copy Markdown
Owner Author

Note

🤖 Claude Opus 5.5 responding on behalf of Nico

The pull bot reset upstream-sync to upstream 742a91209e (340 new commits), which dropped the earlier merge. I merged it into the previous merge again: c8bc758. Both origin/main and 742a91209e are ancestors of the new head.

Conflicts (10 files):

  • storageCleanup.ts: kept both import sets (fork CommandId/randomUuidV4, upstream CheckpointScopeId/Base64Url). Upstream's branch-switch followBranch did not come back; the fork's branch-change removal is unchanged.
  • runtimeLayer.test.ts: kept upstream's new delegated-task resend test and the fork's settled: %s version of the held-queue wake test.
  • useComposerSend.ts: kept the fork's send pipeline and ported upstream's two fixes into it: the prompt ref and cursor reset only while the sent thread is still on screen, and an image-only failure toast with no copy action. The fork opens a fresh draft after a first send, so an interrupted launch left no notice at all. It now shows "Message may not have been sent" with an "Open draft" action, which makes upstream's new ChatView browser test pass.
  • ChatComposer.tsx: upstream's usePendingUserInputDraft hook plus the fork's context-window and compact props.
  • Mobile thread-list-v2-items.tsx: upstream's threadListV2RowAccessibilityLabel, extended with the fork's "unsent draft" part (test row added).
  • useThreadActions.ts: kept the fork's delete navigation; dropped upstream's now-unused fallback thread lookup.
  • preload.ts: both focusWindow and restartAudioService.
  • pnpm-workspace.yaml: upstream's @cursor/sdk 1.3.1 and micromark-util-decode-string, the fork's micromark-util-types 2.0.3 and expo-observe patch. Lockfile regenerated.
  • agentContextBudget.json: re-measured (MCP tool list 52772 bytes).

Also fixed after the merge: pullRequestWatch.test.ts (upstream's new case needed the fork's host/repository fields) and the web fake environment now advertises attachmentUploads, as the real server does.

Checks: typecheck passes for contracts, shared, client-runtime, server, web, mobile, and desktop; lint, fmt, and knip are clean; server (505), mobile thread (359), web thread-action, and the six fake-environment browser test files pass.

@D3SOX D3SOX added the agent-context-increase Accept an intentional increase in measured agent context label Nov 15, 2026
@D3SOX
D3SOX merged commit fd8f81c into main Nov 15, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accept an intentional increase in measured agent context vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.