Skip to content

refactor(ui): use existing panel implementation owners - #175236

Merged
steipete merged 1 commit into
mainfrom
deslop/z01-13-panel-facades-20261015
Oct 17, 2026
Merged

steipete merged 1 commit into
mainfrom
deslop/z01-13-panel-facades-20261015

Conversation

@steipete

@steipete steipete commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Private UI forwarding modules still obscure the implementation owners after their completed Solid cutovers.

User Impact

No intended visible behavior change. Assistant panels, approval dialogs, link reading, config analysis and session actions keep their existing implementations, registration, lazy loading, authorization and lifecycle.

Why This Change Was Made

Redirect current bundled callers to the same existing owners and delete five empty aliases. Update the handwritten CI owner map and one synthetic changed-file fixture to follow those same source owners; no test watch is removed. This is the panel-area slice of the wider private-facade family under the campaign's area-split exception, not a new renderer or feature removal.

12 net production lines removed across17 production paths (+25/-37);23 total paths include existing tests, fixture and helper imports. No new owner or baseline change.

Best-effort tradeoffs accepted

Evidence

Fresh focused proof passed221/221 across11files and three configurations (496.07s wrapper): CI-owner selection23/23, UI owners/siblings186/186 and native-browser config integrity12/12. Existing Solid reactive-read diagnostics and the Vite JSON-attribute advisory remain; no assertion, timeout, retry, skip or suppression changed.18-file formatting and whitespace checks passed. Fresh independent P2 review completed final source verification, scoped-clean with no actionable finding (0.98).

Targeted production UI types and scoped syntax lint passed. Required suppression proof completed4passes/1failure (36.79s wrapper): the unchanged allowlist expects backup-restore preserve-caught-error1 rather than2 and lacks the native-bridge target-origin entry. Both named sources and the test are byte-identical to HEAD; this patch adds no suppression and does not edit the baseline. This investigated local failure is retained, not claimed passing or pre-classified for future CI.

Exact-head hosted CI supplies broad proof; no local broad build, whole-graph typecheck, cycle sweep or E2E suite under the shared-host budget.

Conflict-only renewal: GitHub reported CONFLICTING. Rebased onto9a35d1a97cff8263fa36dcacc3343da1d037d778, preserving main's renamed SessionOrganizer and Dependencies constructor/notification API. The sole resolution keeps the same menu type import redirected to its existing owner; inspected range-diff contains no other lane delta. Renewed proof on signed955dad3313d6a26ac64acce87120069d4bdde023:60/60 across three organizer owner suites (60.61s wrapper), targeted UI types and one-file syntax lint pass. Required suppression proof again reports only the unchanged backup-restore/native-bridge allowlist discrepancy (107.10s wrapper); it is not claimed passing. Unchanged-input evidence above is retained, not mislabeled as new-head CI. No advancement-only rebase, assertion relaxation or CI rerun.

Completed exact-head CI39010442783 has79success,101conditional skips,1neutral,4superseded metadata cancellations and2failures, with0pending. Every selected UI unit/browser/E2E/typecheck job passed. Core type job117332102081 reports TS2741 in unchanged src/config/io.health-state-scope.test.ts:71,78: its using expressions receive unchanged ConfigHealthStateStore without Symbol.dispose. Both failing test/type-owner blobs are byte-identical between actual CI base2044a2cab833b8c88d7c679c396cdfb51f455d13 and merge20af7feb21f252b40b7e2a3dec482b59a6f57c5e; their core-only import boundary reaches none of this patch. The aggregate117333745065 is downstream. Automatic classification says new solely because scheduled main39006528379 passed without scope comparison; that scheduled head predates introducing config change8d894498/#175077. This is inherited by construction under the campaign rule, not repaired or claimed green. Full per-job attribution and successful replacement metadata/security evidence are in the landing evidence comment. Security-fast and exact PR/head security/dependency publisher39011152621 pass. No CI rerun or green-seeking source push.

@clawsweeper

