GeezerVison is showing github.com — chore: sync upstream t3code (6f8282c2c8) by jayleaton · Pull Request #313 · jayleaton/ada
Conversation
jayleaton
commented
Nov 24, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Brings in pingdotgg/t3code main up to 6f8282c2c8, which is 725 commits on top of our last sync base 391f93fc8f. The PR is a merge commit, so every resolution can be reviewed. It follows docs/operations/upstream-sync.md.
Upstream features and fixes pulled in
- Durable workflows on server, web and mobile: a
workflows folder, runs, webhook triggers, the command palette and a Labs toggle (feat(server): durable workflows pingdotgg/t3code#38882, feat: workflows on web and mobile pingdotgg/t3code#38884).
- Projects across several repositories: multi-repo projects (feat(projects): a project covers several repositories pingdotgg/t3code#35925), and Linear issues from several teams (feat(issues): a project can list issues from several Linear teams pingdotgg/t3code#40023).
- Linked environments:
- MCP improvements:
- Desktop: Apple Speech dictation (feat(desktop): dictate on this Mac with Apple Speech pingdotgg/t3code#34027), and reload / duplicate tabs in the browser.
- Web: the sidebar shows the environment on thread rows; sidebar folder and New buttons; a hover card on thread chips; copy a table as HTML; a separate HTML preview width setting; secret show/hide; Verilog and VHDL highlighting.
- Mobile: a favorites-only filter, a close button for the Android terminal, and test files hidden in the review sheet.
- Server and CLI:
- feature flags come from
T3CODE_FEATURE_FLAGS;
thread start --generate-title;
thread show gives the reason for a failed run;
policy settings;
- a TanStack Source forge behind a flag;
- stacked PRs auto-merge through
includeStack;
- issues follow GitHub's issue statuses;
- server-metrics tooling.
- Dependencies: Effect 4.1.5 and Cursor SDK 1.4.2.
- Fixes: about 590 upstream fixes, across reconnect and session handling, PR watch, provider recovery, settlement, CLI install and update, and i18n.
- Migrations: upstream migrations 103–111 keep upstream's ids (
check-upstream-migrations passes, and scripts/upstream-migrations.json is regenerated).
Skipped on purpose (and why)
- T3 Connect, relay, Clerk, guest links. Removed per
upstream-sync.md. Modify/delete conflicts on manifest paths were resolved by deleting the file. Also dropped:
- upstream's new Connect wiring in ws, server, auth, peer, desktop, mobile and the CI workflows (Clerk/relay env, mobile source-map R2 upload);
- the Clerk header rule in the new
RemoteRequestHeaders;
relaySigning. stableStringify now comes from @t3tools/shared/stableStringify.
- Upstream's Environments map (
EnvironmentsMap*, environmentsMap.logic*). It is built on T3 Connect machine discovery, so Ada keeps its own machines list. Added to scripts/removed-connect-paths.json.
- Agent feedback (feat: agents can report T3 Code problems when you turn feedback on pingdotgg/t3code#35871), newly documented as removed in
upstream-sync.md. It sends reports to the T3 team as a PostHog agent.feedback analytics event. Removed: the service, the MCP toolkit, the CLI, the setting, the runtime instructions, and the web and mobile cards. Kept, so data shared with T3 Code in ~/.t3 still decodes: migration 108_AgentFeedback, the feedback_request turn-item schemas, and a timeline that skips those items.
- Analytics and telemetry (
withToolAnalytics, analytics mocks, the telemetry docs sections), compaction UI (the keep-full-history toggle, compaction in planComposerTurn), and the root SECURITY.md audit guide (upstream security policy and contacts). upstream-sync.md now names the root SECURITY.md.
- Upstream's pruned docs. Taken, with numbered
docs/internals/NN_* and docs/operations/NN_*, except 06_t3-connect, 08_product-analytics, 02_connect-setup and 05_relay-observability. Those are deleted and added to the manifest. Ada's earlier doc edits (no Connect, device network, children vs subagents, auto-settle, trace sampling) were ported into the numbered successors. Fork-only docs are linked from docs/README.md and AGENTS.md.
- Pull-request settlement machinery. Ada removed PR-merge settlement on purpose (c892280). Ada's settlement is kept, plus two compatible upstream fixes: no auto-settle while a terminal is running a program, and a warning when a skipped settle script finds its worktree gone.
Conflicts and how they were resolved
There were 269 conflicted files: 221 content conflicts, 33 delete-vs-modify, 13 docs that upstream deleted but Ada had edited, and 2 add/add.
-
Agent profiles, skills and threadTask:
ProviderTurnStartService keeps Ada's profile and skill injection, plus upstream's typed-result instructions.
runtimeLayer keeps todo and threadTask, and adds workflows, peers, issues and task folders.
Orchestrator keeps Ada's lock wrapper, parent-link locking, child detach and settle cascade. Upstream's wait for the latest checkpoint before a fork runs inside it.
isListedThread also hides workflow steps.
-
MCP gateway: McpHttpServer keeps upstream's wrapper chain (spans, compact results), without analytics, and Ada's tool order, webhook transport and peer toolkit. RpcAuthorization and clientRpcPermissions merge both scope sets: agentGateway, tailnet, todos and threadTasks, plus upstream's peer link, history and workflow methods.
-
Computer use:
- Claude and Codex adapters keep the computer-use instructions.
- The Codex full-access auto-accept also needs upstream's new conditions: no sandbox policy and no network-policy change.
- Desktop keeps
ComputerHostWorker next to upstream's DesktopBackendRecoveryWorker.
-
Push: kept in contracts and RPC.
-
Command Code: kept in the provider list in docs and AGENTS.md.
-
Release pipeline: kept fork-* workflows and Ada repository, signing and release targets, while taking upstream job fixes:
- the
ci.yml test list is merged;
- Vercel secrets moved to the deploy step;
- mobile EAS builds use upstream's reusable workflow, without source-map upload.
build-desktop-artifact.ts keeps the gateway exclusion and APP_NAME usage strings, and adds upstream's Apple Speech exclusion.
-
Restart and update: restart requests carry Ada's update-pause fields and upstream's cause: "provider_exit". DesktopBackendManager uses upstream's trackProcess and keeps Ada's pause-for-update stream. bootService uses upstream's prepare/restart steps, without the Connect restart marker.
-
Packages and config:
client-runtime and shared package.json exports are the union of both sides.
- The pnpm catalog moves to Effect 4.1.5 and drops Clerk and relay-only entries.
- The lockfile is regenerated.
tailscale.ts awaits upstream's now-async executable resolver.
-
Branding: new upstream user-facing copy and CLI hints read Ada and ada. The peer-link client prefix T3 Code · stays so peers still recognise each other.
-
i18n: catalogs were merged by key and regenerated. The 22 new strings are translated in all 9 web and mobile locales, and i18n:check passes.
Verification
vp run check:changed: format, lint, knip, typecheck (44 packages), removed-connect, unused patches, graphql, react compiler and node tests all pass. Tests beside the changes: 17,693 passed and 46 failed on this Mac. Three were real (upstream tests that didn't match Ada's behaviour: webhookAddress, OrchestratorMcpService.schedules, ThreadPullRequestService) and are fixed. The rest are environment-only and reproduce outside the merge: Node 24 vs the pinned 26, the macOS /tmp → /private/tmp symlink, a case-insensitive disk, bash 3.2, and macOS ps -E. Worth watching on Linux CI: GitVcsDriver.test.ts bulk staging (git version) and the file-watcher tests.
- Fork guards: all 31 pinned tests are unchanged. The guard tests for the touched fixes pass (fix(client-runtime): ride out packet-loss bursts on mobile tailnet connections #106, fix(auth): LAN and tailnet routes no longer need T3 Connect after an hour #108, fix(server): reset unresponsive WebSocket clients and stop resending agent instructions and skills #110, fix(tailscale): never take over or remove a tailnet route another live server owns #128, fix: switching from T3 Code to T3 Agents keeps data, pairing and updates working #207, fix: Ada no longer reports to upstream T3 services #245).
- Targeted tests for the conflicted areas pass: server orchestration (about 1,700 tests), server MCP, auth, CLI and peer, web logic and browser tests, client-runtime, desktop, mobile, provider packages and evals.
- Leftover greps from
upstream-sync.md have two remaining hits, both on purpose:
- guest-share milestone compatibility (
milestones.ts, OrchestrationMilestones.ts), which decodes old guest events;
apps/web/deps/README.md, which links the pingdotgg/pierre dependency fork, not t3code.
- Brand names: the brand test in
scripts/upstream-install-commands.test.ts caught upstream copy that still said T3 Code, the T3 home and t3 workflow. It now names Ada (APP_NAME), and the test passes.
🤖 Generated with Claude Code. Model: Claude Opus 5.5, harness: Claude Code in Ada.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Merge upstream/main into Ada. T3 Connect, analytics (including agent
feedback), the upstream Environments map, compaction UI and upstream
security pages stay removed; fork features win where they overlap.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This PR changes the test suite by +2091 test cases (browser +119, unit +1463, server +509).
New browser test files: apps/web/src/browserHistoryStore.browser.test.ts, apps/web/src/components/Sidebar.motion.browser.test.ts, apps/web/src/components/auth/PairingRouteSurface.browser.test.tsx, apps/web/src/components/pullRequest/PullRequestsColumn.browser.test.tsx, apps/web/src/components/settings/OpenSourceLicenses.browser.test.tsx, apps/web/src/components/settings/SnoozePresetsSettings.browser.test.tsx, apps/web/src/components/ui/search-input.browser.test.tsx, apps/web/src/components/workflows/WorkflowRunsView.browser.test.tsx, apps/web/src/lib/imageCompression.browser.test.ts, apps/web/src/lib/pageTranslationGuard.browser.test.tsx, apps/web/src/lib/selectionActions.browser.test.ts.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.
Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The upstream sync brought server messages, the workflows guide and a
translator context that named T3 Code, the T3 home and `t3 workflow`.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…denied computer step waits for its task
With Effect 4.1.5 a scoped fork starts later. The remote settlement sweep
then ran after the worker's first failure and requeued it, and the
computer test read status before the approval existed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread transfer impact
✅ Thread transfer remains within every enforced ceiling.
| Provider |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
Total thread wire |
5.0 KiB |
5.0 KiB |
+29 B (+0.6%) |
6.8 KiB |
✅ |
| Codex |
Thread snapshot wire |
3.8 KiB |
3.8 KiB |
+29 B (+0.7%) |
4.9 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
1.2 KiB |
1.2 KiB |
0 B (0.0%) |
2.0 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
21.5 KiB |
21.5 KiB |
0 B (0.0%) |
24.4 KiB |
✅ |
| Codex |
Live turn messages |
1 |
1 |
0 (0.0%) |
8 |
✅ |
| Claude |
Total thread wire |
5.0 KiB |
5.0 KiB |
+29 B (+0.6%) |
6.8 KiB |
✅ |
| Claude |
Thread snapshot wire |
3.8 KiB |
3.8 KiB |
+29 B (+0.7%) |
4.9 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
1.2 KiB |
1.2 KiB |
0 B (0.0%) |
2.0 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
21.9 KiB |
21.9 KiB |
0 B (0.0%) |
24.4 KiB |
✅ |
| Claude |
Live turn messages |
1 |
1 |
0 (0.0%) |
8 |
✅ |
Other scenarios
4 of 64 scenario measurements changed or failed.
| Provider |
Scenario |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
fleet shell snapshot |
HTTP decoded |
42.4 KiB |
42.4 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Codex |
stale shell reload |
HTTP decoded |
42.4 KiB |
42.4 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Claude |
fleet shell snapshot |
HTTP decoded |
43.0 KiB |
43.0 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Claude |
stale shell reload |
HTTP decoded |
43.0 KiB |
43.0 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
All 64 scenario measurements
| Provider |
Scenario |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
short turn resume |
WebSocket decoded |
10.5 KiB |
10.5 KiB |
0 B (0.0%) |
12.7 KiB |
✅ |
| Codex |
short turn resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
long turn running, cold open |
HTTP decoded |
281.7 KiB |
281.7 KiB |
0 B (0.0%) |
302.7 KiB |
✅ |
| Codex |
long turn running, cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
long turn running, history page |
HTTP decoded |
92.4 KiB |
92.4 KiB |
0 B (0.0%) |
107.4 KiB |
✅ |
| Codex |
long turn running, history page |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
long turn finished, cold open |
HTTP decoded |
381.5 KiB |
381.5 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Codex |
long turn finished, cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket decoded |
381.6 KiB |
381.6 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
long turn finished, socket cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Codex |
long turn finished, work page |
HTTP decoded |
186.2 KiB |
186.2 KiB |
0 B (0.0%) |
200.2 KiB |
✅ |
| Codex |
long turn finished, work page |
rows |
150 |
150 |
0 (0.0%) |
150 |
✅ |
| Codex |
idle thread resume |
WebSocket decoded |
65 B |
65 B |
0 B (0.0%) |
200 B |
✅ |
| Codex |
idle thread resume |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Codex |
fleet shell snapshot |
HTTP decoded |
42.4 KiB |
42.4 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Codex |
fleet shell snapshot |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Codex |
fleet shell subscribe |
WebSocket decoded |
65 B |
65 B |
0 B (0.0%) |
200 B |
✅ |
| Codex |
fleet shell subscribe |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Codex |
fleet shell resume check |
HTTP decoded |
18 B |
18 B |
0 B (0.0%) |
100 B |
✅ |
| Codex |
fleet shell resume check |
rows |
0 |
0 |
0 |
0 |
✅ |
| Codex |
stale shell reload |
HTTP decoded |
42.4 KiB |
42.4 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Codex |
stale shell reload |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Codex |
stale shell resume |
WebSocket decoded |
140 B |
140 B |
0 B (0.0%) |
400 B |
✅ |
| Codex |
stale shell resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
HTTP decoded |
72.4 KiB |
72.4 KiB |
0 B (0.0%) |
83.0 KiB |
✅ |
| Codex |
stale todo list cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
stale todo list cold open |
nodes |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Codex |
stale todo list cold open |
subagents |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Codex |
stale todo list cold open |
plans |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
providerTurns |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
checkpoints |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
short turn resume |
WebSocket decoded |
10.6 KiB |
10.6 KiB |
0 B (0.0%) |
12.7 KiB |
✅ |
| Claude |
short turn resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
long turn running, cold open |
HTTP decoded |
283.3 KiB |
283.3 KiB |
0 B (0.0%) |
302.7 KiB |
✅ |
| Claude |
long turn running, cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
long turn running, history page |
HTTP decoded |
93.4 KiB |
93.4 KiB |
0 B (0.0%) |
107.4 KiB |
✅ |
| Claude |
long turn running, history page |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
long turn finished, cold open |
HTTP decoded |
384.2 KiB |
384.2 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Claude |
long turn finished, cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket decoded |
384.3 KiB |
384.3 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
long turn finished, socket cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Claude |
long turn finished, work page |
HTTP decoded |
188.1 KiB |
188.1 KiB |
0 B (0.0%) |
200.2 KiB |
✅ |
| Claude |
long turn finished, work page |
rows |
150 |
150 |
0 (0.0%) |
150 |
✅ |
| Claude |
idle thread resume |
WebSocket decoded |
66 B |
66 B |
0 B (0.0%) |
200 B |
✅ |
| Claude |
idle thread resume |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Claude |
fleet shell snapshot |
HTTP decoded |
43.0 KiB |
43.0 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Claude |
fleet shell snapshot |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Claude |
fleet shell subscribe |
WebSocket decoded |
66 B |
66 B |
0 B (0.0%) |
200 B |
✅ |
| Claude |
fleet shell subscribe |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Claude |
fleet shell resume check |
HTTP decoded |
18 B |
18 B |
0 B (0.0%) |
100 B |
✅ |
| Claude |
fleet shell resume check |
rows |
0 |
0 |
0 |
0 |
✅ |
| Claude |
stale shell reload |
HTTP decoded |
43.0 KiB |
43.0 KiB |
+20 B (+0.0%) |
53.7 KiB |
✅ |
| Claude |
stale shell reload |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Claude |
stale shell resume |
WebSocket decoded |
140 B |
140 B |
0 B (0.0%) |
400 B |
✅ |
| Claude |
stale shell resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
HTTP decoded |
73.4 KiB |
73.4 KiB |
0 B (0.0%) |
83.0 KiB |
✅ |
| Claude |
stale todo list cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
stale todo list cold open |
nodes |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Claude |
stale todo list cold open |
subagents |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Claude |
stale todo list cold open |
plans |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
providerTurns |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
checkpoints |
1 |
1 |
0 (0.0%) |
2 |
✅ |
Baseline: bba9c24 · PR result: 23486ee · Source CI: success
Scenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
|