Skip to content

chore(sync): merge pingdotgg/t3code main - #344

Merged
Yarden-zamir merged 22 commits into
mainfrom
fork-sync/2026-10-25-0310
Oct 25, 2026
Merged

Yarden-zamir merged 22 commits into
mainfrom
fork-sync/2026-10-25-0310

Conversation

@Yarden-zamir

Copy link
Copy Markdown
Owner

Cause

Fork Sync run 40156995667 stopped on merge conflicts in 47 files. Most come from upstream pingdotgg#21514 "halve code comments and cap comment blocks at four lines". It rewrites comments in 1782 files, so many of them conflict next to fork code. It also makes t3code/no-low-value-comments fail on comment blocks over 4 lines, bare issue numbers and @public boilerplate, which 124 comments in fork-changed files broke. The batch has 14 upstream commits, among them pingdotgg#24104 (share a thread with a guest), pingdotgg#23178 (web code highlight with @pierre/highlights), pingdotgg#24643 and pingdotgg#24647 (dedupe IDs and bodies on the wire), pingdotgg#24648 (cold connects skip idle subagent threads) and pingdotgg#24602 (mobile PR management).

Conflicts and resolution

59 hunks in 47 files:

  • 36 hunks where upstream changed only comments.
    • 26 merged line by line: the fork code with upstream's shorter comment.
    • The other 10: the fork code is kept, and the comment upstream rewrote is swapped in where the fork still has it.
  • 23 hunks with upstream code changes. Resolved by hand, so that upstream's new code holds each fork change:
    • Guest sharing:
      • Web: the fork menu items and guards stay next to upstream's "Share with guest". This covers threadActionMenu.logic.ts, useThreadActionMenu.ts, ChatHeader.tsx, Sidebar.tsx and CommandPalette.tsx.
      • Web: routes/__root.tsx keeps the fork machine-paused and client-pending screens after upstream's guest path.
      • Mobile: ThreadFeed.tsx gives the fork message link hook the transcript, and the list gets the transcript plus upstream's guest rows.
    • Contracts: clientRpcPermissions.ts and orchestrationV2.ts keep both sides' entries.
    • Mobile HomeScreen.tsx: took upstream's new useThreadListV2 hook. The fork sidebar tab filter now goes through a new optional filterListThreads input. It narrows only the listed threads, so move menus and inbox returns still see every thread, as before.
    • Web:
      • settingsSearch.ts and SettingsSidebarNav.tsx: the fork settings paths and labels stay next to upstream's Beta page.
      • Sidebar.logic.ts: the fork terminal-thread statuses stay before upstream's guest Request status.
      • MessagesTimeline.tsx, ChatView.tsx and state/threads.ts: imports and props from both sides.
  • pnpm-lock.yaml: rebuilt with lockfile.py. The integrity changes equal upstream's.

Fork fixes

  • Comment cap (124 errors):
  • Guest Request status: upstream adds a request status. The fork thread card badge (an icon slot), the sidebar tab status map and the terminal thread row status now know it.
  • Emergency pause (MM-718) also closes guest links:
    • Upstream's guest links use their own session, outside environment auth, so the pause did not reach them.
    • A paused machine now treats guest sharing as off. Guest requests are refused, an open guest stream ends at its next access check, and the guest gets back in after Resume.
    • Tested in GuestShareService.fork.test.ts. The "Emergency pause" section of docs/fork/features.md says so.

Upstream merge

Merges pingdotgg/t3code main at 8045537 "perf(orchestration): thread snapshots send each long ID once (pingdotgg#24643)".

Adopted upstream pull requests