clawsweeper Bot commented Oct 17, 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 17, 2026
@steipete
steipete force-pushed the deslop/z01-13-panel-facades-20261015 branch from ee0ce74 to 955dad3 Compare October 17, 2026 06:34
@steipete
steipete marked this pull request as ready for review October 17, 2026 06:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-17T06:37:36.692453Z 955dad3 Draft marked ready
ℹ️ 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 commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Exact-head landing evidence for 955dad3313d6a26ac64acce87120069d4bdde023.

CI 39010442783 completed with an inherited config-type failure, not green. Final live census enumerates all202 exact-head check runs:82success,113conditional skips,1neutral,4superseded metadata cancellations,2failures,0pending. All selected UI unit/browser/E2E/typecheck gates passed. The full scope is23 reviewed paths and12 net production lines removed.

Failing job Attribution
check-test-types-core-1 /117332102081 TS2741 at src/config/io.health-state-scope.test.ts:71,78: using requires Symbol.dispose, but ConfigHealthStateStore at src/config/io.health-state.ts:106-114 has none. Both exact failing test/type-owner blobs are unchanged between actual CI base2044a2cab833b8c88d7c679c396cdfb51f455d13 and tested merge20af7feb21f252b40b7e2a3dec482b59a6f57c5e. The failing test imports config/state production owners and the node-only temp-directory helper; production core/package imports do not reach the changed UI or CI-owner inventory. This local structural mismatch is inherited by construction under the campaign's explicit import-graph rule. It is not a passing replay or repaired claim.
openclaw/ci-gate /117333745065 Downstream aggregate of that sole failed product job. All UI shards completed successfully.

The automatic table labels the type job “new” because scheduled main39006528379 passed, explicitly without comparing scope. That scheduled headbbb775bd011b435f51a0d0ee2df2b51285f16761 predates introducing config change8d8944985883a74484c0ca397c535e5291fddcda/#175077; ancestry was checked. The already-present CI-base mismatch, not job-name coincidence, is the attribution evidence. The coordinator's known-failure ledger and last six completed schedules were checked; no listed matching flake is claimed. The config defect is reported to the coordinator through the lane ledger, outside this UI lane's edit scope.

Four cancelled checks are only draft/ready metadata: context117331631985/117331618090 are superseded by successful context117331670109; dispatch117331632417/117331617805 by successful dispatch117331669340. No product suite lacks proof through cancellation. Security-fast117331971666 passed. Publisher39011152621 explicitly targets this PR/head in review job117333802679 and passed the security/dependency policy; those statuses are successful. Only the combined CI status remains failed for the attributed type job.

Independent P0–P2 review completed source verification clean; conflict-only rebase retained main's organizer API and only redirected the same type import. The body preserves the investigated local suppression allowlist failure. No baseline, assertion, timeout, retry, skip or suppression was weakened. No CI rerun, dispatch, green-seeking push or advancement-only rebase was used. Exact-head SHA guard remains mandatory for submission.

Native initialization and baseline checkout succeeded. Native PR checkout then failed updating shared origin/main: the ref was alreadyc86a972ac5032ea26dfa1ab46f460263f6a13283 while its compare-and-swap expectedfb8d6eded985db392822ce0c8500ae0c46d033d7. This repeats the independent native origin/main contention failure recorded earlier in this campaign; earlier installed fs-safe/tsx bootstrap failures are also retained. No merge intent was submitted. The recorded supervisor/group were verified absent and exact-owner native lock recovery succeeded. Under the operator's explicit repeated-infrastructure fallback authority, submit a direct squash pinned to the reviewed head after live gate/head reconciliation. This bypasses broken shared tooling, not CI attribution, review, security or mergeability requirements.

@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 Oct 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes five private forwarding modules and redirects their callers and CI ownership watches to the existing implementations.

Example: Open the link reader beside chat.

  • Before: The lazy loader imports link-reader-panel.ts, which forwards to link-reader-panel.tsx.
  • After: The lazy loader imports link-reader-panel.tsx directly and registers the same panel.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The source-equivalent cleanup has focused test reports and passing UI CI support, with no actionable code finding; the failing required core type check remains unclassified.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored refactor is outside the ordinary runtime-proof gate and changes no implementation behavior; historical viewer screenshots were inspected but are not credited as proof for this head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Private forwarding modules obscure the implementation owners after completed Solid migrations.
