Repository navigation
fix(control-ui): show cached Details with the first chat frame - #194142
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
a364786 to
fd3c57f
Compare
|
Codex review: needs changes before merge. What this changesThis 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.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Partial 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 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe 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
Technical reviewBest 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:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b3b229c6d9e5. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +55, Tests +125, Docs +11, Other +151. Total +342 across 20 files. Added test files: 0. View PR surface stats
Preflight sourceSource 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
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 6, 2026, 9:28 AM ET / 14:28 UTC. |
7e00480 to
2873dea
Compare
…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.
2873dea to
743b450
Compare
b72353c to
fd21c0b
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
bc66000 to
d12f702
Compare
…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.
d12f702 to
daf3f61
Compare
daf3f61 to
d7a1318
Compare
|
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:
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 |
…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.
…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.
…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.
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 merge069fc93af28bagainst CI base9cfae28e81dc; the only difference from the literal branch tree isscripts/android-screenshots.sh. UI, package/lock and relevant tooling inputs are identical. The literal D7 tree is separately pinned by AWS.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 atbc660001, 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
createIdleImportowner 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.tsand 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 mainb4fe3d2655c4controls, including the missingcontext.gateway.snapshoterrors. These owner/test files are unchanged through CI base9cfae28e81dc.--maxWorkers=1)ui/src/app/app-host.test.tsui/src/app/app-host-native-shell.test.tsui/src/components/sidebar-footer-layout.browser.test.tsupdateCompleteui/src/components/app-sidebar.people.test.tsThe 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 main9cfae28e81dc; 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 leasecbx_a813d3595a4dis 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
createIdleImportowners 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.tsremains 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.tsremains 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
d12f702fwas based on2ab781210c6f, including #193217 (4c6f043aba48). Current headd7a131841c0cis cleanly rebased onto6f8bf3ebca77, with no conflicts. The last two main commits are Android build cache tuning and12026082dc86header 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 intervening58137b4db220changeschat-details-session.test.tsonly; 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 base4199080that touchui/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
e814c50to2ab7812touch 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 (
fd21versus4199080), 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 (D12versus2ab7812) 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 throughnode 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, Bd12f702f62073122fe7512230157c3a1b535cc93. 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.
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.
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
2ab781210c6f2cf90c92043e6bfc2cb6283a4bceversus Bd12f702f62073122fe7512230157c3a1b535cc93. 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.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):
Fully completed frames only — boundary sensitivity:
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, candidatefd21c0bdd850, one fixed quiet AWSc7a.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
N ab-archived chat — all primary pairs
N ab-active chat — all primary pairs
T active — all primary pairs
T archived — all primary pairs
Flagged native measures with their exact A/A controls
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
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.
N ab-archived dashboard — header+rows<500 ms: 0/11→0/11.
N ab-active chat — header+rows<500 ms: 0/11→0/11.
N ab-active dashboard — header+rows<500 ms: 0/11→0/11.
T active — header+rows<500 ms: 11/11→11/11.
T archived — header+rows<500 ms: 11/11→11/11.
T dashboard — header+rows<500 ms: 11/11→11/11.
A/A controls only
N aa-archived chat — header+rows<500 ms: 0/11→0/11.
N aa-archived dashboard — header+rows<500 ms: 0/11→0/11.
N aa-active chat — header+rows<500 ms: 0/11→0/11.
N aa-active dashboard — header+rows<500 ms: 0/11→0/11.
T aa-active — header+rows<500 ms: 11/11→11/11.
T aa-archived — header+rows<500 ms: 11/11→11/11.
T aa-dashboard — header+rows<500 ms: 11/11→11/11.
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:
B — cached rows and complete 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
069fc93with 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=1wall times follow. Paths are relative toui/src/. Eleven required files pass; the additional attributed-identity file reproduces main's shared-thread sidebar failure while both mobile geometry cases pass.app/bootstrap.snapshot-prewarm.test.tse2e/chat-attributed-identity.e2e.test.tse2e/chat-details-pr-loading.e2e.test.tse2e/chat-details-reload.e2e.test.tse2e/chat-details-subagents-reload.e2e.test.tse2e/chat-snapshot-text-fidelity.e2e.test.tse2e/chat-user-avatar-alignment.e2e.test.tspages/chat/components/chat-details-desktop-body.browser.test.tsxpages/chat/components/chat-details.browser.test.tspages/chat/components/chat-pull-requests.browser.test.tsxpages/chat/session-snapshot-prewarm.test.tstest-helpers/control-ui-transcript-paint.browser.test.tsFinal 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.chat-attributed-identity.e2e.test.tsmodel-provider-login.e2e.test.tslogin-gate.e2e.test.tslazy-custom-element-recovery.e2e.test.tschat-boot-composer.e2e.test.tssession-list-filter.e2e.test.tssession-kinds.e2e.test.tsbrowser-capabilities.e2e.test.tsgateway-connect-denial.e2e.test.tsgateway-fresh-visit.http.e2e.test.tsusage-sessions-owner-attribution.e2e.test.tsextensions/qa-lab/src/control-ui-automation-management.real-gateway.e2e.test.tsinitial-connect-splash.e2e.test.tsshell-module-loading.e2e.test.tsterminal-fonts.e2e.test.tsThe 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 4commands ran once on main9cfae28e81dc. 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.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
9cfae28e81dcis 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.