All 7 entries (pingdotgg#16653, pingdotgg#16654, pingdotgg#16655, pingdotgg#16684, pingdotgg#16695, pingdotgg#16698, pingdotgg#16719) are unchanged at their listed heads. No new merges.

Upstream changes in fork areas

293 files changed on both sides, 83 of them with upstream code changes. Two subagents resolved the web and mobile conflicts, and three shortened comments. A separate review read the upstream code changes of the other 59 files against the fork side. It found the guest pause gap above, and no other effect:

Checks

  • checks.py: typecheck (36 of 36 packages), migration check and adopted pull request check pass.
  • vp lint on all 1072 fork-changed TypeScript files: no errors.
  • fork_tests.py: 171 fork test files pass locally (113 root and 58 web, finished with --from-chunk).
  • Fork server tests pass locally:
    • Near the conflicts: McpToolAccess.fork, OrchestratorMcpService.fork, ThreadLaunchService.fork, http.fork (38 tests).
    • Guest service: GuestShareService.test.ts and the new GuestShareService.fork.test.ts (21 tests).
  • The other apps/server fork test files are left to Fork CI, because they stop the agent session on this VPS.

Fork repair skill changes

None. The line-level merge of comment-only hunks used throwaway scripts, because a repo-wide comment rewrite is a one-off. Add them to the skill if a second one comes.

t3dotgg and others added 21 commits October 24, 2026 18:19
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…me (pingdotgg#24646)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… thread list (pingdotgg#24648)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… you approve (pingdotgg#24104)

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

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
… per session (pingdotgg#24654)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…5-0310

# Conflicts:
#	apps/mobile/src/Stack.tsx
#	apps/mobile/src/features/cloud/CloudAuthProvider.tsx
#	apps/mobile/src/features/home/HomeScreen.tsx
#	apps/mobile/src/features/shortcuts/useAppShortcuts.ts
#	apps/mobile/src/features/threads/ThreadFeed.tsx
#	apps/mobile/src/features/threads/thread-subagent-group.tsx
#	apps/mobile/src/lib/assetImageSource.ts
#	apps/mobile/src/state/threads.ts
#	apps/server/src/auth/McpOAuth.ts
#	apps/server/src/cli/theme.ts
#	apps/server/src/environment/ServerEnvironment.ts
#	apps/server/src/http.ts
#	apps/server/src/mcp/McpInvocationContext.ts
#	apps/server/src/mcp/McpToolAccess.ts
#	apps/server/src/mcp/OrchestratorMcpService.ts
#	apps/server/src/mcp/threadAccess.ts
#	apps/server/src/mcp/toolkits/project/handlers.ts
#	apps/server/src/orchestration-v2/Orchestrator.ts
#	apps/server/src/orchestration-v2/ThreadLaunchService.ts
#	apps/server/src/orchestration-v2/ThreadSettlementService.ts
#	apps/server/src/preview/DesktopBrowserChannel.ts
#	apps/server/src/preview/ServerBrowserPage.ts
#	apps/server/src/project/AgentSessionScanner.ts
#	apps/server/src/scheduledTasks/ScheduledTaskService.ts
#	apps/server/src/server.ts
#	apps/server/src/terminal/Manager.ts
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/components/CommandPalette.tsx
#	apps/web/src/components/Sidebar.logic.ts
#	apps/web/src/components/Sidebar.tsx
#	apps/web/src/components/chat/ChatHeader.tsx
#	apps/web/src/components/chat/MessagesTimeline.tsx
#	apps/web/src/components/files/FileBrowserPanel.tsx
#	apps/web/src/components/settings/SettingsSidebarNav.tsx
#	apps/web/src/components/settings/settingsSearch.ts
#	apps/web/src/components/sidebar/SidebarThreadRow.tsx
#	apps/web/src/components/threadActionMenu.logic.ts
#	apps/web/src/contextMenuFallback.ts
#	apps/web/src/hooks/useThreadActionMenu.ts
#	apps/web/src/routes/__root.tsx
#	apps/web/src/state/threads.ts
#	packages/contracts/src/clientRpcPermissions.ts
#	packages/contracts/src/orchestrationV2.ts
#	packages/provider-core/src/server/orchestrationInstructions.ts
#	packages/provider-pi/src/server/mcpInjection.ts
#	packages/source-control-github/src/server/gitHubPullRequestJson.ts
#	pnpm-lock.yaml
Upstream pingdotgg#24104 adds a Request status for a thread whose guest waits on its owner. The fork thread card badge, the sidebar tab status and the terminal thread row status now know it.
Upstream pingdotgg#21514 caps comment blocks at 4 lines. The fork keeps adopted heads as they are, so linkOrigin.ts, PeerForwarding.ts and RemoteDelegation.ts warn until their head or upstream main shortens the comments. The forkRules of each entry name the override.
threadAccess.ts, ThreadLaunchService.ts and orchestrationV2.ts hold comments from adopted pingdotgg#16719 over the 4-line cap.
Upstream pingdotgg#21514 makes t3code/no-low-value-comments fail on comment blocks over 4 lines, bare issue numbers and @public boilerplate. 114 fork comments are shortened to their constraint. Only comment lines change.
Upstream pingdotgg#24104 adds guest links with their own session, outside environment auth, so the machine map pause (MM-718) did not reach them. A paused machine now treats guest sharing as off: guest requests are refused and an open guest stream ends at its next access check. The guest gets back in after Resume.
@Yarden-zamir
Yarden-zamir merged commit 1bcb4b4 into main Oct 25, 2026
19 checks passed
@Yarden-zamir
Yarden-zamir deleted the fork-sync/2026-10-25-0310 branch October 25, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants