Skip to content

refactor(ui): deslop shared components and libraries third pass - #158787

Merged
steipete merged 4 commits into
mainfrom
deslop/l80-ui-components3
Sep 26, 2026
Merged

steipete merged 4 commits into
mainfrom
deslop/l80-ui-components3

Conversation

@steipete

@steipete steipete commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Shared Control UI components and libraries still repeat small rendering, type, cache, and lifecycle operations after the first two cleanup passes.

User Impact

No user-visible change is intended. Appearance, copy and i18n keys, accessibility and keyboard behavior, Gateway RPC payloads, routes, and persisted preference formats are preserved. No schema, localStorage key, stored shape, default, or migration changes are introduced. This is the third pass after #156740 and #158198; page implementations and CSS are unchanged.

Why This Change Was Made

  • Produce final command-palette items directly, share slash-command presentation metadata, and coerce scalar text drafts once per event.
  • Share Markdown reference replacement, popup-local scroll reveal, menu action markup, and attention projection through their existing owners.
  • Reuse canonical protocol and owner types, request-Promise identity, bounded Map pruning, and existing cancellation/navigation operations.
  • Remove the configuration-only Desktop fullscreen subclass and redundant forwarders; retain presentation options with Desktop's existing presentation module.
  • Derive lobster palette IDs from the weighted catalog, keep that catalog as a zero-import leaf with chimera behavior private to the look owner, and retain static sprite templates without renderer thunks.

The sweep read the full subtree. The measured reduction is 647 net production lines across 86 production files; test code changes by +1 line. This is below the requested 1,000-line threshold. The sorted coverage log accounts for all 243 production files over 200 lines, with a READ disposition for every file. Retained larger modules own concrete lifecycle, recovery, routing, or persisted-data contracts.

Evidence

All execution used Blacksmith Testbox through the repository wrapper, which verified the complete source snapshot. The final code tree is 1cef300ef0df435af55fb655f48c14daa9525dcf; head 41fa8a0c18e only refreshes CI after the shared main repair and has that same tree.

  • Full UI suite: 1,527 files / 25,559 passed, four existing opt-in/WebKit skips, 426.98 s wall. Selected E2E: 28 files / 155 passed, 241.05 s wall, including outbox migration.
  • Full changed checks and follow-up selections passed: baseline/line-cap ratchets, all 25 core-test type graphs followed by the six impacted graphs for the final palette cutover, UI types, i18n (10,047 keys), lint, and all dead-export scans. pnpm check:architecture passed with zero runtime and Madge cycles.
  • Follow-up UI suites: 194 passed for the picker/sidebar/outbox corrections; 104 passed for mascot and importer contracts after the palette cutover. The restored delayed-send suites independently passed 378 cases.
  • Final pnpm build passed in 7m11.3s. Fresh independent reviews found no actionable P0–P2 defects after each correction.
  • 12 browser capture cases passed, six on the exact base and six on the final source tree. The inspected before/after screenshots cover 21 pairs. Eighteen pairs are pixel-identical; the remaining tiny differences are isolated border pixels and visitor animation phases. The same sheets were delivered in the originating chat. GitHub returned seven rendered image elements, and all seven published PNGs fetched successfully and byte-matched the inspected originals. Desktop proof uses scripted RFB and establishes panel/fullscreen presentation.
  • Final-head CI passed on 41fa8a0c18e4cd993f3e5bb2f1027c56e256a4a6.

Changed-test costs measured with pnpm test <file> --maxWorkers=1: app-navigation-groups.test.ts 24 cases / 2.36 s wall; command-palette-catalog-search.test.ts 3 cases / 1.85 s; sidebar-issue-item.test.ts 8 cases / 2.15 s. CI-reported Vitest execution durations for those files were 0.036 s, 0.010 s, and 0.063 s respectively (excluding setup). No new tests were added.

Proof leases: tbx_01m3eh1rpywchwt4ms448pkqwn (broad UI/build/E2E), tbx_01m3eqeb322x0papyzcd622mne (follow-up checks and 194 cases), and tbx_01m3etcw3gx51q7ttmbn0vvw1g (final architecture/changed checks, 104 cases, build, and captures). Each was used serially and is now stopped/completed.

Fixes found along the way

The first full UI run caught an insertion-order regression in the optional outbox-field cleanup: durable admission compares canonical JSON bytes, and moving sendError after sendAttempts rejected delayed sends. The original field insertion points were restored; only contiguous trailing fields share a loop. Existing tests caught this regression, so no duplicate tests were added.

Hosted architecture CI caught a type-only cycle between the derived palette-ID contract and its catalog. The catalog is now a zero-import leaf; its sole consumer owns the unchanged chimera helpers privately. The first capture attempt omitted sessions.patch from the synthetic Gateway and correctly disabled the model picker on both revisions; the fixture now advertises the intended capability and waits for completed submenu presentation.

A later CI run inherited stale Testbox fetch-count assertions from main after the recovery policy added a deeper probe. The owning repair landed as 380a77a86f6; a source-identical fresh push then passed the full PR CI. That repair is outside this PR's diff.

Published-image verification used GitHub’s rendered comment HTML and the exact served PNG bytes after the optional remote Chromium verification lease expired during source preparation. That additional lease, tbx_01m3f0rkw7w4rd9mcv7ydwrtkv, is also stopped/completed; no browser success is claimed for it.

@clawsweeper

clawsweeper Bot commented Sep 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.

@steipete

steipete commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor Author

l80 shared components and libraries: large-file coverage

Baseline: efef0989b7f9682c010a6d36cd390f9cda79f75c. Every production file over 200 lines, sorted by baseline size. The scope logs cover all production files, including smaller modules. Prior passes #156740 and #158198 were checked by name-only diff and preserved. No scoped CSS was changed.

Base lines Production file Coverage and disposition
1051 ui/src/lib/cron/index.ts READ: prior pass already centralized busy mutations, payload and scheduler ownership; remaining branches preserve create/update/clone patch semantics.
800 ui/src/components/app-sidebar-session-navigation.ts READ: removed the closeAgentMenu pass-through and called the existing sidebarMenus owner directly; projection, selection, owner-scope navigation and child revalidation remain distinct contracts.
792 ui/src/components/terminal/terminal-panel-session-controller.ts READ — Import CatalogSessionKey directly after removing its local rename; preserve all session lifecycle and restore guards.
768 ui/src/components/tooltip.ts READ — Retained: provider modality, rich hover/focus ownership, description restoration, and shadow-root positioning are distinct contracts.
763 ui/src/lib/config/config-write-coordinator.ts READ: distinct autosave, explicit FIFO, update suspension, reconnect and teardown authority checks are necessary.
763 ui/src/components/session-data-controller.ts READ: Retained observed-list, catalog, child hydration, connection and mutation epochs; repeated checks fence different asynchronous owners.
760 ui/src/components/link-reader-hovercard.ts READ — Retained: reader/page cache identities and abortable preview subscription lifecycles serve different data authorities.
757 ui/src/components/lobster-pet.runtime.ts READ — Retained: seed streams, visits, molt/vigil outcomes, timers, and scene ownership are intentional independent state.
756 ui/src/lib/config/config-draft-model.ts READ: schema coercion, raw-byte preservation and three-way redacted draft replay have distinct contracts; prior pass already removed repeated patch logic.
753 ui/src/lib/chat/outbox-store.ts READ: shipped v1-v4 migration, CAS receipts, private-draft retirement and bounded retention preserve user data; no safe path retirement.
743 ui/src/lib/config/config-gateway-operations.ts READ: config reads, full-draft writes and partial patch receipts differ in ownership and publication; no redundant transport owner.
743 ui/src/components/session-menu-actions.ts READ: Applied local menu-choice tuples through canonical renderItem; removed one-use title and keyboard forwarding wrappers.
740 ui/src/lib/sessions/session-mutations.ts READ; Optimistic per-field owners already share creation/settlement; preserve model, permission, archive and connection fences.
740 ui/src/components/markdown.ts READ — Sanitizer, docs routing, bounded static cache and streaming render ownership are distinct required contracts; preserved.
740 ui/src/components/desktop/desktop-panel.ts READ — Instantiate canonical FullscreenController directly with unchanged Desktop configuration; remove subclass layer.
734 ui/src/components/browser/browser-panel-controller.ts READ — Reused the operation owner hasPendingNavigation instead of repeating its queued/committed predicates.
733 ui/src/components/session-organizer-operations.runtime.ts READ: Retained single/batch mutation paths: partial failure, durable identities, stale confirmations, undo, and preserved worktrees have distinct contracts.
727 ui/src/components/board/board-view.ts READ — Stable mount order, drag previews, and keyboard focus preserve board ownership; no safe structural deletion remains.
726 ui/src/components/markdown-parser.ts READ — Reused common prose-match replacement owner; file classification, rule ordering, attributes and labels remain local.
722 ui/src/components/image-lightbox.ts READ — Retained: panzoom, gallery swipe, safe original URL, and modal focus transitions are independently required.
720 ui/src/lib/session-progress-cards.ts READ; APPLIED one event-target matcher for lifetime and cached-card retirement; retained generation, revision and dismissal guards.
718 ui/src/components/session-organizer-controller.ts READ: Retained lazy-operation admission, drag slots, and persistence ownership; wrapper methods capture scope and lazy runtime errors.
710 ui/src/lib/sessions/session-roster-refresh.ts READ; Primary and managed query publication have distinct ownership and queue contracts; no sound further common runner.
704 ui/src/lib/chat/commands.ts READ: APPLIED one icon/category presentation table; removed parallel maps, repeated normalized key and category forwarding helper.
704 ui/src/components/link-reader-panel.ts READ — Retained: tab/history ownership and connection-scoped document/image lifetime remain necessary.
704 ui/src/components/app-sidebar-session-list-render.ts READ. Section/header/person/drag/paging/catalog paths have distinct rendering and ownership semantics; preserve.
699 ui/src/lib/sessions/session-roster-observations.ts READ; Held rows, registration retirement and reentrant notification receipts require the existing separate stages.
699 ui/src/components/terminal/terminal-connection.ts READ — Reuse canonical whitespace-preserving string reader; merge identical early/recovering exit buffering; use constructor parameter property.
697 ui/src/lib/sessions/session-reconciliation.ts READ; Read/event/write entry points carry distinct provenance and authority; existing row reducer already canonical.
697 ui/src/lib/sessions/index.ts READ; Composes lifecycle owners and presentation cache; exported facade supplies the shared application capability.
694 ui/src/components/app-sidebar-session-row-render.ts READ. Native/adopted row actions, indicators, tree expansion and accessibility remain intentional; preserve.
692 ui/src/components/panel-tab-strip.ts READ — Retained: resize measurement, drag order, selected-tab reveal, and close-focus recovery protect separate interactions.
687 ui/src/components/config-form.node.scalar.ts READ — Coerce and validate each text draft once; share candidate/message across input, revalidation and trim-on-commit paths.
687 ui/src/components/command-palette.ts READ — Consume final catalog items directly; remove three full-row conversion passes.
681 ui/src/lib/chat/composer-draft-store.runtime.ts READ: IDB expiry, tombstones, recovery transfers and revision fences retain different abort/commit semantics; generic transaction wrapper would obscure them.
670 ui/src/lib/nodes/page-operations.ts READ: paired-device and node refresh/mutation paths intentionally differ in captured-scope versus current-inventory reconciliation; token rotation validation and credential persistence retain named authority contracts.
664 ui/src/components/app-sidebar.ts READ. Lifecycle, projection caching and lazy renderer imports own update ordering; one-off request methods have different result semantics; preserve.
663 ui/src/components/app-sidebar-session-narration.ts READ. Chat and agent streams differ in cumulative-repeat handling; mid-stream internal-context suppression and subscription ownership cannot safely be collapsed.
661 ui/src/components/lobster-pet-sprites.ts READ — Applied: four static passer templates replace zero-argument renderer wrappers; all SVG geometry retained.
658 ui/src/components/sidebar-menus-render.ts READ — dispatch cases have distinct permission/action/lifecycle contracts; preserving guarded captured-menu closes avoids introducing a dynamic policy layer.
655 ui/src/components/config-form.constraints.ts READ — Exact decimal step arithmetic, safe defaults and repair ordering protect existing constrained-schema cases; no sound larger reduction found.
649 ui/src/components/app-sidebar-render.ts READ. Inlined single-call attention renderer and removed identityDetail alias; remaining renderers own distinct sidebar surfaces.
646 ui/src/components/config-form.analyze.ts READ — allOf/union/nullability analysis preserves constraints and raw-mode fallback; metadata differences from renderer are intentional.
644 ui/src/components/app-sidebar-session-catalog-render.ts READ. Inlined single-call spinner helper whose optional title parameter had no nondefault caller; row adoption/focus and project grouping remain intact.
635 ui/src/components/sidebar-menus-controller.ts READ — removed duplicate controller-state interface and replaced computed Object.assign with a checked assignment deriving types from the class.
632 ui/src/lib/channels/index.ts READ: pairing, status, and WhatsApp epochs carry distinct authorization scopes; existing mutation and login runners already own common lifecycle. No safe additional consolidation without obscuring those differences.
629 ui/src/components/settings-ui.ts READ — Shared controls already own row presentation; toggle/row activation and radio/button modes have different accessible and event contracts.
620 ui/src/components/session-hovercard.ts READ: Removed label forwarding/switch duplication and duplicate timestamp validation; compact age suffixes now exhaustively typed.
618 ui/src/lib/chat/message-normalizer.ts READ: provider content adapters preserve distinct image/audio/canvas delivery contracts; prior pass consolidated scalar reads.
617 ui/src/components/browser/browser-client.ts READ — Removed redundant GatewayRequestError-specific record extraction; canonical object coercion already includes Error instances.
615 ui/src/lib/skills/index.ts READ: replaced local skill-card and security-verdict wire types with canonical protocol types; removed unnecessary error-details cast. Operation, scope, card-cache, and installed-version guards retained.
600 ui/src/components/link-reader-content.ts READ — Retained: passive document sanitization and reader file/check/comment rendering have distinct contracts.
598 ui/src/components/app-sidebar-child-session-data.ts READ. Raw/global identities, issuance receipts, selected lineage and canonical freshness have independent responsibilities; preserve.
596 ui/src/lib/chat/chat-metadata-store.ts READ: active/queued readers and catalog publication generations serve independent retained demand; startup retry deadline is intentional.
591 ui/src/components/board/board-widget-frame.ts READ — Ticket remint, expiry, sandbox handshake, and visibility have distinct authority lifecycles; retain their guards.
588 ui/src/lib/sessions/session-row-reconcile.ts READ; Shared row reducer owns full versus partial snapshot and omission semantics; guards protect actual wire inputs.
580 ui/src/components/session-progress-hovercard.runtime.ts READ: Retained delayed focus/pointer admission, generation fencing, live projection and portal focus restoration; state transitions independently required.
575 ui/src/lib/sessions/session-placement-recovery.ts READ; Storage validation, relocation and rollback preserve exact scoped recovery bytes; no safe removal.
569 ui/src/lib/board/gateway-provider.ts READ: reconnect, mutation, refresh-backoff, minted-view-contract and ticket ownership gates are substantive; existing shared MCP view-cache owner simplified instead.
568 ui/src/components/terminal/terminal-panel.ts READ — Dock, page, hosted-tab, picker, and upload wiring have distinct UI ownership; no sound large removal remains.
565 ui/src/lib/session-pull-requests.ts READ; Watch union, refresh retry, pending waiters and publication preservation serve distinct recorded-state contracts; no further common runner is sound.
564 ui/src/components/session-lineage-controller.ts READ: Retained descriptor leases, selection identity, canonical revisions, and ancestry reconciliation; no safe shared replacement for these separate receipts.
561 ui/src/components/app-sidebar-session-types.ts READ. Consolidated identical JSON string-set storage readers, preserving every key, fallback, malformed-value behavior and shape.
549 ui/src/lib/chat/tool-cards.ts READ: call/result and standalone envelopes have distinct identity, authority and completion semantics; no safe consolidation of those branches.
545 ui/src/components/session-data-controller-catalog.ts READ: Retained catalog request admission, hidden discovery, cursor cycle detection, archive invalidation and generation cleanup.
545 ui/src/components/board/board-widget-cell.ts READ — Core, plugin, HTML, and MCP render paths encode different loading and authorization contracts.
543 ui/src/components/app-sidebar-session-navigation-logic.ts READ. Sorting, row projection, selected lookup and public global-main semantics already use canonical helpers; preserve.
539 ui/src/components/session-progress-card.ts READ: Replaced handwritten Markdown-cache eviction with canonical pruneMapToMaxSize; retained locale keys, LRU promotion, size cap, and status semantics.
538 ui/src/components/app-sidebar-session-menu-renderers.ts READ. Compact/desktop menus share item and owner helpers; menu selection paths have different actions and grouping vocabularies; preserve.
537 ui/src/components/session-progress-disclosure-controller.ts READ: Retained pointer/wheel/touch distinctions and remembered pane choice; each path carries separate lifecycle and keyboard contracts.
522 ui/src/components/terminal/terminal-panel-upload.ts READ — Read/upload/quote failures have different retry semantics; retain separate async/current-owner and expiry guards.
522 ui/src/components/config-form.node.collection.ts READ — Object and array patch boundaries require separate validation, row identity and inherited-value handling; retained.
520 ui/src/components/file-preview-modal.styles.ts READ — Retained: live scoped CSS; lane audit found no dead selectors and visual appearance must remain identical.
518 ui/src/components/sidebar-attention-store.ts READ — cron/auth requests have distinct generation, visibility, hydration, and dismissal retirement contracts; merging runners would conceal those differences.
518 ui/src/components/mcp-app-view.ts READ — Current binding, teardown, sandbox handshake and SDK adapters each enforce distinct lifecycle contracts; retained.
517 ui/src/lib/sessions/session-placement-startup.ts READ; APPLIED cancellation branches now call existing cancelSessionPlacement owner and dispatch reuses its typed input.
517 ui/src/components/mascot-animator.ts READ — Retained: deterministic schedules and mood/gesture equations preserve seeded animation; no duplicate implementation.
516 ui/src/components/assistant-panel.ts READ: Reused existing availableFor destination owner in tab rendering; retained Home startup ordering, retained identity and dock/input ownership.
511 ui/src/components/session-hovercard.css READ: Retained entire stylesheet; no dead-CSS audit evidence authorizes visual selector removal.
507 ui/src/components/app-sidebar-session-catalog-live.ts READ. Progressive host sequence, final list, retry/backoff and hidden-page request owners are distinct; preserve.
506 ui/src/components/command-palette-view.ts READ — Keyboard latest-props reads, IME guards, search retirement and action dispatch remain necessary; final catalog item contract consumed unchanged.
504 ui/src/components/login-gate.ts READ — Retained: form/status rendering and guarded stale-chunk refresh preserve distinct recovery paths.
498 ui/src/lib/agents/index.ts READ: removed redundant file-request symbol map; the existing request Promise now supplies exact dispatch ownership across refresh, invalidation, reconnect, file recording, and disposal.
494 ui/src/components/select-picker.ts READ — Applied: uses shared region-only reveal; retains the monotonic ID allocator and distinct keyboard/group state.
491 ui/src/lib/chat/chat-types.ts READ: APPLIED Canvas preview derives from canvas parser owner; durable attachment derives shared ChatAttachment metadata instead of repeating fields.
489 ui/src/lib/agents/display.ts READ: config defaults, model alias/profile precedence, and identity fallback chains differ by caller contract; prior-pass canonical helper replacements already present.
488 ui/src/components/config-form.node.shared.ts READ — Shared field/sensitive/JSON editors already canonical; JSON draft equality differs deliberately from scalar identity.
485 ui/src/lib/sessions/github-publication-controller.ts READ; One controller already owns publication/status/confirmation with distinct admission and custody semantics.
477 ui/src/lib/chat/model-select-state.ts READ: selection availability, ambiguous provider aliases and effective fast-mode support remain distinct projections.
470 ui/src/components/panel-loading-skeleton.ts READ — Retained: each variant has distinct DOM/geometry and CSS is live under the lane audit.
469 ui/src/components/onboarding-memory-import.ts READ — Plan/apply binding, per-provider results and sessionStorage completion guard have distinct behavior; no sound simplification remains.
463 ui/src/components/file-preview-modal.ts READ — Retained: query/list and document-tree variants, scoped scroll resets, and large-file chunking have distinct contracts.
462 ui/src/components/settings-sidebar.ts READ — Search ranking, block deduplication and creator roster order are separate visible contracts; preserved.
461 ui/src/lib/model-catalog-store.ts READ; Request budgets, queued refreshes and transport settlement are separate ownership facts; existing shared-request subscription is already canonical.
460 ui/src/components/portaled-hovercard.ts READ — Retained: shared portal lifetime already canonical; modality, focus, visibility and positioning safeguards are required.
460 ui/src/components/browser/browser-panel-render.ts READ — Rendered controls differ in busy state, labels, native gating, and navigation semantics; no visual rewrite justified.
454 ui/src/lib/sessions/session-key.ts READ; APPLIED identical ACP/subagent prefix classification shares normalization; removed file-narrating comment.
454 ui/src/components/exec-approval-card.ts READ — Retained: shared approval decisions/body already canonical; sidebar/modal presentations intentionally differ.
452 ui/src/components/sidebar-update-card.ts READ — compact/full modes retain different DOM, controls, and status precedence; shared projection already exists in update owners.
450 ui/src/lib/sessions/grouping.ts READ; Table/sidebar grouping have distinct ordering and drop-target contracts; prior pass already shares project/identity helpers.
450 ui/src/components/mascot-canvas.ts READ — Retained: canonical art paths, transforms, gradients and effect shapes preserve visual output.
447 ui/src/lib/nodes/inventory.ts READ: derive node row, approval, slot, and bundle types from canonical NodeListNode; remove one-use raw alias. Retain UI host-stat validator because canonical server validator differs on bounds, absent fields and unknown fields.
441 ui/src/components/browser/browser-panel-stream.ts READ — Stream attempts own decodes, first-frame settlement, retries, and URL retirement; distinct guards are meaningful.
435 ui/src/components/desktop/desktop-panel-view.ts READ — Desktop picker, credentials, recovery, and connected views differ meaningfully; preserve exact templates.
434 ui/src/components/modal-dialog.ts READ — Retained: Web Awesome/native overlay custody and initial/return-focus ordering cannot be removed safely.
430 ui/src/lib/chat/tool-call-patch.ts READ: unified, structured and patch-tool inputs already share hunk/section collector; distinct header parsing stays.
429 ui/src/lib/chat/source-previews.ts READ: source envelope validation, citation redirects and completed-call provenance prevent incorrect/unsafe preview assignment.
429 ui/src/components/lobster-pet-look.ts READ — Applied: weighted selector accepts readonly tuples; look privately owns chimera behavior, leaving the palette catalog as a zero-import leaf and removing three unnecessary exports.
427 ui/src/components/lobster-pet-sprites-wild.ts READ — Retained: palette-specific dynamic SVG geometry and eye states are visual contracts.
426 ui/src/components/session-group-defaults-dialog.ts READ: Retained repository request token, modal settlement, picker lifecycle and worktree choice; markup shares existing place-browser and dropdown owners.
424 ui/src/components/browser/browser-panel-controller-input.ts READ — Pointer capture, click ordering, paste authority, and throttled inspect guards protect separate input contracts.
423 ui/src/lib/sessions/session-list-query.ts READ; List snapshot admission, refresh coalescing and query identity retain Gateway coverage and pagination contracts.
423 ui/src/components/wizard-step-controls.ts READ — Choice/text/confirm branches preserve differing channel and model-setup controls; earlier shared-renderer cleanup retained.
421 ui/src/components/browser/browser-panel-native-controller.ts READ — Native popup selection, pending activation, and snapshot ownership remain separate lifecycle responsibilities.
420 ui/src/lib/device-pair-setup.ts READ; Pairing reconciliation, uncertain delivery and expiry are distinct states with current setup ownership; validation protects actual RPC/event inputs.
419 ui/src/components/multi-select.ts READ — Applied: uses shared region-only reveal; retains its monotonic ID allocator, custom-entry and chip behavior.
419 ui/src/components/lobster-pet-plans.ts READ — Retained: seeded event distributions and persisted moving-day compatibility are named behavior contracts.
417 ui/src/components/markdown-streaming.ts READ — Fence/list/raw HTML/reference checkpoints protect literal bytes and partial-input stability; no redundant path found.
417 ui/src/components/app-sidebar-agent-menu.ts READ. Static action rows now use shared sidebar menu template; existing typeahead, focus, close and command dispatch remain intact.
411 ui/src/lib/sessions/session-deletions.ts READ; Pending/confirmed/rollback records and generation lifetime are required; projection changes membership unlike shared row mapper.
410 ui/src/components/markdown-details.ts READ — Shared disclosure walk already owns static/streaming decisions; raw HTML block ownership cannot be collapsed with disclosure parsing.
402 ui/src/lib/sessions/swarm-roster.ts READ; APPLIED removes forwarding await/result intermediate and one-use timestamp comparator; retained retry/observation owners.
399 ui/src/components/icons.ts READ; APPLIED removed the narrating file header. — Retained: icon table uses canonical stroke shell; all icon names have source consumers.
397 ui/src/lib/chat/tool-call-view.ts READ: canonical tool kind dispatch already owns presentation; edit/insert/write diff authority differs by source.
391 ui/src/lib/sessions/session-row-provenance.ts READ; Per-field writer/read receipt ordering is canonical and protects cached/list/event races.
390 ui/src/components/sidebar-issue-item.ts READ — narrowed approval/update context to guaranteed callers; removed always-true update visibility argument and unreachable fallback branches.
388 ui/src/lib/board/widget-sandbox-host.ts READ: trusted outer frame, private-port adoption, ticket acknowledgments, render lifetimes and connection fencing each enforce separate authority/lifecycle boundaries.
387 ui/src/components/markdown-mermaid.ts READ — Blob URL retirement, shared renderer cache and theme-generation gating necessary; CSS preserved.
385 ui/src/components/app-sidebar-session-projection.ts READ. Sticky membership, child expansion and subtitle hold state have explicit invalidation contracts; preserve.
383 ui/src/components/mcp-servers-card.ts READ — Mutations already canonical through patchMcpServers; UI feedback generation and login lifecycle remain required.
380 ui/src/components/lobster-pet-scene-view.ts READ — Applied: scene consumes static passer templates; seeded look selection, geometry, and title logic retained.
374 ui/src/lib/sessions/session-capability.ts READ; Public UI capability intentionally narrows protocol and describes lifecycle outcomes; aliases expose module contracts.
374 ui/src/components/sidebar-people.runtime.ts READ — pointer/focus/explicit-hold paths and live connection revalidation remain necessary; shared PortaledHovercardController already owns common portal state.
374 ui/src/components/browser/browser-panel.ts READ — Connection, presentation, preferred tab, and explicit toggle changes have distinct precedence; preserve them.
372 ui/src/components/person-reference.ts READ — Retained: authorized directory merge-edge resolution and scoped person-card navigation are required.
367 ui/src/lib/model-catalog-cache.ts READ; Display retirement and in-flight read/transport lifetime intentionally differ; existing cache owner already centralizes invalidation.
364 ui/src/lib/agents/roster-activity-store.ts READ: bounded session window reuses canonical reconciler, admission and event pacing; retained raw request ownership prevents overlap through reconnects and reattachments.
364 ui/src/components/canvas-widget-view.ts READ — Retained: sandbox binding, prompt authority, runtime-error reporting and view sharing enforce distinct boundaries.
363 ui/src/components/login-gate-feedback.ts READ — Retained: error priority, translated recovery steps, commands and docs URLs are explicit UX contracts.
363 ui/src/components/command-palette-catalog-search.ts READ — Produce final CommandPaletteItem rows, delete intermediate row type/full-field copier, map category labels to their unchanged translation keys.
358 ui/src/components/sidebar-attention.ts READ — removed duplicate equality guards around Lit @State setters for overflow cues; preserved calculations and focus handling.
358 ui/src/components/board/board-document.ts READ — Provider binding generations, access gates, and session lookup are necessary document ownership boundaries.
356 ui/src/lib/config-form-utils.ts READ; Schema hints, redacted-secret omission and protected path traversal have distinct contracts; prior pass already consolidated recursion.
355 ui/src/lib/session-display.ts READ; Persisted legacy keys and channel/account/worktree display rules have named data contracts; no sound consolidation without changing labels.
355 ui/src/components/sidebar-agent-roster.ts READ — shared AgentRosterElement owns store/avatar state; separate roster and new-session-menu templates protect distinct UX.
350 ui/src/lib/sessions/session-requests.ts READ; APPLIED transcript key adapter reuses canonical session request key/agent normalization.
348 ui/src/lib/nodes/index.ts READ: legacy storage migration is a shipped preference/credential contract; key fingerprinting and insecure-context hash fallback remain needed. No equivalent shared browser base64url decode owner found.
347 ui/src/components/terminal/terminal-pending-actions.ts READ — Import canonical CatalogSessionKey directly; persistent queue, refresh fence, and active host ownership remain intact.
345 ui/src/lib/sessions/session-group-catalog.ts READ; Catalog and defaults differ in access/readiness; legacy storage migration is a named persisted-data contract.
344 ui/src/components/app-sidebar-agent-session-rows.ts READ. Shared chip/roster forest retains scoped ancestry and ownership exceptions; preserve.
343 ui/src/lib/chat/outbox-store-codec.ts READ: APPLIED typed optional-string projection loop and canonical asFiniteNumber timestamps; kept delivery state recovery precedence.
343 ui/src/components/person-activity-card.ts READ — Retained: authorized roster intersection and presence connection facts do not duplicate a stronger owner.
343 ui/src/components/link-reader-panel.styles.ts READ — Retained: live scoped CSS; lane audit found no dead selectors and visual appearance must remain identical.
336 ui/src/components/image-lightbox.styles.ts READ — Retained: live scoped CSS; lane audit found no dead selectors and visual appearance must remain identical.
336 ui/src/components/desktop/desktop-session-controller.ts READ — Inventory startup polling and targeted availability reads have distinct generation and target receipts.
335 ui/src/components/resizable-divider.ts READ — Retained: pointer capture, frame coalescing, keyboard control and ratio measurement remain necessary.
334 ui/src/lib/config/config-write-reconciliation.ts READ: authoritative receipts, interrupted writes and teardown each need their own lifecycle; no duplicate owner.
334 ui/src/components/config-form.render.ts READ — Form/subsection wrappers and advanced disclosure callbacks carry visible layout and routing contracts; retained.
324 ui/src/lib/board/grid.ts READ: canonical layout, resize/drag/nudge and auto-height owner already consolidated; layout clamp and pointer chrome constants are visible behavior, unchanged.
322 ui/src/lib/tasks/data.ts READ: reuse isActiveTask for detail and partition logic; collapse equivalent queued/running promotion branches; explicit runtime-label descriptor table preserves each i18n key and unknown fallback.
322 ui/src/components/browser/browser-panel-operation-ownership.ts READ — Canonical request-generation and navigation-commit owner is already shared by controller, stream, and snapshots.
318 ui/src/components/config-form-collection-draft.ts READ — Key/value drafts and unsafe-integer string union handling cannot share scalar input coercion without changing behavior.
315 ui/src/lib/chat/thinking.ts READ: profile owner already serves commands and controls; known/unknown/inherited levels require current branches.
314 ui/src/lib/toast.ts READ; Modal movement, FIFO notifications, focus pause and exit completion require separate lifecycle state; templates preserved.
313 ui/src/components/link-reader-content.styles.ts READ — Retained: live scoped CSS; lane audit found no dead selectors and visual appearance must remain identical.
310 ui/src/components/lobster-pet-scene.ts READ — Retained: geometry observer and collision-free lane/hop planning are the canonical scene owner.
309 ui/src/components/app-sidebar-nav-menus.ts READ. Owns shared static menu action template used by Customize, More, agent, identity and native-Gateway actions.
308 ui/src/lib/chat/tool-call-diff.ts READ: bounded LCS, producer diff parsing and preview truncation represent different evidence; shared primitives already reused.
308 ui/src/components/board/board-mcp-app-lifecycle.ts READ — Removed the notify forwarding method; call the existing host update owner directly.
307 ui/src/components/provider-usage.ts READ — Quota, billing and daily history have separate formatting/presentation semantics; existing cost-breakdown owner retained.
307 ui/src/components/desktop/desktop-audio.ts READ — Acknowledged stop barriers, user activation, and visibility retirement are necessary capture authority rules.
307 ui/src/components/app-sidebar-identity-menu.ts READ. Static action rows now use shared sidebar menu template; Gateway selection, disabled pairing, shortcut slots and footer keyboard order are unchanged.
306 ui/src/components/identity-avatar-view.ts READ — Retained: lease reacquisition, image-event state, fallback, and hat rendering already have one owner.
304 ui/src/components/sidebar-attention-panel.runtime.ts READ — removed redundant side-effect import of its existing runtime re-export and dead always-true visibility forwarding.
304 ui/src/components/markdown-tables.ts READ — Table observer/dialog/copy lifecycles differ from code block controls; consolidating would require extra policy hooks with little simplification.
296 ui/src/lib/sessions/session-roster-cache.reader.ts READ; Persisted record validation and IndexedDB admission are required; browser cache failures stay optional.
294 ui/src/components/browser/browser-annotation.ts READ — Page-controlled text, URL, and selector sanitization differs intentionally; drawing and prompt helpers are shared.
293 ui/src/components/session-placement-move-dialog.ts READ: Retained placement target shaping and machine/OS selection; uses canonical cloud-option renderers and modal host.
289 ui/src/components/link-reader-preview.ts READ — Retained: untrusted preview parsing and image eligibility also cover seeded previews; rendering rechecks are not redundant.
288 ui/src/lib/sessions/navigation.ts READ; Gateway comparator differs in pin inputs; UI alias, selected-row and visibility policies cannot safely be replaced.
288 ui/src/components/session-icon-picker.ts READ: Retained shared appearance controls, SVG/emoji admission and geometry-based roving keyboard focus; all options have callers.
287 ui/src/lib/format.ts READ; APPLIED removed the narrating file header. Localized timestamp, relative-time, cost and token functions each preserve different display defaults; existing duration/token owners already reused.
284 ui/src/components/session-menu.ts READ: Removed pull-request truthiness recheck after early return; retained shared actions plus plugin/worktree-only dispatch and compact menu lifecycle.
281 ui/src/components/session-link-titling.ts READ: Uses canonical map eviction and hover-link selector; retained title cache lifetimes, route preservation and local session identity lookup.
281 ui/src/components/provider-icon.ts READ — Explicit asset aliases and cloud/model identity domains are required display contracts; retained.
280 ui/src/components/markdown-code-blocks.ts READ — Shared interaction owner already covers copy/wrap/reveal/JSON; clipboard encoding and stale-payload gates retained.
276 ui/src/lib/sessions/reconcile.ts READ; Canonical membership-preserving projection and list adapter already shared; defaults/history admission is distinct.
274 ui/src/lib/board/provider.ts READ: scoped forwarding provider enforces per-consumer live authority while sharing transport state; null provider is consumed before a lease and preserves unavailable behavior.
270 ui/src/components/icons-tools.ts READ — Retained: canonical stroke shell and shared SVG icon values; no zero-consumer icon found.
270 ui/src/components/config-form.node.ts READ — Renderer dispatch and union editor selection preserve typed enum and sensitive-input contracts; retained.
266 ui/src/lib/config/config-state-model.ts READ: canonical snapshot/connection admission and editable agent targeting are consumed throughout settings; state initializer supplies types.
264 ui/src/components/config-form.node.collection-map.ts READ — Map-key rename/redaction and parent patch acceptance have distinct semantics from arrays; retained.
263 ui/src/components/desktop/desktop-client.ts READ — noVNC owns key translation while this adapter owns handoff and presentation authority; preserve explicit lifecycle.
262 ui/src/lib/authenticated-avatar-route.ts READ; Shared route consumers, credential recovery and bounded 503 retry have independent lifetimes; preserve blob release and render handoff.
258 ui/src/components/browser/browser-panel.styles.ts READ — READ without edits; no repo dead-CSS evidence supports deletion and visuals are a hard contract.
257 ui/src/components/config-form.search.ts READ — Tag normalization, literal field metadata and recursive schema/value traversal serve separate matching contracts.
256 ui/src/components/browser/browser-panel-snapshot-controller.ts READ — Screenshot, metrics, and stream-generation acceptance guards prevent stale document publication.
251 ui/src/lib/identity-avatar-loader.ts READ; Image cache and view references have separate responsibilities; preserve context retirement, miss retry and blob retention.
251 ui/src/lib/config/mcp-servers.ts READ: command tokenizer preserves Windows escapes; config patch owner already centralizes writes.
251 ui/src/lib/chat/model-ref.ts READ: provider-qualified identity and alias label disambiguation remain necessary and use canonical model normalization.
251 ui/src/components/session-organizer-batch-mutations.ts READ: Retained chunk limits, partial-success accounting, row identities, per-agent reconciliation, and personal involvement semantics.
249 ui/src/lib/widget-sandbox-host.ts READ; Proxy readiness, document fetch and rendered receipts are separate cross-origin lifecycle states; guards remain necessary.
249 ui/src/lib/chat/outbox-payload-store.runtime.ts READ: strict durable payload commits, ownership claims and queue-preserving capacity bounds are concrete retention contracts.
249 ui/src/lib/chat/emoji.ts READ: incomplete Markdown literal detection and prefix lookup provide bounded contextual completion; no simpler existing owner.
247 ui/src/lib/sessions/session-permission-projection.ts READ; Claims and confirmed permission facts share one owner; equal clocks intentionally retain refresh arbitration.
246 ui/src/lib/sessions/session-managed-list-refresh.ts READ; Managed list request/queued replacement owner preserves independent membership and primary field projection.
246 ui/src/lib/cron/runs.ts READ: one canonical request identity already owns filtered, paged and coalesced history; prior pass consolidated this.
245 ui/src/lib/sessions/session-run-terminal.ts READ; Active overlap identity and runtime clock receipts differ from persisted row settlement; existing reducer shared.
243 ui/src/components/tooltip-title.ts READ — Retained: native-title suppression and restoration plus lazy-preview ownership protect accessible names.
243 ui/src/components/lobster-pet-traffic.ts READ — Retained: separately seeded passer/bottle schedules preserve per-load consumption and disposal.
242 ui/src/components/openclaw-mascot.ts READ — Retained: reduced-motion, viewport visibility, animation frame and canvas playback transitions are required.
241 ui/src/lib/config/runtime-config-capability.ts READ: public capability exports an intentional subset of coordinator methods; loader and update interlocks own separate facts.
240 ui/src/lib/hover-marquee.ts READ; Batched geometry reads, hover intent, reduced motion and visibility preserve actual layout/keyboard behavior; no sound reduction.
240 ui/src/components/session-attention-presentation.ts READ: Consolidated active/queued/unread/failed aggregation into one pass with one child-summary selection; presentation precedence unchanged.
239 ui/src/components/agent-select.ts READ — Retained: avatar leases and Web Awesome selection/focus behavior are distinct from searchable picker behavior.
238 ui/src/components/session-data-controller-events.ts READ: Retained query ownership, reconnect row retention, error priority and bootstrap pacing; no duplicate owner found.
237 ui/src/components/desktop/desktop-panel-styles.ts READ — READ without edits; no repo dead-CSS evidence supports deletion and visuals are a hard contract.
236 ui/src/lib/agents/identity.ts READ: replace local trimmed unique identifier helper with normalizeUniqueTrimmedStringList; cache TTL, invalidation epochs and publication ownership unchanged.
232 ui/src/lib/sessions/session-placement-submit.ts READ; Recovery receipt proof, persistence, cancellation and ownership-loss outcomes differ and remain required.
232 ui/src/lib/sessions/session-github-publication.ts READ; Operation custody is separate from pane presentation and tracks only invocation/authority facts.
231 ui/src/lib/board/widgets/browser.ts READ: request generation and scope capture isolate selected widget/transport while pending refresh intent survives active changes; rendered content and callbacks left unchanged.
231 ui/src/components/keyboard-shortcuts-dialog.ts READ — Retained: modal-layer and current-host checks preserve shortcut/focus ownership.
229 ui/src/lib/sessions/session-menu-navigation.ts READ; Transcript export paginates with branch and tail fences; window reservation and link base contracts remain.
229 ui/src/components/markdown-session-links.ts READ — Reused prose-match replacement owner; local/external session recognition and navigation unchanged.
227 ui/src/components/app-sidebar-session-catalog-state.ts READ. Paging merge and replay share row merge/error helpers while differing in retention and issuance semantics; preserve.
226 ui/src/components/dock-layout-controller.ts READ — Retained: suppression, persisted restoration and viewport reservation have distinct semantics.
226 ui/src/components/browser/browser-panel-native-presentation.ts READ — Native presentation needs independent geometry, occlusion, and scope-order receipts.
225 ui/src/lib/sessions/session-pending-rows.ts READ; Generic optimistic field owner already centralizes start, observe, settle, abandon and clear.
225 ui/src/components/app-sidebar-session-catalogs.ts READ. Catalog filtering, adoption and hovercard lookups each own distinct projection behavior; preserve.
224 ui/src/lib/sessions/session-archive-state.ts READ; Rowless archive receipts survive list removal; metadata rollback differs from ordinary optimistic fields.
224 ui/src/lib/chat/tool-display.ts READ: shared display owner already used; browser-safe home shortening and capability URL mapping retain browser contracts.
221 ui/src/lib/board/widget-bridge.ts READ: per-method validation protects private message-port boundary, authority, UTF-8 limits and rate budgets; different data/action payload omission contracts prevent collapsing dispatch blindly.
220 ui/src/lib/cron/jobs.ts READ: compact/full inventory already share pagination owner; validation establishes snapshot and dismissal authority.
220 ui/src/components/sidebar-attention-dismissals.ts READ — persistence normalization validates untyped stored data; per-agent and complete-inventory authority must remain distinct.
218 ui/src/components/session-attention-controller.ts READ: Retained pending-question ownership, per-client reconnect refresh, agent status expiry and failed-run visibility.
214 ui/src/components/markdown-blocks.ts READ — One directive already owns post-commit code/Mermaid lifecycle; table owner has independent retirement contract.
213 ui/src/components/link-reader-prefetch.ts READ — Retained: visibility-only bounded prefetch and connection/session cancellation are intentional.
213 ui/src/components/app-sidebar-session-tree.ts READ. Child/subagent folds preserve separate navigation and operational state; preserve.
211 ui/src/components/sparkline-tile.ts READ — Retained: stack gaps, autorange and scrub geometry preserve independent chart behavior.
209 ui/src/components/sidebar-attention-items.ts READ — unified failed/overdue cron projection while retaining group order, timestamp ordering, labels, severities and dismissal signatures; inlined single-use alert/name/meta/length wrappers.
209 ui/src/components/desktop/desktop-picture-in-picture.ts READ — The mirror owns no remote input/socket and must retain popup lifecycle, frame pacing, and failure cleanup.
207 ui/src/lib/sessions/session-scoped-operations.ts READ; Previous pass already centralizes current reads and committed mutations; retain distinct error/result semantics.
202 ui/src/components/web-awesome.ts READ — Retained: dropdown keyboard, native occlusion and accessible menu labels are necessary adapter contracts.

@steipete
steipete marked this pull request as ready for review September 26, 2026 09:37
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 26, 2026
@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 26, 2026, 10:39 AM ET / 14:39 UTC (Revision 7).

ClawSweeper review

What this changes

Consolidates shared Control UI helpers across search, sidebar, Markdown, configuration, desktop, mascot, and outbox paths without intending a user-visible change.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open. The two linked cleanup passes are merged, but current main still contains code uniquely changed by this branch. The earlier compatibility concern is resolved by the retained preference keys, defaults, and outbox field order; no actionable defect was found.

Priority: P3
Reviewed head: 41fa8a0c18e4cd993f3e5bb2f1027c56e256a4a6

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Direct browser captures, broad validation, and a source-backed compatibility check support an above-average cleanup with no identified blocker.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The changed Control UI was exercised in a browser with synthetic Gateway data and scripted Desktop RFB; inspected before/after sheets show matching visible picker, configuration, Desktop, and mascot states at the reviewed source tree. Source comparison retains the stored preference contract and outbox field order, supported by the reported migration E2E and delayed-send results.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The changed Control UI was exercised in a browser with synthetic Gateway data and scripted Desktop RFB; inspected before/after sheets show matching visible picker, configuration, Desktop, and mascot states at the reviewed source tree. Source comparison retains the stored preference contract and outbox field order, supported by the reported migration E2E and delayed-send results.
Evidence reviewed 9 items Distinct work remains: Current main still has the command-palette conversion helper and route-ID representation replaced by this PR.
PR implementation: The branch produces final command-palette navigation actions directly.
Stored preference compatibility: The shared reader uses the existing localStorage keys and retains the collapsed-section first-run fallback.
Findings None None.
Security None None.

How this fits together

The Control UI is the browser app served by the Gateway. Gateway data and browser-local preferences feed its shared components, which render views and send user actions back to the Gateway.

flowchart LR
  A[Gateway data and events] --> C[Control UI state]
  B[Browser preferences and drafts] --> C
  C --> D[Shared UI helpers]
  D --> E[Sidebar, chat and settings]
  D --> F[Desktop and board views]
  E --> G[User actions and Gateway requests]
  F --> G
Loading

Before merge

  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

None.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Technical review

Best possible solution:

Retain this distinct cleanup for normal PR review and landing, with its browser parity and existing-state outbox behavior preserved.

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

Not applicable: this is a behavior-preserving cleanup PR, and the review identified no current-main bug to reproduce.

Is this the best way to solve the issue?

Yes: the branch reuses existing Control UI owners, and the inspected storage paths and browser captures support the intended behavioral parity.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d9a52238b381.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is an internal Control UI cleanup with no intended user-visible behavior change.
  • 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. Sufficient (screenshot): The changed Control UI was exercised in a browser with synthetic Gateway data and scripted Desktop RFB; inspected before/after sheets show matching visible picker, configuration, Desktop, and mascot states at the reviewed source tree. Source comparison retains the stored preference contract and outbox field order, supported by the reported migration E2E and delayed-send results.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed Control UI was exercised in a browser with synthetic Gateway data and scripted Desktop RFB; inspected before/after sheets show matching visible picker, configuration, Desktop, and mascot states at the reviewed source tree. Source comparison retains the stored preference contract and outbox field order, supported by the reported migration E2E and delayed-send results.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The changed Control UI was exercised in a browser with synthetic Gateway data and scripted Desktop RFB; inspected before/after sheets show matching visible picker, configuration, Desktop, and mascot states at the reviewed source tree. Source comparison retains the stored preference contract and outbox field order, supported by the reported migration E2E and delayed-send results.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Patrick Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Shakker: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (6 earlier review cycles)
  • reviewed September 26, 2026, 5:55 AM ET / 09:55 UTC sha unknown :: blocked before merge. :: none
  • reviewed 2026-09-26T10:26:35.964Z sha 5e444e9 :: blocked before merge. :: none
  • reviewed 2026-09-26T12:03:28.351Z sha 2f4f399 :: blocked before merge. :: [P2] Break the mascot contract's import cycle
  • reviewed 2026-09-26T12:47:39.505Z sha 1f7d2fd :: blocked before merge. :: none
  • reviewed 2026-09-26T13:39:38.117Z sha 41fa8a0 :: blocked before merge. :: none
  • reviewed 2026-09-26T14:27:15.455Z sha 41fa8a0 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Sep 26, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 26, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 26, 2026
Refresh the PR merge-ref checks after main repaired stale bounded-fetch assertions in 380a77a.
@steipete

Copy link
Copy Markdown
Contributor Author

Inspected before/after screenshots from an isolated Control UI browser with synthetic Gateway data and scripted RFB. Before is efef0989b7f; after is source tree 1cef300ef0d, unchanged at current head 41fa8a0c18e.

All 12 selected browser cases passed (six per revision). Eighteen of 21 full screenshot pairs are pixel-identical, including all sidebar and menu states, scalar config fields, the resident mascot, and Desktop states. The remaining differences are confined to animated visitor sprites (35 and 252 pixels) and 19 isolated input-border pixels; full images were inspected for appearance and synthetic-only content. No credentials, real user data, internal identifiers, or invitation cards are present. Desktop captures prove panel and fullscreen presentation over the synthetic framebuffer.

Each sheet places before on the left, after on the right. The first capture attempt's submenu placement offset disappeared after the fixture awaited the submenu's public opening completion and stable proof surface.

Primary and fallback pickers; scalar fields

Numeric config write; Desktop default and disconnected

Desktop exit, focus, and fullscreen

Desktop hover; resident mascot and duck visitor

Penguin visitor; command palette and model menu

Composer slash menu; Markdown and agent menu

Identity menu; session Open in and Copy menus

@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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Sep 26, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current head is 41fa8a0c18e4cd993f3e5bb2f1027c56e256a4a6; its source tree is unchanged from the reviewed/tested palette-cycle repair. Final-head CI passed. The PR body now links the inspected 21-pair screenshot set and the complete 243-file coverage log. The same screenshots were delivered in the originating chat.

The compatibility flags are resolved: this cleanup changes no schema, default, localStorage key, persisted shape, or migration. Original optional outbox-field insertion order is retained, and the existing outbox migration E2E plus delayed-send suites pass. The current evidence and known capture limits are recorded in the PR body and screenshot comment.

@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

Compatibility review is complete against the full diff. No Gateway RPC method/payload, config schema/default, localStorage key/shape, or migration changes are introduced. The outbox decoder retains its original field insertion order; existing migration E2E and 378 delayed-send cases pass. The remaining generic compatibility checklist entries come from incomplete file-list metadata, not an identified contract change; no new migration is required.

Published proof is verified: GitHub renders seven image elements in the linked screenshot comment, and all seven served PNGs were fetched successfully and byte-matched to the inspected originals. All comparison sheets were also delivered in the originating chat. Final CI is green for 41fa8a0c18e4cd993f3e5bb2f1027c56e256a4a6, with source tree 1cef300ef0df435af55fb655f48c14daa9525dcf unchanged.

BELOW-THRESHOLD-PR-READY: 647 net production lines removed; the complete 243-file coverage log is linked from the PR body. The PR remains unmerged.

@steipete
steipete enabled auto-merge (squash) September 26, 2026 15:31
@steipete
steipete merged commit 596250c into main Sep 26, 2026
191 checks passed
@steipete
steipete deleted the deslop/l80-ui-components3 branch September 26, 2026 15:31
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
…claw#158787)

* refactor(ui): deslop shared components and libraries third pass

* refactor(ui): finish shared component cleanup checks

* refactor(ui): keep lobster palette catalog independent

* ci: refresh checks after shared base recovery repair

Refresh the PR merge-ref checks after main repaired stale bounded-fetch assertions in 824ba21.
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. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant