Skip to content

chore: sync upstream pingdotgg/t3code - #200

Closed
Tevin2119 wants to merge 280 commits into
masterfrom
integration/upstream-2026-11-24
Closed

Tevin2119 wants to merge 280 commits into
masterfrom
integration/upstream-2026-11-24

Conversation

@Tevin2119

Copy link
Copy Markdown
Owner

Merging pingdotgg/t3code main into master conflicted in 15 files, so the daily sync opened conflicted draft #195. This replaces it. It merges the newer upstream 667116eee966bb740a566431cdf60eb223d1685e (279 commits past f00893a512), not the 856b105 that #195 named.

How fork features map onto upstream's changes

  • Docs restructure (upstream renumbered docs/internals and docs/operations).
    • AGENTS.md: the fork's "Fork integration context / Reuse T3 first" section stays above upstream's new Terminology section.
    • docs/README.md: takes upstream's numbered runbook list and re-adds the fork's Machines runbook.
    • docs/operations/development.md: upstream deleted it for 00_development.md, so the delete is accepted. Its one fork-only point, that check:changed handles a master default branch, is now a sentence in 00_development.md.
  • Provider maintenance runner (ws.ts). Both sides had made it live for the whole server. This takes upstream's version, where it is a server service, drops the fork's local make() copy, and keeps the fork's checkout-update service and handlers.
  • Codex adapter (CodexAdapterV2.ts). Keeps the fork's per-thread context-window and team-setup tracking, including the reload on change that delivery/Orchestrator teams rely on. Adds upstream's app-thread map and startup-step reporting.
  • Orchestration runtime layer. The fork's turn-start layer stays where it is, after the native team chat layer it needs. It now also gets upstream's shared layerThreadWorktreeRestore.
  • Turn start (ProviderTurnStartService.ts). Upstream added a new failure path for a restored worktree's setup script. It now passes the fork's required failure class, set to provider_error like the neighbouring recreate failure.
  • Peer links (peerLinks.ts). Keeps the fork's { names, settled } read, which stops a seat's view swapping while links load. Adds upstream's reread when a newly linked machine is missing.
  • Unions, nothing dropped:
    • ChatView.tsx: delivery/board/team imports plus upstream's runtime-mode helper; the fork's handed-on atom plus upstream's active-run statuses.
    • ThreadManagementService.ts and OrchestratorMcpService.ts: imports from both sides.
    • knip.jsonc: both sides' entries.
  • Tests.
    • elicitationForm.test.ts: both sides' cases kept.
    • ProviderTurnStartService.test.ts: both sides' harness fixtures kept.
    • ServerEnvironment.test.ts: takes upstream's Windows-aware install-ownership check and keeps the fork's fresh-module-graph test.
  • agentContextBudget.json. mcpToolListJsonBytes is set to the measured 62621, below master's 62636.

Verification (Windows, no repo-wide checks)

Typecheck: clean in every package with a changed file:

  • apps: server, web, desktop, mobile
  • client-runtime, contracts, shared, ssh
  • every provider-* package with changes: acp, acp-registry, core, cursor, grok, muse, opencode, pi
  • every source-control-* package with changes: bitbucket, core, forgejo, gitcafe, github, gitlab
  • scripts, evals, oxlint-plugin-t3code

Tests beside the resolved files:

  • provider-acp elicitationForm: 9/9.
  • apps/web ChatView.logic: 68/68.
  • apps/server (OrchestratorMcpService ×3, CodexAdapterV2, ThreadManagementService, runtimeLayer, ws, ServerEnvironment, ProviderTurnStartService, AgentContextBudget): 777 passed, 9 failed. Every failure is environmental, shown on upstream's unchanged code:
    • ServerEnvironment "names the environment and its machine from the overrides": the test inherits this machine's T3_WORKSPACE_* variables. It passes with them unset.
    • ServerEnvironment "publishes proven install ownership": upstream's test fails while setting up, at fs.symlink, with Windows EPERM (no symlink privilege).
    • ProviderTurnStartService, 7 worktree-recovery and restored-setup cases: they fail the same way with upstream's own ProviderTurnStartService.ts, .test.ts and .testkit.ts swapped in (git can't start in the temp worktree on Windows).

Not run here:

  • ChatView browser tests: Chromium could not connect on this machine. An upstream-identical browser test file fails the same way, so CI covers these.

The commit hooks (fmt, lint, knip) passed.

Replaces #195.

Model: Claude Opus 5.5 (claude-opus-5-5) via Claude Code in T3 Code.

🤖 Generated with Claude Code

juliusmarminge and others added 30 commits November 23, 2026 02:29
pingdotgg#39008)

Co-authored-by: shoham-utila <[email protected]>
Co-authored-by: juliusmarminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
…ce is signed in (pingdotgg#41415)

Co-authored-by: Nirmal Thewarathanthri <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
juliusmarminge and others added 24 commits November 23, 2026 20:52
…ngdotgg#39662)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…king (pingdotgg#41927)

Co-authored-by: Will Craig <[email protected]>
Co-authored-by: William Craig <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Merge pingdotgg/t3code main 667116e into master.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@polymaniadeveloper-hub

Copy link
Copy Markdown
Collaborator

Superseded: upstream was synced by #203 (merged d853a73), so this conflicted bot sync no longer applies. The next daily sync will open a fresh PR if upstream moves. Closing with the owner's approval.

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.