Repository navigation
feat: curate plugin categories and add Computer use discovery - #158686
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 26, 2026, 4:25 AM ET / 08:25 UTC (Revision 5). ClawSweeper reviewWhat this changesThe branch orders plugin discovery from ClawHub category pins and downloads, adds Computer use discovery for bundled CUA, and updates the Gateway protocol, Control UI, docs, tests, and CI test routing. Merge readiness⛔ Blocked before merge - 1 item remains Keep open for landing: current main and the latest release do not satisfy the linked request. Bundled-only staging addresses the earlier CUA publication finding, and the documented distribution hold covers the remaining rollout dependency. Priority: P2 Review scores
Verification
How this fits togetherClawHub supplies plugin listings and category policy to the Gateway, which joins them with bundled plugin metadata. The Control UI uses that result to render discovery shelves, category pages, and search results. flowchart LR
A[ClawHub categories and packages] --> C[Gateway discovery join]
B[Bundled plugin metadata] --> C
C --> D[Shared category ordering]
D --> E[Control UI shelves]
D --> F[Category pages]
G[Search requests] --> C
Before merge
Agent review detailsSecurityNone. PR surfaceSource +79, Tests +302, Docs +6, Config +21, Other +37. Total +445 across 35 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Land the shared discovery projection under the recorded distribution hold, then complete API deployment verification and CUA publication through the linked rollout issue. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a discovery feature. Current-main source and inspected before/after browser images establish the behavior being changed. Is this the best way to solve the issue? Yes: ClawHub owns the pin policy, while the Gateway and UI share its ordering projection; bundled-only CUA staging preserves the publication boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2d5c68187a38. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
The generated inventory is refreshed at e4b2192; its check and docs formatting pass. Production behavior is unchanged from the inspected screenshots. The PR body now states the rollout contract explicitly: deploy and verify ClawHub’s merged curated API before distributing this OpenClaw host change. Main merge itself does not publish a host or plugin release. The additive category/rank metadata requires no user configuration migration. The coordinated ClawHub PRs are merged, and deployment verification is tracked separately. The earlier optional shared Swift scan reports only untouched declarations, with existing cleanup work linked in the body. No generated protocol additions were reported dead. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Head Issue #158685 remains open for an actual supporting host release, compatible CUA promotion/publication, and the live Featured replacement. The backend API must be deployed and verified before host distribution; this main-source merge publishes neither a host nor a plugin release. The existing images remain prospective publication proof with their stated fixture boundary. |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review The final head is |
|
🦞👀 Re-review progress:
|
|
Maintainer disposition while executing Patrick’s explicit source-autoland request: proceed with this source merge once the enforced gates pass. I am retaining custody of this task’s rollout follow-through in #158685. Host distribution under this task remains held until the deployed ClawHub curated category API is verified; this does not claim control of unrelated future releases. Standalone CUA publication and the Featured swap remain staged until a supporting host release exists and its actual minimum version is set. The category/rank protocol fields are optional and additive, with no user-config migration. CUA remains bundled-only; the current stable host cannot receive an incompatible standalone artifact through these publication collectors. This PR itself publishes no host or plugin release. The final CI correction received independent agent review; this is not a claim that Patrick personally reviewed it. |
3766b52 to
d0e90a4
Compare
|
Merged via squash.
|
…aw#158686) * feat: prioritize plugin categories with ClawHub curation * feat: prepare CUA for trusted ClawHub discovery * docs: regenerate CUA plugin distribution inventory * docs: refresh generated CUA install reference * fix: keep CUA publication staged with bundled host * test: give discovery page fixtures visible categories * test: run chat retention proof on Node * test: align plugin browser fixtures with curated shelves * test: retain icon coverage in curated plugin shelves
Refs #158685 (remaining release/operator work stays open)
Related: openclaw/clawhub#3822 and openclaw/clawhub#3823
What Problem This Solves
Plugin category shelves bury familiar integrations, reorder entries during browsing, and place CUA computer control in Infrastructure.
User Impact
Categories show ClawHub’s selected packages first, followed by download order. Models start with OpenAI, Anthropic, and Google; View all and later pages preserve the same order. Computer use appears after Web, and Other/Uncategorized homepage sections are hidden while search and installed-plugin management remain available.
Why This Change Was Made
ClawHub owns the canonical ordered package identities; the Gateway projects category ranks and joins trusted bundled plugins into the same policy. A shared comparator keeps the Gateway and UI consistent without an official-first fallback. CUA gains staged publication metadata and an explicit trusted catalog identity so its bundled and eventual published forms resolve to one card.
build.bundledDist: truepreserves bundled distribution and excludes CUA from both standalone release collectors. Publication stays disabled until a released host acceptscomputer-use; promotion must then set its minimum to that actual supporting release. The current stable host is not claimed to support a published CUA artifact. Maintainer disposition under the explicit autoland request: source may merge with host distribution held until the deployed curated ClawHub API is verified. Merging this PR does not publish a host or plugin release. Standalone CUA publication and the Featured swap remain staged until a supporting host release. These additive category/rank fields do not alter user configuration or require migration.The coordinated ClawHub backend change supplies category priorities and English homepage eligibility. Featured selections remain backend-owned; Shopify remains featured; replacing the next lowest-install selection (LosslessClaw) with CUA is pending compatible publication and is tracked in #158685.
Evidence
Real before/after Control UI screenshots have been captured and inspected, using the native browser harness and actual discovery client/join source against an isolated ClawHub Convex backend with 63 public fixture packages before and 64 after prospective CUA publication; shared download counts are unchanged. Badges in the screenshots use the synthetic
@catalog-proofpublisher, while CUA’s official identity derives from the source-owned trusted catalog. The screenshots do not verify company ownership. The screenshots below come from that running system; the full proof gallery includes all categories and the exact source revisions.All 450 plugin UI tests pass after giving the routing, generation, and icon fixtures visible category membership and matching taxonomy; their prior Uncategorized fixtures correctly stopped rendering under the requested behavior. These are fixture-only corrections. Browser E2E fixtures now use the same canonical taxonomy: Local Calendar belongs to Scheduling, install-ownership fixtures belong to Productivity, and navigation includes Computer use without Other. The mobile E2E regression proves Other/Uncategorized shelves are absent while all three matching search results remain visible. All 34 tests pass across five real-browser suites (40.65 s), including the complete two previously failing suites, catalog and hub navigation, and shared-fixture header clearance. Installation, permission and stale-response assertions are preserved; UI test types, lint/format and independent review pass.
CI run 36227453271 reproduced the same unchanged chat-retention assertion twice under the pinned Bun runtime: the released message remained reachable after forced GC. The existing Node retention path passes, including its
node:v8ownership-count assertion. The runtime policy now routes this file through the existing Node-required partition alongside the usage retention test. No test or assertion is disabled. Before the change, the exhaustive partition regression fails because chat is assigned to Bun; afterward, all partition and workflow expectations pass. The affected runner suite passes 153 tests and the complete chat suite passes 265 tests; the wider guard/config run contributes another 336 passing tests (10 existing platform skips). Script/root-test typechecks and targeted lint/format pass. Independent review of this focused CI correction found no issues.179 focused tests pass across catalog parsing, Gateway entry points, trusted identity joins, UI ordering/pagination, and taxonomy. The new CUA regression failed before trusted registration and passes with exactly one card; duplicate aliases also have red/green regression coverage.
CI caught two generated inventory outputs and a genuine release-distribution mismatch: enabling separate CUA publication while its dist tree remained in core. Both generated docs are now consistent with bundled-only staging. The existing staged-release regression now includes CUA and proves it remains bundled, retains metadata, is excluded from both publication collectors, and is not classified as externally distributed. The explicit CUA release-check command rejects selection as non-publishable. A targeted rerun passed 297 release, catalog, management, and dependency-boundary tests (120.74 s plus 5.61 s for the boundary suite); independent P2 review of the correction is clean. This also addresses the review finding that the current stable host rejects the new category: no incompatible standalone artifact can be published through this staged configuration.
The shared Swift intersection separately reports four declarations in untouched ChatScrollCommand/GatewayConnectionProblem code, not the generated protocol additions; all four declarations are unchanged from this branch’s merge base. Three are covered by the existing native auth cleanup PR; this discovery change does not suppress that optional scan. The live main ruleset requires
openclaw/ci-gate.Core and UI production typechecks, all five touched test-type lanes, targeted oxlint/oxfmt, UI i18n/stylelint, protocol generation, pass. CUA publication admission correctly fails closed while staged. Independent review is complete with no accepted unresolved findings.
Local build limitation: the measured local baseline is 371663 B gzip and the candidate is 371709 B (+46 B), both above the unchanged 371332 B enforcement limit. Hosted CI’s Control UI performance check passes; no budget was relaxed. Full Gateway startup is also blocked by a baseline
INEFFECTIVE_DYNAMIC_IMPORTbuild error, so screenshots use the repository’s native Control UI harness with real catalog source/backend responses rather than a live Gateway process. The isolated fixtures do not demonstrate a production publication or deployment.Validation commands and test cost
Commands ran in a normal validation checkout with independently installed frozen dependencies:
node scripts/run-vitest.mjstargeting the changed catalog, Gateway, UI, contract, management, and static-catalog test files: 179 tests passed.node scripts/run-tsgo.mjs -p tsconfig.core.jsonand-p tsconfig.ui.json.node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.jsonon changed TypeScript; pinnedoxfmt --check; UI i18n and stylelint checks.node --import ./scripts/tsx.mjs scripts/plugin-clawhub-release-check.ts --selection-mode selected --plugins @openclaw/cua-computer: expected rejection as a non-publishable staged package.test/plugin-npm-release.test.tsandtest/plugin-clawhub-release.test.ts, plus the catalog/management/static-catalog suites, rerun after staging CUA.Single-worker focused run (
node scripts/run-vitest.mjs <eight touched/related files> --maxWorkers=1): all 179 tests passed in 26.84 s across five shards. Individual shard walls were 0.73 s (join/category contract), 10.93 s (Gateway handlers), 2.65 s (catalog client), 4.94 s (management/static catalogs), and 3.07 s (UI renderer/controller). Test bodies remain sub-second per suite except the existing catalog-client replay (~1.15 s); compiler/worker setup accounts for most elapsed time. Hosted CI is attached to the exact PR head.