Repository navigation
Conversation
Retain session attribution, participant counts, and branch/worktree display facts in the scoped Details snapshot. Remove lazy boundaries that leave the restored inspector empty or grow it after the first frame. Live full-row receipts replace cached presentation without transferring action authority.
|
🦞👀 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. |
|
Codex review: blocked before merge. What this changesThis PR retains additional Details display facts and removes lazy composition boundaries to prevent movement during warm reloads. Example: Reload a saved desktop conversation showing branch feature/verification and Automations.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open as a focused, maintainer-authored experiment with an explicit do-not-merge hold; no definite introduced runtime defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI combines scoped browser snapshots with live Gateway session observations to render Details; cached facts supply presentation while existing owners retain action authority. flowchart TD
A[Browser snapshot] --> C[Pane presentation]
B[Gateway session observation] --> C
C --> D[Details composition]
D --> E[People and Environment]
D --> F[Progress and Automations]
C --> A
Technical reviewBest possible solution: Restore settled Details through the existing scoped snapshot and composition owners, retaining live reconciliation and mutation authority. Do we have a high-confidence way to reproduce the issue? Current-main source exposes the lazy composition and missing cached display inputs; the author reports three red baseline browser cases, but this review did not execute them. Is this the best way to solve the issue? The patch uses the existing snapshot, observation, and rendering owners and removes the replaced lazy paths; inspection found no unnecessary parallel machinery or definite runtime defect. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fca1c6ec13f4. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +52, Tests +117, Docs +2, Other +24. Total +195 across 16 files. Added test files: 0. View PR surface stats
Review metrics
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 2, 2026, 1:07 AM ET / 06:07 UTC. |
Warm reloads of a chat with Details open no longer push the Details panel down after first paint. The existing scoped Details snapshot (projection 14) now retains optional display facts: session creator and participant count, plus Environment branch and worktree. They render until the full session observation is accepted, and live facts then replace them in place. The desktop composition's existing lazy loader prepares its nested Environment body before mounting, so the panel fills once. All four lazy boundaries are kept, with no transcript hold, placeholder geometry or new store. Native 11-pair gate: Details movement 81 -> 0 px in 11/11 reloads; first painted rows 376 -> 376 ms; visible rows 297.1 -> 296.0 ms; snapshot growth +648 B (chat) and +475 B (dashboard). Older records without the fields render live, and non-strict older readers ignore them. Supersedes #190898.
…law#190929) Warm reloads of a chat with Details open no longer push the Details panel down after first paint. The existing scoped Details snapshot (projection 14) now retains optional display facts: session creator and participant count, plus Environment branch and worktree. They render until the full session observation is accepted, and live facts then replace them in place. The desktop composition's existing lazy loader prepares its nested Environment body before mounting, so the panel fills once. All four lazy boundaries are kept, with no transcript hold, placeholder geometry or new store. Native 11-pair gate: Details movement 81 -> 0 px in 11/11 reloads; first painted rows 376 -> 376 ms; visible rows 297.1 -> 296.0 ms; snapshot growth +648 B (chat) and +475 B (dashboard). Older records without the fields render live, and non-strict older readers ignore them. Supersedes openclaw#190898.
What Problem This Solves
Warm reload can leave desktop Details empty and push Automations down while Environment arrives above it. The original signed-in dashboard deep-link investigation recorded 14 states over roughly 15 seconds; this synthetic experiment isolates the remaining Details artifact.
Why This Change Was Made
Stopped experiment. Do not merge. The candidate removes Details movement, but fails the transcript-paint secondary gate. The experiment draft is closed; the candidate remains available for follow-up.
The existing scoped Details snapshot retained Progress, output count and automation summaries, but omitted creator/count and branch/worktree display inputs. Optional display facts were added to the same projection 14 owner. The redundant lazy inspector composition and Environment-body loaders were removed so the cached section can render in its first frame. Full live session observations replace saved facts; compact roster observations do not clear them first.
Compatibility: client fields are optional, absent fields use existing live rendering, and non-strict older readers ignore new fields. Existing scope/account/incarnation/locale checks remain authoritative. No new store, config, server schema, protocol field or durable server-record shape. Saved display values grant no action authority.
User Impact
The candidate keeps the tested Details contents stable through reconnect, but it advances work ahead of transcript paint. This experiment is rejected under the campaign timing gate. The exact cause within that earlier work was not isolated; static imports and eager composition are a follow-up hypothesis, not a proven attribution.
Evidence
Baseline
c9cd215bf94ffdb466ca32674ea3f305edfc1de3; candidated33328ed6d12107e0d1b9a75a6167afbb48ae481. One AWS c7a.4xlarge lease, 16 vCPU, approximately 31 GiB available RAM, 99% idle preflight. Repository Playwright Chromium 156.0.8078.4; unprofiled Team-scale bench with live-capped latency, archived chat, Details open, creator/count + branch/worktree and populated Automations. Sidebar fixture: involving-me, category, created, 97 groups/102 order entries, five collapsed sections, empty groups always, preview off and pins. Eleven consecutive interleaved pairs per route plus eleven chat A/A pairs on the same machine. No local timings are performance results.Primary: 81→0 px in every chat pair (11/11). Every candidate section top/height was unchanged from its first sampled visible Details frame through settle. Baseline aggregate session height 97→178 px; Automations top relative to panel 102→183 px. The initial empty panel is also covered by the native browser regression; an empty pre-application probe sample is not counted as a visible Details frame. Dashboard was already stable (0→0 px).
Stop: first painted chat rows 380→400 ms (+20 ms, +5.3%); IQR 378–384→388–400 ms; 10/11 pairs slower. Visible transcript DOM also regressed 297.6→310.6 ms with separated IQRs and 10/11 slower. A/A painted rows 380→376 ms, overlapping IQRs and mixed signs; it does not invalidate the regression. Hello-handled stays 556.4→553.4 ms. Chat CLS falls 0.002768→0.0000188. Other noisy secondary changes are reported without calling them regressions.
Tables give median [Q1, Q3], inclusive quartiles. Time metrics are ms; movement is px; CLS is dimensionless. “Final row window” is the first sample of the eventual rendered row-key set; “live catchup” is transcript-ready publication, not a compositor paint. The fixture has four final rendered rows from its first row window. LoAF blocking is the sum of the browser observer’s blocking durations over the fixed 4 s capture.
chat summary
chat per-pair deltas (candidate minus baseline)
dashboard summary
dashboard per-pair deltas (candidate minus baseline)
aa summary
aa per-pair deltas (candidate minus baseline)
Per-section attribution
Baseline chat pair 1, times relative to hello-handled (544.6 ms after navigation):
The response census in that baseline capture puts cron.list at +186.5 ms, message-subscription response at +239.0 ms, sessions.describe at +318.1 ms and artifacts.list at +432.1 ms. Session inputs are observable before describe returns: the selected row is fed by shared session observation/catchup, so attributing this solely to describe would be wrong. The probe records field availability and geometry; it does not assign an individual row write to a particular inbound frame. Usage is not a dependency of the measured growth.
Candidate pair 1: at −366.4 ms, cached session/environment facts are present and the entire session section is 178 px with Environment 81 px and Automations top 183 px. Full live facts replace them around +250 ms without geometry changes. People, Outputs and Automations heights are unchanged in every candidate frame. The per-frame arrays and RPC census are retained in the raw summary JSON.
Snapshot growth at the post-capture pane probe: chat 56,798→57,446 bytes (+648, 1.14%); dashboard 56,158→56,631 (+473, 0.84%). Whole-record byte differences include transient serialized receipts; they are not presented as the isolated size of the two new fields.
Real product boundary
A separate isolated synthetic Gateway run exercised signed-in document reload, real transport, persisted snapshot and headless compositor capture (two warm reloads per arm per route). Chat baseline first Details session 148→178 px and Automations top 153→183 px; both candidate reloads are 178 px/top 183 px throughout. No browser errors. Dashboard captures did not have a Details section, so they are transport/route secondary evidence, not a dashboard Details primary proof. Capture-method PaintHolding control passed. These two-reload diagnostics are not substituted for the eleven-pair Team-scale timing gate.
Proof and limits
Native browser regression is red 3/3 on original runtime and green 3/3 on the candidate: active chat, active dashboard and archived chat. It uses real IndexedDB snapshot persistence/reload, a held connection and every visible Details animation-frame geometry. Exact candidate command
pnpm test ui/src/e2e/chat-details-reload.e2e.test.ts --maxWorkers=1: 3/3, wall 24.57 s. Existing Details session tests 17/17 and arrival tests 8/8 pass. Independent local Codex review is clean through P2. Test/helper allocation is the exact 117 net lines; no shared scalar ceiling slack.Both pinned bundles built successfully on AWS. Lease
cbx_0050842e595d; runrun_e757fa913062549b1d027bb58e20b63f. Changed checks/full UI e2e status is recorded below at closeout. Draft CI skips are not counted as passing broad proof. The experiment is not made ready and no exact-head green CI claim is made.Application runtime delta +52 LOC; the prescribed non-test/non-doc stat is 155 additions/36 deletions, net +119, because it includes diagnostic scripts, fixture helpers and the exact allocation file. Runtime growth retains missing display facts and their live-row receipt, while deleting four superseded lazy boundaries. Files: Details/session/environment/schema and pane-header owner; consolidated reload browser test; Team-scale pane fixture and probe/real-Gateway tooling; one documentation paragraph and exact test allocation.
Open limits for the lead: only branch/worktree Environment content is cached by this candidate; machine placement, PR/work and dirty-file rows are still live. No general first-frame claim is made for those untested classes. The smallest follow-up proposal is to separate missing display-fact retention from eager composition and measure the eager mount cost before choosing another candidate. No server or protocol change is proposed, and no further implementation was attempted after this gate failed.
Closeout
The numeric secondary gate failed, so the remaining heavy validation was canceled rather than qualifying a rejected candidate. Changed-file checks were incomplete at cancellation (the retained log shows the controller guards and numerous core/UI test typecheck shards passing; no full-check success claim). The full UI e2e suite did not run. Draft PR CI was mostly skipped and supplies no broad proof. No inherited-red classification or ready/merge claim is made. No screenshots were uploaded; inspected captures are synthetic and retained locally. Private Team media was never uploaded or quoted.
Raw evidence is retained under
.local/l281/remote-evidence/:chat.json,dashboard.json,aa.json,real-gateway.json, per-arm synthetic warm-reload frames and partial changed-check logs. The candidate branch remains for inspection; it is not a landing candidate.AWS release returned success for
cbx_0050842e595d. The active runner consequently ended with connection-reset/provider exit 7 during canceled checks; this is cancellation evidence, not a failing product test. The isolated Gateway proof had already exited and stopped its own processes. No task-owned local Gateway remains.Final lease inspection confirms
state: released,cleanupStatus: complete,hasHost: false.Follow-up
The lead accepted the stop and requested a facts-only / eager-only split. Replacement draft #190929 carries the revised lazy candidate and its fresh measurements. This PR remains the rejected eager experiment at d33328e.