Reason: The maintainer-directed cleanup removes redundant private paths without adding ownership, configuration, or public API surface.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-directed cleanup completes existing Solid cutovers without an identified regression; the required core test-type failure remains unclassified.

Priority: P3
Reviewed head: 955dad3313d6a26ac64acce87120069d4bdde023

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control UI callers load registered Solid components and schema analysis helpers; existing controllers continue to own state, permissions, and actions.

flowchart LR
  A[Application shell] --> C[Existing Solid components]
  B[Lazy panel loaders] --> C
  C --> D[Existing domain owners]
  D --> E[Gateway operations]
  F[CI ownership inventory] --> G[Browser test selection]
Loading

Technical review

Best possible solution:

Land the direct-import cleanup after the failing required check is resolved or qualified through the native inherited-failure policy.

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

No runtime bug is claimed; the redundant forwarding modules and their replacement import targets are directly verifiable in source.

Is this the best way to solve the issue?

Direct imports are the smallest complete cutover: they preserve the existing owners and lazy boundaries while removing all five forwarding modules.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Assistant and approval forwarding modules keeps the original intent (84255bc: The shared-panel migration put registered components behind existing bridge-backed Solid implementations.)
  • Link-reader forwarding module keeps the original intent (6d01bf5: The viewer migration preserved the viewer contract while establishing one Solid implementation.)
  • Session-menu forwarding module keeps the original intent (e80558a: The sidebar cutover preserved the existing menu implementation and explicitly deferred transitional adapter removal.)
  • Config-analysis forwarding module keeps the original intent (839a622: The portable-route migration retired obsolete config bridges while retaining existing analysis and mutation owners.)
  • Browser-test ownership watches keeps the original intent (80823b2: The inventory selects browser tests from declared source owners; the replacement paths preserve that purpose after alias removal.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned introduction reviewed: The introduced diff deletes forwarding-only modules and updates imports, owner-watch paths, and one synthetic file-path fixture; implementation bodies and assertions are unchanged. (955dad3313d6)
  • Complete caller cutover: Repository searches found no remaining references to the five deleted component paths; similarly named application approval and test-helper modules remain separate owners. (ui/src/app/lazy-custom-element.ts:317, 955dad3313d6)
  • Existing migration intent: refactor(ui): migrate shared launchers, panels, and dialogs to Solid #168791 established the shared Solid implementations, refactor(ui): migrate shared viewers to Solid #168790 established the viewer implementation, and refactor: migrate sidebar rendering to Solid 2 #168852 explicitly left transitional adapters for later removal. (ui/src/components/session-menu.ts:1, e80558a4da0f)
  • Accepted private-path removal: The maintainer-authored body explicitly accepts removal of private import aliases while preserving public SDK contracts; source inspection confirms the deleted files only forward to unchanged owners. (955dad3313d6)
  • CI and merge state: GitHub reports mergeable=true and mergeable_state=blocked. UI unit shards, selected browser E2E shards, and Control UI performance checks pass; check-test-types-core-1 and the aggregate CI gate fail. The job-log request redirects to productionresultssa6.blob.core.windows.net, which the network allowlist blocks, so the failure is neither attributed to this diff nor declared inherited. (955dad3313d6)
  • Prepared media inspected: All four downloaded screenshots were inspected. They are reader and file-preview before/after fixtures from the earlier viewer migration, not runtime evidence for this PR. (955dad3313d6)

PR surface

Source -15, Tests 0, Other +3. Total -12 across 23 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 16 12 27 -15
Tests 6 7 7 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 13 10 +3
Total 23 32 44 -12

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is behavior-preserving maintenance of private imports with no demonstrated user-facing defect.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 17, 2026, 2:51 AM ET / 06:51 UTC.

@steipete
steipete merged commit d1f29b5 into main Oct 17, 2026
198 of 205 checks passed
@steipete
steipete deleted the deslop/z01-13-panel-facades-20261015 branch October 17, 2026 06:59
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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