Repository navigation
Conversation
Share the accepted plugin feed snapshot across setup and management, and replace the compiled provider index with release hints and installed manifests. Use one provider-owned preparation path for CLI and browser setup, reconcile installed identities before collecting credentials, and preserve primary models during configuration-only setup.
|
🦞👀 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 October 7, 2026, 11:43 AM ET / 15:43 UTC (Revision 3). ClawSweeper reviewWhat this changesThe PR discovers provider setup choices from the accepted ClawHub catalog and routes CLI and browser setup through provider-owned installation and authentication. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 5 items remain This PR still provides distinct setup functionality absent from current main. The previously reported workspace-suppression defect remains unchanged, so the patch is not ready to merge. Priority: P2 Review scores
Verification
How this fits togetherProvider setup combines catalog metadata and installed plugin manifests into selectable authentication methods. CLI and browser wizards then install or enable the selected owner and persist credentials through existing setup boundaries. flowchart TD
A[ClawHub catalog] --> C[Eligible provider choices]
B[Installed manifests] --> C
C --> D[CLI or browser wizard]
D --> E[Installation and capability consent]
E --> F[Installed owner validation]
F --> G[Provider authentication]
G --> H[Credentials and configuration]
Before merge
Findings
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one catalog-backed, provider-owned setup flow, with suppression identities collected only from eligible records and the merged catalog improvements preserved during integration. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the PR defect: exclude a workspace plugin whose provider ID matches a catalog provider under a different plugin ID. Its ID still enters the suppression set while its manifest choice is filtered out; no runtime reproduction was executed in this read-only review. Is this the best way to solve the issue? Yes, sharing the existing catalog and provider wizard is the appropriate owner-boundary direction; a separate provider registry or another inline credential path would duplicate existing owners. The eligibility ordering must be corrected before this implementation is ready. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9ff750ce555b. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
I have validated a narrow prerequisite cleanup that extracts the unused compiled provider-index retirement already included in this feature. The current index has only preview rows without install metadata or auth choices; its only production consumer therefore contributes no setup entries. The earlier model-list preview consumer was removed in #114393, and the remaining producer/consumer are unchanged from v2026.9.2. The prerequisite removes 486 production lines and 525 tests tied to that inert source, plus the stale documentation while preserving its anchor. All 41 retained tests, two normal full builds, six complete setup-choice comparisons and 144 built CLI help calls passed. Help bytes remained identical; default onboarding medians improved 9–23% across the two orders, with all adverse controls recorded. The complete normal changed gate also passed. The measurement admission issue and external memory-limit retry are explicitly documented in the focused PR. This overlaps your retirement intentionally and does not take over the ClawHub feed, wizard, installation, credential or UI work in this 87-file feature. The broader branch can absorb the prerequisite through rebase after it lands; The focused prerequisite is #139930. No feature branch rewrite or closure is requested. |
|
Retiring this stale redesign. Making the ClawHub catalog authoritative for provider install and auth across CLI and UI needs a coordinated publisher rollout (companion openclaw/clawhub#3573). The compiled-index removal already landed separately in #139930. Closed in a sweep of stale maintainer PRs (no activity for 7+ days). Reopen with a current reproduction if this still matters. |
What Problem This Solves
Provider plugins could be installable on ClawHub but absent from OpenClaw setup until another core catalog entry was maintained. The app's Add provider form also bypassed provider-owned setup and could not handle installation consent or multi-step authentication.
Companion publisher change: openclaw/clawhub#3573.
Why This Change Was Made
Setup and plugin management now share the accepted ClawHub catalog snapshot. Provider choices come from release-bound feed hints plus installed manifests; installed owners win, and the existing hosted model catalog or small feed previews supply display hints only. The redundant compiled provider index is removed. There is no new catalog JSON, registry, operator setting, environment variable, database schema, or Gateway protocol.
A shared preparation path installs the exact advertised package and reconciles the installed plugin/provider/auth-method identity before requesting credentials. Interactive CLI, non-interactive CLI, and guided setup use that owner. Gateway setup admits one fresh metadata generation and pins it through the wizard without replacing the running Gateway's cache. New installs and staged credentials remain subject to the existing consent, cancellation, live-probe, conflict, and persistence owners.
The app uses the existing provider wizard for both manual primary setup and configuration-only Add provider. Configuration-only completion refreshes provider state without claiming a successful inference check or changing the primary model. The old inline key/direct-config path is removed from manual-primary setup and Add provider; editing an existing provider key remains supported.
Dynamic CLI flags cannot shadow core options, implicit help, or inherited object properties. CLI auth inference uses parser-registered flags; programmatic callers retain trusted installed-manifest flags. Choice IDs remain opaque values instead of being reparsed from help text, and replacement commands use terminal-safe shell quoting. Sensitive prompt values are registered for redaction before provider validation or authentication can fail, including normalized pasted values.
User Impact
Eligible official provider releases can appear through normal ClawHub publication without a new OpenClaw provider-registration PR. This does not change publisher admission or authorize runtime behavior from catalog previews. Community packages remain explicitly installable, with their installed manifests supplying setup metadata. Bundled offline discovery, existing CLI choices, and the older manual API-key RPC remain supported.
Evidence
pnpm buildpassed, including runtime/plugin packaging, SDK declarations/exports, and UI performance budgets. The tracked source stayed unchanged.Browser evidence
Synthetic mocked-browser captures of the primary-provider flow. The inline key field is replaced by the provider-owned wizard.
Real managed-Gateway proof
The browser exercised a real built CLI/Gateway and a locally installed synthetic provider: capability consent, its masked credential wizard, exact persisted credential readback, managed restart/reconnect, and the final configured card. The primary model stayed unchanged, and the fixture received zero inference requests. The existing public ClawHub feed was reachable with HTTP 200; this is not a production deployment of the companion feed changes.
real-gateway-setup-video.webm
The untrimmed video retains the brief restart/unavailable transition. The persistent “Server updated” toast comes from the E2E UI fixture's fixed version metadata; the final auth state is configured with one API-key profile and no auth-unavailable warning.
Rollout and boundaries
The companion ClawHub PR must be deployed before production feeds contain the new setup hints. Existing feeds remain usable through installed manifests and the bundled metadata overlay. No production deployment, release, or merge is part of these PRs.
Production delta: +1,628 / −1,756 (net −128); tests/test support: +2,235 / −1,328 (net +907); docs: +29; CI/tooling: net zero; generated i18n baseline: +7. The reduction removes the redundant provider index and duplicate setup paths. Added tests cover dynamic metadata, installer/credential ownership, and the real managed-Gateway browser flow.