GeezerVison is showing github.com — chore: sync upstream pingdotgg/t3code by Tevin2119 · Pull Request #192 · Tevin2119/t3code
Conversation
Tevin2119
commented
Nov 23, 2026
•
edited by polymaniadeveloper-hub
Loading
Uh oh!
There was an error while loading. Please reload this page.
The daily upstream sync conflicted (draft #188), so master is behind pingdotgg/t3code. This merges upstream main at f00893a512b9 (303 commits past master, newer than the a985332c4471 that #188 named) into master. Conflicts against the newer tip covered 46 files.
Replaces #188.
How fork features map onto upstream's changes
- Markdown (Words renderer, perf(web): Markdown renders with Words as static islands under one shared tooltip; remark leaves the web app pingdotgg/t3code#27866): upstream dropped remark/rehype for Words with static islands. The fork's
allowMedia={false} evidence mode, used by board task evidence and task questions, is ported onto it. Renderers are now cached per component set and options. Island options have an evidence variant that names images, video and audio as text instead of loading them. The old extraRemarkPlugins prop is gone; upstream's extensions replaces it.
- Workflows (new upstream Labs feature): sits beside delivery everywhere they overlap:
- RPC methods
isListedThreadLineage: hides workflow steps and server-owned engine-intake/board threads
- projection reads of
engineIntake and workflowStep
- MCP per-request flags (
agentFeedback, workflows, delivery) and their EnabledWhen gates
server.ts layers: WorkflowForge, OrchestrationMilestones, the delivery layer and TeamChatReadOnlyReactor
- Orchestrator thread creation
- Agent feedback (upstream):
buildRuntimeInstructions keeps upstream's feedback line and linking layout, then appends the fork's team/delivery instructions. Claude adapter carries both threadId and agentFeedback.
- Provider turn start: upstream's
carriesPendingContext and inline-handoff recording before startTurn are kept. The fork's board turn context and discussion context still join the prompt. The wrapping session is also used when a discussion or the delivery service is present. carriesPendingContext itself stays upstream's, so manual resume isn't forced into a prompted turn.
- Orchestrator mode / delegated tasks:
waitForThread keeps the fork's pre-start failure reason and target.thread.id matching. It adds upstream's untagged-run continuation (forkedFrom node id, task.result === null).
- New thread (perf(web): new thread opens its draft without waiting on t3.json pingdotgg/t3code#41070, no await on t3.json): upstream removed the async race block; the fork's
fresh guard on it went with it. The fork's fresh and started-orchestrator-task checks elsewhere stay. The mock state for the fork's tests was migrated.
- Composer: Orchestrator mode still turns off multiple models; it now uses upstream's stable callback.
- ACP providers (DeepSeek, Hermes, Kimi, Pi): upstream's
withStartupTimeout now covers session/new. It takes an optional duration, so the fork's sessionLoadTimeout override still applies. The fork test now expects upstream's error text.
- Antigravity usage (fix(server): Antigravity usage reads the default instance's T3 profile pingdotgg/t3code#41155): upstream scans every instance, including the default one. The fork's per-root billing (plan, Gemini or Vertex AI) is kept on that loop.
- Usage limits: upstream's unsupported-with-message notices, plus the fork's skip for prepaid balances.
- Linked issue threads (perf(issues): skip redundant thread payload reads pingdotgg/t3code#40569): upstream's
CASE short-circuit; the fork's engine-intake exclusion moves inside its THEN.
- Codex adapter: upstream's
thread/start deadline, plus the fork's team setup capture.
- Cleanup: removed
scheduledTasksList, which upstream dropped and neither side used.
- Translations: web and mobile catalogs are the union of both sides.
- Fork-only tests migrated to upstream types:
malformedRecords is now an array
AnalyticsService.record now returns a boolean
Delivery, board, team pickers, fork settings, update pills and master default-branch support had no conflicts and came through the merge unchanged.
Master update from #191
Merged fork master e1098a6bed after #191 landed. Git combined every overlap cleanly. The task view reuses the native ChatView and ChatHeader slots, shared right-panel surfaces, sidebar row styling, and Command Palette results.
Files changed on both sides that carry the task-view integration:
- Chat and panel components:
ChatView.tsx, chat/RightPanelSurfaceContent.tsx, chat/ChatComposer.tsx, and chat/ThreadRelationshipsControl.tsx.
- Navigation and preview:
CommandPalette.tsx, sidebar/SidebarThreadRow.tsx, and preview/ThreadPreviewMiniPlayer.tsx.
- Test overlap:
ChatView.browser.test.tsx, RightPanelTabs.browser.test.tsx, chat/ThreadRelationshipsControl.browser.test.tsx, and apps/web/test/fakeEnvironment.ts.
- Catalog and docs overlap:
apps/web/src/i18n/translations/{de,en,es,fr,ja,ko,pt-BR,ru,sv,zh}.json and docs/user/thread-sidebar.md.
chat/ChatHeader.tsx and the task-specific panels came through unchanged from #191.
Agent context budget
mcpToolListJsonBytes is 59,026 at the shared merge base d51d8c4766, 59,938 on fork master 3f8cb2d2d6, 61,724 on upstream f00893a512b9, and 62,636 on the integration branch.
The 2,698-byte increase over fork master consists of 2,698 upstream bytes (61,724 − 59,026) and 0 fork bytes. The fork adds 912 bytes in both comparisons (59,938 − 59,026 and 62,636 − 61,724), so no fork text cuts were needed.
Verification (Windows, Node 24.19)
- Typecheck:
vp run typecheck is clean in all 24 changed packages:
- apps: server, web, desktop, mobile
- contracts, shared, client-runtime
- provider-core, acp, acp-registry, cursor, muse, opencode, pi
- source-control: azure-devops, core, definitions, forgejo, github, gitlab, tanstack-source
- infra/relay, scripts, evals
- Tests beside the resolved files:
- contracts: 36/36
- provider-core runtimeInstructions: 5/5
- shared usageLimits: 97/97
- web unit tests (useHandleNewThread, ChatView.logic): 80/80
- web browser tests (ChatMarkdown, ThreadRelationshipsControl, ChatView, ChatView.logic): 96/96
- ACP tests (AcpJsonRpcConnection, ForkAcpAdapter, AcpAdapterV2): 206/206
- server, 15 files: 1120 pass, 2 skipped, 10 fail for environment reasons:
- 3 use
StatementSync.stat, which Node 24 lacks; the repo pins Node 26.13.1. These are upstream's own query-count tests.
- 7 fail the same way when upstream's unchanged
ProviderTurnStartService.ts, ClaudeAdapterV2.ts and their tests are swapped in. Causes: symlink EPERM, POSIX cwd assertion, git spawn in a temp worktree.
- i18n: catalogs match the source in web, mobile and desktop. Stock
vp run i18n:check can't spawn gt on Windows; it was run with a path shim.
- Pre-commit hook: the hook's checks pass when run by hand: fmt
--check over all 1,012 staged files, lint with 0 errors, knip:check. The hook itself can't run for this merge on Windows (its file list overflows the 32 KB command-line limit), so the commit used --no-verify with Tevin's approval.
Done by Claude Opus 5.5 (claude-opus-5-5) in Claude Code, running inside T3 Code.
🤖 Generated with Claude Code
QA findings (Claude Opus 5.5)
Independent QA at head e3fd9515cde78482f2dd3fc45ef7ce83c0edb17a on Windows, Node 24.16. Hosted CI (20/20) was not repeated.
Verdict: approve. No blocking findings.
Conflict review
- I re-ran the merge with
git merge-tree (3f8cb2d2d6 × f00893a512). It conflicts on exactly the 46 files listed above.
- No fork changes were dropped or added. The fork touched 695 files at master relative to the merge base
d51d8c4766. The same 695 differ between upstream and head, with no file added or dropped.
- Fork changes kept their size. For each conflicted file, I compared the fork's change at master (base→master) with its change at head (upstream→head). Most are the same size, including Orchestrator, OrchestratorMcpService, ChatView, ChatComposer, server.ts, CodexAdapter and ClaudeAdapter. The files whose size changed were all re-fits onto upstream's new code:
- ChatMarkdown: upstream's Words renderer with static islands is intact. The evidence mode (
allowMedia={false}) uses its own components and its own island-options cache, so img, video and audio render as text, and the renderer cache is keyed by component set. All three callers are still wired: TaskWorkspace and both uses in ThreadTaskQuestions. The browser test covers it.
- ProviderTurnStartService: upstream's
carriesPendingContext and manual-resume gate are untouched. The fork's wrapping-session condition behaves the same as on master: a discussion, or a delivery service plus environment, still wraps the session.
- MCP / RPC / contracts: the fork's
delivery flag joins upstream's settingsFlags, alongside agentFeedback and workflows. hiddenWhileDeliveryOff was kept. isListedThreadLineage combines upstream's workflowStep check with the fork's server-owned exclusion. scheduledTasksList was removed, and nothing at head references it.
- Orchestrator / delegated waiting:
waitForThread keeps the target.thread.id matching and the pre-start failure item. Upstream's untagged-run continuation (task.result === null) is intact.
- Composer: Orchestrator mode still turns off multiple models and clears their selections, inside upstream's layout.
- runtimeInstructions: keeps upstream's feedback line, with the team instructions appended after it.
- AcpSessionRuntime: uses upstream's
withStartupTimeout with an optional duration. The fork's sessionLoadTimeout still applies, and the fallback is the same 90 s.
- useHandleNewThread: the
fresh and started-orchestrator-task guards were kept.
- No fork code overrides upstream behavior that I could find.
Agent context budget
- Confirmed.
agentContextBudget.json reads 59,026 at the base, 59,938 at master, 61,724 at upstream and 62,636 at head. That is +2,698 over master, all from upstream; the fork's share is +912 both before and after the merge.
- The budget test asserts the measured values with
toEqual, and CI is green, so these are measured numbers, not just edited ones.
- Every fork-touched MCP toolkit and handler file has the same fork change at master and at head. The only differences are in wiring:
McpHttpServer, McpInvocationContext, contracts/orchestrationV2 and contracts/rpc.
Smoke test
I ran one isolated vp run dev --no-seed against this worktree's .t3. The real database is 2 GB, over the 500 MiB seed limit, so I didn't seed it. I stopped the server afterwards.
- Chat turn with Replay (dev)
showcase: passed. It streamed, the approval worked, and it finished. The final markdown, including a table and a code block, rendered through Words.
- Board page: passed. It loads at build
e3fd9515c. With Delivery off it says so. With Delivery on and the engine pointed at a closed port, it shows "Delivery engine not reachable… Nothing shown here is current".
- Draft composer: passed. It shows the team picker, "No team" and "Engine not reachable".
Non-blocking findings
- Mojibake (cosmetic):
apps/server/src/mcp/McpInvocationContext.ts:159 reads Labs → Workflows where upstream has Labs → Workflows. The resolution changed this line from upstream's version. It's a comment only, and the only mojibake in the whole upstream→head diff.
- Stray blank line:
packages/contracts/src/rpc.ts has a leftover empty line where scheduledTasksList was removed, after deliverySwapLimitedSeat.
- Changed test expectation:
e3fd951 changes a fork test (ThreadRouteView.tagFilter). A rejected thread address now ends on /draft/<id> instead of /. The thread still doesn't open, so the security property holds. This is new behavior, and it presumably comes from upstream's index and new-thread changes.
Not verified
- Sidebar jump hints in a client. The default
mod+N bindings are when: "… && isDesktop", on both master and upstream, so web never shows them; only a desktop build does, and I didn't run one. The jump-hint code (Sidebar.logic.ts, keybindings.ts, shortcutModifierState.ts, SidebarThreadRow.tsx, shared/keybindings.ts) is identical to upstream at head, and apps/web/src/keybindings.test.ts passes 50/50.
- Opening a board task. This needs a scratch delivery engine, which wouldn't fit in this machine's memory. The live engine on :4321 was left alone.
- Team chat. The toggle only renders with an engine lineup.
apps/web/src/components/delivery/ is byte-identical to master.
- Mobile, the desktop shell, and real seeded data.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Port the queue fixture correction from 59c69c3 so upstream resolves the queue start on the fixture provider.
Co-authored-by: Tevin2119 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
The index starts a draft when a project is available. Isolate stored drafts and assert the resulting route while checking that hidden and archived threads stay closed.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|