Repository navigation
feat: discover and manage personal themes in Appearance - #184960
roboclaw-bot wants to merge 1 commit into
Conversation
OpenClaw-Publication: 39cd947c-1d45-459e-a4c3-5273312e19a2
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
|
Codex review: needs changes before merge. What this changesThis PR adds ClawHub theme discovery, pinned installation, and personal-theme removal to Appearance. Example: A signed-in user finds studio/aurora version 1.0.0 in Appearance.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored feature has clear user value, but failed searches can pair an old pagination cursor with a new query. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherAppearance sends theme RPCs to the Gateway, which reads data-only releases from ClawHub and stores normalized definitions in the requesting profile's existing preferences. flowchart LR
A[Appearance] --> B[Theme discovery owner]
B --> C[Gateway theme methods]
C --> D[ClawHub Themes API]
C --> E[Profile preference owner]
E --> F[Theme catalog and renderer]
Technical reviewBest possible solution: Keep the existing theme and preference owners, and bind each displayed page and continuation cursor to the query that produced them. Do we have a high-confidence way to reproduce the issue? Source establishes the failure sequence: retain a page with nextCursor, submit a different search that fails, then click Load more; the request contains the new query and the old cursor. Is this the best way to solve the issue? The data-only registry boundary and reuse of personal preferences fit the feature; pagination needs a focused query-identity repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0b009adc6912. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +720, Tests +661, Docs +19. Total +1400 across 31 files. Added test files: 3. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 26, 2026, 4:09 PM ET / 20:09 UTC. |
Companion registry: openclaw/clawhub#4065
What Problem This Solves
Users need to discover and manage personal themes in Appearance, without confusing theme data with executable plugins.
User Impact
Appearance gains on-demand theme search, version-pinned install-and-apply, and personal-theme removal. Selecting a different theme resets font and accent overrides; removing the active personal theme restores the inherited default. Themes stay out of general plugin discovery and search.
The companion ClawHub Themes API must be deployed before catalog browsing works against production. Existing theme import remains available. This PR does not deploy either service.
Why This Change Was Made
The UI reuses the existing theme normalizer and profile preferences rather than installing executable packages. Gateway reads are bounded and accept only registry identifiers, validate pinned release checksums, and protect preference writes with expected-value checks. Connection/profile changes retire stale discovery results.
Work sessions
Evidence
Focused protocol, Gateway, discovery/controller, catalog filtering and manifest regression suites passed (nine selected files; portable theme shard: 29 tests).
Bundled-browser flow passed: on-demand browse, search/retry, install/apply, select the inherited default and personal theme, reload persistence, and remove.
UI typecheck, targeted UI/core lint, formatting, i18n verification and documentation listing passed; whitespace check clean.
Independent two-pass review returned no actionable P0–P2 findings. The final browser-fixture correction was subsequently exercised in the passing bundled-browser flow.
Cross-repository fixture passed the actual ClawHub and OpenClaw schemas, dotted publisher identity, normalized definition and canonical SHA-256 contract.
Hosted CI currently has an unrelated bundled-category failure:
src/plugins/bundled-plugin-categories.test.tsreportsknowledge: expected exactly one purpose category. The focused local reproduction matches; the test, manifest loader and Knowledge manifest are unchanged from base 929abf8, where the Knowledge manifest already has no category. No waiver or fix to that separate plugin is included. Failed job.The second failing job contains two worker-containment assertions, not a Themes failure. Both still expect the bare root-escape error, while the model-visible recovery suffix was introduced by #184901, already in both the task base and the tested CI base
cef62a5daf5bcf9484484c50b0aed751320a7cc0. The containment producer,apply_patch, worker test and permissions suite have identical blobs on that base and this head. This is source-attributed baseline contract drift, not a separately executed base replay. Failed job.The browser and screenshots use the real Control UI with a synthetic Gateway and theme fixture, not a live ClawHub deployment. Live service installation has not been qualified. CI remains separate from these local results.
Before
Appearance at base 929abf8, dark mode, 1440×1000 viewport.
After
Appearance with the data-only Aurora fixture installed and selected, catalog expanded; same viewport.