Repository navigation
feat(plugins): add ClawHub discovery seam - #139042
Patrick-Erichsen merged 8 commits into
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 9, 2026, 6:15 PM ET / 22:15 UTC (Revision 24). ClawSweeper reviewWhat this changesAdds Gateway APIs for browsing ClawHub plugins, categories, and details, and displays catalog results alongside installed plugins in the Control UI. Merge readiness⛔ Blocked before merge - 5 items remain Keep open: this protected discovery layer remains useful and is absent from current main. The previous method-order finding is resolved, but the package-provenance finding remains in the pinned head. Priority: P2 Review scores
Verification
How this fits togetherPlugin discovery combines ClawHub catalog metadata with the Gateway’s local plugin inventory. The Control UI displays the combined results while existing lifecycle handlers retain installation and configuration responsibility. flowchart LR
A[Plugins workspace] --> B[Gateway discovery APIs]
B --> C[ClawHub catalog]
B --> D[Local plugin inventory]
C --> E[Normalize and match packages]
D --> E
E --> F[Explore results]
B --> G[Visible error and retry]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +898, Tests +791, Other +308. Total +1997 across 31 files. View PR surface stats
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: Derive discovery matches from registry-qualified installation provenance and verified official counterparts, retaining separate remote catalog facts and local runtime facts. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection: a memory-plus listing with runtimeId workboard matches installed Workboard and returns its state; the Gateway fixture explicitly expects that result. No tests or target code were executed. Is this the best way to solve the issue? The Gateway-owned discovery boundary is appropriate, but runtime aliases are not a sound package-identity join. Reusing provenance-aware inventory facts is the narrower 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 7e3a90bf5ce8. LabelsLabel 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
HistoryReview history (23 earlier review cycles; latest 8 shown)
|
2da332e to
873b6ff
Compare
873b6ff to
84663ec
Compare
e375006 to
e0ca5ce
Compare
82543c3 to
f20f5de
Compare
This comment has been minimized.
This comment has been minimized.
f20f5de to
effc917
Compare
effc917 to
437da73
Compare
eaf6050 to
89a10be
Compare
89a10be to
72d47e3
Compare
72d47e3 to
fc60b8c
Compare
|
Landing verification on the rebased stack: the catalog layer is now based on current main, package identity joins by ClawHub package identity rather than runtime ID, and the current Gateway method-order contract tests are included. Maintainer approval to land the complete stack is explicit in the coordinating Codex task. Final combined validation: pnpm check passed at daf1aac0cfea. |
|
Landing disposition: the provenance finding is fixed in the deployable stack by commit 0fff22d: clawhubPackage is recorded from trusted install or official-catalog provenance, and catalog joins no longer match runtimeId. Alias-collision coverage is included. We are landing through GitHub atomic stack merge up to #142782, so this intermediate head will not deploy without that repair. The top exact-head ClawSweeper review reports no remaining introduced defect and accepts the combined real-flow proof. |
* feat(plugins): add ClawHub discovery seam * fix(plugins): keep lifecycle mutations in their owner * fix(protocol): align plugin UI methods with current train * test(gateway): align plugin methods with release train * test(gateway): align catalog ordering with current protocol * test(gateway): include model probe in core suffix * build(plugins): refresh Workboard bundle references * fix(plugins): keep catalog layer independently green
- GatewayMethod: add plugins.catalog.browse / .categories / .get (openclaw#139042) - Question: add optional url field (openclaw#132158) Protocol-only sync, no user-visible behavior change. v2026.9.10.5
Replacement for #137094 after GitHub retained an impossible merge-conflict state. This PR preserves the exact branch, base, and cumulative tree; the original review history remains linked on #137094.