Skip to content

perf(control-ui): admit the cached chat pane with its first mount on warm reloads - #189760

Merged
steipete merged 9 commits into
mainfrom
steipete/coldload-transcript-late-paint
Nov 1, 2026
Merged

steipete merged 9 commits into
mainfrom
steipete/coldload-transcript-late-paint

Conversation

@steipete

@steipete steipete commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

A signed-in warm reload can mount its chat pane before a valid cached snapshot is ready. The cached parent breadcrumb and archived footer then arrive after the first header sample, inserting 144.219 px of identity content and replacing the generic composer with a shorter archived footer.

Why This Change Was Made

Start the existing scoped snapshot read and validation immediately after early Gateway startup, in parallel with application-module loading. The pane's existing first-mount boundary joins only the matching boot prewarm, for at most 100 ms. An already prepared snapshot is adopted synchronously before the pane attaches. Connect stays first; no pre-hello requests are added.

The late-only prewarm path and duplicate boot-record read policy are removed. The early chat prewarm is separated from sidebar-only code; shared preparation and the bounded admission wait remain in the snapshot store that consumes them. There is one snapshot owner, with unchanged serialized shape. The integration preserves the landed sidebar deletion/invalidation behavior and per-record malformed-cache retirement. Runtime growth is 65 lines across eleven UI modules, justified by the bounded first-mount join and idempotent early preparation. No new store, inline-script data path, config option, server schema or protocol change.

User Impact

Matching warm reloads admit the cached breadcrumb and archived footer with the first pane mount, avoiding their later insertion/contraction. The chat benchmark also paints first transcript rows earlier.

This is a partial admission improvement. It does not fix the complete-page first-paint gate, boot skeleton/paint holding, remaining reconnect/session-menu movement, board/row/image geometry, or sidebar invalidation. Short or ambiguous routes whose target differs from the saved last-session key retain the existing asynchronous fallback; this PR does not fix that case. The first-header observations below are DOM/rAF samples, not proof of a complete compositor frame. Dashboard Element Timing receipts were unavailable; no dashboard row-paint improvement is claimed.

Evidence

Quiet AWS c7a.4xlarge, lease cbx_5dc3b6e9b9ee (released), observed 16 CPUs/30 GiB RAM. Repository Chromium, Team-scale fixture, archived session with parent breadcrumb, live-fast profile, unprofiled. 11 interleaved pairs plus 11 A/A pairs on each route. Measurements used runtime source 7d0b79237d65acb8c32f64e80f89492194501da0 against 31b6b8a1817c6f09c6854d92b3c3b55d17f3189f; later source revisions preserve the same admission contract while separating early chat preparation from sidebar code and locating pane-only admission in the snapshot store. The current chat confirmation below was rerun after integrating the landed snapshot invalidation fix. The same pane-chrome probe ran in both arms; the candidate bundle used its regenerated boot manifest.

Latest runtime confirmation after upstream integration

Current and measured head fd1048953c301a99c1f3907af8cb20c6a49ff919, exact base 177fe32dfdd77152780442a4c13a806d26d088fc. Quiet AWS c7a.4xlarge, lease cbx_ddaa82569481 (released), observed 16 CPUs/30 GiB. Run receipt. Eleven alternating A/B pairs plus eleven A/A pairs on chat, the same archived long-Markdown Team-scale fixture, operator sidebar shape and live-fast profile, unprofiled. No tests or transfers ran during captures. All thirteen source/metadata hashes match the committed head; both manifests were regenerated by the owner CLI, the candidate manifest matches the committed file, and the working tree is clean. This is the requested one-route confirmation after the snapshot owner changed upstream; no new dashboard timing result is inferred.

Latest chat metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired median [Q1,Q3] Better / worse
First rows, Element Timing (ms) 464 [458,472] 364 [364,368] −96 [−108,−88] 11 / 0
First header, DOM/rAF (ms) 179.2 [176.5,183.6] 179.6 [178.45,182.75] +1.1 [−5.05,+4.45] 5 / 6
Hello handled (ms) 528.6 [523,536.1] 522.7 [521.2,524.8] −3.7 [−10.55,−2.25] 10 / 1
FCP (ms) 88 [88,92] 88 [88,94] 0 [0,4] 2 / 5
Final live rows, DOM (ms) 802.1 [794.4,814] 796 [783.55,819.95] −10.1 [−21.9,15.45] 7 / 4
LoAF blocking (ms) 119 [117.5,128.5] 109 [104,118] −12 [−13.5,−0.5] 8 / 3
Snapshot bytes 52,234 52,230 −4 11 / 0

Breadcrumb and archived footer: 0/11→11/11 each. Identity insertion 144.219→0 px, footer contraction 26→0 px, all eleven. First-header facts plus zero subsequent snapshot-region movement pass 11/11. First-header timing, FCP, hello and LoAF have no declared regression signal against A/A. The four-byte snapshot difference is fixture serialization variation; record fields and serialization/write logic are unchanged, so it is not a structural saving. All 44/44 captures have one connect, zero non-connect RPCs before its raw response, and no missing paint receipts, truncated probes, harness warnings or queued/pending RPCs. Independent raw-data and source-hash audit confirms these results. The independent 32 px session-menu step remains.

Earlier-load byte tradeoff, canonical same-toolchain comparison Base Candidate Delta
Initial JS gzip 89,521 B 90,189 B +668 B (+0.75%)
Complete chat boot gzip 1,272,249 B 1,272,126 B −123 B
Complete New Session boot gzip 780,989 B 781,017 B +28 B
Initial / chat / New JS requests 3 / 20 / 15 3 / 20 / 15 0 / 0 / 0

Starting the scoped read and validation earlier redistributes bytes into the initial graph. The original startup gate failed at 90,111 B against 89,930 B; that failure is retained, not labeled passing. After extracting sidebar-only code and keeping pane-only admission with the consuming store, the exact 90,111 B measurement was recorded as a narrow, source-verified exception under the repository testing policy. The 512 B growth allowance, 64 B build-variance allowance and fixed maximum remain unchanged. The rebased candidate passes the strict gate at 90,189 B, 78 B above the recorded measurement and below the unchanged 90,687 B enforcement limit; this 78 B is not described as build variance. No baseline allowance or test-line ceiling is raised by this integration.

Accepted original both-route comparison

The following retained results qualify both routes before the later startup-byte repairs; the latest runtime confirmation above covers chat, as requested. No complete-page first-paint pass is inferred from either dataset.

Admission observation Before After
Breadcrumb in first header sample, chat / dashboard 0/11 / 0/11 11/11 / 11/11
Archived footer in first header sample, chat / dashboard 0/11 / 0/11 11/11 / 11/11
Identity insertion, both routes 144.219 px 0 px in 22/22
Footer contraction, chat / dashboard 26 / 23 px 0 / 0 px in 22/22
Snapshot bytes, chat / dashboard 52,233 / 51,918 unchanged (+0 B)
Metric, median [Q1, Q3] ms Chat before → after Dashboard before → after
First rows, Element Timing 468 [462,468] → 364 [364,370] 416 [416,428] → unavailable
First-header paired delta +0.4 (within A/A) 0 (within A/A)
Hello handled 527.5 [524.35,534.5] → 520.8 [519.25,521.95] 569.2 [559.95,579.4] → 539.7 [536.3,546.15]
FCP 92 [92,92] → 92 [88,92] 88 [86,92] → 92 [88,92]
Final live rows, DOM 835.6 [817.85,886.35] → 804.5 [792.15,811.6] 814.9 [806.3,833.75] → 791.6 [786.1,809.8]
LoAF blocking 126 [115,141] → 120 [109,130.5] 125 [117.5,131] → 109 [98,113]
CLS 0.022912 → 0.002882 0.006266 → 0.002195

Chat first-row paired median is −100 ms, 11/11 better. FCP paired median is 0 ms on both routes. Hello and LoAF have no regression signal beyond the A/A controls. Across the independent benchmark and real-Gateway captures, all 176 warm reloads used one connect and zero non-connect requests before its response.

The independent synthetic real-Gateway filmstrips still show incomplete replacement surfaces and later layout/content changes, so no stable complete-page first-paint pass is claimed. Real-Gateway timings use a different shaping profile and are not pooled with the native benchmark. The partial admission gate is the scope of this PR; the complete-page gate remains follow-up work.

Validation

The exact current head passes all ten affected owner-unit files and all six native bridge cases on the quiet comparison box, cbx_ddaa82569481. The parameterized bridge regression protects ready-before-mount and bounded release on a stalled read, and fails on the old runtime at the intended premature-header assertion. No test-only production seam is introduced.

All changed test files pass through pnpm test <file> --maxWorkers=1 (via Corepack on AWS). These are command wall times, not performance comparisons.

Changed test file Result Wall
ui/src/app/bootstrap.snapshot-prewarm.test.ts pass 12 s
ui/src/pages/chat/chat-history-warm-startup.test.ts pass 7 s
ui/src/pages/chat/chat-pane-bridge.test.tsx pass 7 s
ui/src/pages/chat/route-snapshot.test.ts pass 6 s
ui/src/pages/chat/session-snapshot-prewarm.test.ts pass 4 s
ui/src/pages/chat/session-snapshot-store.test.ts pass 5 s

Application-source autoreview is clean through P2, including integration with the landed invalidation fix. The earlier module extraction, shared credential policy, store-owned bounded wait, generated manifest and metadata follow-up were also reviewed clean. The hosted review completed on exact head fd1048953c301a99c1f3907af8cb20c6a49ff919 with no findings; there are no inline findings.

On the exact current head, all six benchmark/probe harness files and all five touched-area native UI e2e files pass: browser bootstrap (24 s), bootstrap UI preferences (23 s), pane snapshot state (27 s), snapshot routing (41 s), and header owner presence (27 s). The strict bundle-byte gate, generated-manifest comparison, UI/Gateway builds, core/UI/script type checks, formatting, lint and the other changed-file ratchets pass. Validation used AWS c7a.8xlarge, lease cbx_01d5241843b1 (released), observed 32 CPUs/61 GiB. The larger validation runner is justified by the earlier kernel-confirmed 30 GiB combined-lint memory kill; performance comparisons remain on c7a.4xlarge.

node scripts/check-changed.mjs --base origin/main exits 1 (1,220 s command wall time), solely on the global unused-export scan: scripts/lib/release-publication-watch.mts: observePublication. The production-source scan has zero unused exports. A main control at 26546c07a7205393f5e307521c241a3efb088e26 reproduces the same release-tooling export failure. This is recorded as an inherited failure, not a green changed-file gate.

The full current-head UI result is 881 passed / 5 failed / 3 skipped files, 3,349 passed / 8 failed / 4 skipped cases; the complete file list is below. All failures have matching-signature main controls:

Failed area Current-head signature Main control
mobile-sidebar-session-menu.e2e.test.ts (2 cases) Widths 80 vs 52 (+28 px), 205 vs 201 (+4 px) Exact same two assertions and values on 177fe32dfdd77152780442a4c13a806d26d088fc
session-management.trailing-state.e2e.test.ts (3 cases) Text width 165 vs 193 (twice); icon center 279 vs 251 Exact same three assertions and values on 177fe32dfdd77152780442a4c13a806d26d088fc
profile-page.real-gateway.e2e.test.ts (1 case) Hero retains agent fallback instead of the synthetic user's name at line 171 Exact same assertion, received/expected values and line on 177fe32dfdd77152780442a4c13a806d26d088fc
chat-outbox-migration.e2e.test.ts (1 case) Initial-roster readiness timeout at line 162 Same readiness error, 10 s timeout and line on 26546c07a7205393f5e307521c241a3efb088e26
QA automation management real-Gateway file (1 case) Private POSIX mutation-boundary guard Same error and guard stack on 26546c07a7205393f5e307521c241a3efb088e26

The first three controls ran one file at a time on the exact branch-base main revision, not a claim about the latest moving main: AWS c7a.4xlarge, lease cbx_f45ec3bebe9d (released), observed 16 CPUs/30 GiB, control run. Gateway build passes; command wall times are 38 s / 25 s / 226 s. All three test-source hashes are identical on pinned main, the candidate full run and the current worktree. Post-control head is unchanged, source status is clean, and no test Gateway listener remains. The other controls used AWS c7a.4xlarge, lease cbx_add2eeef9964 (released), main-control run. No security guard, readiness assertion or geometry expectation was weakened.

Exact-head CI is red, with inherited failures classified above. Run 41266715301 completed on fd1048953c301a99c1f3907af8cb20c6a49ff919: 41 successful jobs, 2 failed jobs, 24 skipped. The only failing test job is checks-ui-e2e (1/7), job 124731230790: the same five sidebar geometry cases in the first two rows. The second failed job is the dependent openclaw/ci-gate, not another test failure. Its failed-job log was fetched once and compared with the main control. No CI rerun, branch update or unrelated source change was made to chase green. All jobs are terminal; no passing-CI claim is made.

Change and test budget

Application runtime: +65 lines (251 additions / 186 deletions), bridge regression: +77, benchmark/probe/runbook tooling: +276, generated boot-module data: +8. The startup baseline update has zero net lines. The exact requested campaign diff filter reports 714 additions / 288 deletions (+426), 20 files, because it retains tooling and .test.tsx; application runtime is counted separately. Growth is required by the bounded matching first-mount join and early authorized preparation; the late-only path and duplicate boot-record policy are deleted. The parameterized native bridge cases share setup; no test-line ceiling or allocation is changed. The current-head test-line gate passes at 6,365,276 lines against the unchanged 6,384,217 ceiling (18,941 lines of headroom).

Synthetic screenshots

These inspected before/after screenshots from the preceding measured revision show the settled synthetic viewport; the later repairs change preparation ownership, with the same pane DOM/CSS. They establish the retained final appearance, not the transient first-header timing; the sampled admission and movement results are in the tables above.

Before: settled synthetic baseline

After: settled synthetic candidate

Original both-route comparison: all A/A and A/B distributions and per-pair deltas

Timing columns are milliseconds; CLS is unitless and snapshot deltas are bytes. Source: retained raw benchmark JSON. First-header observations are DOM/rAF samples.

comparison · chat

Metric Base median [Q1,Q3] Candidate median [Q1,Q3] Paired delta [Q1,Q3] Better / worse
Hello 527.5 [524.35,534.5] 520.8 [519.25,521.95] -10.1 [-12.55,-1.8] 9 / 2
FCP 92 [92,92] 92 [88,92] 0 [-2,0] 3 / 1
First rows 468 [462,468] 364 [364,370] -100 [-106,-94] 11 / 0
Live rows 835.6 [817.85,886.35] 804.5 [792.15,811.6] -32.4 [-88,-7.5] 8 / 3
LoAF 126 [115,141] 120 [109,130.5] -7 [-21.5,6] 7 / 4
CLS 0.023 [0.022,0.023] 0.003 [0.003,0.003] -0.02 [-0.02,-0.019] 11 / 0
Snapshot B 52233 [52233,52233] 52233 [52233,52233] 0 [0,0] 0 / 0
First header 179.8 [177.1,187.85] 178.7 [177.55,182.6] 0.4 [-8.55,3.2] 5 / 6
Pair Hello Δ FCP Δ First rows Δ Live rows Δ LoAF Δ CLS Δ Snapshot B Δ First header Δ
1 2.5 4 -84 22.1 -12 -0.018 0 3.3
2 0.5 -4 -100 32.6 4 -0.019 0 3.1
3 -20.2 0 -112 -131.5 -17 -0.02 0 3.1
4 -10.1 0 -104 -47.3 -38 -0.02 0 -7
5 -2.7 0 -96 -123.9 -4 -0.02 0 -0.8
6 -0.9 0 -84 -20.6 31 -0.02 0 -10.1
7 -22.5 0 -108 -29.1 14 -0.02 0 -12.2
8 -6.1 0 -96 -64.3 -26 -0.02 0 8.5
9 -12.8 -4 -92 5.6 8 -0.019 0 0.4
10 -10.6 0 -112 -111.7 -31 -0.02 0 6.3
11 -12.3 -8 -104 -32.4 -7 -0.019 0 -15.2

comparison · dashboard

Metric Base median [Q1,Q3] Candidate median [Q1,Q3] Paired delta [Q1,Q3] Better / worse
Hello 569.2 [559.95,579.4] 539.7 [536.3,546.15] -24.4 [-30.25,-22.8] 11 / 0
FCP 88 [86,92] 92 [88,92] 0 [0,4] 1 / 4
First rows 416 [416,428] n/a [n/a,n/a] n/a [n/a,n/a] 0 / 0
Live rows 814.9 [806.3,833.75] 791.6 [786.1,809.8] -12.9 [-30.8,-7.55] 10 / 1
LoAF 125 [117.5,131] 109 [98,113] -19 [-31,-11] 10 / 1
CLS 0.006 [0.006,0.006] 0.002 [0.002,0.002] -0.004 [-0.004,-0.004] 11 / 0
Snapshot B 51918 [51918,51918] 51918 [51918,51918] 0 [0,0] 0 / 0
First header 178.4 [177.9,179.25] 180.4 [176.75,184.7] 0 [-2.1,3.15] 5 / 5
Pair Hello Δ FCP Δ First rows Δ Live rows Δ LoAF Δ CLS Δ Snapshot B Δ First header Δ
1 -37.6 0 n/a -12.9 14 -0.004 0 -1.5
2 -23.6 12 n/a -33.8 -34 -0.004 0 3.8
3 -26.4 0 n/a 6.6 -4 -0.004 0 -6.7
4 -24.9 8 n/a -8.7 -8 -0.004 0 1.8
5 -23.2 0 n/a -9.8 -24 -0.004 0 0
6 -22.4 4 n/a -4.8 -19 -0.004 0 9.9
7 -24.4 0 n/a -27.8 -15 -0.004 0 8.2
8 -21.5 4 n/a -6.4 -28 -0.004 0 -2.5
9 -55.7 0 n/a -61.1 -38 -0.004 0 -3.8
10 -22.4 0 n/a -18.5 -35 -0.004 0 -1.7
11 -34.1 -8 n/a -53.7 -14 -0.004 0 2.5

aa · chat

Metric Base median [Q1,Q3] Candidate median [Q1,Q3] Paired delta [Q1,Q3] Better / worse
Hello 525.2 [522.2,536.35] 533 [524.9,538.25] 1.6 [-5.05,9.95] 4 / 7
FCP 92 [88,92] 92 [92,92] 0 [0,4] 2 / 4
First rows 464 [462,476] 472 [466,478] 4 [-2,8] 3 / 7
Live rows 828.2 [808.45,832.7] 827 [801.65,840] 9 [-19.3,12.6] 4 / 7
LoAF 127 [118.5,135.5] 121 [117.5,123.5] -6 [-13.5,6] 7 / 4
CLS 0.023 [0.023,0.023] 0.023 [0.022,0.023] 0 [-0.001,0] 4 / 2
Snapshot B 52235 [52235,52235] 52235 [52235,52235] 0 [0,0] 0 / 0
First header 182.8 [177.7,187.05] 184.5 [180.45,186.95] 5.1 [-5.15,6.8] 4 / 7
Pair Hello Δ FCP Δ First rows Δ Live rows Δ LoAF Δ CLS Δ Snapshot B Δ First header Δ
1 1.6 0 4 -85.1 -11 -0.001 0 -12.1
2 11.6 0 8 10.5 11 0 0 6.9
3 9.1 0 -4 9 13 -0.001 0 -4.4
4 -7.1 4 -4 -11.1 -16 0 0 -5.9
5 -5.9 0 4 14.7 -24 0 0 2.5
6 21.4 8 16 30.8 -25 0.001 0 19.1
7 1.1 4 4 5.6 -1 0 0 -13.7
8 -16.8 0 -24 56.2 -8 0.001 0 6.3
9 7.3 -4 20 -34.8 5 -0.001 0 6.7
10 -4.2 -4 0 -27.5 7 -0.001 0 10.7
11 10.8 8 8 9.2 -6 0 0 5.1

aa · dashboard

Metric Base median [Q1,Q3] Candidate median [Q1,Q3] Paired delta [Q1,Q3] Better / worse
Hello 562.5 [550.3,575.15] 562.5 [548.5,575.7] -2.6 [-10.55,9.45] 7 / 4
FCP 88 [84,90] 88 [84,90] 0 [-4,4] 4 / 4
First rows 416 [400,416] 416 [404,418] 0 [-8,2] 5 / 3
Live rows 807.7 [789.2,825.15] 802.5 [794,813.25] 9.7 [-29.2,24.7] 5 / 6
LoAF 115 [108,131] 111 [101,122.5] -12 [-22,10.5] 7 / 4
CLS 0.006 [0.006,0.006] 0.006 [0.006,0.006] 0 [0,0] 1 / 1
Snapshot B 51917 [51917,51917] 51917 [51917,51917] 0 [0,0] 0 / 0
First header 178.1 [177.15,179.05] 178.4 [177.65,182.5] 0.3 [-0.5,2.65] 4 / 7
Pair Hello Δ FCP Δ First rows Δ Live rows Δ LoAF Δ CLS Δ Snapshot B Δ First header Δ
1 20.9 4 -40 9.7 -42 0.008 0 -4.2
2 21.8 0 20 25.5 11 0 0 0.9
3 -2.6 4 56 27 38 0 0 6.4
4 -12 0 -16 -36.7 -38 0 0 0.3
5 -6.8 -4 0 -53.6 -24 0 0 -0.2
6 12.5 0 0 23.9 10 0 0 0.3
7 -9.1 -4 -4 -43.7 -18 0 0 -1.9
8 -0.7 -4 0 65.5 78 0 0 0.6
9 -22.5 -4 -4 -21.7 -20 0 0 -0.8
10 6.4 4 4 11.2 -12 -0.017 0 4.4
11 -13 12 -12 -2.4 -2 0 0 4.4
Current rebased chat confirmation: all A/A and A/B distributions and per-pair deltas

First-pane admission analysis

  • First header/app observations are DOM/rAF samples. Neither FCP nor transcript Element Timing identifies the first app-chrome compositor surface.
  • Legacy paneChrome data can omit geometry-only changes. Strengthened frames with paneFacts retain geometry/fact changes independently of hashes. Coverage is stated per run; neither form establishes compositor-frame coverage.
  • Transcript presence in first header state is DOM visibility. No same-painted-frame or <=16.7ms result is inferred from it.
  • paneFacts.archivedFooter records replacement-banner class presence; the fixed fixture establishes archived status, not the class itself. genericComposer records node presence. Legacy classification is explicitly inferred. Native behavior/pixel proof owns visible pixels.
  • 144px breadcrumb-admission and 32px menu-slot labels are geometry-compatible attribution. Menu-slot movement is independent of snapshot admission; report it separately.
  • finalRowsLiveDomMs preserves L263 first live transcript publication; it is not final row layout settlement.
  • Secondary regression flags are signals; use same-box A/A controls and causal evidence before acceptance/rejection. Snapshot growth must be assessed separately against its budget.

comparison: chat

Source: retained per-run benchmark JSON.

11 interleaved pairs: true; complete recorded probe data: true; identical bundle arguments: false.

Metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired median [Q1,Q3] Better / worse
helloHandledMs 528.600 [523.000, 536.100] 522.700 [521.200, 524.800] -3.700 [-10.550, -2.250] 10 / 1
fcpMs 88.000 [88.000, 92.000] 88.000 [88.000, 94.000] 0.000 [0.000, 4.000] 2 / 5
firstRowsElementPaintMs 464.000 [458.000, 472.000] 364.000 [364.000, 368.000] -96.000 [-108.000, -88.000] 11 / 0
finalRowsLiveDomMs 802.100 [794.400, 814.000] 796.000 [783.550, 819.950] -10.100 [-21.900, 15.450] 7 / 4
loafBlockingMs 119.000 [117.500, 128.500] 109.000 [104.000, 118.000] -12.000 [-13.500, -0.500] 8 / 3
cls 0.008 [0.008, 0.008] 0.001 [0.001, 0.001] -0.008 [-0.008, -0.008] 11 / 0
snapshotBytes 52234.000 [52234.000, 52234.000] 52230.000 [52230.000, 52230.000] -4.000 [-4.000, -4.000] 11 / 0
Recorded pane metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired median [Q1,Q3] Better / worse
firstHeaderSampleMs 179.200 [176.500, 183.600] 179.600 [178.450, 182.750] 1.100 [-5.050, 4.450] 5 / 6
cacheReadDeltaFromHeaderMs 47.700 [45.300, 50.050] -78.700 [-79.850, -76.700] -127.000 [-131.400, -120.550] 11 / 0
transcriptDomDeltaFromHeaderMs 164.700 [161.000, 166.350] 106.000 [104.950, 110.300] -56.500 [-61.450, -51.300] 11 / 0
transcriptElementPaintDeltaFromHeaderMs 284.800 [277.050, 286.450] 185.500 [184.000, 187.550] -98.700 [-102.500, -84.800] 11 / 0
headerTrailingObservedMaxDeltaPx 176.219 [176.219, 176.219] 32.000 [32.000, 32.000] -144.219 [-144.219, -144.219] 11 / 0
identityObservedMaxDeltaPx 144.219 [144.219, 144.219] 0.000 [0.000, 0.000] -144.219 [-144.219, -144.219] 11 / 0
composerObservedMaxDeltaPx 26.000 [26.000, 26.000] 0.000 [0.000, 0.000] -26.000 [-26.000, -26.000] 11 / 0
composerObservedContractionPx 26.000 [26.000, 26.000] 0.000 [0.000, 0.000] -26.000 [-26.000, -26.000] 11 / 0
First header observation Baseline Candidate
measured 11 11
breadcrumbPresent 0 11
transcriptVisibleInFirstHeaderState 0 11
explicitFactsAvailable 11 11
rowsBreadcrumbReplacementFooterAtFirstHeader 0 11
replacementFooterPresentKnownArchivedFixture 0 11
genericComposerNodePresent 11 0
genericEnabledInput 0 0
archivedBannerCompatibleInference 0 0
noObservedIdentityMotion 0 11
noObservedComposerContraction 0 11
noObservedHeaderTrailingMotion 0 0
independentMenu32pxStep 11 11
firstHeaderFactsAndZeroObservedMovement 0 0
firstHeaderFactsAndZeroSnapshotRegionMovement 0 11
Pair helloHandledMs fcpMs firstRowsElementPaintMs finalRowsLiveDomMs loafBlockingMs cls snapshotBytes
1 3.700 0.000 -84.000 27.600 -12.000 -0.008 -4.000
2 -1.700 4.000 -32.000 -13.500 35.000 -0.008 -4.000
3 -16.000 0.000 -108.000 53.300 11.000 -0.008 -4.000
4 -3.100 0.000 -80.000 -7.800 -13.000 -0.008 -4.000
5 -1.600 4.000 -92.000 -25.200 7.000 -0.008 -4.000
6 -10.600 4.000 -108.000 -104.800 -31.000 -0.008 -4.000
7 -2.800 -4.000 -108.000 25.200 -12.000 -0.008 -4.000
8 -10.500 8.000 -112.000 5.700 -12.000 -0.008 -4.000
9 -17.700 -4.000 -104.000 -10.100 -14.000 -0.008 -4.000
10 -3.700 0.000 -96.000 -20.800 -8.000 -0.008 -4.000
11 -4.500 4.000 -96.000 -23.000 -16.000 -0.008 -4.000

Individual pane facts, rectangle deltas, all observed changes and attribution-compatible steps are retained in admission-analysis.json.

aa: chat

Source: retained per-run benchmark JSON.

11 interleaved pairs: true; complete recorded probe data: true; identical bundle arguments: true.

Metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired median [Q1,Q3] Better / worse
helloHandledMs 528.300 [523.550, 530.100] 525.400 [522.200, 532.800] 1.700 [-5.600, 8.900] 5 / 6
fcpMs 88.000 [86.000, 94.000] 88.000 [86.000, 90.000] -4.000 [-6.000, 2.000] 6 / 3
firstRowsElementPaintMs 464.000 [458.000, 468.000] 464.000 [456.000, 464.000] 0.000 [-6.000, 8.000] 5 / 5
finalRowsLiveDomMs 807.700 [797.700, 812.050] 797.700 [789.300, 827.200] -7.800 [-17.700, 22.100] 8 / 3
loafBlockingMs 119.000 [115.500, 123.000] 126.000 [116.000, 129.000] 4.000 [0.000, 8.500] 3 / 8
cls 0.008 [0.008, 0.008] 0.008 [0.008, 0.008] 0.000 [0.000, 0.000] 0 / 0
snapshotBytes 52230.000 [52230.000, 52230.000] 52230.000 [52230.000, 52230.000] 0.000 [0.000, 0.000] 0 / 0
Recorded pane metric Baseline median [Q1,Q3] Candidate median [Q1,Q3] Paired median [Q1,Q3] Better / worse
firstHeaderSampleMs 179.400 [178.300, 183.250] 179.700 [178.400, 184.350] 0.800 [-5.500, 1.900] 4 / 7
cacheReadDeltaFromHeaderMs 47.500 [44.000, 50.650] 47.600 [43.550, 50.100] -0.200 [-2.300, 2.300] 7 / 4
transcriptDomDeltaFromHeaderMs 159.300 [155.100, 165.300] 162.500 [154.000, 166.900] 0.700 [-8.050, 10.450] 5 / 6
transcriptElementPaintDeltaFromHeaderMs 284.500 [274.550, 285.150] 284.400 [276.800, 285.600] 0.000 [-0.950, 2.850] 5 / 5
headerTrailingObservedMaxDeltaPx 176.219 [176.219, 176.219] 176.219 [176.219, 176.219] 0.000 [0.000, 0.000] 0 / 0
identityObservedMaxDeltaPx 144.219 [144.219, 144.219] 144.219 [144.219, 144.219] 0.000 [0.000, 0.000] 0 / 0
composerObservedMaxDeltaPx 26.000 [26.000, 26.000] 26.000 [26.000, 26.000] 0.000 [0.000, 0.000] 0 / 0
composerObservedContractionPx 26.000 [26.000, 26.000] 26.000 [26.000, 26.000] 0.000 [0.000, 0.000] 0 / 0
First header observation Baseline Candidate
measured 11 11
breadcrumbPresent 0 0
transcriptVisibleInFirstHeaderState 0 0
explicitFactsAvailable 11 11
rowsBreadcrumbReplacementFooterAtFirstHeader 0 0
replacementFooterPresentKnownArchivedFixture 0 0
genericComposerNodePresent 11 11
genericEnabledInput 0 0
archivedBannerCompatibleInference 0 0
noObservedIdentityMotion 0 0
noObservedComposerContraction 0 0
noObservedHeaderTrailingMotion 0 0
independentMenu32pxStep 11 11
firstHeaderFactsAndZeroObservedMovement 0 0
firstHeaderFactsAndZeroSnapshotRegionMovement 0 0
Pair helloHandledMs fcpMs firstRowsElementPaintMs finalRowsLiveDomMs loafBlockingMs cls snapshotBytes
1 -11.700 0.000 16.000 -32.100 4.000 0.000 0.000
2 13.300 0.000 4.000 -10.700 18.000 0.000 0.000
3 11.600 8.000 12.000 -18.200 24.000 0.000 0.000
4 -5.900 -4.000 -4.000 -17.200 -1.000 0.000 0.000
5 -9.000 -4.000 -16.000 -7.800 -11.000 0.000 0.000
6 1.700 4.000 0.000 -0.700 6.000 0.000 0.000
7 2.400 -12.000 -8.000 -2.100 1.000 0.000 0.000
8 9.200 -8.000 -4.000 44.900 7.000 0.000 0.000
9 -5.300 -4.000 -8.000 -23.100 10.000 0.000 0.000
10 -0.400 8.000 4.000 48.400 -17.000 0.000 0.000
11 8.600 -8.000 12.000 74.100 2.000 0.000 0.000

Individual pane facts, rectangle deltas, all observed changes and attribution-compatible steps are retained in admission-analysis.json.

Full UI e2e on the current head

The full suite ran on exact head fd1048953c301a99c1f3907af8cb20c6a49ff919: 881 passed / 5 failed / 3 skipped files; 3,349 passed / 8 failed / 4 skipped cases. This is a failed full run, not a green-suite claim. AWS c7a.8xlarge, lease cbx_01d5241843b1 (released), observed 32 CPUs/61 GiB; run receipt. Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --maxWorkers=4, with real-Gateway and production-artifact skip flags and include overrides unset. All thirteen application-source/metadata hashes match the committed head after the run; the working tree remains clean, and no test Gateway listener remains. The five failed files and all other results are listed below. Their main-control classification is recorded in Validation.

The three wholly skipped files are the desktop-resize fixture, deferred-steer custody fixture and explicitly opt-in live-provider proof. The fourth skipped case is in ui/src/pages/templates/creator-review.e2e.test.ts, whose other cases pass. No live-provider credentials were added for this synthetic run.

Full UI e2e: complete file results (889 files)

All file entries below come from the exact-head full run. Within each group, append the shown suffix to each stem under the shown directory. A passing file can contain an individual skipped case.

Failed (1): extensions/qa-lab/src/, suffix .e2e.test.ts

control-ui-automation-management.real-gateway

Failed (4): ui/src/e2e/, suffix .e2e.test.ts

chat-outbox-migration
mobile-sidebar-session-menu
profile-page.real-gateway
session-management.trailing-state

Skipped (3): ui/src/e2e/, suffix .e2e.test.ts

chat-steer-deferred-custody.real-gateway
deepseek-search.real-gateway
desktop-resize.real-gateway

Passed (3): extensions/qa-lab/src/, suffix .e2e.test.ts

control-ui-media-transcript.real-gateway
control-ui-openclaw-delegation.real-gateway
session-host-command-state.real-gateway

Passed (1): ui/src/, suffix .e2e.test.ts

app.workshop-contract

Passed (850): ui/src/e2e/, suffix .e2e.test.ts

about
action-foreground
activity-answer-candidates
activity-current-work
activity-polish
activity-presence-connections
activity-run-inspector
activity-run-inspector.collection
activity-run-inspector.real-gateway
activity-session-feed.capture
activity-session-git
activity-session-recaps
activity-session-refresh
activity-session-subagents
activity-summaries
agent-channel-runtime-status
agent-config-save
agent-creation-immediate
agent-file-lifecycle
agent-file-lifecycle.real-gateway
agent-github-device-authorization
agent-identity-reconnect
agent-model-fallback-ownership
agent-page-scope
agent-select-avatar-timeout
agent-select-layout
agent-switch-roster
app-chrome-interaction
appearance-accent-selection
appearance-control-layout
appearance-settings-defaults
approval-bootstrap
approval-flow
approval-page
approvals-grants
assistant-panel-context
avatar-initial-emoji
background-presentation
background-startup
background-work.real-gateway
board-fixture
board-mcp-app
board-sandbox-theme
board-split-transcript
boot-module-boundaries
bootstrap-ui-preferences
browser-auth-recovery
browser-bootstrap
browser-capabilities
browser-dictation-status
browser-panel-width
browser-route-handoff
browser-screenshot-body-cancel
browser-stream-startup
browser-tab-preview-urls
browser-talk-microphone-lifetime
browser-talk-ordering
browser-talk-start-stop
browser-talk-start-stop.webrtc-sdp
browser-talk-voice-selection
browser-talk-webkit-error
build-info-unicode
catalog-request-admission
channel-wizard-option-contrast
channels-whatsapp-logout
chat-active-turn-recovery
chat-agent-avatar.real-gateway
chat-agent-run-transcript
chat-async-questions
chat-attachment-announcement
chat-attachment-containment
chat-attachment-errors
chat-attachment-focus
chat-attachment-menu
chat-attachment-read-lifecycle
chat-attachment-remove
chat-attachment-spacing
chat-attributed-identity
chat-audio-transcript
chat-background-invalidation
chat-boot-composer
chat-boot-optional-requests
chat-boot-render-storm
chat-bubble-activity
chat-child-attention
chat-ci-details
chat-cli-history-redaction
chat-close-all
chat-code-block-fences
chat-cold-load-anchor
chat-collaborator-scroll.real-gateway
chat-collapsed-reply-reveal
chat-comment-draft-recovery
chat-comment-lifecycle
chat-comment-pane-retirement
chat-completed-assistant.real-gateway
chat-composer-accessory-focus
chat-composer-boundary
chat-composer-capability-menu
chat-composer-capability-menu-height
chat-composer-catalog
chat-composer-display-snapshot
chat-composer-focus
chat-composer-input-measurement
chat-composer-outbox
chat-composer-picker-layout
chat-composer-pointer-activation
chat-composer-predictions
chat-composer-reconnect
chat-composer-redesign
chat-composer-reverse-tab
chat-composer-size
chat-composer-undo-redo
chat-composer-websearch-kill-switch.real-gateway
chat-content-copy
chat-context-attachment
chat-continue-in-terminal
chat-daybreak-controls
chat-daybreak.real-gateway
chat-details-changes
chat-details-loading
chat-details-panel-navigation
chat-details-pr-loading
chat-details-scrollbar
chat-diagrams
chat-emoji
chat-empty-assistant
chat-error-details
chat-file-editor-recovery
chat-file-links
chat-flow.active-run-follow-ups
chat-flow.automation-prompts
chat-flow.catalog-bootstrap
chat-flow.clipboard
chat-flow.composer-shortcuts
chat-flow.dynamic-catalog
chat-flow.history-issuance
chat-flow.history-recovery
chat-flow.image-handoff
chat-flow.local-media-policy
chat-flow.media-files
chat-flow.messaging
chat-flow.model-picker-refresh
chat-flow.models-reasoning
chat-flow.navigation-presentation
chat-flow.pending-settings
chat-flow.queue-edit
chat-flow.queue-reorder
chat-flow.reactions
chat-flow.session-start
chat-flow.sidebar-presentation
chat-flow.stream-reconciliation
chat-flow.streaming
chat-flow.task-suggestions
chat-footer
chat-github-publication
chat-github-publication-guest
chat-goal-complete-resume
chat-goal-elapsed
chat-goal-recovery
chat-goal-replace
chat-guardian-review
chat-header-axis
chat-header-connection
chat-header-owner-presence.capture
chat-header-session-lineage
chat-header-subagents
chat-header-system-info
chat-heartbeat-activity-rollup
chat-history-loading
chat-history-prepend-anchor
chat-html-csp.real-gateway
chat-html-preview
chat-html-preview-policy
chat-html-publication.real-gateway
chat-image-approval-loading
chat-image-lightbox
chat-image-loading
chat-image-virtual-remount
chat-incognito-expired
chat-interrupted-history
chat-interrupted-reply
chat-json-tree
chat-learned-notice
chat-loading-deadlines
chat-loading-geometry
chat-loading-performance.real-gateway
chat-managed-media-order.real-gateway
chat-markdown-alignment
chat-markdown-table-interactions
chat-media-picker
chat-mention-cache
chat-mention-popover
chat-mention-search
chat-menu-idle-warmup
chat-mermaid-alternatives
chat-mermaid-expand
chat-mermaid-load-errors
chat-message-actions
chat-metadata-observation
chat-mobile-bubble-margin
chat-mobile-environment
chat-mobile-latest-clearance
chat-model-controls
chat-model-picker-composition
chat-model-picker-touch
chat-model-runtime
chat-model-selection-recovery
chat-model-wait
chat-motion
chat-native-runtime-recovery
chat-native-turn-activity
chat-nested-tool-presentation
chat-offline-session-title
chat-omitted-image-placeholder
chat-only-model
chat-outbox-capacity
chat-outbox-payloads
chat-outbox-recovery
chat-outbox-reload
chat-output-image
chat-pane-state-snapshot
chat-panel-layout
chat-pasted-text-show-in-text-field
chat-permission-refresh
chat-person-reference
chat-picker-interaction-contract
chat-placement-recovery
chat-plugin-steering
chat-position-rail
chat-position-rail-layout
chat-position-rail-split
chat-position-rail-visibility
chat-pr-publication-state
chat-pr-refresh-replay
chat-prepared-identity
chat-prepared-silence
chat-project-media.real-gateway
chat-provider-policy-notice
chat-provider-review
chat-pull-requests
chat-queue-edit-conflict-recovery
chat-queue-reorder-recovery
chat-queue-update-reload
chat-quota-pill-93041
chat-rail-columns
chat-reasoning-stream
chat-reasoning-stream-follow
chat-reasoning-visibility
chat-reconnect-continuity.real-gateway
chat-recovered-search
chat-reply-attribution
chat-reply-preview-recovery
chat-resize-anchor
chat-responsive
chat-retained-pane-escape
chat-retained-pane-eviction
chat-retained-pane-hydration
chat-retry-failure
chat-run-lifecycle
chat-saved-attempt-navigation
chat-scope-read-gates
chat-scroll
chat-scroll-dock
chat-selection-to-main
chat-send-ack-ownership
chat-send-pending-handoff
chat-session-activity
chat-session-companion-clear
chat-session-companion-composer
chat-session-companion-focus
chat-session-companion-footer
chat-session-companion-manual-open-focus
chat-session-companion-private.real-gateway
chat-session-companion-retry
chat-session-diff
chat-session-diff-folding.real-gateway
chat-session-discussion-toggle
chat-session-entry
chat-session-file-pdf
chat-session-prefetch-gating
chat-session-read-coalescing
chat-settings-disconnect
chat-side-chat-typography
chat-side-panel-clearance
chat-side-panel-helper
chat-sidebar-open-target
chat-sidebar-panel-contract
chat-skill-library
chat-skill-references
chat-slash-command-ranking
chat-snapshot-route
chat-source-previews
chat-split-close-focus
chat-split-dashboard-face
chat-split-narrow
chat-split-saved-owner
chat-stale-busy-follow-up
chat-startup-priority
chat-startup-progress
chat-startup-wait
chat-steer-deferred-custody
chat-stop-finished-run.real-gateway
chat-stop-long-turn.real-gateway
chat-stop-owned-exec.real-gateway
chat-stop-response-ownership
chat-stream-runtime-budgets
chat-subagent-surfaces
chat-subagent-waiting
chat-submit-responsiveness
chat-subscription-recovery
chat-svg-download
chat-swarm-describe-churn
chat-swarm-history
chat-swarm-lifecycle
chat-system-events
chat-terminal-error-reload
chat-text-attachment
chat-text-selection
chat-thinking-arguments
chat-thinking-metadata.real-gateway
chat-tool-output-fidelity
chat-tool-steering-skip
chat-tool-turn-outcome
chat-transcript-disclosure-anchor
chat-transcript-focus
chat-tts-supplement.real-gateway
chat-uploaded-image-recovery
chat-user-avatar-alignment
chat-user-bubble-disclosure
chat-versions
chat-video-attachment-preview
chat-video-compression
chat-video-gallery
chat-voice-transcript
chat-wait-clock.real-gateway
chat-widget-autosize
chat-widget-guest
chat-widget-retention
chat-widget-sandbox
chat-widget-sandbox.real-gateway
chat-widget-scroll
chat-worked-for-visualization
chat-workspace-directory-race
chat-workspace-downloads
chat-workspace-files
chat-yield-acknowledgment
chat-youtube-embed
chrome-extension-status
claude-sessions
cloud-session-disk-space
cloud-session-placement-identity
cloud-workers-settings
cloud-workers-snapshots
cloud-workspace-conflict
codex-sessions
command-palette-avatars
command-palette-catalog.real-gateway
command-palette-composition
command-palette-create
command-palette-drop
command-palette-first-open
command-palette-images
command-palette-mentions
command-palette-search.real-gateway
command-palette-shortcuts
community-invite-showing
compact-identity-menu
composer-control-ink
composer-draft-store
composer-height
composer-layout
composer-recovery-fences
composer-text-readability
config-controls-visual
config-enum-controls
config-form-defaults
config-form-guidance
config-form-integrity
config-form.real-gateway
config-map-removal-names
config-number-controls
config-open-file-feedback
config-quick-thinking-persistence
config-raw-save
config-required-fields
config-safe-write
connection-settings
control-ui-auth-transports
control-ui-boot-capture
control-ui-build-publication
control-ui-credentials
control-ui-route-readiness
control-ui-shell-routing
control-ui-stale-build-reload
cron-descriptions
cron-duration-save.real-gateway
cron-filters
cron-human-owner.real-gateway
cron-inventory
cron-loading
cron-one-shot-next-run
cron-remove
cron-run-completion
cron-run-feedback
cron-run-filter-typography
cron-run-suppression
cron-search
cron-select-values
cron-trigger-authoring
cron-trigger-filter
cron-validation-focus
csp-jitless
curated-settings-defaults
custodian-auto-setup
custodian-channel-onboarding
custodian-event-nudge
custodian-onboarding-locale
custodian-panel-toggle
custom-snooze
dashboard-cold-load
dashboard-final-reply-recovery
dashboard-fullscreen
dashboard-gallery
dashboard-presentation-defaults
dashboard-session-retention
dashboard-website
dashboards-list-demand
debug-diagnostics
debug-overlay-position
debug-tray-polling
decision-model-settings
desktop-document-mode
desktop-keyboard
desktop-panel
desktop-panel-abandonment
desktop-panel-credentials
desktop-panel-fullscreen
desktop-picture-in-picture
device-alias-rename
device-alias-rename.real-gateway
device-binding-state
device-platform-family.real-gateway
device-scope-upgrade
device-token-reconnect
dynamic-route-loader-count
exec-approvals-dirty-target-switch
external-session-catalogs
file-drop-guard
gateway-foreground-recovery
gateway-retry-feedback
gateway-status
github-link-hovercard
github-panel
guest-personal-groups.real-gateway
guest-self-profile
guest-session-controls
guest-session-rename
guest-welcome-landing
home-attention
home-command-recovery
identity-activity-links
inference-setup-gate
initial-connect-splash
interaction-surfaces
keyboard-shortcuts-focus
lazy-custom-element-recovery
lazy-route-error-layout
link-favicons
link-hover-preview
link-reader-checks
link-reader-loading
linked-session-navigation
lobster-pet
locale-offline-retry
login-gate
logs-autofollow
logs-layout
logs-lifecycle
logs-scroll
managed-image-actions
managed-media-base-path
mantis-chat-proof
markdown-progress-adversarial
mcp-app-conformance
meetings
memory-overview-plugin
memory-overview-source
memory-search-plugin
memory-settings-defaults
memory-settings-engine
meta-muse-picker
mobile-chat-header
mobile-chat-session-menu
mobile-inbox-sheet
mobile-new-conversation
mobile-pairing
mobile-panel-auto-open
mobile-session-panel-persistence
mobile-sheet-motion
mobile-shell-geometry
modal-actions
model-agent-scoping
model-alias-display
model-api-keys.real-gateway
model-catalog-dashboard
model-catalog-partial-refresh
model-catalog-partial-refresh.real-gateway
model-defaults-capabilities
model-defaults-recovery
model-picker-search.real-gateway
model-provider-login
model-provider-read-errors
model-provider-usage-outcomes
model-providers
model-providers-account-status
model-providers-help
model-providers-layout
model-providers-profile-outcomes
model-providers-progressive
model-providers-studio-shape
model-providers.discovery
model-setup
model-setup-activation-feedback
model-setup-cancel
model-setup-codex-sign-in
model-setup-explicit
model-setup-lmstudio
model-setup-reconnect
model-setup-recovery
model-setup-replacement
model-sign-in-unresponsive-gateway
mount-fallback
mount-recovery
native-conversation
native-desktop-appearance
native-desktop-gateways
native-desktop-titlebar
native-device-settings
native-embed-settings
native-link-routing
native-nav-responsive-layout
native-nav-sidebar-toggle
native-notifications-loading
native-page-header-clearance
native-plugin-navigation
native-plugin-ui
native-report-widget
native-session-discovery-settings
native-session-sidebar
new-session-page.agent-identity
new-session-page.attachment-url-lifecycle
new-session-page.capability-menu
new-session-page.catalog-bootstrap
new-session-page.catalog-reconnect
new-session-page.cloud-dispatch
new-session-page.cloud-os
new-session-page.cloud-size
new-session-page.cloud-startup
new-session-page.cloud-startup-failure
new-session-page.cloud-startup.recovery
new-session-page.config-startup
new-session-page.configured-defaults
new-session-page.connect-machine
new-session-page.device-dispatch
new-session-page.device-folder
new-session-page.device-stop
new-session-page.draft-handoff
new-session-page.durable-write-teardown
new-session-page.early-submit
new-session-page.empty-workspace
new-session-page.environment-metadata
new-session-page.environment-picker-loading
new-session-page.fast-mode-preferences
new-session-page.github-projects
new-session-page.host-remediation
new-session-page.hosted-environment
new-session-page.incognito-navigation
new-session-page.input-latency
new-session-page.instant-thread
new-session-page.keyboard
new-session-page.model-catalog
new-session-page.model-picker-spacing
new-session-page.native-destinations
new-session-page.operator-scopes
new-session-page.place-preferences
new-session-page.places
new-session-page.places-live
new-session-page.projects-places
new-session-page.prompt-attachments
new-session-page.provisional-navigation
new-session-page.responsive-welcome
new-session-page.revisit
new-session-page.suggested-cloud
new-session-page.title
new-session-page.transition
new-session-page.workspace-memory
new-session-page.workspace-validation
new-session-pending-sidebar
new-session-session-writer
new-session-sidebar-visibility
nostr-settings-plugin
operator-admin
people-activity-card
people-activity-filters
personal-background
personal-session-groups
phone-stale-build-recovery
placement-error-unicode
plugin-bundled-view-recovery
plugin-inline-view
plugin-inline-view.real-gateway
plugin-tab-slugs
plugins-config-mutation
plugins-credentials
plugins-help
plugins-hub-navigation
plugins-request-ownership
plugins-schema-controls
plugins-settings-admin
plugins-settings-composition
plugins-settings-keyboard
plugins-settings-refresh
portals-layout
post-deploy-session-entry
presentation-primitives
profile-page
provider-browser-login.real-gateway
pwa-manifest-credentials
question-flow
question-guest
quiet-automations.real-gateway
quota-reset-status.real-gateway
required-worker-routing
resize-handles
route-css
screen-requester-routing
secret-reveal-focus
service-worker-update
session-active-resources
session-automation-inspection
session-catalog-involvement
session-catalog-pending-host
session-channel-hovercard
session-color
session-context-breakdown
session-context-meter
session-dashboard
session-dashboard-active-panel
session-dashboard.grant-failure
session-detail-values-keyboard
session-details-background-work
session-details-progress
session-github-preview
session-kinds
session-link-not-found
session-link-reconnect
session-list-filter
session-list-row-events
session-management.account-label
session-management.archive
session-management.archive-automation
session-management.archive-batch
session-management.archive-undo
session-management.archived-actions
session-management.bulk-delete-scope
session-management.child-failures
session-management.copy-session-id
session-management.created-sort
session-management.delete
session-management.draft-indicator
session-management.filtered-errors
session-management.group-defaults
session-management.group-identity
session-management.group-return
session-management.groups
session-management.hidden-run-read
session-management.mutation-scope
session-management.nested-archive
session-management.new-group
session-management.operator-scopes
session-management.promotion
session-management.queue
session-management.rename
session-management.rename-composition
session-management.rename-identity
session-management.sidebar
session-management.sidebar-reconnect
session-management.unread
session-manager-history
session-mention-involvement
session-observer-model-catalog-recovery
session-owner-assignment
session-owner-filter-empty-section
session-owner-filter-guest-default
session-owner-filter-header
session-owner-filter-keyboard
session-owner-first
session-ownership
session-person-grouping-presence
session-placement.menu
session-placement.move
session-pr-reader-lifetime.real-gateway
session-prefetch
session-progress-disclosure
session-progress-hovercard
session-progress-hovercard-catalog
session-progress-hovercard-commentary
session-progress-hovercard.navigation
session-progress-hovercard.real-gateway
session-progress-live-placement
session-progress-motion
session-progress-polish
session-progress-preference
session-progress-refresh
session-progress-runtime
session-progress-scroll
session-progress-startup
session-progress-submit
session-progress-widget
session-pull-requests
session-reconnect-existence
session-roster-event-scope
session-roster-request-rate.real-gateway
session-runtime-freshness
session-scoped-delivery
session-shortcuts
session-sources
session-status-keyboard
session-storage-settings
session-suggestions
session-transcript-search
session-viewer-presence
sessions-navigation-identity
settings-agent-selector
settings-config-recovery
settings-exit-layout-shift
settings-layout
settings-loading-skeletons
settings-media-permission
settings-message-width
settings-prefs-reconnect
settings-redirect-history
settings-reload-devices-draft
settings-search-focus
settings-search-keyboard
settings-typography-search
settle
shell-module-loading
shell-presentation
sidebar-account-footer
sidebar-agent-first
sidebar-attention-scope
sidebar-background-work
sidebar-boot-imports
sidebar-catalog-scope
sidebar-child-expansion
sidebar-complete-roster
sidebar-cron-inventory
sidebar-customization
sidebar-deletion-invalidation
sidebar-dev-branch
sidebar-inbox-latency
sidebar-interactions
sidebar-involvement
sidebar-load-more
sidebar-name-marquee
sidebar-new-conversation
sidebar-outbox
sidebar-pages-archive
sidebar-per-tab-visibility.capture
sidebar-pin-placement
sidebar-pin-priority
sidebar-pinned-agents
sidebar-profileless-scope
sidebar-pull-requests
sidebar-rail
sidebar-rail-alignment
sidebar-rail-toggles.capture
sidebar-refresh-availability
sidebar-roster
sidebar-running-counts.real-gateway
sidebar-selection-overflow
sidebar-session-stability
sidebar-settings
sidebar-shortcut-badges
sidebar-show-all
sidebar-transient-surfaces
sidebar-users-filter
skills-any-bin-requirements
skills-clawhub-external-install
skills-library
skills-owner-selection
solo-widget-chrome
stale-build-recovery
stale-build-recovery.production
subagent-task-notice
subagents-panel
systems-workspace
task-pull-requests.real-gateway
team-scale-cold-load
terminal-docking
terminal-embedded
terminal-fonts
terminal-page
terminal-panel-layout
terminal-repaint
terminal-runtime
terminal-upload
theme-background
theme-boot
theme-branding-proof
theme-muted-contrast
theme-plugin-background
theme-selection-defaults
theme-surfaces
theme-typography
tool-titles
tooltip-first-activation
transcript-library
tweet-card
update-coalesced
update-confirmation
update-git-revisions
update-lifecycle
update-native-authority
update-run
update-stale-git-refresh-proof
update-triage
updates-settings
uploads-policy
usage-calendar-boundaries
usage-cost-analysis
usage-export-recovery
usage-known-zero-cost
usage-overview
usage-query-recovery
usage-reconnect
usage-session-unicode
usage-sessions-owner-attribution
warm-boot
warm-history-subscription
workboard-board-widget-layout
workboard-lazy-page
workboard-locale
worker-inference
worker-initial-setup.real-gateway
workspace-panel-startup
worktrees
x-plugin

Passed (1): ui/src/pages/agents-home/, suffix .e2e.test.ts

templates-catalog

Passed (1): ui/src/pages/chat/, suffix .e2e.test.ts

critical-observer-notice

Passed (1): ui/src/pages/chat/components/, suffix .e2e.test.ts

chat-clawhub-card

Passed (1): ui/src/pages/cron/, suffix .e2e.test.ts

run-transcript

Passed (1): ui/src/pages/lobsterdex/, suffix .e2e.test.ts

lobsterdex-page

Passed (10): ui/src/pages/plugins/, suffix .e2e.test.ts

install-progress
plugin-banners
plugin-deprecated-sdk
plugin-overview
plugin-skills
plugins
plugins-base-path
plugins-catalog
plugins-lifecycle
plugins-runtime

Passed (1): ui/src/pages/secrets/, suffix .e2e.test.ts

secrets

Passed (1): ui/src/pages/templates/, suffix .e2e.test.ts

creator-review

Passed (9): ui/src/pages/workboard/, suffix .e2e.test.ts

workboard
workboard-distribution
workboard-native-bundle
workboard-notes
workboard-routing
workboard-scroll
workboard-selection-focus
workboard-sidebar
workboard-status-persistence

Passed (1): ui/src/test-helpers/, suffix .e2e.test.ts

control-ui-e2e-readiness

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui scripts Repository scripts size: L labels Oct 31, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR starts cached transcript preparation earlier and lets the first matching chat pane wait up to 100 ms before mounting.

Example: Warm reload of an archived conversation with a cached parent breadcrumb.

  • Before: The reported first header lacks the breadcrumb, followed by 144.219 px of identity insertion and a 26 px composer contraction on chat.
  • After: The reported candidate admits the breadcrumb and archived footer together, with zero observed movement in those regions.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation is focused and source-supported, with meaningful mount-boundary regression coverage; inspectable transient evidence and final-head validation remain limited.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied admission measurements support the narrow effect, and inspected screenshots establish retained settled appearance rather than transient first-frame behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: A warm reload briefly shows incomplete conversation identity and the wrong composer shape before cached archived-session facts arrive.
Reason: The maintainer-authored direction targets a measured layout defect using existing owners; the broader complete-page paint campaign is explicitly outside this focused change.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored draft addresses a concrete warm-reload layout defect, and review found no discrete introduced correctness or security bug.

Priority: P2
Reviewed head: 18c90200d507e659fdbceeca188bfffe9158fa18

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The inspected public screenshots show settled appearance; a transient capture and completed final-head native validation are not supplied.
Agent review details

How this fits together

Control UI startup reads an account-scoped browser snapshot while loading application modules; the existing pane hydration owner adopts validated display facts and later reconciles live Gateway state.

flowchart TD
  A[Browser reload] --> B[Startup and early Gateway]
  B --> C[Scoped snapshot preparation]
  B --> D[Application module loading]
  C --> E[Bounded first pane admission]
  D --> E
  E --> F[Existing snapshot hydration]
  F --> G[Cached pane and live reconciliation]
Loading

Technical review

Best possible solution:

Retain the existing scoped snapshot and hydration owners while overlapping preparation and bounding the first matching pane's wait.

Do we have a high-confidence way to reproduce the issue?

Current-main source permits first mount before asynchronous snapshot preparation completes, matching the submitted before measurements; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The patch is a focused solution: move existing preparation earlier, share its completion receipt, and join at the existing mount boundary without adding another cache or adoption path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 01ac91c280f7.

Provenance checked

  • Scoped startup prewarming keeps the original intent (24ae0fc: Restore credential-scoped cached content before Gateway connection while retaining validation and invalidation ownership.)
  • Prepared snapshot validation and cursor facts keeps the original intent (c55cd77: Prepare validated snapshot facts without creating a separate display adopter or resending cached history.)
  • First pane mount readiness changes intended behavior with a stated reason (86abec4: Keep publication, mounting, and disposal in one pane composition; this PR explains the bounded delay needed to admit already-cached facts together.)
  • Early Gateway startup keeps the original intent (4420648: Overlap transport startup with renderer loading while preserving existing authentication and request owners.)
  • Warm-reload evidence tooling keeps the original intent (5df2f45: Provide isolated real-Gateway reload captures and distinguish intermediate visual states from complete cached-page success.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit c55cd77 adds ui/src/pages/chat/session-snapshot-prewarm.ts:74 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c55cd77de3ac; files: ui/src/pages/chat/session-snapshot-prewarm.ts)

PR surface

Source +50, Tests +77, Docs +23, Other +245. Total +395 across 13 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 139 89 +50
Tests 1 77 0 +77
Docs 1 23 0 +23
Config 0 0 0 0
Generated 0 0 0 0
Other 5 347 102 +245
Total 13 586 191 +395

Review metrics

Metric Value Why it matters
Runtime versus regression-test growth UI runtime net +50 lines; tests +77 lines The runtime growth implements earlier preparation and a bounded mount join; the shared regression setup covers successful preparation and stalled storage.

Labels

Label changes:

  • add P2: This improves warm-reload layout stability and transcript readiness without establishing an urgent availability or data-integrity problem.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This improves warm-reload layout stability and transcript readiness without establishing an urgent availability or data-integrity problem.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 31, 2026, 5:12 PM ET / 21:12 UTC.

@steipete
steipete force-pushed the steipete/coldload-transcript-late-paint branch from 18c9020 to e2ae1d9 Compare October 31, 2026 21:18
@steipete
steipete marked this pull request as ready for review October 31, 2026 21:53
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T02:51:25.768771Z fd10489 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete marked this pull request as draft October 31, 2026 22:18
@steipete
steipete force-pushed the steipete/coldload-transcript-late-paint branch from e2ae1d9 to 0ba42f2 Compare October 31, 2026 23:00
@steipete
steipete force-pushed the steipete/coldload-transcript-late-paint branch from 0ba42f2 to 4378f48 Compare October 31, 2026 23:16
@steipete
steipete force-pushed the steipete/coldload-transcript-late-paint branch from 4378f48 to fe33882 Compare November 1, 2026 00:08
@steipete
steipete marked this pull request as ready for review November 1, 2026 00:10
@steipete
steipete marked this pull request as draft November 1, 2026 02:05
@steipete
steipete force-pushed the steipete/coldload-transcript-late-paint branch from fe33882 to fd10489 Compare November 1, 2026 02:25
@steipete
steipete marked this pull request as ready for review November 1, 2026 02:49
@steipete
steipete merged commit f6ef3f8 into main Nov 1, 2026
187 of 192 checks passed
@steipete
steipete deleted the steipete/coldload-transcript-late-paint branch November 1, 2026 04:56
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 2, 2026
…warm reloads (openclaw#189760)

Warm reloads now start the scoped chat snapshot read and validation before the application graph loads, and the first matching chat pane waits at most 100 ms for that prepared snapshot before mounting. The breadcrumb and archived footer arrive with the first header instead of inserting 144 px of identity and contracting the composer by 26 px afterwards.

Boot-record credential admission now has one owner (readCredentialBootRecord); the duplicate bootstrap policy and the late-only prewarm path are removed. The startup JS baseline records the measured earlier-load redistribution (89,354 to 90,111 B gzip) while complete Chat and New boot shrink by 279 and 200 B.

Proof: 11 interleaved AWS warm chat pairs moved first rows from 464 to 364 ms (paired median -96 ms, 11/11 better), with FCP, hello and LoAF within A/A. The exact-head checks-ui-e2e sidebar geometry failures reproduce on the PR base and pass once current main is merged (local control of both files).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant