Skip to content

fix(control-ui): keep cached composer controls visually stable - #185144

Merged
steipete merged 1 commit into
mainfrom
steipete/coldload-composer-authority-visual
Oct 27, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/coldload-composer-authority-visual

Conversation

@steipete

@steipete steipete commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Lead accepted: the single mobile menu-bounds miss is classified as load-sensitive, supported by five isolated base/candidate pairs and the parallel control. The historical full-suite result remains recorded below.

What Problem This Solves

A signed-in reload of a dashboard or chat deep link paints cached composer settings with a disabled appearance, then changes their opacity and cursor when live authority confirms the same values. The campaign's original dashboard reload had 14 visible states; after the cached-shell work in #184383, this remaining authority-only flip was observed around 700–1,000 ms.

Why This Change Was Made

The trigger's disabled class only supplied opacity and cursor styling. Remove that class from the model, effort/speed, and permission pickers and delete its CSS selector. Native disabled behavior, keyboard/pointer admission, overlay admission, and session-mutation authority stay with their existing owners. The existing disabled-reason path now describes cached settings as “Refreshing session settings…” through aria-description.

The optional pane-chrome diagnostic now preserves disabled classes and records trigger opacity/color/cursor instead of filtering away the state under investigation. This diagnostic runs only in the benchmark.

User Impact

Cached settings retain their normal appearance while live authority loads. They remain non-interactive and expose disabled semantics plus the pending description to assistive technology. Pointer clicks, Enter, and Space cannot open a picker or queue/apply a setting change. Different live values still render as ordinary value updates.

Evidence

Lead-requested rebase: current head a4c886d770ff64bca186371443f2e2baa31fa9d9 is based on 63a05a41365026646b71df6ec7b0e390c506695a. The rebase completed without conflicts; git range-diff confirms an identical lane patch. This base includes the sidebar-presentation correction #185324 (8e70778f). Measurement and full-suite evidence below remain attributed to the original measurement head, with no claim of a rerun on the new head.

Rebased exact-head CI: pending.

Baseline ce069f9f8374, candidate 95d3153bfd5c; 11 interleaved pairs per route on one quiet AWS c7i.4xlarge (16 logical CPUs / 32 GiB class), repository Chromium, Team-scale fixture with large snapshots/row facts/transcript avatars, fixed fixture time, live-fast latency, unprofiled. Lease cbx_22b6e79fc8d4; run run_bd5b218e1677605bb9f11f3d47f7069f. No Mac timings are performance results.

Primary passed on measurement head 95d3153bfd5c: each trigger changes class/style once on baseline and zero times on candidate, in 11/11 pairs on both routes. All triggers begin aria-disabled=true; candidate cached facts match initial live confirmation in all 22 reloads.

Route Model trigger Effort/speed trigger Permission trigger Pairs meeting the gate
Chat 1 → 0 1 → 0 1 → 0 11/11
Dashboard 1 → 0 1 → 0 1 → 0 11/11

A MutationObserver records trigger classes/inline styles from cached display through live confirmation. Chat coalesces the baseline changes into one frame; dashboard can split permission and catalog authority across two. The native regression additionally compares actual computed opacity/color/cursor with identical cached/live values. The broader pane hash includes initial construction and catalog-driven label/gauge updates present in both arms; this result isolates the authority-style flip, not every composer-content update.

No secondary meets the predeclared regression rule: non-overlapping IQRs, or at least 9/11 worse pairs with a median paired rise above max(10 ms, 3%). Timings and CLS are secondary observations, not a causal speedup/CLS claim. Hello-handled is the connect-response timestamp plus dispatch duration. Final row frame means the last observed transcript row/fact/geometry frame, not all-content compositor settle.

chat

Metric Baseline median [IQR] Candidate median [IQR] Median paired delta Better/worse pairs
authority transition frames 1.0 [1.0, 1.0] 0.0 [0.0, 0.0] -1.0 11/0
hello handled (ms) 595.9 [592.5, 604.2] 592.6 [577.1, 597.9] -11.0 8/3
FCP (ms) 168.0 [168.0, 168.0] 168.0 [168.0, 172.0] 0.0 2/5
first painted rows (ms) 640.0 [636.0, 648.0] 636.0 [634.0, 646.0] -4.0 7/4
final row frame (ms) 1503.2 [1347.0, 1627.1] 1321.0 [1299.2, 1599.8] -66.2 7/4
LoAF blocking (ms) 122.0 [113.5, 130.0] 122.0 [112.5, 128.0] -7.0 7/4
CLS 0.05925 [0.05925, 0.05943] 0.05885 [0.05867, 0.05887] -0.00055 11/0
Per-pair candidate − baseline deltas
Pair authority transition frames hello handled (ms) FCP (ms) first painted rows (ms) final row frame (ms) LoAF blocking (ms) CLS
1 -1.0 -10.6 0.0 -12.0 -332.7 9.0 -0.00038
2 -1.0 -21.5 -4.0 -4.0 -179.3 -25.0 -0.00038
3 -1.0 -30.9 0.0 -12.0 94.0 -8.0 -0.00078
4 -1.0 21.4 0.0 20.0 -40.9 31.0 -0.00057
5 -1.0 8.9 4.0 12.0 -236.8 -6.0 -0.00038
6 -1.0 -16.3 4.0 -4.0 327.9 -16.0 -0.00077
7 -1.0 -17.5 -4.0 8.0 -72.1 -11.0 -0.00057
8 -1.0 -151.2 4.0 -140.0 -66.2 -110.0 -0.00044
9 -1.0 -11.0 4.0 -8.0 354.1 7.0 -0.00077
10 -1.0 -8.0 4.0 -8.0 -455.7 -7.0 -0.00040
11 -1.0 14.2 0.0 12.0 16.1 38.0 -0.00055

dashboard

Metric Baseline median [IQR] Candidate median [IQR] Median paired delta Better/worse pairs
authority transition frames 2.0 [2.0, 2.0] 0.0 [0.0, 0.0] -2.0 11/0
hello handled (ms) 601.9 [595.0, 618.0] 601.2 [597.3, 605.4] 4.3 5/6
FCP (ms) 168.0 [168.0, 168.0] 168.0 [168.0, 168.0] 0.0 1/3
first painted rows (ms) 580.0 [576.0, 596.0] 576.0 [570.0, 582.0] -4.0 6/5
final row frame (ms) 1277.3 [1259.6, 1294.4] 1251.3 [1249.6, 1279.5] -25.3 7/4
LoAF blocking (ms) 60.0 [54.5, 77.5] 60.0 [54.0, 72.5] 0.0 5/4
CLS 0.04603 [0.04603, 0.04603] 0.04603 [0.04603, 0.04603] 0.0 1/1
Per-pair candidate − baseline deltas
Pair authority transition frames hello handled (ms) FCP (ms) first painted rows (ms) final row frame (ms) LoAF blocking (ms) CLS
1 -2.0 -139.6 0.0 -152.0 -99.1 -143.0 0.00060
2 -2.0 -55.8 20.0 -40.0 -110.7 25.0 -0.00060
3 -2.0 -24.4 0.0 -12.0 -45.8 -25.0 0.0
4 -2.0 49.4 0.0 48.0 54.2 25.0 0.0
5 -2.0 6.9 0.0 -4.0 -9.4 6.0 0.0
6 -2.0 24.3 -16.0 28.0 34.7 0.0 0.0
7 -2.0 -17.1 0.0 -36.0 -42.8 -32.0 0.0
8 -2.0 8.5 4.0 -12.0 -25.3 0.0 0.0
9 -2.0 -3.8 4.0 4.0 -29.8 -7.0 0.0
10 -2.0 4.3 0.0 4.0 16.4 -22.0 0.0
11 -1.0 11.1 0.0 12.0 24.4 29.0 0.0

Correctness and validation

  • The extended native regression fails on updated main for the actual disabled-class / 0.55 appearance difference, then passes on the candidate. It attempts pointer/Enter/Space activation during cached authority, checks disabled semantics and the refresh description, confirms no menu or settings patch, and preserves changed/cleared-live-setting reconciliation coverage.
  • pnpm test ui/src/e2e/chat-composer-display-snapshot.e2e.test.ts --maxWorkers=1: 24.89 s wall, 2.488 s test body, on this AWS lease.
  • Focused picker/session-controls/permission tests: 51 passed across five files, 15.73 s wall.
  • Explicit isolated P2 autoreview is clean on 95d3153bfd5c; the lead-requested rebase is patch-identical.
  • node scripts/check-changed.mjs --base ce069f9f837471069b3a35df1e7c05953ea792ab: passed, including format, changed-file lint, types, and all three unused-export scans (zero entries). Two existing Solid warnings remain in the shared menu; no lint errors.
  • Full UI e2e on measurement head 95d3153bfd5c: 842 files passed / eight failed / four skipped; 3,192 tests passed / 11 failed / four skipped. Wall time 3,736.26 s. No full-suite waiver was used.
  • All eight failing files were replayed serially against separately rebuilt pinned-main assets: 35 passed / 10 failed tests. Ten assertions reproduced identically; the mobile thinking-menu geometry assertion passed in that replay.
  • A bounded five-pair base/candidate run of chat-thinking-arguments.e2e.test.ts --maxWorkers=1 passed all four tests in every arm (40/40 total). The lead accepts the original single full-run miss as load-sensitive; these are controlled replays, not a claimed product fix. Run run_97395578b6e708f647c0b55cd48d8ec0, same lease, same source heads.
  • Four-worker control of all eight original failing files: 35 passed / the same 10 failed assertions on both base and candidate, including a pass of all four thinking-argument cases in each arm. Run run_beb7cfb3d4d36353080ed382cd6cf883, same lease. The original single full-run mobile bounds miss is accepted by the lead as load-sensitive; no product fix is claimed.
  • Pre-rebase exact-head CI completed red: run 40446680910, head 95d3153bfd5ce219f10abd4b4f1359c647ae700c: 39 jobs passed, 25 skipped, three failed. All failed-job logs were fetched once and retained; no CI reruns were requested. The later rebase below follows the lead’s explicit instruction.
Failed CI job Actual failure Classification evidence
checks-ui-e2e (2/7) Two session-management.trailing-state assertions: 0px versus 52px Identical assertions on pinned main ce069f9f8374, in both serial and four-worker controls
checks-ui-e2e (6/7) Two chat-flow.sidebar-presentation bounds assertions: 1184 > 1164, 273 > 100 Identical assertions on pinned main ce069f9f8374, in both serial and four-worker controls
openclaw/ci-gate Propagates the selected UI shard failures Aggregate failure, not an additional test defect

The automated classifier calls both shard names pre-existing but explicitly does not compare signatures or selected scopes. Its hourly-main reference has different failed files in those shard numbers (provider labels and rail order); those logs were inspected once too. The assertion-level attribution above rests on the exact pinned-main controls, not matching job names. The lead accepts the separate full-run mobile bounds miss as load-sensitive, with the controlled runs below.

Lease cbx_22b6e79fc8d4 is released, has no host, and reports cleanup complete. All lane leases and Gateways are stopped. This PR is ready for lead review and has not been merged.

Full-run failing file Failed assertions Pinned-main control
model-providers.e2e.test.ts 1 Same expired-account label assertion
model-provider-login.e2e.test.ts 1 Same expiring-account label assertion
people-activity-card.e2e.test.ts 1 Same hover-card count assertion
chat-flow.sidebar-presentation.e2e.test.ts 2 Same RTL bounds and unread-layout values
session-management.trailing-state.e2e.test.ts 2 Same 0px versus 52px padding
sidebar-rail-alignment.e2e.test.ts 2 Same 40 versus 4 rail order
control-ui-automation-management.real-gateway.e2e.test.ts 1 Same private POSIX mutation-boundary failure
chat-thinking-arguments.e2e.test.ts 1 Mobile menu bottom 764.421875 versus allowed 760.046875 once in the full run; 5/5 base and 5/5 candidate isolated runs plus both parallel arms pass; lead accepts as load-sensitive

Lead classification: the mobile chat-thinking-arguments bounds miss is load-sensitive and accepted. It appeared once in the full run, then passed 5/5 candidate and 5/5 base isolated runs (all four cases in each arm), and passed both arms of the four-worker control. The supporting runs are run_97395578b6e708f647c0b55cd48d8ec0 and run_beb7cfb3d4d36353080ed382cd6cf883, on lease cbx_22b6e79fc8d4. No further investigation is requested, and no test expectation or product code was changed for that miss.

The first CI run, on prior head f4280257fa57, encountered an obsolete shared-chat board.get assertion. Main removed it in #185031. This patch was rebased unchanged onto that landed test correction; git range-diff confirms identical patch content. No CI rerun was used to chase that failure. The 95d3153bfd5c measurements above replace the earlier measurements; the lead-requested patch-identical rebase has its own CI below.

Production LOC and scope

Application runtime +8 LOC; opt-in diagnostics +1; combined non-test +9 (19 additions / 10 deletions across eight non-test files). The accessible pending description forces the small growth. Three disabled-class bindings and their superseded CSS selector are deleted. The existing regression gains 35 net lines. No configuration, stored shape, schema, protocol, effect, or untrack call is added. The lead owns review and landing; the lane worker does not merge.

Inspected synthetic filmstrip frames

The attached unmodified frames are synthetic Team-scale fixtures, inspected in full. Chat before/cached → before/live is about 697/949 ms; after/cached → after/live is about 679/1013 ms. Dashboard is 806/1076 ms before and 676/935 ms after. Catalog and unrelated shell hydration remain visible in the raw frames. No private campaign capture is attached.

Chat baseline cached settings, about 697 ms, current comparison

Chat baseline live settings, about 949 ms, current comparison

Chat candidate cached settings, about 679 ms, current comparison

Chat candidate live settings, about 1013 ms, current comparison

Dashboard baseline cached settings, about 806 ms, current comparison

Dashboard baseline live settings, about 1076 ms, current comparison

Dashboard candidate cached settings, about 676 ms, current comparison

Dashboard candidate live settings, about 935 ms, current comparison

@clawsweeper

clawsweeper Bot commented Oct 26, 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: S labels Oct 26, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes disabled dimming from composer pickers and adds an accessible description while cached settings await live confirmation.

Example: Reload a chat whose cached effort is High and permission mode is Full Access.

  • Before: The controls appear at 0.55 opacity, then brighten when live settings confirm the same values.
  • After: Their appearance stays stable while input remains disabled until live authority arrives.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A small, source-supported correction with inspected before/after browser evidence, a meaningful regression, and no actionable findings; this rating does not declare pending CI green.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected current baseline/candidate screenshots of the shipped Control UI with synthetic chat and dashboard fixtures; the recorded comparison reports stable trigger appearance through live confirmation in all 22 candidate reloads, supported by a browser regression rejecting cached-state activation.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Cached composer settings visibly brighten during reload even when live confirmation changes none of their values.
Reason: The maintainer-authored direction removes a demonstrated visual transition with minimal code and retains the existing interaction contract.

Merge readiness

✅ Ready for maintainer review

This PR is a focused, maintainer-directed visual fix with no actionable findings; exact-head CI remains pending.

Priority: P3
Reviewed head: 95d3153bfd5ce219f10abd4b4f1359c647ae700c

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI projects cached session settings into composer pickers, then hands presentation and interaction back to existing live session and catalog owners.

flowchart LR
  A[Cached session snapshot] --> C[Composer presentation]
  B[Live session and catalog] --> C
  C --> D[Model effort and permission pickers]
  D --> E[Existing interaction guards]
  E --> F[Session mutation owner]
Loading

Technical review

Best possible solution:

Keep the existing live-authority owners and remove only the redundant disabled appearance while exposing the refresh state accessibly.

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

The baseline disabled-class bindings and 0.55 opacity rule explain the transition, supported by the supplied matched browser comparison.

Is this the best way to solve the issue?

The patch is the smallest complete fix: it removes the presentation-only path and reuses existing disabled-reason, overlay, and mutation owners.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Cached composer presentation and live handoff keeps the original intent (0261812: Restore saved display facts before live settings while preventing cached facts from authorizing actions.)
  • Native model and effort picker disabled presentation changes intended behavior with a stated reason (58ea8e5: Replace Web Awesome while preserving picker appearance, accessibility, keyboard behavior, and overlay ownership; this PR explicitly changes dimming to eliminate the measured reload transition.)
  • Permission picker disabled-class binding changes intended behavior with a stated reason (697e69e: Clarify permission presentation while retaining restrictions and pending selection; this PR explains removal of dimming and preserves those state and admission owners.)
  • Pane-chrome diagnostic signature changes intended behavior with a stated reason (0261812: Measure cached pane presentation; this PR stops filtering disabled classes and includes computed trigger styles so the diagnostic observes the transition under review.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned change and current main: The introduced diff removes three disabled-class bindings and their CSS selector while retaining disabled attributes and admission logic; fetched main still contains the original presentation. (ui/src/styles/chat/composer.css:2146, 95d3153bfd5c)
  • Interaction and write authority preserved: Picker activation still rejects aria-disabled triggers, Menu retains native disabled behavior, and session callbacks retain current connection, selection, and sessions.patch access checks. (ui/src/pages/chat/components/chat-picker-overlay.ts:83, 95d3153bfd5c)
  • Current visual evidence inspected: Read the complete PR body, matching source SHA-256 528f1e1e9f79791eece20057ef916b3d1bc476ee8bf95c90074106fe74052b0a, and inspected all eight current chat/dashboard frames. The supplied comparison reports zero authority-style transitions in all 22 candidate reloads. Several prepared manifest images were older; current linked replacements were inspected directly. (95d3153bfd5c)
  • Focused regression covers the changed boundary: The extended browser regression compares computed appearance, attempts pointer/Enter/Space activation before live confirmation, rejects menus and settings writes, and retains changed/cleared-setting reconciliation coverage; the body records baseline failure and candidate success. (ui/src/e2e/chat-composer-display-snapshot.e2e.test.ts:71, 95d3153bfd5c)
  • Prior design and ownership: perf(control-ui): restore composer display facts on warm reload #184383 established cached display facts with live-only interaction authority; refactor(ui): replace Web Awesome chat pickers #171301 established the native picker and overlay contracts retained here. (ui/src/pages/chat/chat-pane-session-controls.ts:226, 80e9b4a41ae9)
  • Validation remains accurately qualified: The current-head CI gate is pending. The PR records matching baseline controls for ten full-run assertions and leaves the mobile menu-bounds failure unattributed rather than claiming passing replays fixed it. (95d3153bfd5c)

Likely related people:

  • Peter Steinberger: Raw commit 0261812 adds ui/src/pages/chat/chat-pane-session-controls.ts:223 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0261812512a0; files: ui/src/pages/chat/chat-pane-session-controls.ts)
  • Vyctor H. Brzezowski: Raw commit 697e69e adds ui/src/pages/chat/components/chat-permission-picker.tsx:197 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 697e69eff4a8; files: ui/src/pages/chat/components/chat-permission-picker.tsx)

PR surface

Source +8, Tests +35, Other +1. Total +44 across 9 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 7 15 7 +8
Tests 1 36 1 +35
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 4 3 +1
Total 9 55 11 +44

Review metrics

Metric Value Why it matters
Production versus test growth Non-test +9 LOC; regression +35 LOC Small growth supplies accessible refresh descriptions and benchmark visibility while deleting the superseded styling path and extending an existing browser scenario.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P3: This removes a brief visual transition without changing setting values or interaction authority.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-26T23:38:45.989Z sha f428025 :: needs maintainer review before merge. :: none

Reviewed October 26, 2026, 11:58 PM ET / October 27, 2026, 03:58 UTC (Revision 2).

@steipete steipete changed the title experiment(control-ui): stable composer authority visuals [do not merge] fix(control-ui): keep cached composer controls visually stable Oct 27, 2026
@steipete
steipete marked this pull request as ready for review October 27, 2026 01:20
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T04:12:36.088564Z a4c886d 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 October 27, 2026 01:43
@steipete
steipete force-pushed the steipete/coldload-composer-authority-visual branch from f428025 to 95d3153 Compare October 27, 2026 01:54
@steipete
steipete marked this pull request as ready for review October 27, 2026 03:53
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The branch is rebased, the final-head comparison and inspected synthetic media are current, and the explicit P2 review is clean. The body now records the full UI run, matching baseline controls for ten failed assertions, and one unreproduced mobile menu-bounds failure without claiming it is fixed or inherited. Exact-head ready-PR CI is running.

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Oct 27, 2026
@steipete
steipete force-pushed the steipete/coldload-composer-authority-visual branch from 95d3153 to a4c886d Compare October 27, 2026 04:10
@steipete
steipete merged commit e2edb21 into main Oct 27, 2026
114 of 115 checks passed
@steipete
steipete deleted the steipete/coldload-composer-authority-visual branch October 27, 2026 04:22
steipete added a commit that referenced this pull request Oct 27, 2026
…on reload (#185788)

Peter's Team chats are archived sessions. On warm reloads the cached page rendered a normal composer and an incomplete header breadcrumb, then switched to the archived composer bar and the full breadcrumb when live state arrived, shifting the transcript by the composer height change.

The scoped pane snapshot now carries the bounded session-state facts the header and composer render with (archived/read-only state and the breadcrumb parent context), adopted in the first pane commit through the boot-ordering hydration path (#185558); live state that differs updates in place. Cached composer controls stay non-interactive until live authority (#185144 pattern).

Results (11 interleaved pairs per route, signed-in proof rig): archived header/composer transitions after first paint 1 -> 0 and composer-driven transcript shift 26/23 -> 0 px on chat/dashboard, 11/11 each; maximum snapshot growth 215 B (+0.421%); inspected filmstrips. Runtime +152 UI LOC. 179 unit + 16 focused browser cases pass; the attachment-chooser reopen passed 10/10 per arm plus two shard replays per arm (original CI timeout unreproduced); the remaining full-UI and CI failures reproduce on exact main; autoreview clean through P2.

Release-note context: archived chats reload with their archived composer and breadcrumb already in place.
steipete added a commit that referenced this pull request Oct 28, 2026
…stable on reload (#186056)

Warm reloads rendered the chat header without its viewer facepile and sharing control, then changed it when live presence arrived: the hello-time presence is self-only (partial), cached viewers were cleared while disconnected, avatar images reloaded after a credential reset, and the sharing control appeared later and moved the facepile ~56 px.

The scoped pane snapshot now carries the bounded facepile facts (last-known viewers, overflow count, avatar references through the existing avatar cache) and the sharing control state; they render in the first pane commit via the boot-ordering hydration path (#185558). Presence is treated as incomplete until the full roster arrives, so cached viewers stay until then and only the diff applies; the cached sharing control stays mounted (non-interactive, #185144 pattern) until the live control replaces it in the same commit. Scope changes and sign-out clear the cached facts.

Results (11 signed-in pairs per route on the real-Gateway proof rig): stable header (excluding the reconnect indicator) 0/11 -> 10/11 on chat and dashboard; sharing movement 0 px; snapshot +1.64% / +1.57%. Accepted tradeoff: chat hello +42.5 ms paired median; a CPU pair attributes only ~2.2 ms to facepile rendering (remainder unattributed), to be rechecked on Team. Test-line delta 0 (consolidated fixtures; a vacuous memo-identity assertion on an unsupplied payload removed). 30 focused + native header tests on both routes; autoreview clean through P2. CI's prompt/dictation e2e failures reproduce on main (prompt failure 10/10 on main); one widget failure passes isolated controls on both arms and main's cohort. Runtime +210 UI LOC.

Release-note context: Control UI chat headers keep their viewers and sharing control in place when a chat reloads.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
…o live (openclaw#185144)

Warm reloads render the composer from cached facts (openclaw#184383) with the permission/effort controls deliberately non-interactive until live authority arrives. That gate rendered them with a disabled style, so every reload showed the trigger restyling from disabled to enabled when authority landed.

Cached-authority controls now look exactly like live controls while staying non-interactive: no activation by pointer or keyboard, truthful aria state describing the pending authority, and no choice queued against cached authority. Live authority that differs renders as an ordinary value update.

Results (11 interleaved pairs per route, Team-scale fixture, AWS c7a.4xlarge): composer authority styling transitions 1 -> 0 per trigger in 11/11 on both routes, no secondary regression; inspected synthetic filmstrips. Runtime +8 LOC. Native regression, 51 focused tests and changed-file checks pass; autoreview clean through P2; exact-head CI green. A one-off 4 px mobile thinking-arguments bounds miss in a full local run passed 5/5 head and 5/5 base in isolation and in a parallel control (load-sensitive).

Release-note context: Control UI composer controls no longer change style when a reloaded chat reconnects.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
…on reload (openclaw#185788)

Peter's Team chats are archived sessions. On warm reloads the cached page rendered a normal composer and an incomplete header breadcrumb, then switched to the archived composer bar and the full breadcrumb when live state arrived, shifting the transcript by the composer height change.

The scoped pane snapshot now carries the bounded session-state facts the header and composer render with (archived/read-only state and the breadcrumb parent context), adopted in the first pane commit through the boot-ordering hydration path (openclaw#185558); live state that differs updates in place. Cached composer controls stay non-interactive until live authority (openclaw#185144 pattern).

Results (11 interleaved pairs per route, signed-in proof rig): archived header/composer transitions after first paint 1 -> 0 and composer-driven transcript shift 26/23 -> 0 px on chat/dashboard, 11/11 each; maximum snapshot growth 215 B (+0.421%); inspected filmstrips. Runtime +152 UI LOC. 179 unit + 16 focused browser cases pass; the attachment-chooser reopen passed 10/10 per arm plus two shard replays per arm (original CI timeout unreproduced); the remaining full-UI and CI failures reproduce on exact main; autoreview clean through P2.

Release-note context: archived chats reload with their archived composer and breadcrumb already in place.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
…stable on reload (openclaw#186056)

Warm reloads rendered the chat header without its viewer facepile and sharing control, then changed it when live presence arrived: the hello-time presence is self-only (partial), cached viewers were cleared while disconnected, avatar images reloaded after a credential reset, and the sharing control appeared later and moved the facepile ~56 px.

The scoped pane snapshot now carries the bounded facepile facts (last-known viewers, overflow count, avatar references through the existing avatar cache) and the sharing control state; they render in the first pane commit via the boot-ordering hydration path (openclaw#185558). Presence is treated as incomplete until the full roster arrives, so cached viewers stay until then and only the diff applies; the cached sharing control stays mounted (non-interactive, openclaw#185144 pattern) until the live control replaces it in the same commit. Scope changes and sign-out clear the cached facts.

Results (11 signed-in pairs per route on the real-Gateway proof rig): stable header (excluding the reconnect indicator) 0/11 -> 10/11 on chat and dashboard; sharing movement 0 px; snapshot +1.64% / +1.57%. Accepted tradeoff: chat hello +42.5 ms paired median; a CPU pair attributes only ~2.2 ms to facepile rendering (remainder unattributed), to be rechecked on Team. Test-line delta 0 (consolidated fixtures; a vacuous memo-identity assertion on an unsupplied payload removed). 30 focused + native header tests on both routes; autoreview clean through P2. CI's prompt/dictation e2e failures reproduce on main (prompt failure 10/10 on main); one widget failure passes isolated controls on both arms and main's cohort. Runtime +210 UI LOC.

Release-note context: Control UI chat headers keep their viewers and sharing control in place when a chat reloads.
steipete added a commit that referenced this pull request Oct 28, 2026
…ne step (#185242)

A signed-in warm chat reload rebuilt the Details panel in visible stages: skeleton -> People -> Outputs/Progress -> Automations appended -> Subagents inserted above them, moving lower sections ~83 px; the scrollbar reserve, Progress refresh control and Outputs count also settled after mount.

The existing disposable pane snapshot now carries a bounded Details display projection (people, outputs, task progress, a compact automations display projection, subagent summary) restored through the first-pane hydration path; live owners replace those facts in place. Sections keep their final order and geometry: the scrollbar reserve is final at first paint and the Progress refresh control renders non-interactive until live authority (#185144 pattern). No new data owner; cached data carries no write authority.

Results (11 interleaved chat pairs, AWS): Details visual states after first paint 7 -> 1 (one complete admission) and changes after admission 6 -> 0, 11/11; CLS improves; hello, FCP and first rows flat; snapshot +3.60%. Accepted tradeoff: dashboard LoAF +13 ms (9/11; A/A did not reproduce). WebKit opening: a shared menu test helper's 1 s deadline was too tight under CI load; repaired (5 s), 10/10 per arm with median opens 128/135 ms. Test lines -1 net (baseline untouched). Runtime +251 LOC. 14 focused files and native Details proof pass; remaining full-UI/CI failures reproduce on main; autoreview clean through P2. Follow-up: admit Details in the first pane commit.

Release-note context: the Control UI Details panel reloads in one step instead of rebuilding section by section.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 29, 2026
…ne step (openclaw#185242)

A signed-in warm chat reload rebuilt the Details panel in visible stages: skeleton -> People -> Outputs/Progress -> Automations appended -> Subagents inserted above them, moving lower sections ~83 px; the scrollbar reserve, Progress refresh control and Outputs count also settled after mount.

The existing disposable pane snapshot now carries a bounded Details display projection (people, outputs, task progress, a compact automations display projection, subagent summary) restored through the first-pane hydration path; live owners replace those facts in place. Sections keep their final order and geometry: the scrollbar reserve is final at first paint and the Progress refresh control renders non-interactive until live authority (openclaw#185144 pattern). No new data owner; cached data carries no write authority.

Results (11 interleaved chat pairs, AWS): Details visual states after first paint 7 -> 1 (one complete admission) and changes after admission 6 -> 0, 11/11; CLS improves; hello, FCP and first rows flat; snapshot +3.60%. Accepted tradeoff: dashboard LoAF +13 ms (9/11; A/A did not reproduce). WebKit opening: a shared menu test helper's 1 s deadline was too tight under CI load; repaired (5 s), 10/10 per arm with median opens 128/135 ms. Test lines -1 net (baseline untouched). Runtime +251 LOC. 14 focused files and native Details proof pass; remaining full-UI/CI failures reproduce on main; autoreview clean through P2. Follow-up: admit Details in the first pane commit.

Release-note context: the Control UI Details panel reloads in one step instead of rebuilding section by section.
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant