Skip to content

chore: sync upstream through 291bcc392c - #281

Merged
andrewcai8 merged 198 commits into
mainfrom
sync/upstream-291bcc392c
Nov 6, 2026
Merged

andrewcai8 merged 198 commits into
mainfrom
sync/upstream-291bcc392c

Conversation

@andrewcai8

Copy link
Copy Markdown
Owner

Brings the fork up to upstream 291bcc392c (196 commits since 337c5858c3, upstream CI green on that sha). One new migration: upstream 080 ScheduledTaskThreadMode.

Notable upstream changes

Conflict resolutions (26 files)

  • Scheduled tasks (contracts, server, web, mobile): the contract keeps the fork's target and upstream's threadMode. A cloud-target task can only use new_thread: its chat lives on the cloud machine, so this server has no thread to keep between runs. The server refuses cloud + continue/fresh_session (or a bound thread) with the existing "must start a new chat" message, and the web and mobile editors hide those combinations (scheduledTaskDestinationRules on web, cloudTargetAllowed/threadModeForTarget on mobile, each with a focused test).
  • ProjectionStore: upstream's single batched recovery read (perf(server): batch projection recovery reads into one query pingdotgg/t3code#31842) wraps the fork's index-hinted live-row subqueries (recoveryTurnItems, INDEXED BY).
  • ProviderInstanceRegistryHydration: upstream's initialSettings watcher is passed from the fork's layerWithDrivers.
  • ws.ts / bin.ts: upstream's withOutputWindow rename and __speech-worker command, alongside the fork's Home/Fleet services and fork-exec.
  • client-runtime shell: upstream's authoritativeOmission key replaces the per-session ref; the fork's followHostChat takes it.
  • Usage-limit recovery (web banner, mobile card): upstream's new action layout with the fork's "Switch account" action re-added.
  • Mobile: upstream moved the workspace sidebar to layout/workspace/; the fork's useNewThreadNavigation and cloud machine status stay wired, and the server-controls screen keeps the fork's Approvals section.
  • package.json/knip.jsonc: upstream's split knip passes plus the fork's case:check and ignored deps; lockfile regenerated from upstream's.

Merge-caused fixes outside conflicts: ForkMigrations.test.ts pins upstream 080; ws.test.ts builds upstream's new push test from CoreWsRpcGroup; mobile Stack.tsx and two import paths follow upstream's moves; shell-sync.cloud.test.ts fixture gets environment.serverVersion; two Storage settings descriptions shortened for upstream's 200-character rule.

agentContextBudget.json rises (MCP tool list 54109 → 54730 bytes, from upstream's new tools), so this needs agent-context-increase.

Verification

  • vp run typecheck: contracts, client-runtime, server, web, mobile, shared, desktop all clean.
  • Tests: server scheduled tasks, projection store/recovery, provider hydration, ForkMigrations, AgentContextBudget, ws, OrchestratorMcpService (291 pass); client-runtime full suite (1999 pass); mobile unit + react suites (3387 pass); targeted web logic tests.
  • vp lint on all 690 fork-changed TS files, vp run knip:check.

Not verified locally

  • apps/web and apps/desktop full suites and browser tests (left to CI; they overload the Mac).
  • SQLite query plans for the batched recovery read on a large database.

🤖 Generated with Claude Code

saphid and others added 30 commits November 5, 2026 11:38
…eopened long threads (pingdotgg#31182)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…nch argument (pingdotgg#30690)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…#25312)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… content snapshots (pingdotgg#11869)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tgg#31403)

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…in (pingdotgg#31226)

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… run (pingdotgg#30326)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…om under the pointer (pingdotgg#30346)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rive letter (pingdotgg#22534)

Co-authored-by: Alb11747 <40252880+Alb11747@users.noreply.github.com>
…3445)

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

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
…rver reports (pingdotgg#28781)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
…tgg#28800)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Mr-Neutr0n and others added 23 commits November 6, 2026 04:41
… instead of ignored (pingdotgg#30973)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…en character (pingdotgg#30390)

Co-authored-by: maria-rcks <maria@kuuro.net>
…output colours (pingdotgg#21542)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…ingdotgg#31815)

Keep deferred settlement requests through automatic follow-up turns and retry from persisted run events, including replayed rejected commands. Preserve failed follow-ups and new user input, and guard settlement against newer runs.

Validated with 173 focused tests through check:changed, all CI checks on e1a41f6, and resolved agentic reviews.

Model: GPT 6.1 Sol. Harness: Codex in T3 Code.
…1799)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…tgg#31801)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…gg#31842)

Combine the ten runtime recovery collections into one SQLite statement, leaving the initial thread lookup separate. Preserve collection filters, ordering, decoding and ordered reconciliation after prior commits.

Extend startup/shutdown idempotency coverage and guard against full message and run history scans. Synthetic stress measurements show fewer database requests; overall desktop quit latency remains unmeasured.

Implemented with GPT 6.1 Sol through the Codex harness in T3 Code.
… tiles (pingdotgg#28223)

Co-authored-by: Priyansh4444 <105874877+Priyansh4444@users.noreply.github.com>
Co-authored-by: Tanner Polley <42780259+tannerpolley@users.noreply.github.com>
Co-authored-by: Maria <maria-rcks@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewcai8 andrewcai8 added the agent-context-increase Accept agent context growth in agentContextBudget.json label Nov 6, 2026
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ The exact PR base did not have a successful artifact. Baseline uses the latest successful main measurement shown below.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 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 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 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 ✅

Baseline: e911faa · PR result: 995541e · 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.

…ling

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewcai8
andrewcai8 merged commit 649ab7f into main Nov 6, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accept agent context growth in agentContextBudget.json 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.