Skip to content

fix(control-ui): show cached Details with the first chat frame - #194142

Merged
steipete merged 33 commits into
mainfrom
steipete/coldload-details-first-frame
Nov 7, 2026
Merged

steipete merged 33 commits into
mainfrom
steipete/coldload-details-first-frame

Conversation

@steipete

@steipete steipete commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Accepted arm B on d7a131841c0c: performance, bytes, focused checks and full UI execution are complete. CI remains red with the classifications below. The measured runtime is unchanged.

Final CI bytes and budgets

CI 42346284066, byte job 128324957913, passes for logical head d7a131841c0c. Its checkout is merge 069fc93af28b against CI base 9cfae28e81dc; the only difference from the literal branch tree is scripts/android-screenshots.sh. UI, package/lock and relevant tooling inputs are identical. The literal D7 tree is separately pinned by AWS.

CI-owned normalized gzip CI base → head B Δ B Final enforced limit / baseline Increase to committed value versus main
Startup 90,086 → 90,824 +738 Baseline 90,908; enforcement 91,484 Baseline 89,370 → 90,908 (+1,538)
Chat 1,292,285 → 1,292,951 +666 Cap 1,293,015 = head +64 1,289,030 → 1,293,015 (+3,985)
New 801,098 → 801,612 +514 Cap 801,676 = head +64 797,380 → 801,676 (+4,296)
Largest JS Exact integers not emitted by successful CI; head 550.1 KiB rounded Not emitted 560,533 fixed cap; existing base-relative check PASS 0

Startup is below its already-ratcheted baseline, which is retained rather than lowered. Growth/variance allowances remain 512/64 B. Chat/New cap increases include main's existing absolute-cap overage; the lane's measured growth is the smaller base→head delta. Two budget pushes were used. Every existing comment is retained verbatim, including the earlier #194142 measurement comments; the new exact values have their own #194142 comment lines. Largest/CSS limits are unchanged.

The successful current byte job prints Largest only as 550.1 KiB for control-ui-boot-shared-DljtdCWX.js. The prior Daf3 failure diagnostic measured 563,542→563,320 B (−222) for a different emitted asset, BcOTiv_N; that prior exact integer is not asserted as the current value. Requests remain Startup 3/7, Chat 20/20, New 15/17. CSS has zero growth versus the same CI base: total 326,139 B gzip / 1,679,273 B raw, with unchanged fixed caps 325,109 / 1,675,754 and the existing base-relative policy. Startup CSS 38,826 B remains below 51,200; largest CSS 54,747 below 58,315.

Lead byte exception. Identical B source measured Chat +253 B in CI 42297255955, +311 B in CI 42330347895, and +988 B in CI 42334114643 after rebase onto 5cbe1a. The last build's Chat chunk grew 493 B normalized gzip for 509 raw B; mapped Details source was net +273 raw B. The accepted P2 fix/rebased-build increment then adds 218 raw B and 98 served-gzip B to the connection chunk, while generated-name-normalized gzip rises 452 B. Those are whole-chunk compression results from retained builds on distinct source bases, not causal per-function gzip measurements. No new mapped module enters Startup, Chat or New. The accepted stop at bc660001, CI 42335886591, measured Startup +1,035 B, Chat +1,052 B and New +900 B. The lead accepts this compression-context noise: final hard stops versus each line's CI base are Startup +1,200 B, Chat +1,250 B and New +1,050 B. Largest/CSS retain their owner policy. The loader shape remains exact accepted B.

ClawSweeper P2: match the current viewport

The current-destination finding is fixed: a 2200 px cached docking receipt reopened in a 1000 px window does not start Session/Environment imports. The existing prewarm owner owns the typed layout tuple formatter and safe viewport reader; the header consumes that formatter without changing the stored format. This adds no startup import, field, schema version, store or configuration. An optional new width field would still need the old-receipt parser to preserve accepted matching receipts, so it adds more code/data. Same-width nav/sidebar identity remains placement-owned. The regression is red before the fix and green with matching-wide and closed controls. Test-lines allocation is exactly 258: the accepted 255 plus three formatted lines for the two public-boundary fixture repairs, with explicit reason lines. The old merge-conflict item is resolved by the clean rebase; the latest ClawSweeper comment lists no separate Rank-up items.

The shared createIdleImport owner is load-bearing: the attempted plain-import trim failed four of five reload cases. The lazy boundaries must share the promise started by startup prewarm. idle-import.ts and activity-body laziness remain unchanged. Arm A failed its five-pair pilot; B is the accepted arm.

Final proof and remaining CI gaps

Normal PR CI 42346284066 completed with failures on merge 069fc93 (UI inputs identical to logical D7). Its nine UI-unit assertions match actual isolated main b4fe3d2655c4 controls, including the missing context.gateway.snapshot errors. These owner/test files are unchanged through CI base 9cfae28e81dc.

Main control file Actual matching result Wall time (--maxWorkers=1)
ui/src/app/app-host.test.ts 2 failed /25 passed; shell connection and drawer assertions 20.24 s
ui/src/app/app-host-native-shell.test.ts 4 failed /39 passed; focus, platform shortcuts, native sidebar 9.03 s
ui/src/components/sidebar-footer-layout.browser.test.ts 1 failed /2 passed; absent avatar updateComplete 16.10 s
ui/src/components/app-sidebar.people.test.ts 2 failed /86 passed; Owner fallback undefined/string assertions 12.54 s

The current main test-line owner reports 6,559,945 lines against a 6,559,875 ceiling: 70 inherited lines of debt, net delta 0, exit 0 (27.45 s). D7 adds exactly 258 lines and exactly 258 allocation credit; CI reports 6,560,203 /6,560,133, still 70 over. This is inherited debt, not a claim that main's zero-delta command fails. The allocation stays at its own exact 258 lines; no unrelated debt is granted or hidden.

All sixteen CI-red E2E files were controlled on independently installed/built main 9cfae28e81dc, clean before/after. Of 21 CI cases, 15 reproduce the same assertion boundary on main, including credential discovery and the earlier HTTP title-poll failure in the later four-worker controls. Configured splash still fails at a different phase. Five cases remain CI-only: device binding, activation feedback, Codex sign-in and two explicit-onboarding cases. They pass in quiet main controls and the full B run. No flake claim follows.

AWS lease cbx_e924242adebd (run) validated literal D7 on its fresh standard build and is released (cleanup complete; no resource may remain). Eleven required focused files passed. The additional attributed-identity full file passed 9/10 and failed only the shared-thread sidebar avatar R assertion, reproduced on main 9cfae28e81dc; both mobile geometry cases passed. Its focused-controller exit 1 is retained. The unrestricted D7 UI suite completed all 951 planned files: 932 passed, 15 failed and four skipped modules; 3,590 passed, 23 failed and five skipped cases, zero unhandled errors. No file was missing or unexpected. The native command exited 1 after 5,936.63 s; source remained clean. The 67,960,480 B archive is downloaded and verified (44c76353bbc1fb27ef517f4054af99406c9c96daf08668176082f1efc41a9a5e). The prior D12 suite was explicitly interrupted at the test-only head change (exit 130), archived and verified before release; it is not a completed full-suite verdict.

The avatar fixture now follows the scoped accessible identity when the image-slot wrapper retires; all pending appearance, initials, dimensions and accessibility assertions remain. The mobile width fixture explicitly waits for the working wrapper it measures; a visible working indicator can belong to another stream presentation. Its numeric geometry checks are unchanged. Fixed local files pass 5/5 (29.49 s) and 10/10 (45.82 s) with pnpm test <file> --maxWorkers=1. Main’s mobile file passed both local controls; the original failure is not claimed inherited. Both corrections are test-only; no loading, docking or timing shape changes.

The measurement archive is downloaded, SHA256/tar verified (0de4d9c9be8592c9e7f136835d0ee92ade6c3a2ad9dd8b5d1c89ae141d705080, 1,548,182,238 B). Measurement lease cbx_a813d3595a4d is released with cleanup complete. Both source trees remained clean; the c7a.4xlarge identity and source hashes are retained.

The required AWS workload finished on one c7a.4xlarge: native active chat with ordinary children, 11 interleaved pairs plus A/A, then 20 alternating Linux motion-file runs per arm. The interaction check passes all four requested stops; native case receipts independently verify motion main 0/20 failed, B 0/20 failed (120 cases). Existing scored pair tables, lead performance exceptions and inspected synthetic stills are retained below. The earlier interrupted setup had no captures and is not counted as proof.

What Problem This Solves

The campaign's October 9 evidence recorded 14 visual states over approximately 15 seconds for a signed-in reload of a dashboard deep link. This change addresses one remaining cached-page assembly step: late desktop Details on a warm chat reload.

Why This Change Was Made

This PR continues the closed experiment #193512. This is accepted arm B, rebased onto #194263 and #194283. The exact shared createIdleImport owners still start composition and Environment together on admitted cached destinations with Details open. The shared owner is load-bearing: removing it previously failed four of five reload cases with empty first-frame Details or later Environment growth. idle-import.ts remains untouched. Arm A failed its earlier five-pair pilot and is not the candidate.

The #194263 owner fix removed L295's composition-wide activity gate and provides the synchronous display-only fallback for cached ordinary children. This branch drops the ordinary-child hint and every startup/composition-evaluation activity trigger that existed only for that gate. The live activity body remains lazy behind its existing unchanged owner. No composition gate, preload await, Show/Suspense wrapper, pane barrier or boot reorder is added.

B's docking cache field remains alongside L295's row/count fields. The public-boundary cleanup, atomic cancellation fix and fixture race repairs remain. Both active cells exercise owner-persisted ordinary-child receipts. Native preparation includes one existing retained child and two explicitly added children; the fixture reports the full cohort of three. The persisted-receipt predicate and first-frame assertions were not relaxed.

Intervening main commits between owner fix #194263 and the measured base 4199080 are listed for source provenance; none touches ui/src/pages/chat/, Details, placement, snapshot prewarm or its schema:

  • 966e6c30ad5a: CI Knip report/proof owners.
  • 154d60ec2bc6: CI prepared SDK lint.
  • ba3392580165: update/Doctor state DB reads.
  • 38f68a10828d: CI unused credential guard lookups.
  • 4199080dadf6: terminal note spacing.

text-diff.ts remains Chat-only (391 mapped raw bytes), absent Startup/New. The verified static edge is Session → Background/Progress → chat-subagent-wait.ts → chat-sessions-yield.ts → tool-cards.ts → tool-call-diff.ts → text-diff.ts; ChatView/live events also consume this graph. Environment's diff controls do not import it. Modulepreload alone only fetches; the open-Details Session import evaluates these definitions, reusing an already evaluated module where applicable. The diff algorithm runs only when called. Dropping the edge would change the accepted Session/tool-card graph, so no extra boundary is introduced.

