Skip to content

chore(sync): merge main 51c47827df into proto/fullscreen-panels - #293

Merged
orbitingflea merged 290 commits into
proto/fullscreen-panelsfrom
sync/proto-fullscreen-panels-20261124
Nov 24, 2026
Merged

orbitingflea merged 290 commits into
proto/fullscreen-panelsfrom
sync/proto-fullscreen-panels-20261124

Conversation

@orbitingflea

Copy link
Copy Markdown
Owner

Behaviour change

Behaviour change: no
This merge adds only main changes and keeps the prototype.

Why

Merge main 51c47827df into proto/fullscreen-panels so the prototype runs on current main. Main adds 289 commits since PR #266.

What changed

221ea6eed45 merges main into b44d3c3d38 from 48f6dc0911. Main adds upstream e9c952495c, migration 111, PR #284, #289, and #275. PR #216, #277, and #288 stay.

Three conflicts in apps/web/src/components keep both sides:

Scope

The target is proto/fullscreen-panels, not main. Scripts verified 911 main-only, 138 prototype-only, and 21 shared paths, 3 by hand. Other added lines stay.

Tradeoffs

A merge keeps history and avoids a force-push. Use fast-forward or merge commit so main commits do not replay or flatten.

Blast Radius

Only this branch and its prototype build change. Reset to b44d3c3d38 and redeploy to undo.

Verification

Typecheck passed 43 packages and 8 apps built. Hooks passed format, lint, and knip. check:changed passed those, React Compiler, and 1328 tests in 79 files. Two reviews found no issues and ran 74 browser test files. Two tests timed out in parallel and pass alone.

shivamhwp and others added 30 commits November 22, 2026 23:11
…fter sending (pingdotgg#41270)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…1269)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ts (pingdotgg#23180)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… names (pingdotgg#41301)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#33869)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ting on (pingdotgg#31449)

Co-authored-by: Kazuya Hibara <267899283+Kazuya-Hibara@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#41318)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#32768)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…, not per subscriber (pingdotgg#41309)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e agent as text (pingdotgg#41340)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#36286)

Co-authored-by: Shantanu Ojha <shantanuojha@Shantanus-MacBook-Pro.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…indow (pingdotgg#41252)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
juliusmarminge and others added 15 commits November 23, 2026 19:19
… shows the file in its folder (pingdotgg#41877)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…out (pingdotgg#41880)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…progress (pingdotgg#41884)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…er management (pingdotgg#41886)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…mes what grew (pingdotgg#41831)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…r first session (pingdotgg#41850)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Git's mechanical merge of upstream/main, conflict markers left in. The next commit resolves these 17 conflicted files:

- apps/server/src/git/GitManager.test.ts
- apps/server/src/mcp/McpHttpServer.ts
- apps/server/src/mcp/OrchestratorMcpService.ts
- apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts
- apps/server/src/orchestration-v2/ProviderSessionManager.test.ts
- apps/server/src/orchestration-v2/ProviderSessionManager.ts
- apps/server/src/orchestration-v2/ProviderTurnStartService.test.ts
- apps/server/src/orchestration-v2/ProviderTurnStartService.ts
- apps/server/src/provider/agentContextBudget.json
- apps/server/src/vcs/GitVcsDriverCore.ts
- apps/web/src/components/chat/MarkdownFileLink.tsx
- apps/web/src/components/chat/MessagesTimeline.tsx
- apps/web/src/components/chat/TimelineAssistantRows.tsx
- apps/web/src/components/files/PdfViewer.tsx
- docs/internals/overview.md
- docs/internals/providers.md
- docs/orchestration-v2/orchestrator-mcp-server.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve the 17 conflicts that commit A left from merging upstream
e9c9524, and fix what the merge broke elsewhere. This is stage 1 of
a staged catch-up: one fork change is dropped for now (below).

Each conflict keeps upstream's code and puts the fork's change back on
top. Where both sides changed one behaviour:

- Upstream pingdotgg#41490 keeps a compaction or manual continuation busy like a
  turn, which the fork's startBusyTurn did for account-change restarts.
  Upstream's busyTurn replaces it; the fork keeps releaseIfAccountChanged.
- Upstream pingdotgg#41184 keeps the reading position when side panels resize.
  The chat timeline keeps the fork's reader line, which covers that case
  and more; running both made two correctors pull on one scroll node.
  Upstream's helper still serves the composer. Its timeline test waits
  until the scroll has settled, as the reader line requires.
- Upstream pingdotgg#41537 keeps a PDF's place on resize; the fork's restore echo
  and saved width stay on top.
- Upstream pingdotgg#41317 removes the changed-files card under assistant turns;
  the fork's edited mark and sub-thread reply line stay.
- Upstream pingdotgg#41552 captures MCP tool results for providers that drop
  them. The fork's send_to_user goes through it; upstream's capture test
  calls the fork's tool. A Chat-mode reply, ack or rewrite succeeds with
  no result the capture keeps, so it records an empty result: a refused
  call with the same arguments can then no longer pass its error to a
  delivered reply. The ACP adapter keeps a result the provider reported
  over an empty recovered one.
- Upstream pingdotgg#41362 finishes a run when the provider turn ends, not after
  checkpoint capture. The fork's per-attempt checkpoint capture id (a
  run restarted by a late steer still completes) breaks upstream's
  steering tests and its own pin no longer holds, so this stage drops it
  and its pin; a follow-up decides whether it is still needed.
- Upstream pingdotgg#41307 shows a queued message whose cancelled run had
  started. The fork's Chat history and sub-thread counts take the same
  rule, and the display-mode wrap test models a cancelled queued turn as
  never started.
- Upstream pingdotgg#41330 deletes three internal docs that the fork had extended;
  they stay deleted, and the fork's notes from them (outbox order, the
  Antigravity summarization recovery, the `fyi` send mode) move to the
  fork-only fork/docs/internals.md.

Fork tests follow upstream's new interfaces (setup-script runner,
Antigravity profile directory, removed onOpenTurnDiff, hasCompletedRun),
and agentContextBudget.json holds the measured values.

Upstream adds database migration 111_SupersededRunAttemptIndex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A steer can read a run as running, and the run's provider turn can then
end before the steer commits its restart. The restarted attempt must give
the run its checkpoint, and a Stop that lands before the restarted turn
starts must keep the first attempt's checkpoint. Today the restarted
attempt's capture is dropped, so the run ends with no checkpoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… checkpoint

The turn-end checkpoint capture used the run id as its outbox effect id.
When a late steer restarted a run whose turn had just ended, the restarted
attempt's capture reused that id and the outbox dropped it, so the run
ended with no checkpoint and was not offered as the latest fork point.

Key the capture effect id by run attempt, at turn end and at Stop. The
command id stays per run, so the capture's commit receipt and startup
recovery are unchanged, and the readers added with run completion at turn
end now find a run's unsettled capture by that command id, which also
finds rows queued before this change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
File link folders now default to 2 (one folder + file name). The walk
goes up the full folded path and stops early at the thread machine's
home (`~/`), at POSIX root (`/`) or at a Windows drive root (`C:/`),
showing fewer folders than the setting there. The server reports its
home in a new optional ServerConfig.homeDirectory; the web client reads
it per environment through an atom holding only that string. Workspace
files no longer stop at the workspace root, but a link written relative
to the workspace (which may open a search match) shows only the folders
it names. Unexpanded `~/` links are read against the reported home, and
on a Windows server Git Bash `/c/...` paths are read as `C:/...`. Links
ending in `.`, `..` or a bare `~`, and any copy of a repeated file name,
get no prefix; a home at `/` or a drive root draws the root marker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings the prototype branch up to main after the 2026-11-24 upstream
catch-up (#284, #289) and #275 (file link path depth). Three files
conflicted:

- ChatView.tsx: keeps the prototype's onOpenToolDiff only when the
  parent panel has one, and takes main's removal of onOpenTurnDiff
  with the changed-files card (upstream pingdotgg#41317).
- RightPanelTabs.tsx: the tab context menu keeps the prototype's
  withChatClosing items and passes main's contextMenuSourceOf(event)
  so keyboard-opened menus start on their first action (pingdotgg#41674).
- useRightPanelActions.ts: takes main's deletion of onOpenTurnDiff;
  onOpenToolDiffStable keeps the prototype's fromPrimaryChat wrap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 24, 2026
@github-actions

Copy link
Copy Markdown

This PR changes the test suite by +391 test cases (browser +49, unit +184, server +158).

New browser test files: 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/ProjectIconPickerDialog.browser.test.tsx.
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.

@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Nov 24, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 5.0 KiB — 6.8 KiB ✅
Codex Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Codex Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Codex Live turn WebSocket decoded — 21.5 KiB — 24.4 KiB ✅
Codex Live turn messages — 1 — 8 ✅
Claude Total thread wire — 5.0 KiB — 6.8 KiB ✅
Claude Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Claude Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Claude Live turn WebSocket decoded — 21.9 KiB — 24.4 KiB ✅
Claude Live turn messages — 1 — 8 ✅

Other scenarios

No main baseline exists yet for these 64 scenario measurements.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded — 10.5 KiB — 12.7 KiB ✅
Codex short turn resume WebSocket messages — 2 — 2 ✅
Codex long turn running, cold open HTTP decoded — 281.7 KiB — 302.7 KiB ✅
Codex long turn running, cold open rows — 75 — 75 ✅
Codex long turn running, history page HTTP decoded — 92.4 KiB — 107.4 KiB ✅
Codex long turn running, history page rows — 75 — 75 ✅
Codex long turn finished, cold open HTTP decoded — 381.5 KiB — 410.2 KiB ✅
Codex long turn finished, cold open rows — 151 — 151 ✅
Codex long turn finished, socket cold open WebSocket decoded — 381.6 KiB — 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Codex long turn finished, socket cold open rows — 151 — 151 ✅
Codex long turn finished, work page HTTP decoded — 186.2 KiB — 200.2 KiB ✅
Codex long turn finished, work page rows — 150 — 150 ✅
Codex idle thread resume WebSocket decoded — 65 B — 200 B ✅
Codex idle thread resume WebSocket messages — 1 — 1 ✅
Codex fleet shell snapshot HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex fleet shell snapshot rows — 27 — 27 ✅
Codex fleet shell subscribe WebSocket decoded — 65 B — 200 B ✅
Codex fleet shell subscribe WebSocket messages — 1 — 1 ✅
Codex fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Codex fleet shell resume check rows — 0 — 0 ✅
Codex stale shell reload HTTP decoded — 42.4 KiB — 53.7 KiB ✅
Codex stale shell reload rows — 27 — 27 ✅
Codex stale shell resume WebSocket decoded — 140 B — 400 B ✅
Codex stale shell resume WebSocket messages — 2 — 2 ✅
Codex stale todo list cold open HTTP decoded — 72.4 KiB — 83.0 KiB ✅
Codex stale todo list cold open rows — 75 — 75 ✅
Codex stale todo list cold open nodes — 2 — 4 ✅
Codex stale todo list cold open subagents — 2 — 4 ✅
Codex stale todo list cold open plans — 1 — 2 ✅
Codex stale todo list cold open providerTurns — 1 — 2 ✅
Codex stale todo list cold open checkpoints — 1 — 2 ✅
Claude short turn resume WebSocket decoded — 10.6 KiB — 12.7 KiB ✅
Claude short turn resume WebSocket messages — 2 — 2 ✅
Claude long turn running, cold open HTTP decoded — 283.3 KiB — 302.7 KiB ✅
Claude long turn running, cold open rows — 75 — 75 ✅
Claude long turn running, history page HTTP decoded — 93.4 KiB — 107.4 KiB ✅
Claude long turn running, history page rows — 75 — 75 ✅
Claude long turn finished, cold open HTTP decoded — 384.2 KiB — 410.2 KiB ✅
Claude long turn finished, cold open rows — 151 — 151 ✅
Claude long turn finished, socket cold open WebSocket decoded — 384.3 KiB — 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Claude long turn finished, socket cold open rows — 151 — 151 ✅
Claude long turn finished, work page HTTP decoded — 188.1 KiB — 200.2 KiB ✅
Claude long turn finished, work page rows — 150 — 150 ✅
Claude idle thread resume WebSocket decoded — 66 B — 200 B ✅
Claude idle thread resume WebSocket messages — 1 — 1 ✅
Claude fleet shell snapshot HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude fleet shell snapshot rows — 27 — 27 ✅
Claude fleet shell subscribe WebSocket decoded — 66 B — 200 B ✅
Claude fleet shell subscribe WebSocket messages — 1 — 1 ✅
Claude fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Claude fleet shell resume check rows — 0 — 0 ✅
Claude stale shell reload HTTP decoded — 43.0 KiB — 53.7 KiB ✅
Claude stale shell reload rows — 27 — 27 ✅
Claude stale shell resume WebSocket decoded — 140 B — 400 B ✅
Claude stale shell resume WebSocket messages — 2 — 2 ✅
Claude stale todo list cold open HTTP decoded — 73.4 KiB — 83.0 KiB ✅
Claude stale todo list cold open rows — 75 — 75 ✅
Claude stale todo list cold open nodes — 2 — 4 ✅
Claude stale todo list cold open subagents — 2 — 4 ✅
Claude stale todo list cold open plans — 1 — 2 ✅
Claude stale todo list cold open providerTurns — 1 — 2 ✅
Claude stale todo list cold open checkpoints — 1 — 2 ✅

Baseline: unavailable · PR result: 221ea6e · Source CI: failure

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.