Skip to content

chore: sync upstream 2026-08-26 - #60

Merged
asfires merged 142 commits into
mainfrom
sync-upstream-2026-08-26
Aug 26, 2026
Merged

chore: sync upstream 2026-08-26#60
asfires merged 142 commits into
mainfrom
sync-upstream-2026-08-26

Conversation

@asfires

@asfires asfires commented Aug 26, 2026

Copy link
Copy Markdown
Owner

What Changed

Fork main was 141 commits behind pingdotgg/t3code main (v0.0.34 release, PR linking, attachment uploads, appearance contrast, background thread submission, Claude auto-compaction, Codex feedback, composer drawers). This merges upstream/main into the fork via a sync branch; 46 files conflicted.

Resolution notes (deliberate fork divergences kept)

  • Claude interruptTurn keeps the fork's interrupt() + early-interrupt replay latch (the Esc retraction pipeline depends on it). Upstream fix(server): stop kills lingering Claude work pingdotgg/t3code#5891 turned Stop into a session close; its stopSessionInternal hardening (close-first, task.completed on stop, guarded session deletion) is adopted, and its three interrupt-as-stop tests now exercise stopSession. The fork's interruptTurn settles every acknowledged live task test is restored.
  • Managed worktree recovery: upstream's new best-effort ensureThreadWorktree (fix(server): recreate a thread's worktree before starting a turn pingdotgg/t3code#7839) skips threads with managedWorktree provenance, so the fork's ref/checkpoint-based recovery (and setup-script rerun) stays authoritative.
  • Tool output projection: the fork's capped full output stays; upstream's projectCommandValue normalization is grafted in. Three ActivityPayloadProjection tests are aligned with retained output (two of them were already failing on fork main).
  • Composer: the fork's expand toggle, pasted-text summaries, prompt-suggestion placeholder and Esc gate are re-applied onto upstream's drawer-based composer; runtime mode config stays in the shared module; upstream's [data-composer-drawer-layer] selector joins CHAT_FLOATING_LAYER_SELECTOR.
  • ThreadSyncStatusPill adopts upstream's attached-drawer styling (drops the fork's raised offset, keeps the 300 ms syncing delay).
  • ChatView: the pre-dispatch cancellation latch wraps upstream's background-submission dispatch; hero state is backgroundSubmissionPending || shouldRenderEmptyThreadHero(...); Codex feedback messages join the optimistic message list ahead of the retraction filter.
  • Theme: sidebar row tints keep the fork's percentages on upstream's --contrast-foreground; markdown rules keep currentcolor.
  • Claude settings order: binaryPath, homePath, autoCompactWindow, launchArgs, promptSuggestions.

Verification

  • typecheck clean in packages/contracts, packages/shared, packages/client-runtime, apps/server, apps/web.
  • Targeted tests: contracts 302/302, shared model 10/10, web 259/259 (session-logic, MessagesTimeline, ThreadSyncStatusPill, ProviderSettingsForm, composer-logic, ChatView.logic, ComposerPromptEditor), server 484/484 across provider adapters, reactors, projections, persistence, startup reconcile, ws, and the new orphaned-session integration test.
  • Lint on files changed on both sides: no new errors. Pre-existing fork lint errors (no-manual-effect-runtime-in-tests in fork-authored reactor/projector tests) are untouched.

Merged and verified by Claude Fable 5 in Claude Code (T3 Code).

maria-rcks and others added 30 commits August 19, 2026 17:46
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: maria <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: maria <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: maria <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: John William Creighton (s243a) <s243a@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ngdotgg#6326)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com>
t3dotgg and others added 27 commits August 25, 2026 00:50
Co-authored-by: mweinbach <maxweinbach5@gmail.com>
…gg#7140)

Co-authored-by: Dara Adedeji <daraaded@amazon.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
…#8231)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Aug 26, 2026
@asfires
asfires merged commit 0e6c4cf into main Aug 26, 2026
6 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.