#193217 integration and source provenance

The measured interaction head d12f702f was based on 2ab781210c6f, including #193217 (4c6f043aba48). Current head d7a131841c0c is cleanly rebased onto 6f8bf3ebca77, with no conflicts. The last two main commits are Android build cache tuning and 12026082dc86 header padding CSS/test changes; neither changes protected Details or placement logic. All eight L293 runtime files and the shared loader remain byte-identical to D12. Main’s intervening 58137b4db220 changes chat-details-session.test.ts only; no intervening commit changes Details, placement, snapshot prewarm or its schema. The only new branch source changes correct two existing test boundaries. Main commits since the original scored base 4199080 that touch ui/src/pages/chat/ are:

  • 936f38793bab: reactive draft test harness reuse; tests only.
  • 9f9471128ace: input-recall handling for long answers; no Details/docking/prewarm logic.
  • 4c6f043aba48 (fix(control-ui): avoid warm chat reload backtracking #193217): transcript end-follow/backtracking; covered by the native active interaction check below, with the landed retained-row probe.
  • aa9968db2542: IconButton markup in annotation/diff/widget controls; no Details or placement owner changed.
  • 200bd813fd5f: tight-row automation timestamp formatting; no Details loading or docking logic.
  • 0fc9ca05b1ce: IconButton consumer checks; tests only in the chat scope.
  • 1e1d26de90eb: controlled scroll-idle resize fixture; tests only.

The six additional main commits from e814c50 to 2ab7812 touch native apps, onboarding, tmux and automation Gateway/agent code, with no Control UI path changes. The rebase had no conflicts.

User Impact

In the original native matrix (fd21 versus 4199080), Details co-frame improves 0/11 → 11/11 on both chats, with median lag 688 → 0 ms archived and 840 → 0 ms active, better in all 11 pairs per route. Environment is complete at first population in all 44 scored candidate chat captures. The later rebased active interaction (D12 versus 2ab7812) reaches 10/11, with paired lag −816 ms; its accepted stops and full tables follow.

Lead exception

On November 6 the lead accepted arm B, with a recorded exception rather than a gate change. In the original matrix, native main paints rows as an incomplete page and adds Details 688/840 ms later; B paints the complete cached set 11/11 on both chats. Native paired first rows rise +16.016845703125/+31.928955078125 ms and original full-window active LoAF rises +26.4 ms (9/11 worse); these are disclosed costs of that complete first frame. The required complete-page LoAF check passes: through each arm's own first Details paint, paired blocking falls −79.19999999999999/−113.50000000000006 ms, 11/11 better on both chats; excluding the endpoint-crossing frame also passes. The original approximately five-second metric already included main's later Details frame and later work.

Team-scale has no adverse standing-rule secondary: rows paired −4 ms on both chats, active LoAF −20 ms, active Details lag 11/11 better. Archived lag is 8 better/0 ties/3 worse with paired median −8 ms: accepted as non-adverse. The active 142→81→142 px transient is pre-existing (B stable 8/11, main 5/11, A/A 5–6/11) and accepted as a separate follow-up. This lane does not repair it. Team still does not reach co-frame; remaining Session readiness/render after file arrival is follow-up work. No loader variant or runtime change follows the acceptance.

The lead accepted the measured Startup, Chat and New byte cost on November 6. The P2 viewport filter is accepted as written. Arm B is the landing candidate. Interaction, motion and final-diff review are complete; literal D7 full UI is complete; the unresolved CI comparisons are recorded above.

Evidence

Measurement and source admission

One quiet AWS c7a.4xlarge, 16 vCPUs, repository headless Chromium, live-like latency, 1720×1180. Native and Team-scale active/archived chats plus closed dashboards have 11 interleaved A/B pairs and 11 A/A pairs. Timing runs are unprofiled; attribution runs are separate. Arm/source checks pass for all groups, with owner-written warm child receipts verified before scoring. Native has 176 warm timing captures; Team has 132 timed runs. Quiet checks report approximately 81.4–81.8% idle CPU.

Lease cbx_81f76b2818dd, run run_4e8303b5d354c2dfce13613e65b9d330. Command: the lane's source-pinned requalification payload through node scripts/crabbox-wrapper.mjs run --provider aws --class c7a.4xlarge --fresh-pr openclaw/openclaw#194142 --apply-local-patch --idle-timeout 90m --timing-json --script <payload.sh>. Payload result: exit 1, valid measurements, full scored gate failed. The 6.7 GiB evidence archive was downloaded and passed tar integrity validation before lease release. Cleanup is confirmed complete; no provider resource may remain.

The first attempt stopped before scoring because its setup expected only the two explicitly added native children. It is setup history, not product evidence; that lease was also released.

#193217 interaction check: native active chat

Main 2ab781210c6f2cf90c92043e6bfc2cb6283a4bce, B d12f702f62073122fe7512230157c3a1b535cc93. Eleven interleaved pairs plus A/A, unprofiled, ordinary children seeded. Δ is second minus first. B/T/W is better/tie/worse. Backtracking is maximum retained-row reverse movement after first painted rows from the landed probe. Complete-page LoAF includes the endpoint-containing frame; its completed-frame sensitivity is retained in JSON.

ab

Details co-frame 0/11 → 10/11; Environment complete 11/11 → 11/11. Candidate backtracking worse where main is zero: 0/11.

Metric First median [IQR] Second median [IQR] Paired median Δ B/T/W Per-pair Δ
lagMs 820 [814, 838] 0 [0, 0] -816 11/0/0 -800, -860, -816, -848, -812, -828, -816, -820, -760, -824, -788
firstRowsMs 639.387207031 [591.517944336, 639.459350586] 663.354003906 [629.526855469, 669.431640625] 23.8640136719 5/0/6 23.8640136719, -11.9572753906, 135.873779297, -7.9267578125, 79.8911132812, -11.8002929688, 79.9252929688, -15.9333496094, 99.9692382812, -20.00390625, 67.8349609375
finalRowsMs 563.839208985 [524.017944336, 567.870532227] 589.254003906 [558.121972656, 596.681640625] 22.3640136719 5/0/6 22.3640136719, -18.1572753907, 126.473779297, -4.02675781248, 72.9911132812, -8.30029296887, 74.6252929687, -8.13334960933, 93.2692382813, -18.1039062501, 62.5349609375
completePageLoafMs 425.9 [408.6, 456.25] 297.1 [295.3, 320] -130.4 11/0/0 -130.4, -160.5, -6.9, -168.5, -89, -149.6, -90.7, -161.5, -70.8, -167.4, -86.1
completePageLoafCompletedMs 425.9 [408.6, 456.25] 297.1 [295.05, 320] -142.3 11/0/0 -142.3, -160.5, -80.9, -168.5, -89, -149.6, -90.7, -161.5, -70.8, -167.4, -86.1
fullWindowLoafMs 431.3 [412.3, 461.2] 465.1 [437.9, 473.55] 0.7 5/0/6 -34.9, -31.1, 60.4, -24.3, 60.4, -10.1, 68.3, 0.7, 80.2, -21.4, 63.6
reverseMovementPx 0 [0, 0] 0 [0, 0] 0 0/11/0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
cls 0.000855266474778 [0.000855266474778, 0.000855266474778] 0.000855266474778 [0.000855266474778, 0.000855266474778] 0 1/10/0 -0.000855266474778, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Pair Co-frame first/second Lag first/second ms Rows Δ ms Final rows Δ ms Windowed LoAF Δ ms Backtracking first/second px CLS first/second
1 0/0 892/92 23.8640136719 22.3640136719 -130.4 0/0 0.00171053294956/0.000855266474778
2 0/1 860/0 -11.9572753906 -18.1572753907 -160.5 0/0 0.000855266474778/0.000855266474778
3 0/1 816/0 135.873779297 126.473779297 -6.9 0/0 0.000855266474778/0.000855266474778
4 0/1 848/0 -7.9267578125 -4.02675781248 -168.5 0/0 0.000855266474778/0.000855266474778
5 0/1 812/0 79.8911132812 72.9911132812 -89 0/0 0.000855266474778/0.000855266474778
6 0/1 828/0 -11.8002929688 -8.30029296887 -149.6 0/0 0.000855266474778/0.000855266474778
7 0/1 816/0 79.9252929688 74.6252929687 -90.7 0/0 0.000855266474778/0.000855266474778
8 0/1 820/0 -15.9333496094 -8.13334960933 -161.5 0/0 0.000855266474778/0.000855266474778
9 0/1 760/0 99.9692382812 93.2692382813 -70.8 0/0 0.000855266474778/0.000855266474778
10 0/1 824/0 -20.00390625 -18.1039062501 -167.4 0/0 0.000855266474778/0.000855266474778
11 0/1 788/0 67.8349609375 62.5349609375 -86.1 0/0 0.000855266474778/0.000855266474778

aa (control only)

Details co-frame 0/11 → 0/11; Environment complete 11/11 → 11/11. Candidate backtracking worse where main is zero: 0/11.

Metric First median [IQR] Second median [IQR] Paired median Δ B/T/W Per-pair Δ
lagMs 816 [812, 834] 824 [814, 838] 0 5/1/5 -28, 12, 0, 8, 36, -32, -12, -16, 20, 12, -12
firstRowsMs 639.367919922 [593.5, 643.494140625] 627.433105469 [595.548950195, 637.500366211] -39.9672851562 6/0/5 -44.078125, -59.8669433594, 44.0129394531, -39.9672851562, 31.7646484375, -51.8188476562, 47.9650878906, -43.9162597656, 51.9011230469, -51.9692382812, 43.9877929688
finalRowsMs 567.795019531 [528.3, 574.682006836] 561.433105469 [531.348950195, 568.464526367] -33.6672851562 6/0/5 -46.8781249998, -44.3669433596, 32.612939453, -33.6672851562, 39.3646484376, -47.2188476564, 49.0650878907, -39.4162597656, 47.2011230467, -47.4692382812, 41.3877929687
completePageLoafMs 454.4 [418.3, 461.95] 434.8 [424, 444.3] -20 6/0/5 -20, -41.4, 20.7, -39, 23.6, -40.7, 36.7, -51.7, 30.7, -41.9, 35.4
completePageLoafCompletedMs 454.4 [418.3, 461.95] 434.8 [424, 444.3] -20 6/0/5 -20, -41.4, 20.7, -39, 23.6, -40.7, 36.7, -51.7, 30.7, -41.9, 35.4
fullWindowLoafMs 460 [422.2, 467.45] 441.9 [427.2, 449.85] -15 6/0/5 -15, -41.8, 22, -40.1, 25.9, -40.6, 34.4, -53, 32.4, -44.2, 34.9
reverseMovementPx 0 [0, 0] 0 [0, 0] 0 0/11/0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
cls 0.000855266474778 [0.000855266474778, 0.000855266474778] 0.000855266474778 [0.000855266474778, 0.000855266474778] 0 0/11/0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Pair Co-frame first/second Lag first/second ms Rows Δ ms Final rows Δ ms Windowed LoAF Δ ms Backtracking first/second px CLS first/second
1 0/0 912/884 -44.078125 -46.8781249998 -20 0/0 0.00171053294956/0.00171053294956
2 0/0 812/824 -59.8669433594 -44.3669433596 -41.4 0/0 0.000855266474778/0.000855266474778
3 0/0 812/812 44.0129394531 32.612939453 20.7 0/0 0.000855266474778/0.000855266474778
4 0/0 816/824 -39.9672851562 -33.6672851562 -39 0/0 0.000855266474778/0.000855266474778
5 0/0 804/840 31.7646484375 39.3646484376 23.6 0/0 0.000855266474778/0.000855266474778
6 0/0 868/836 -51.8188476562 -47.2188476564 -40.7 0/0 0.000855266474778/0.000855266474778
7 0/0 828/816 47.9650878906 49.0650878907 36.7 0/0 0.000855266474778/0.000855266474778
8 0/0 816/800 -43.9162597656 -39.4162597656 -51.7 0/0 0.000855266474778/0.000855266474778
9 0/0 804/824 51.9011230469 47.2011230467 30.7 0/0 0.000855266474778/0.000855266474778
10 0/0 840/852 -51.9692382812 -47.4692382812 -41.9 0/0 0.000855266474778/0.000855266474778
11 0/0 820/808 43.9877929688 41.3877929687 35.4 0/0 0.000855266474778/0.000855266474778

Interaction stop checks: {'coframe': True, 'backtracking': True, 'firstRows': True, 'completePageLoaf': True}. Pass: True.

Independent recomputation checked every distribution, IQR, pair delta and sign count with zero mismatches. Both arms retain all anchors; reverse movement is zero in all 44 captures. Environment is complete and Outputs/Automations movement is zero in all 44 captures. CLS has ten AB ties and one improvement. Same 16-vCPU c7a.4xlarge, Chromium 156; before-capture idle was 81.61249% AB and 75.07163% A/A. A/A is control-only.

Alternating Linux Details-motion classification

Main 2ab781210c6f2cf90c92043e6bfc2cb6283a4bce versus B d12f702f62073122fe7512230157c3a1b535cc93. Twenty alternating invocations per arm, three actual cases each (120 total). File failures: main 0/20, B 0/20. Neither arm reproduced the CI failure. Actual AB/BA order and every native three-case/file/summary receipt verified; no automatic retries.

Pair Main B Main failing vectors B failing vectors
1 PASS (3/3) PASS (3/3) [] []
2 PASS (3/3) PASS (3/3) [] []
3 PASS (3/3) PASS (3/3) [] []
4 PASS (3/3) PASS (3/3) [] []
5 PASS (3/3) PASS (3/3) [] []
6 PASS (3/3) PASS (3/3) [] []
7 PASS (3/3) PASS (3/3) [] []
8 PASS (3/3) PASS (3/3) [] []
9 PASS (3/3) PASS (3/3) [] []
10 PASS (3/3) PASS (3/3) [] []
11 PASS (3/3) PASS (3/3) [] []
12 PASS (3/3) PASS (3/3) [] []
13 PASS (3/3) PASS (3/3) [] []
14 PASS (3/3) PASS (3/3) [] []
15 PASS (3/3) PASS (3/3) [] []
16 PASS (3/3) PASS (3/3) [] []
17 PASS (3/3) PASS (3/3) [] []
18 PASS (3/3) PASS (3/3) [] []
19 PASS (3/3) PASS (3/3) [] []
20 PASS (3/3) PASS (3/3) [] []

The optional diagnostic module-JSON reporter was not enabled. The post-run guard assumed it was; the retained native Vitest file outcome, all three named cases and canonical summaries independently establish every execution. The original guard result and raw logs are preserved, and no workload was rerun or changed to repair reporting.

Complete-page LoAF check — archive-only, lead-gated exception

All native AB and A/A runs were recomputed from their retained LoAF entries, from navigation through that arm’s own first populated Details Element Timing paint. The original metric sums the full approximately five-second observation window; it already includes main’s later Details paint, plus subsequent work. It is retained unchanged in the original tables below.

A LoAF entry only stores aggregate blocking duration for the whole frame. The primary window includes entries starting at/before the endpoint, including the containing frame; the sensitivity includes only entries ending by it. Neither invents an intra-frame allocation. Both show 11/11 better on each native chat, with no standing-rule regression. A/A remains control-only. All 88 closed-dashboard captures have no populated Details endpoint, so this metric is N/A; their original full-window values and per-pair deltas remain in the all-route tables.

Including the endpoint-containing frame (ms; Δ = second − first; B/T/W = better/tie/worse):

Group / route First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
ab-archived chat 374.5 [365, 384.7] 318.4 [275.55, 336.65] -79.19999999999999 11/0/0 -88.5, -49.1, -79.2, -40.8, -92.1, -51.9, -100.8, -33.5, -96.1, -84.5, -12.6
ab-archived dashboard N/A: Details closed N/A N/A N/A N/A
aa-archived chat (A/A) 376.4 [368.9, 384.2] 371.2 [364.85, 379.35] -1.900000000000034 6/0/5 +25.3, -33.9, +6.4, -16.6, +15.8, -17.3, -1.9, -22.6, +27.2, -30.2, +13.8
aa-archived dashboard (A/A) N/A: Details closed N/A N/A N/A N/A
ab-active chat 437.8 [410.65, 448.6] 316.4 [294.45, 321.65] -113.50000000000006 11/0/0 -113.5, -149.1, -92.8, -144.4, -82.6, -163.6, -96.1, -177.4, -70.4, -143.8, -87
ab-active dashboard N/A: Details closed N/A N/A N/A N/A
aa-active chat (A/A) 443.5 [420.35, 449.75] 434.6 [410.8, 438.85] -32.60000000000002 6/0/5 -37.8, -42.5, +37.9, -37.8, +33.4, -32.6, +10.5, -51.5, +13.9, -33.3, +19.3
aa-active dashboard (A/A) N/A: Details closed N/A N/A N/A N/A

Fully completed frames only — boundary sensitivity:

Group / chat First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
ab-archived 374.5 [365, 381.75] 264.4 [247.15, 269.7] -100.80000000000001 11/0/0 -97.7, -129.6, -79.2, -131.9, -92.1, -140.3, -100.8, -135.1, -96.1, -163.6, -96.9
aa-archived (A/A) 376.4 [368.9, 382.95] 371.2 [364.85, 379.35] -1.900000000000034 6/0/5 +25.3, -24.8, +6.4, -16.6, +15.8, -17.3, -1.9, -19, +27.2, -27.7, +13.8
ab-active 437.8 [410.65, 448.6] 316.4 [294.45, 321.5] -131.60000000000002 11/0/0 -131.6, -149.1, -92.8, -144.4, -82.6, -163.6, -96.1, -177.4, -70.4, -143.8, -87
aa-active (A/A) 443.5 [420.35, 449.75] 434.6 [410.8, 438.85] -32.60000000000002 6/0/5 -37.8, -42.5, +37.9, -37.8, +33.4, -32.6, +10.5, -51.5, +13.9, -33.3, +19.3

Distribution and delta display rounds to 0.001 ms; paired medians retain the exact JSON floating-point value. Raw sums and original observer totals match in all 176 native warm captures. The complete-page check passes; the original active full-window +26.4 ms (9/11 worse) remains disclosed under the recorded lead exception.

Separate profile attribution

Three profiled warm captures per chat/arm show instrumented frame-rectangle getter totals falling from 26.6 → 6.9 ms archived and 34.1 → 11.9 ms active (medians). Two expensive initial reads become one, followed by a cheap ResizeObserver read. The closed dashboard's intentional destination-width read remains.

The shared section presentation/geometry callback (createDetailsDesktopReveal) has whole-capture sampled inclusive medians 7.88 → 33.77 ms archived and 14.87 → 73.90 ms active. The synchronous composition function is small; its reactive/measurement continuation is the larger sample. These inclusive samples overlap descendants and are not additive per-section costs or exact pane-task durations. They are consistent with earlier admission moving work into the cached pane interval, but do not prove this callback alone caused the scored regressions. The trace summarizer's zero forced-layout-event count is not treated as proof that layout work vanished; the instrumented getter includes browser style/layout work at the call site.

Nine candidate closed-dashboard profiles (six native, three Team), and nine controls, show zero Session, Environment or lazy live activity-body requests and zero mapped/raw samples. Static cached activity display is counted separately. No activity eager path remains.

Original scored results — retained with lead exceptions

Main 4199080dadf6, candidate fd21c0bdd850, one fixed quiet AWS c7a.4xlarge; 11 interleaved pairs plus separate A/A controls, unprofiled timing. All 14 group/route records and 176 first-Session geometry witnesses were checked against raw captures with no discrepancies. N = native Gateway; T = Team-scale. AB compares main→candidate; A/A compares main→main. Paint lag is Details Element Timing renderTime minus transcript Element Timing renderTime. Geometry is observed at the actual first populated Session frame; no missing frame is skipped.

The original mechanical gate stopped on native paired rows/full-window LoAF, Team active geometry count and Team archived non-worse lag count. These seven check flags remain visible below (three geometry flags share the same captures), and are covered by the recorded lead exceptions above. The gate definition and captured values are unchanged.

Native co-frame improves0→11/11 on both chats; cached Environment is complete176/176 overall, including44/44 AB candidate chat captures. Team active lag improves11/11; Team archived lag has8better/0ties/3worse, so its negative paired median does not meet the explicit count condition.

Chat primaries and per-pair lag deltas

Cell Co-frame first→second First lag median [IQR] ms Second lag median [IQR] ms Exact paired median Δ B/T/W Δ1…Δ11 ms
N ab-archived chat 0/11→11/11 688 [682,700] 0 [0,0] -688.0 11/0/0 -828,-668,-684,-696,-684,-680,-708,-688,-688,-704,-668
N aa-archived chat 0/11→0/11 696 [692,710] 700 [686,704] -8.0 6/0/5 -16,+4,+16,-8,-20,+4,-16,+4,-12,+12,-16
N ab-active chat 0/11→11/11 840 [816,854] 0 [0,0] -840.0 11/0/0 -920,-824,-812,-856,-840,-820,-800,-852,-792,-840,-860
N aa-active chat 0/11→0/11 824 [806,842] 820 [810,848] 0.0 5/1/5 +108,+4,+44,-4,+60,-36,-12,-4,-28,+20,+0
T aa-active 0/11→0/11 176 [170,186] 176 [168,188] 0.0 5/1/5 -4,-4,+4,-16,+8,+12,+0,-4,+52,+28,-44
T aa-archived 0/11→0/11 124 [114,130] 116 [116,130] 4.0 4/1/6 -28,+28,+4,+0,-8,-20,-16,+8,+16,+4,+48
T active 0/11→0/11 176 [170,186] 152 [146,164] -20.0 11/0/0 -20,-4,-20,-24,-68,-60,-20,-36,-24,-12,-12
T archived 0/11→0/11 124 [116,128] 116 [110,120] -8.0 8/0/3 -12,-8,-24,-12,+56,-8,+4,+8,-72,-8,-4

N ab-archived chat — all primary pairs

Pair Main lag ms Candidate lag ms Δ ms Main co-frame Candidate co-frame
1 828 0 -828 no yes
2 668 0 -668 no yes
3 684 0 -684 no yes
4 696 0 -696 no yes
5 684 0 -684 no yes
6 680 0 -680 no yes
7 708 0 -708 no yes
8 688 0 -688 no yes
9 688 0 -688 no yes
10 704 0 -704 no yes
11 668 0 -668 no yes

N ab-active chat — all primary pairs

Pair Main lag ms Candidate lag ms Δ ms Main co-frame Candidate co-frame
1 920 0 -920 no yes
2 824 0 -824 no yes
3 812 0 -812 no yes
4 856 0 -856 no yes
5 840 0 -840 no yes
6 820 0 -820 no yes
7 800 0 -800 no yes
8 852 0 -852 no yes
9 792 0 -792 no yes
10 840 0 -840 no yes
11 860 0 -860 no yes

T active — all primary pairs

Pair Main lag ms Candidate lag ms Δ ms Main co-frame Candidate co-frame
1 172 152 -20 no no
2 168 164 -4 no no
3 160 140 -20 no no
4 172 148 -24 no no
5 232 164 -68 no no
6 204 144 -60 no no
7 168 148 -20 no no
8 176 140 -36 no no
9 188 164 -24 no no
10 184 172 -12 no no
11 180 168 -12 no no

T archived — all primary pairs

Pair Main lag ms Candidate lag ms Δ ms Main co-frame Candidate co-frame
1 116 104 -12 no no
2 128 120 -8 no no
3 140 116 -24 no no
4 124 112 -12 no no
5 56 112 +56 no no
6 124 116 -8 no no
7 116 120 +4 no no
8 120 128 +8 no no
9 128 56 -72 no no
10 136 128 -8 no no
11 112 108 -4 no no

Flagged native measures with their exact A/A controls

Group (chat) Metric Exact paired median Δ ms Paired IQR ms Arm-median difference ms B/T/W
ab-archived firstPaintedRowsMs 16.016845703125 [-15.921,49.922] 27.876220703125 5/0/6
aa-archived firstPaintedRowsMs -27.923828125 [-37.965,37.938] -3.948974609375 6/0/5
ab-active firstPaintedRowsMs 31.928955078125 [-5.855,85.938] 44.10107421875 3/0/8
aa-active firstPaintedRowsMs -23.9580078125 [-37.879,27.885] -7.97900390625 6/0/5
ab-active loafBlockingMs 26.400000000000034 [1.95,49.85] 12.799999999999955 2/0/9
aa-active loafBlockingMs -33.19999999999999 [-35.9,16.75] -7.700000000000102 6/0/5

Both rows AB cells have overlapping arm IQRs and fewer than9/11 worse pairs; they fail the independent hard16 ms paired-median bar. Archived crosses it by0.016845703125 ms. Active LoAF is +26.400000000000034 ms with9/11 worse pairs and overlapping arm IQRs; its same-metric A/A paired median is −33.19999999999999 ms with mixed6better/5worse signs. No A/A hard-secondary adverse flag appears in any native or Team cell. A/A remains context, never a waiver of the gate.

Active ordinary-child geometry

Cell Arm Outputs/Automations ≤1 px Subagents owner contract Both same captures First height px Final height px Prepared height px
N ab-active chat base 11/11 11/11 11/11 234 234 234
N ab-active chat candidate 11/11 11/11 11/11 234 234 234
N aa-active chat first main 11/11 11/11 11/11 234 234 234
N aa-active chat second main 11/11 11/11 11/11 234 234 234
T aa-active first main 5/11 5/11 5/11 142 142 142
T aa-active second main 6/11 6/11 6/11 142 142 142
T active base 5/11 5/11 5/11 142 142 142
T active candidate 8/11 8/11 8/11 142 142 142

All Team active first/final/prepared Subagents heights are142 px, including affected captures. The failing stability conjunct is a later transient142→81→142 px:61 px range,122 px cumulative movement, with corresponding Outputs/Automations motion. It also occurs on main AB6/11 and main A/A6/11 and5/11, versus candidate AB3/11. Thus the transient is demonstrably pre-existing; these counts do not establish an L293 adverse cause. Candidate combined stability8/11 still misses the required9/11. No Subagents movement or CPU is subtracted.

All routes — AB and A/A secondary distributions and per-pair deltas

Rows = first painted rows; Final = final rows DOM; Hello = hello handled; RPC = first post-hello RPC; Hres = hello response. CLS is unitless; all other values are milliseconds. Distributions are median[Q1,Q3]. Exact paired medians are unrounded; displayed distribution/per-pair values round to0.001 except tiny nonzero values retain their sign/significant digits. Full precision is retained in the accompanying JSON. Header+rows<500 counts require both header geometry and actual transcript paint.

AB comparisons

N ab-archived chat — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 587.512 [569.501,601.417] 615.388 [581.515,623.505] 16.016845703125 5/0/6 +16.017,-11.922,+51.868,-7.948,+79.903,-27.995,+39.824,-19.919,+60.03,-51.908,+47.977
Final 530.412 [509.151,543.867] 552.888 [520.865,562.755] 10.616845703218132 5/0/6 +10.617,-14.622,+49.868,-10.548,+73.103,-29.695,+38.724,-25.119,+60.53,-56.908,+46.677
Hello 774.864 [766.344,799.569] 788.352 [752.044,791.097] -5.383154296781868 6/0/5 -5.383,-39.622,+36.768,-19.448,+69.003,-55.695,+15.124,-38.519,+40.73,-93.708,+22.777
RPC 794.364 [786.351,819.569] 807.552 [772.144,811.447] -6.483154296875 6/0/5 -6.483,-37.422,+40.268,-19.548,+70.803,-54.295,+15.924,-38.819,+44.63,-91.408,+21.677
LoAF 379.3 [370.1,390.25] 357.5 [350.4,370.6] -11.100000000000023 9/0/2 -8.7,-46.9,+0.1,-30.9,+1.2,-38.2,-11.1,-20.2,-5.4,-80,-8
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 66.377 [64.97,77.098] 64.579 [63.703,65.806] -1.9860000000335276 8/0/3 -12.502,+0.636,-7.72,+0.653,-0.799,+13.356,-0.772,-11.577,-1.986,-14.69,-14.262
Hres 794.364 [786.351,819.569] 807.552 [772.144,811.447] -6.483154296875 6/0/5 -6.483,-37.422,+40.268,-19.548,+70.803,-54.295,+15.924,-38.819,+44.63,-92.408,+21.677

N ab-archived dashboard — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 647.554 [629.522,659.376] 647.434 [633.514,667.335] -11.93701171875 6/0/5 -11.937,-23.916,+19.96,-16.005,+39.774,-32.098,+47.869,-35.973,+47.79,-32.021,+15.947
Final 608.854 [589.822,619.526] 607.134 [593.364,628.535] -12.43701171875 6/0/5 -12.437,-24.416,+15.56,-17.905,+41.274,-34.898,+50.069,-38.873,+46.49,-31.221,+14.947
Hello 907.757 [886.634,938.584] 917.095 [904.857,955.538] -5.837011719122529 6/0/5 -5.837,-35.916,+55.36,-19.305,+48.774,-49.998,+87.669,-65.173,+85.49,-43.621,+26.947
RPC 926.957 [907.234,959.324] 937.895 [925.007,978.135] -5.93701171875 6/0/5 -5.937,-39.016,+62.86,-19.105,+49.674,-49.598,+87.369,-62.273,+86.19,-44.621,+27.747
LoAF 399.4 [365.85,408.25] 393.3 [386.95,410.6] -8.700000000000045 6/0/5 -8.7,-24.6,+62.9,-16.3,+39,-36.8,+55.8,-55.4,+59.9,-50,+39.9
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 67.218 [57.846,70.453] 60.207 [58.856,71.54] 2.3859999999403954 4/0/7 -0.712,+2.63,+0.204,-10.038,+4.644,-1.324,-19.11,+5.2,+13.558,+2.386,+2.742
Hres 926.957 [907.234,958.824] 937.895 [925.007,978.135] -5.93701171875 6/0/5 -5.937,-38.016,+62.86,-19.105,+49.674,-49.598,+87.369,-62.273,+86.19,-44.621,+27.747

N ab-active chat — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 615.377 [585.473,637.385] 659.478 [629.5,673.398] 31.928955078125 3/0/8 +31.929,-15.985,+95.865,+0.205,+83.949,-11.916,+55.961,-19.952,+103.807,+16.135,+87.927
Final 543.677 [521.173,565.23] 586.278 [557.8,597.954] 26.42895507859066 3/0/8 +26.429,-14.185,+81.665,+6.005,+72.649,-13.416,+52.461,-12.652,+93.507,+16.535,+78.227
Hello 842.677 [818.473,862.18] 835.376 [827.514,872.354] -12.764990234281868 6/0/5 -150.271,-36.585,+70.265,-20.195,+61.149,-31.116,+39.261,-48.052,+90.307,-12.765,+48.427
RPC 873.377 [847.422,894.93] 862.476 [852.617,896.854] -18.56494140625 6/0/5 -156.671,-46.385,+63.465,-22.995,+56.649,-39.416,+35.161,-53.252,+85.507,-18.565,+44.027
LoAF 443.9 [414.95,453.85] 456.7 [449.35,475.95] 26.400000000000034 2/0/9 +26.4,+0.9,+46.8,+3,+64.5,-32.4,+52.9,-41.8,+83.2,+5.7,+43.8
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/10/1 +0.001,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 62.72 [61.298,63.357] 63.697 [63.012,65.922] 0.9059999994933605 2/0/9 +0.304,-15.712,+6.14,+0.898,+14.278,+0.315,+18.295,-1.801,+3.316,+0.906,+2.372
Hres 873.377 [847.422,894.43] 862.476 [852.617,896.854] -18.56494140625 6/0/5 -155.671,-46.385,+63.465,-21.995,+56.649,-38.416,+35.161,-53.252,+85.507,-18.565,+44.027

N ab-active dashboard — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 667.381 [627.475,673.44] 675.423 [627.477,677.446] -32.15087890625 6/0/5 -32.151,-48.006,+47.931,-43.897,+72.046,-47.951,+7.874,-51.956,+47.972,-35.933,+55.872
Final 613.02 [580.875,619.882] 622.231 [580.677,624.71] -29.333105468191206 6/0/5 -33.551,-43.806,+42.631,-35.497,+64.146,-40.051,+1.074,-56.656,+40.272,-29.333,+51.972
Hello 986.997 [956.158,1022.664] 1004.223 [972.085,1017.196] 22.172167968936265 5/0/6 +102.249,-87.706,+66.831,-12.097,+88.146,-46.451,+25.774,-45.356,+22.172,-73.133,+64.772
RPC 1019.197 [989.658,1058.464] 1036.123 [1004.285,1052.863] 23.47412109375 5/0/6 +105.649,-88.906,+69.731,-14.297,+91.546,-44.351,+23.474,-45.656,+28.872,-75.433,+66.272
LoAF 473.8 [457.9,498.2] 488.4 [439.15,517.85] -34.49999999999994 6/0/5 -35.7,-114.3,+61.8,-35.9,+78.9,-74.8,+92.5,-34.5,+53.9,-43.7,+87.8
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 1/10/0 -0.001,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 67.142 [58.448,73.754] 57.488 [56.466,65.84] -3.147999999113381 9/0/2 -1.839,-3.148,+2.384,-15.285,-6.505,-19.527,-40.201,-0.928,-12.083,+11.651,-0.286
Hres 1019.197 [989.158,1058.464] 1036.123 [1004.285,1052.796] 22.47412109375 5/0/6 +105.649,-88.906,+70.731,-14.297,+91.546,-44.351,+22.474,-46.656,+27.872,-75.433,+66.272

T active — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 380 [376,380] 372 [372,384] -4.0 7/1/3 +24,-8,-4,-4,-8,-8,-4,-4,+8,+4,+0
Final 904.7 [886,918.4] 906.5 [890.85,923.2] 6.7000000001862645 4/0/7 -21.7,+176.2,+6.7,+1.1,+54.6,-15.4,+32.2,+33.3,+30.3,-48.5,-60.4
Hello 569.2 [564,571.8] 580 [563.1,591.5] 3.7000000001862645 4/0/7 -8.1,+44.4,+7.5,+2.3,+3.7,+26.4,+14,+20.6,-8.2,-3,-7.3
RPC 546.8 [540.7,549.5] 558.5 [542.4,568.05] 4.6000000005587935 4/0/7 -7,+43.1,+8.4,+4.6,+4.4,+23.6,+14.1,+23.9,-5.3,-2.2,-5.6
LoAF 188 [178.5,198.5] 176 [168,186.5] -20.0 8/0/3 +27,-17,-22,-22,+26,-14,-20,-40,+7,-26,-35
CLS 0.007 [2.81049766e-05,0.007] 2.81049766e-05 [2.81049766e-05,0.004] 0.0 4/5/2 +0,-0.007,+0,+0,-0.007,+0,+0,-0.007,-3.31237224e-05,+3.31237224e-05,+3.31237224e-05
FCP 92 [90,92] 92 [92,94] 4.0 1/4/6 -4,+0,+4,+4,+4,+0,+8,+0,+4,+0,+4
Hres 539.3 [533.5,542.35] 551.6 [536.2,560.35] 4.7000000001862645 4/0/7 -6.1,+42.8,+9,+4.7,+4.6,+22.7,+13.8,+24.5,-4,-1.7,-5

T archived — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 348 [344,352] 344 [340,346] -4.0 7/0/4 +4,+12,-8,+4,-64,-4,-4,-8,+40,-8,-4
Final 829.6 [825.7,850.8] 852.9 [819.9,871.7] -1.0 6/0/5 -21.2,-14.2,-1,-12,-12.2,+38.2,-83.3,+38.1,+51.1,+18.9,+121.6
Hello 527.7 [525.15,534.9] 523.5 [522.15,533.25] -0.5 6/0/5 -0.5,-1,-15.4,-6,-7.4,+3.1,+5.4,+4.1,-32.4,+14.2,+3
RPC 507.1 [505.65,514.05] 504.6 [502.8,512.8] -0.20000000018626451 6/0/5 -0.2,-0.4,-11.8,-4.8,-6.4,+3.5,+3,+1.6,-25.3,+12,+3.5
LoAF 125 [117.5,133.5] 124 [114.5,130] 1.0 5/0/6 +12,-4,-16,-3,+4,+1,-17,+22,-19,+8,+11
CLS 0 [0,0] 0 [0,0] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 92 [90,92] 88 [88,92] -4.0 6/3/2 -4,+0,+4,-8,+0,+4,-4,-4,-4,-4,+0
Hres 499.8 [498.7,506.75] 497.8 [495.9,505.45] 0.09999999962747097 5/0/6 +0.1,-0.3,-10.7,-4.4,-5.7,+3.5,+2.1,+1,-23.9,+11.2,+3.6

T dashboard — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 348 [344,352] 344 [338,346] -4.0 7/0/4 +12,-16,-12,-4,+4,-16,-12,-12,+4,+4,-4
Final 882.6 [864.95,893.15] 865.8 [859.45,889.2] -24.09999999962747 6/0/5 -33.8,+1.9,-29.4,-24.2,-24.1,+1.1,-24.2,+40.7,-30.8,+8.7,+30.9
Hello 588.4 [585.65,590.7] 587.6 [581.9,595.45] 1.400000000372529 4/0/7 +7.1,+6.5,+3.1,-8.9,+1.4,+0.2,-8.7,-8.8,-14.8,+4.4,+10.7
RPC 553.1 [550.75,556.5] 553.3 [549.65,561.35] 3.7999999998137355 4/0/7 +9.7,+5.2,-0.9,-6.7,+3.8,+4.1,+0.5,-7.2,-11,+4.8,+14
LoAF 157 [154.5,162] 144 [137,154.5] -11.0 7/1/3 -11,+0,+10,-9,+6,-23,-95,-19,-14,+4,-31
CLS 2.81049766e-05 [2.81049766e-05,2.81049766e-05] 2.81049766e-05 [2.81049766e-05,2.81049766e-05] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 92 [88,92] 92 [92,92] 0.0 2/5/4 +12,+4,-4,+4,+0,+0,+0,+0,-4,+4,+0
Hres 548.7 [546.1,552.05] 549.1 [545.65,556.85] 3.9999999990686774 4/0/7 +10.1,+5.8,-1.4,-6.6,+4,+4.5,+1.8,-7.1,-10.1,+4.5,+14.6

A/A controls only

N aa-archived chat — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 595.413 [563.504,605.393] 591.464 [563.486,603.442] -27.923828125 6/0/5 -35.932,-51.781,+35.83,-55.845,+43.814,-27.924,+31.932,-35.895,+43.852,-39.997,+40.046
Final 539.913 [503.061,544.893] 534.164 [501.46,546.103] -30.423828125 6/0/5 -34.932,-46.681,+36.43,-52.545,+43.314,-30.424,+33.032,-45.295,+44.352,-39.997,+47.146
Hello 790.78 [761.915,800.572] 761.073 [755.739,797.292] -39.43212890625 6/0/5 -39.432,-49.881,+42.73,-55.245,+21.114,-47.024,+40.132,-42.995,+50.052,-42.597,+50.746
RPC 809.68 [785.002,818.922] 779.837 [775.739,817.042] -37.69482421875 6/0/5 -39.932,-52.981,+43.43,-55.945,+19.814,-46.924,+38.832,-37.695,+52.252,-41.497,+37.846
LoAF 380.7 [374.4,390.5] 375.9 [369.5,383.85] -2.500000000000057 6/0/5 +27,-39.5,+6.1,-15.4,+13.8,-19,-2.5,-23,+26.5,-37.3,+15.1
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 66.139 [63.785,68.058] 65.409 [62.285,70.621] -0.8540000002831221 7/0/4 +0.632,-1.74,+4.352,-5.921,-2.027,+9.764,-0.107,+10.731,-0.854,-1.851,-12.605
Hres 809.68 [785.002,818.922] 779.837 [775.739,817.042] -37.69482421875 6/0/5 -39.932,-51.981,+43.43,-55.945,+19.814,-46.924,+38.832,-37.695,+52.252,-41.497,+37.846

N aa-archived dashboard — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 659.397 [633.424,669.401] 651.478 [627.424,665.361] -19.982666015625 6/0/5 -19.983,-47.887,+40.112,-51.942,+43.876,-47.978,+15.858,-28.013,+27.931,-51.942,+39.92
Final 621.397 [594.724,629.951] 613.478 [586.474,624.661] -17.08266601525247 6/0/5 -17.083,-51.387,+39.812,-52.142,+39.776,-47.578,+16.258,-27.913,+29.931,-55.642,+38.52
Hello 920.554 [897.837,949.817] 911.961 [880.479,937.045] -19.682666015811265 6/0/5 -19.683,-95.187,+54.612,-64.142,+57.376,-59.278,+18.858,-27.913,+58.531,-79.742,+14.62
RPC 941.454 [920.387,969.401] 930.561 [900.979,957.745] -18.8828125 6/0/5 -18.883,-93.787,+53.112,-64.642,+57.676,-58.678,+17.858,-24.213,+58.131,-77.942,+10.42
LoAF 398.8 [366.6,415.35] 388.1 [366.8,403.35] 3.400000000000034 5/0/6 -30.5,-65.1,+37.5,-56.3,+60.4,-52.5,+23.5,+3.4,+63.5,-36.4,+16.3
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 60.304 [58.798,71.461] 61.599 [58.104,70.465] -2.7390000000596046 7/0/4 +12.621,-2.572,+17.917,-2.739,-11.745,-3.188,-17.33,+4.579,-9.076,-9.169,+11.913
Hres 941.454 [920.387,968.938] 930.561 [900.979,957.745] -18.8828125 6/0/5 -18.883,-93.787,+53.112,-64.642,+57.676,-58.678,+17.858,-24.213,+58.131,-77.942,+10.42

N aa-active chat — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 627.427 [599.501,633.462] 619.448 [591.529,629.338] -23.9580078125 6/0/5 -31.931,-52.078,+39.845,-35.904,+31.813,-23.958,+23.958,-43.955,+19.859,-39.854,+35.916
Final 554.562 [532.651,563.512] 551.313 [524.229,559.388] -25.4580078125 6/0/5 -28.731,-45.278,+34.145,-31.304,+29.413,-25.458,+24.558,-38.455,+14.859,-37.454,+32.016
Hello 852.562 [824.701,863.612] 830.929 [824.791,856.059] -30.654003906063735 6/0/5 -159.631,-44.078,+49.745,-37.404,+42.013,-35.558,+31.058,-48.955,+5.259,-30.654,+38.816
RPC 882.662 [854.151,895.562] 862.484 [852.951,885.23] -30.754150390625 6/0/5 -166.531,-44.678,+49.745,-39.004,+45.513,-40.958,+29.558,-48.755,+5.459,-30.754,+39.016
LoAF 446.8 [425.45,455.85] 439.1 [414.65,444.15] -33.19999999999999 6/0/5 -33.2,-46.5,+39.6,-36.4,+32.4,-35.4,+10.4,-51.4,+13,-34.4,+20.5
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/10/1 +0.001,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 64.684 [63.834,66.575] 64.541 [63.689,66.003] 0.5439999997615814 4/0/7 -2.082,-2.949,+0.544,+0.591,-1.388,+10.685,+16.222,-3.924,+6.953,+0.363,+2.058
Hres 882.662 [853.99,895.562] 862.484 [852.951,885.23] -30.754150390625 6/0/5 -166.531,-43.678,+49.745,-39.004,+46.513,-40.958,+29.558,-48.755,+5.459,-30.754,+39.016

N aa-active dashboard — header+rows<500 ms: 0/11→0/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 655.411 [621.417,671.387] 667.542 [613.429,679.365] 7.888671875 5/0/6 +7.889,-40.113,+55.907,-64,+59.99,-63.848,+104.089,-47.989,+43.967,-51.848,+56.059
Final 602.711 [572.467,619.053] 616.242 [568.779,627.232] 1.888671875 5/0/6 +1.889,-36.113,+53.007,-52,+54.79,-59.348,+98.989,-40.189,+39.767,-48.548,+53.959
Hello 987.721 [943.242,1000.131] 993.411 [940.529,1028.438] 17.888671875 5/0/6 +17.889,-44.813,+73.807,-73.4,+46.09,-58.248,+121.589,-60.989,+48.067,-46.548,+83.859
RPC 1021.421 [975.342,1034.481] 1029.311 [972.203,1062.839] 19.388671875 5/0/6 +19.389,-41.913,+73.707,-74.8,+42.89,-63.448,+123.889,-62.989,+52.867,-47.048,+87.859
LoAF 474.6 [456.4,492.25] 497.5 [436.55,511.8] 3.099999999999909 5/0/6 +3.1,-52.8,+51.2,-63.1,+44.6,-54.7,+134.2,-74.5,+54.1,-48.3,+60.2
CLS 0.001 [0.001,0.001] 0.001 [0.001,0.001] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 59.765 [57.701,68.278] 59.886 [58.739,67.882] -0.16200000047683716 6/0/5 -1.25,+2.071,-4.488,-2.595,+1.891,-16.636,+9.693,-9.14,+25.456,+8.03,-0.162
Hres 1021.421 [975.342,1034.481] 1029.311 [972.203,1062.839] 19.388671875 5/0/6 +19.389,-41.913,+73.707,-74.8,+42.89,-64.448,+123.889,-62.989,+52.867,-47.048,+87.859

T aa-active — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 372 [370,380] 376 [372,380] 4.0 3/2/6 +0,+8,+4,+0,+4,-16,+8,-4,+4,+80,-4
Final 898.7 [886.05,923.25] 912.2 [894.8,934.15] 3.2000000001862645 5/0/6 -153.5,-25.1,+19.6,+28.1,+75.2,-27.4,+130.5,-47.6,+3.2,-29.9,+64.8
Hello 567.9 [559.75,572.05] 566.7 [558.75,575.1] 7.099999999627471 5/0/6 -4.8,-28.3,+7.1,+17.9,+9.2,+33,+8.1,-12.9,-4,-30.3,+12.3
RPC 545.3 [537.45,549] 544.6 [536.55,551.7] 6.5 5/0/6 -4.7,-26.6,+6.5,+19.4,+8.1,+29,+8.7,-9.9,-3.8,-36.9,+9.7
LoAF 187 [173.5,196.5] 182 [171,209] 6.0 4/0/7 +6,+9,+6,-30,+48,-47,-17,-50,+11,+32,+35
CLS 0.007 [2.81049766e-05,0.007] 2.81049766e-05 [2.81049766e-05,0.007] 0.0 4/5/2 +0,+0.007,+0,-0.007,-3.31237224e-05,+0,+0,+0,+3.31237224e-05,-0.007,-3.31237224e-05
FCP 92 [90,92] 92 [92,92] 0.0 2/6/3 +0,+0,+4,+0,-8,+8,+4,+0,-4,+0,+0
Hres 538.3 [530.5,542.15] 538 [530.05,544.6] 6.2000000001862645 5/0/6 -4.5,-26.6,+6.2,+19.2,+8.4,+27,+9,-9.3,-3.7,-34.1,+9.1

T aa-archived — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 348 [344,352] 348 [346,348] 0.0 4/2/5 +4,+4,-4,+4,+8,+0,+0,+4,-4,-16,-40
Final 847 [828,871.85] 857 [849.85,911.45] 14.0 3/0/8 -32.9,+164.8,+8.3,+32.9,+101.2,-47.7,-26.2,+37.6,+22.6,+0.8,+14
Hello 529.8 [524.45,532.55] 528.7 [526.1,533.5] 1.1000000005587935 5/0/6 -14.5,+19.4,+16.4,+8,+4.5,-15.9,-4.2,-14.8,+21,-3.6,+1.1
RPC 508.8 [504.7,511.95] 508.9 [506.55,511.75] 1.700000001117587 5/0/6 -10.8,+17.4,+9.6,+9.1,+3.2,-12.6,-3.6,-12.4,+14.1,-2.8,+1.7
LoAF 124 [120,129.5] 128 [124.5,139.5] 2.0 3/1/7 +5,+20,+50,-7,+13,-13,+1,-12,+31,+0,+2
CLS 0 [0,0] 0 [0,0] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 88 [88,88] 92 [88,92] 4.0 0/5/6 +4,+0,+12,+4,+12,+0,+4,+0,+0,+0,+8
Hres 500.6 [497.8,505.15] 502 [499.45,503.9] 1.900000000372529 5/0/6 -9.6,+16.4,+7.5,+9.1,+2.5,-11.8,-3.6,-11.8,+13.1,-3.4,+1.9

T aa-dashboard — header+rows<500 ms: 11/11→11/11.

Metric First median [IQR] Second median [IQR] Exact paired median Δ B/T/W Δ1…Δ11
Rows 348 [344,350] 348 [346,350] 0.0 2/5/4 +12,+8,+0,+12,+0,+4,-12,-8,+0,+0,+0
Final 868.7 [865.25,883.05] 871.9 [866.6,878.25] 0.09999999962747097 5/0/6 +0.2,+15.6,+72.1,-15.4,+29.7,-6,+4.1,-21.5,+0.1,-2.3,-40.2
Hello 594 [588.4,597.25] 591.2 [586.6,592.85] -4.599999999627471 6/0/5 +3.4,+3,+19.8,+11.4,+2.8,-7.1,-12.5,-12.7,-15.4,-6.5,-4.6
RPC 558.5 [553.4,562.15] 556.8 [554.2,558.1] -1.0 6/0/5 +6.3,+2.7,+5.8,+11.8,+0.7,-5.1,-10.1,-8.1,-12.4,-7.3,-1
LoAF 156 [150.5,156] 147 [137.5,158.5] -10.0 7/0/4 -9,+20,+78,-10,+4,-20,-26,-96,-24,-10,+7
CLS 2.81049766e-05 [2.81049766e-05,2.81049766e-05] 2.81049766e-05 [2.81049766e-05,2.81049766e-05] 0.0 0/11/0 +0,+0,+0,+0,+0,+0,+0,+0,+0,+0,+0
FCP 92 [90,94] 92 [92,92] 0.0 3/5/3 +8,+4,+0,+12,-12,-8,+0,-4,+0,+0,+0
Hres 554.4 [549.1,557.65] 552.2 [550.2,553.25] -1.0 6/0/5 +6.5,+2.4,+4.5,+11.6,+0.9,-5,-9.8,-6.8,-11.7,-6.9,-1

Nine candidate closed-dashboard profiles have zero Session/composition, Environment and lazy activity-body requests/samples; static activity presentation is reported separately. All other AB hard secondaries have no adverse owner flag. The immutable source/served-arm validity and real persisted ordinary-child receipts pass. These historical tables do not establish current CI or full-suite completion; current byte acceptance and validation status are stated above.

Inspected synthetic first-painted-row frames

Existing native active AB pair 1, unchanged fixture data, unmodified compositor PNGs. These are the first captured compositor frames at/after the first transcript Element Timing paint: main 757.322 ms (rows marker 743.422 ms; Details marker 1663.422 ms), B 783.039 ms (rows and Details markers both 775.351 ms). Both full images were inspected for synthetic-only content before user-attachments upload. No images are committed.

Main — cached rows, Details still empty:

Native active main first painted rows, Details empty

B — cached rows and complete Details together:

Native active B first painted rows and cached Details together

Current validation status

Normal PR CI 42346284066 finished with 33 successful, nine failed and 24 skipped jobs. Byte, production/test types, lint, guards, source/dependency checks and i18n passed. Failed leaves are two unit shards, inherited 70-line ratchet debt and five E2E shards; the aggregate also fails. UI4 job 128324958001 contains an actual Details reload module receipt: five passed, zero failed/skipped/pending, 31.429744641 s, merge 069fc93 with UI inputs identical to D7. Real-Gateway CI was skipped. Historical literal-D12 CI 42337541265 remains prior-source evidence, not current D7 execution.

All eleven required focused files pass on literal D7. The prewarm regression's earlier red/green proof remains retained (15/15, 2.34 s, maxWorkers=1). The final full-branch diff and budget correction are independently autoreview clean through P2. Interaction/motion pass. The unrestricted 951-file suite completed with the result above; its main comparisons are recorded below. Prior attempts are not substituted for current proof. Five owner-defined opt-in skips cover creator authority, a configured desktop carrier, two task-only steering proofs and DeepSeek live prerequisites; no credential values were read.

Final-head focused checks

On the kept AWS lease, actual corepack pnpm test <file> --maxWorkers=1 wall times follow. Paths are relative to ui/src/. Eleven required files pass; the additional attributed-identity file reproduces main's shared-thread sidebar failure while both mobile geometry cases pass.

File Wall seconds Result
app/bootstrap.snapshot-prewarm.test.ts 8.07 PASS
e2e/chat-attributed-identity.e2e.test.ts 48.94 9/10; main sidebar failure
e2e/chat-details-pr-loading.e2e.test.ts 34.74 PASS
e2e/chat-details-reload.e2e.test.ts 42.30 PASS
e2e/chat-details-subagents-reload.e2e.test.ts 26.55 PASS
e2e/chat-snapshot-text-fidelity.e2e.test.ts 29.23 PASS
e2e/chat-user-avatar-alignment.e2e.test.ts 24.38 PASS
pages/chat/components/chat-details-desktop-body.browser.test.tsx 3.84 PASS
pages/chat/components/chat-details.browser.test.ts 5.81 PASS
pages/chat/components/chat-pull-requests.browser.test.tsx 11.64 PASS
pages/chat/session-snapshot-prewarm.test.ts 4.24 PASS
test-helpers/control-ui-transcript-paint.browser.test.ts 3.68 PASS

Final full-UI failure classification

On main 9cfae28e81dc, seventeen full-run UI failure boundaries reproduce exactly and one QA case reproduces the same POSIX mutation-readiness guard. Two splash cases fail at different phases; one session-link case has the same null/string error with uncertain mapped location. OAuth and terminal-font failures are unreproduced in matched quiet per-file main/B controls (6/6 and 2/2 pass on each). They are not called inherited or flaky. The full run remains a failure result.

Paths below are relative to ui/src/e2e/ except QA. Each row counts actual failed cases, not error reports.

Failed file Cases Main comparison
chat-attributed-identity.e2e.test.ts 1 Same missing shared-thread sidebar avatar R; both mobile cases pass
model-provider-login.e2e.test.ts 1 Quiet main 6/6, B 6/6; full-only failure remains unreproduced
login-gate.e2e.test.ts 1 Same busy/failure visibility assertion
lazy-custom-element-recovery.e2e.test.ts 1 Same connect-splash visibility assertion
chat-boot-composer.e2e.test.ts 1 Same draft insertion/caret text mismatch
session-list-filter.e2e.test.ts 1 Same visible page-owned session assertion
session-kinds.e2e.test.ts 1 Same desktop/null-string failure; mapped assertion location uncertain
browser-capabilities.e2e.test.ts 1 Same browser-guidance visibility assertion
gateway-connect-denial.e2e.test.ts 1 Same unavailable-handshake visibility assertion
gateway-fresh-visit.http.e2e.test.ts 1 Full proof-retry and CI's earlier title assertion both reproduce on main, at their respective boundaries
usage-sessions-owner-attribution.e2e.test.ts 4 Same two visibility and two grouped selection-click variants
extensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.ts 1 Same private POSIX mutation guard, publication and cleanup reports for one case
initial-connect-splash.e2e.test.ts 6 Four exact main matches; configured-token/composer and placeholder-animation cases fail at different phases
shell-module-loading.e2e.test.ts 1 Same unexpected shell request on login
terminal-fonts.e2e.test.ts 1 Quiet main 2/2, B 2/2; main four-worker run fails a different assertion; full font-family vector remains unreproduced

The independent main backend build passed in 362.287 s; all three build stamps match main and both source trees remain clean. The first QA control also hit an artifact-retention setup error because its output was outside the checkout. That attempt is retained. After correcting only the proof output path, main passed the other case and reproduced the targeted POSIX guard rejection in 60.260 s. No permissions or product/test source changed. Usage's four failures take 107.149 s. Matched quiet OAuth main/B walls are 32.259/32.775 s; fonts 10.450/10.446 s. These comparisons do not erase the full-run failures.

Four-worker main controls for CI failures

The original 877-pattern CI envelope and native --shard N/6 --maxWorkers 4 commands ran once on main 9cfae28e81dc. Actual module sets drifted, so none is an exact cohort replay; passing negatives are inconclusive. Main used Node 24.19.0 on c7a.4xlarge versus CI Node 24.22.1/four CPUs. Positive assertion matches remain actual main failures.

Shard Actual/original modules Shared/missing/extra Passed/failed cases Wall s
1/6 146/145 70/75/76 570/3 432.523
2/6 145/146 66/80/79 597/0 (+1 skip) 500.563
3/6 145/145 82/63/63 564/4 482.822

Discovery's access-lost prepare-owner timeout and HTTP's earlier title poll reproduce exactly on main. The main explicit-onboarding failure is a different custom-endpoint case, so it does not classify CI's two explicit-choice/Meta failures. Main's font validity Boolean assertion also differs from B's full-run font-family assertion. All input/source/raw hashes and full module sets are retained; no retry or source change was used. The 85,966,458 B control archive is verified (64992b69832c9e527db0d7c71ec623d253e871ecfb149dee869cd15fff1832d6).

Current size and scope

UI runtime is net +73 LOC, including +16 formatted lines for the viewport filter. The required production filter is 23 files, 617 insertions / 202 deletions, net +415 LOC including the approved budget comments. Growth buys shared module readiness and cached docking in the first populated frame; the superseded serial preload and public test seams are removed. Subagents presentation and sidebar files are untouched.

PR is non-draft and unmerged. Mechanical mergeability for unchanged D7/base 9cfae28e81dc is verified true at closeout; checks block landing. Earlier transient unknown responses and the executed CI merge are retained. All leases are released; no Gateway remains on those resources.

@clawsweeper

clawsweeper Bot commented Nov 6, 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 Nov 6, 2026
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch 2 times, most recently from a364786 to fd3c57f Compare November 6, 2026 13:54
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 6, 2026
@clawsweeper

clawsweeper Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR preloads cached desktop Details in parallel and restores its saved docking placement during chat startup.

Example: Reload an archived chat with cached Details at 1720×1180.

  • Before: The reported median Details paint lag behind transcript rows is 684 ms.
  • After: The reported median lag is 0 ms, with Details and rows sharing a frame in 11/11 captures.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Strong inspected behavior evidence supports a useful improvement, but the introduced stale-placement loading regression requires repair.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected synthetic browser before/after frames and the real-Gateway comparison at 1720×1180 support the native Details improvement and complete first-populated Environment geometry; the maintainer records accepted reuse of these prior-head measurements after the loader trim, without claiming final-head validation.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Performance · Worth it: Yes · Fix scope: Partial
User problem: A warm chat reload can show transcript rows beside an empty Details pane before cached Details arrives.
Reason: The maintainer-approved native improvement has clear value, with the remaining Team co-frame delay explicitly accepted as follow-up work.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep this useful, maintainer-approved PR open, but fix the stale placement hint that can load Details unnecessarily on a narrow-window reload.

Priority: P2
Reviewed head: 0c52caead0f986e6eb273541b7b92a2003cb7bd1

Before merge

  • [P2] Match the current destination before prewarming cached Details (P2) - Save a chat snapshot in a 2200px-wide window, then open that same cached chat in a fresh 1000px-wide window. The saved docking.wide remains true, so this branch immediately imports Session and Environment. However, window width is part of docking.layout, and ChatDetails correctly rejects the old placement identity and keeps Details closed in the narrow destination. The imports have already started and cannot be undone by that later check, adding optional download and evaluation work to a closed surface. Apply the current destination match before starting these imports; the existing closed-dashboard test only covers a snapshot already saved in the closed layout.
  • Complete next step - Resolve the GitHub-reported merge conflict with main before leaving draft.

Findings

  • [P2] [P2] Match the current destination before prewarming cached Details — ui/src/pages/chat/chat-snapshot-prewarm.ts:62-63

Tests

  • Missing end-to-end proof: The supplied results do not establish baseline-red/final-head-green coverage for reopening a wide cached snapshot in a narrow window where Details stays closed.
Agent review details

How this fits together

The Control UI restores scoped browser snapshots during startup, loads Details components, and replaces cached display facts with live Gateway observations.

flowchart TD
  A[Browser reload] --> B[Scoped snapshot prewarm]
  B --> C[Cached placement receipt]
  C --> D[Parallel Details imports]
  B --> E[Chat pane]
  D --> F[Details presentation]
  E --> F
  G[Live Gateway observations] --> F
Loading

Technical review

Best possible solution:

Keep the parallel loader and existing snapshot and placement owners, but prewarm only when the saved placement still matches the current destination.

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

The source and supplied real-Gateway captures establish delayed baseline Details, and source inspection establishes the stale-wide prefetch path; no target code or tests were executed during this review.

Is this the best way to solve the issue?

The smallest complete fix starts the existing lazy composition earlier while preserving settled Environment readiness and applying the placement owner's destination identity to speculative loading.

Full review comments:

  • [P2] [P2] Match the current destination before prewarming cached Details — ui/src/pages/chat/chat-snapshot-prewarm.ts:62-63
    Save a chat snapshot in a 2200px-wide window, then open that same cached chat in a fresh 1000px-wide window. The saved docking.wide remains true, so this branch immediately imports Session and Environment. However, window width is part of docking.layout, and ChatDetails correctly rejects the old placement identity and keeps Details closed in the narrow destination. The imports have already started and cannot be undone by that later check, adding optional download and evaluation work to a closed surface. Apply the current destination match before starting these imports; the existing closed-dashboard test only covers a snapshot already saved in the closed layout.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Desktop composition readiness keeps the original intent (71edc68: Await Environment before revealing Session to prevent lower sections moving after Details populates.)
  • Initial docking measurement changes intended behavior with a stated reason (f3464c7: Resolve automatic docking before first paint; this PR substitutes a matching cached placement and retains measurement for actual layout changes.)
  • Scoped snapshot prewarm keeps the original intent (f6ef3f8: Prepare matching scoped snapshot facts before pane mount without another snapshot owner or unbounded pane wait.)
  • Performance budget limits changes intended behavior with a stated reason (00ddcde: Enforce generated-name-normalized budgets with bounded variance; this PR records owner-approved, CI-measured Chat and New adjustments.)
  • Warm reload diagnostics keeps the original intent (5df2f45: Measure isolated real-Gateway reloads with native frame evidence; the added Details witnesses distinguish DOM arrival from paint.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/pages/chat/session-snapshot-prewarm.test.ts --maxWorkers=1
  • pnpm test ui/src/e2e/chat-details-reload.e2e.test.ts --maxWorkers=1
  • pnpm tsgo:ui
  • pnpm check:control-ui-controllers
  • pnpm ui:check-performance:base 8dd41fc

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit f6ef3f8 adds ui/src/pages/chat/chat-snapshot-prewarm.ts:45 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f6ef3f8df005; files: ui/src/pages/chat/chat-snapshot-prewarm.ts)
  • Vyctor H. Brzezowski: Raw commit 4813399 adds ui/src/pages/chat/components/chat-details-desktop-body.tsx:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4813399c4aba; files: ui/src/pages/chat/components/chat-details-desktop-body.tsx)

PR surface

Source +55, Tests +125, Docs +11, Other +151. Total +342 across 20 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 9 121 66 +55
Tests 2 154 29 +125
Docs 1 11 0 +11
Config 0 0 0 0
Generated 0 0 0 0
Other 8 179 28 +151
Total 20 465 123 +342

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test changes Production +296/−94 lines; tests +154/−29 lines Excludes documentation, generated manifest, and allocation metadata; growth adds parallel loading, placement restoration, diagnostics, and distinct reload/paint boundary coverage.

Root-cause cluster

Relationship: canonical
Canonical: #194142
Summary: This PR continues the closed Details-first-frame experiment with the selected shared-trigger implementation.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P2: This improves reload presentation with limited blast radius; the identified regression adds unnecessary optional loading on a changed viewport.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: This improves reload presentation with limited blast radius; the identified regression adds unnecessary optional loading on a changed viewport.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

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 November 6, 2026, 9:28 AM ET / 14:28 UTC.

@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch 3 times, most recently from 7e00480 to 2873dea Compare November 6, 2026 17:30
steipete added a commit that referenced this pull request Nov 6, 2026
…ity (#194263)

Follow-up to #193913. That change made the whole native Details composition wait for the live subagent-activity chunk whenever the cached receipt held ordinary children, because independent section roots could otherwise paint before the activity body. The wait cost 60.4 ms natively before the first populated Details frame. It also made it impossible to draw Details in the same frame as the first cached transcript rows, which #194142 needs.

The composition-wide prepared() memo and its Show wrapper are gone, along with the now-unused preloadChatSubagentActivity export. The existing static SubagentActivity presentation becomes the fallback of the activity's existing ChatLazyBoundary. It receives the receipt rows (or the current query rows if the receipt retires first) strictly as noninteractive presentation, at the same geometry as the live row. When the live observer module resolves through its unchanged createIdleImport owner, live rows replace the cached ones in place. A failed chunk still stays inside the boundary's local error view with Reload, and the other sections still render. The receipt, projection, empty/denied retirement and the display-only rule are unchanged.

Proof: 11 interleaved pairs plus A/A on a quiet AWS c7a.4xlarge, native and Team-scale, with active chat and seeded ordinary children. Outputs/Automations movement stays 0 px in 11/11 pairs on both harnesses. First populated Details is earlier natively in 10/11 pairs (paired median -32.3 ms, 1,394 -> 1,329 ms) and at Team scale by -8.8 ms. No hard secondary crosses the standing regression rule. The strengthened e2e holds the real activity chunk request and asserts cached rows in the first Details frame; it fails on main, where Details never appears while the chunk is held. Synthetic before/after stills of that held state are in the PR. Exact-head CI is green, including all selected checks-ui shards, the UI e2e shard and control-ui-performance. The full UI suite could not run because current main fails to build extensions/deep-research/browser (missing client.js, fix in flight as #194283); that gap is identical on main.

Size: UI runtime -11 LOC. CI Chat boot JS -416 B against its base, New and startup unchanged, no caps or baselines touched. Test changes are line-neutral.

Open follow-up: on the default expanded desktop section, a session with four or more ordinary children still caches three rows while live shows all of them.
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch from 2873dea to 743b450 Compare November 6, 2026 20:38
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch from b72353c to fd21c0b Compare November 6, 2026 21:25
@steipete
steipete marked this pull request as ready for review November 7, 2026 02:39
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T06:19:20.703992Z d7a1318 New commits
ℹ️ 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 November 7, 2026 03:15
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch 3 times, most recently from bc66000 to d12f702 Compare November 7, 2026 04:13
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 7, 2026
…ity (openclaw#194263)

Follow-up to openclaw#193913. That change made the whole native Details composition wait for the live subagent-activity chunk whenever the cached receipt held ordinary children, because independent section roots could otherwise paint before the activity body. The wait cost 60.4 ms natively before the first populated Details frame. It also made it impossible to draw Details in the same frame as the first cached transcript rows, which openclaw#194142 needs.

The composition-wide prepared() memo and its Show wrapper are gone, along with the now-unused preloadChatSubagentActivity export. The existing static SubagentActivity presentation becomes the fallback of the activity's existing ChatLazyBoundary. It receives the receipt rows (or the current query rows if the receipt retires first) strictly as noninteractive presentation, at the same geometry as the live row. When the live observer module resolves through its unchanged createIdleImport owner, live rows replace the cached ones in place. A failed chunk still stays inside the boundary's local error view with Reload, and the other sections still render. The receipt, projection, empty/denied retirement and the display-only rule are unchanged.

Proof: 11 interleaved pairs plus A/A on a quiet AWS c7a.4xlarge, native and Team-scale, with active chat and seeded ordinary children. Outputs/Automations movement stays 0 px in 11/11 pairs on both harnesses. First populated Details is earlier natively in 10/11 pairs (paired median -32.3 ms, 1,394 -> 1,329 ms) and at Team scale by -8.8 ms. No hard secondary crosses the standing regression rule. The strengthened e2e holds the real activity chunk request and asserts cached rows in the first Details frame; it fails on main, where Details never appears while the chunk is held. Synthetic before/after stills of that held state are in the PR. Exact-head CI is green, including all selected checks-ui shards, the UI e2e shard and control-ui-performance. The full UI suite could not run because current main fails to build extensions/deep-research/browser (missing client.js, fix in flight as openclaw#194283); that gap is identical on main.

Size: UI runtime -11 LOC. CI Chat boot JS -416 B against its base, New and startup unchanged, no caps or baselines touched. Test changes are line-neutral.

Open follow-up: on the default expanded desktop section, a session with four or more ordinary children still caches three rows while live shows all of them.
@steipete
steipete marked this pull request as ready for review November 7, 2026 05:11
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch from d12f702 to daf3f61 Compare November 7, 2026 06:00
@steipete
steipete force-pushed the steipete/coldload-details-first-frame branch from daf3f61 to d7a1318 Compare November 7, 2026 06:16
@steipete
steipete merged commit 07cdebc into main Nov 7, 2026
125 of 135 checks passed
@steipete
steipete deleted the steipete/coldload-details-first-frame branch November 7, 2026 09:47
@steipete

steipete commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Landed as 07cdebc via a pinned-head admin squash at d7a1318.

Exact-head CI 42346284066 passed bytes (job 128324957913), types, lint, guards, dependency contracts and i18n, and it actually executed the five Details reload cases in UI4 (5/5). The remaining reds are inherited and outside this change:

  • checks-ui (2/3), (3/3): all nine failing cases (app-host, app-host-native-shell, app-sidebar.people, sidebar-footer-layout) fail identically in main's scheduled run 42347241784 at facdbeb, the same hour as this PR's CI. Main turned these shards green by 08:25Z.
  • checks-ui-e2e (1,2,3,4,6/7): main's same scheduled run fails six of seven E2E shards. Two of this PR's cases fail there exactly: device-binding "explicitly clears saved bindings when all execution nodes are capability-lost" and the configured-token initial splash. The other 19 are in files that also fail on main in that run. That includes the explicit, Codex sign-in and activation-feedback model-setup flows, which this PR does not touch.
  • checks-fast-baseline-ratchets: main was 70 lines over the test-lines ceiling at the CI base (10 lines over at the current main scheduled run, net delta 0). This PR's allocation is exactly its +258 lines, so no inherited debt is granted here.

Bytes are checked against the current main. Its scheduled build at 13b9a49 reports Chat at 1,292,385 B, and the over-cap base + 64 B rule keeps main's own check green after this merge.

Latest ClawSweeper review (6687230988): its P2, to match the current destination before prewarming, is fixed by the viewport check in chat-snapshot-prewarm.ts. The unit covering 1000/2200 px viewports with wide and closed receipts was red before the fix and green after. The conflict it named is resolved. It listed no Rank-up moves.

roboclaw-bot added a commit that referenced this pull request Nov 7, 2026
…4639)

Cached wide Details now wait for the existing desktop module loader before the first chat frame is revealed, including when snapshot preparation has already settled. Visits without matching cached wide Details retain their existing admission path and cache-read budget.

Preserves the first-frame behavior introduced by @steipete in #194142. The held-module E2E now asserts every revealed header frame without filtering out empty Details.

Validation: complete-delta autoreview P0–P2 scoped-clean; existing exact-head PR CI green, including UI, E2E, performance, lint, types, and security gates.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
…law#194142)

On a warm reload of a chat with cached Details, the transcript rows painted first and the Details pane stayed empty for another 688 to 840 ms while its Session and Environment modules loaded one after the other. That empty column was the last visible step between the old page and the complete cached page.

The chat snapshot prewarm now reads the cached Details docking receipt and, when it was saved wide for the current viewport width, starts the Session and Environment imports in parallel through one shared desktop loader. The pane header records the docking layout as a tuple whose first fact is the viewport width, so a snapshot saved in a 2200 px window and reopened at 1000 px no longer loads Details that placement keeps closed. The docking receipt is an optional additive field in the client snapshot schema; no store or schema version changes.

On one quiet c7a.4xlarge, eleven interleaved pairs plus A/A, the native active chat now paints Details in the same frame as the rows in 10/11 pairs (main 0/11); lag after rows drops 820 to 0 ms and complete-page LoAF through the first Details paint drops 425.9 to 297.1 ms (paired -130.4 ms, 11/11). First and final rows cost about +23 ms paired, an accepted lead exception. openclaw#193217's backtracking probe stays at 0 px in all 44 captures, and the Details motion test passed 20/20 on each arm.

Bytes are a recorded lead exception for this PR: CI base to head Startup +738 B, Chat +666 B, New +514 B. Startup's baseline was regenerated through the owner command; Chat and New caps sit at the exact CI value plus 64 B with comments naming this PR. Test lines carry an exact 258-line allocation.

The red UI unit, UI E2E and ratchet jobs on the final head match main's own scheduled CI from the same hour (run 42347241784 at 85728cd) or main's inherited test-lines debt; the five Details reload cases executed and passed in CI.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
…nclaw#194639)

Cached wide Details now wait for the existing desktop module loader before the first chat frame is revealed, including when snapshot preparation has already settled. Visits without matching cached wide Details retain their existing admission path and cache-read budget.

Preserves the first-frame behavior introduced by @steipete in openclaw#194142. The held-module E2E now asserts every revealed header frame without filtering out empty Details.

Validation: complete-delta autoreview P0–P2 scoped-clean; existing exact-head PR CI green, including UI, E2E, performance, lint, types, and security gates.
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. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant