Repository navigation
chore: sync upstream t3code 9d28fc921b (v0.1.10) - #258
Conversation
Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…es (pingdotgg#37117) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…er launch (pingdotgg#29734) Co-authored-by: maria-rcks <maria@kuuro.net>
…ngdotgg#30832) Co-authored-by: maria-rcks <maria@kuuro.net>
pingdotgg#32764) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#33288) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: maria-rcks <maria@kuuro.net>
…37113) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#37116) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…7103) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#37104) Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tgg#37133) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#37121) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…37139) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#37149) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…names (pingdotgg#37152) Co-authored-by: lowlyleon <183293296+lowlyleon@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ory has none (pingdotgg#37161) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…w 413 HTML (pingdotgg#37156) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ker in the same session (pingdotgg#37165) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…put pipe to a sibling (pingdotgg#37180)
…otgg#37193) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#37873) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…choice (pingdotgg#37853) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ious push (pingdotgg#37864) Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Brings Ada up to upstream 9d28fc9 (v0.1.10 and nightlies through 2026-11-17) from the last sync point 580b526. Conflicts are resolved by intent: Ada branding, no T3 Connect/relay/telemetry, the device network, top-level-only notifications and the fork's fixes since #246 are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stream sync Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Restore SidebarControl's router, the useEffectEvent import and the threadParentRelationship import the merge dropped. - Fork-only inputs (embeddedSurfaceRef, composerFormRef, renameSession, the Codex replay runtimePolicy slot, local projects) added to upstream's new tests; relay and compaction fields removed from them. - The listed-ancestor helper accepts the child-chat fields isListedThread reads. - Un-export the PR sync quiet intervals, use Effect.fn for the launcher reader, and merge the duplicated attempts fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This PR changes the test suite by +924 test cases (browser +96, unit +475, server +353). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
…ream sync The merge took upstream's settle-time unwatch, which deleted watches the fork parks on settled threads (16801d3). Keep upstream's limit-recovery disarm. The upstream watch-start test now mocks requiredChecks, which the fork's watch needs before it reports checks passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e merge - New upstream update-menu, device, pull request, SSH and docs text said T3 Code. - Peer links keep the fork's "T3 Code · " session prefix, which TailnetDevices and existing linked machines key on. - Choosing the stock theme now stores an empty theme (upstream pingdotgg#36724); up's hint says Ada. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… after the upstream sync - Reader startup waits use the caller's mask, so masked read-only work queued for a reader is not interrupted while a worker reports ready. - Tests expect the fork's plural reader-pool log wording. - runMigrations splits a legacy fork ledger only when work is pending, so a no-op recheck takes no write lock (query_only databases). - The Safari URL.canParse fallback test uses an explicit hosted app URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merged MCP tool descriptions add 43 bytes to the tool list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e upstream sync - thread.settle keeps upstream's limitRecovery disarm but writes null when there is none, so a replayed settle receipt matches the live one. - The checkout-retry test gives its base ref a commit; upstream pingdotgg#31747 otherwise re-bases it onto origin/main. - The beyond-window find test checks parse reuse instead of upstream's 128-row load batch count; the fork's search cache loads in one pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rom the Agents route test The Azure repository-without-project message says Ada, so the upstream test now expects that. AgentsRoutes collapses the chat sidebar and left the persisted open state in localStorage, so a later browser file on the same origin (AppSidebarLayout's shortcut test) started collapsed on CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…screen Mock the fork-only ListFilterMenu and agent-profile imports that pulled uniwind's web build into the test, and drive the fork's Type menu instead of upstream's SegmentedControl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Brings Ada up to upstream pingdotgg/t3code
9d28fc921b(v0.1.10 plus nightlies through 2026-11-17). The last sync (#246) stopped at580b526758, so this takes in 910 upstream commits. It's one real merge commit (d1969553f4) plus fix-up commits, not a rebase. Every conflict was resolved by intent, never by blanket ours/theirs.What stays Ada
APP_NAME, "Ada Agents",CLI_RELEASE_REPOSITORY→jayleaton/ada,install.sh/install.ps1and the update paths, the fork nightly (FORK_PRODUCT_NAME), the Windows exe naming, and the update notes generator (fix(release): Ada nightlies list their changes instead of T3 fork text #247) are all unchanged. New upstream "T3 Code" strings becameAPP_NAME/Ada: the SSH device host message, the peer-link sign-in label, the timeline heading, the turn start failure, CLI service/update hints, and the theme eval case.install.shandada installtake upstream's launcher scripts (fix(install): launch t3 by absolute path pingdotgg/t3code#13794) for bothadaandt3.ada updatenow also finds anadalauncher on PATH.LinkedEnvironments*tests were removed with the components the fork had deleted.tailont3_thread_read, two-ledger migrations, and the Tailscale Serve port selection.Fork fixes since #246 vs upstream's equivalents
untilBackgroundWorkEndsuntilBackgroundWorkEndsis still forwarded to peers.t3_thread_wait10 min default / 60 min maxtimedOut(it asks for 60 s, which is now clamped to 45 s), and the cap protects MCP clients the fork doesn't tune. Forwarded waits now use one call instead of 50 s pieces.Upstream security fixes
EnvironmentAuth,McpOAuth,ServerEnvironmentand contractsauth.ts.existing_worktree): taken in the MCP project launch handler.upstream/mainare fork additions.Conflicts (192) and how they were resolved
cloud/,relay/,guest/,telemetry/,cli/connect.ts,infra/relay, webcloud/guest,relayTracing,LinkedEnvironments*,t3-connect-troubleshooting.md): kept deleted. Upstream's new tests for those modules were deleted too.selectThread,findThread,delegatedFrom,pinOrderKey) with the fork's additions beside it, sofeat/thread-history-trimcan rebase onto it. Settlement takes the fork's rules plus fix(server): skip settlement cleanup for deleted threads pingdotgg/t3code#37833 (deleted threads skip cleanup). Unsettle keeps the fork's idle-clock restart and honours upstream'srestoreUnsettledAt. Listing uses the fork'sisListedThreadinstead ofisDelegatedAppThread, so child chats spawned by tasks stay listed. ProviderTurnStart takes upstream's start-failure settlement and resume, with no turn analytics.delegatedFrom. The fork'senvironmentRouting,includeArchived, agent profiles andauthorizeMessageare kept. Tool descriptions are Ada-branded, with no Connect wording.connecthints,layerRelayClientandmcpHostedApproval/requestMetadata.ws.tstakesserverGetSettingsand skips compression on the desktop's local connection (perf(server): skip compression for the desktop's local connection pingdotgg/t3code#30832), without client analytics. Peer forwarding takes fix(server): a linked launch above the link's access names the link, not the parent mode pingdotgg/t3code#27334 link-access checks.ChatViewkeeps the fork's extracted composer surface with upstream's prop changes. The sidebar takes fix(web): an open delegated task selects its parent's sidebar row pingdotgg/t3code#37500's listed-ancestor highlighting, fixed to keep child chats on their own row. Scheduled tasks take fix(web): confirm before deleting scheduled tasks pingdotgg/t3code#23578 (delete confirmation) and fix(web,mobile): bound scheduled tasks no longer offer a model their runs ignore pingdotgg/t3code#36628 (thread-bound model), and keep the fork's agent destination.useDefaultThemecombines the fork'st3-coderevert with fix(server): agents can switch T3 Code back to the stock theme pingdotgg/t3code#36724.runtime.tsstays relay-free.nodeSqliteClientkeeps the fork's reader pool and takes upstream'sNOT_WAL, iterator cleanup and fix(shared): the SQLite reader pool comes back after a failed start pingdotgg/t3code#30818 retry.handoffBudgetcombines fork fix(server): long threads recover missed requests instead of failing every turn #91 with upstream fix(provider-core): handoff work reserve fits small context windows pingdotgg/t3code#32598. Contracts take fix(auth): bind automatic pairing codes to peer links pingdotgg/t3code#37825 and drop Connect device approval.promptLinkshas no hosted-app default.recoverRenderer), file drag and the audio restart. Marketing takes upstream's site split, pointed at jayleaton/ada. The EAS production workflow takes upstream's shared composite actions without the R2 sourcemap step.pnpm-workspace.yaml/pnpm-lock.yaml.@cursor/sdk1.3.1 and the new pins are taken.@clerk/expo-native-componentsis left out, and a duplicateunenvoverride is removed. The lockfile is regenerated: 1,224 relay and Clerk lines lighter than upstream's.Deliberately excluded upstream changes
T3CODE_TELEMETRY_ENABLEDshell passthrough)t3 connectparts, pingdotgg#27479, pingdotgg#32859 (Clerk modal Esc), pingdotgg#29760/pingdotgg#29764/pingdotgg#30718 guest-link fixes, pingdotgg#37289 linked-env task logos in ConnectclientAnalyticsProps,turnAnalytics.runSettledmcpHostedApproval, DPoP renewal, relay "renewed session"sourcemaps-r2)Telemetry grep
On added lines (
origin/main..HEAD, excluding tests and the lockfile), grepping forposthog|sentry|telemetry|analytics|connect.t3|t3.codes|clerk|relay.|observe.|crashReportfinds:ResourceTelemetryDiagnostics(process CPU/memory panel, no network), a desktop update type namedDesktopTelemetryRequest…, a dev-runner message, and one comment.T3CODE_TELEMETRY_ENABLEDshell-environment passthrough (fix(desktop): relay tracing honors a telemetry opt-out from the login shell pingdotgg/t3code#37792).scripts/check-removed-connect: green ("no T3 Connect, upstream analytics or upstream hosts found").pnpm-lock.yamlhas 0@clerk/,posthogor@sentry/entries.Checks
check:changedagainstorigin/main(TMPDIR=/tmp, vite-plus Node 26). Format, lint, knip, typecheck (41 packages), graphql, removed-connect and the React compiler all pass. The local test stage (777 files) ran 1,224 s. Its failures were triaged against CI's Linux runs. About 25 files fail only on this Mac (symlinked/tmp, machine load, Node SQLitestatement.stat) and pass on CI.check-removed-connectgreen, fork guards 31/31, upstream migrations 96 with ids kept, brand guard green.SidebarControl's router,useEffectEvent,threadParentRelationship.limitRecoveryfalls back tonull.query_onlydatabases no longer fail.embeddedSurfaceRef,composerFormRef,renameSession, the Codex replayruntimePolicy, local projects, required checks) and Ada's strings. The fork'sAgentsRoutesbrowser test no longer leaks a collapsed sidebar into the next file.mcpToolListJsonBytesgrows by 43 bytes (62309 → 62352), from the merged MCP tool descriptions. The other two values are unchanged. Theagent-context-increaselabel is added.packages/mcp-gatewaysharedGateway.test.ts("read ECONNRESET"). The package is unchanged by the merge, and the same failure shows on main runs 43715622963 and 43559747630.vp run devon fresh isolated state (the live database is over 500 MiB, so it wasn't seeded):fork-nightly-release.yml) are unchanged and say "Ada Nightly" / "Maintenance build of Ada".Needs JJ
privacy-policy.astro,terms-of-service.astroandsecurity-policy.astrostill describe T3 Tools, T3 Connect and app.t3.codes. They were already like that onorigin/mainand this sync doesn't touch them, but they're user-facing.schedule_task/webhookUrldescriptions, the theme tool and guide, and the title prompts (fix(provider-core): thread title instructions override the generic title limits pingdotgg/t3code#37565). The evals inevals/README.mdwere not run: this checkout has no provider API key.Merge Danger
Door: two-way. It's a merge commit, so reverting it restores
5d0e480b30. Upstream migrations 092–096 are additive and keep upstream ids.Blast Radius: everything. Server orchestration, MCP tools, the CLI and installers, and the web, mobile and desktop clients all change.
feat/thread-history-trim-20261117will need to rebase onto this.Model: Claude Opus 5.5 (Claude Code), with Opus subagents for the conflict slices.
🤖 Generated with Claude Code