Repository navigation
feat(plugins): add ClawHub discovery seam - #137094
Patrick-Erichsen wants to merge 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: blocked before merge. Reviewed September 5, 2026, 6:45 AM ET / 10:45 UTC. ClawSweeper reviewWhat this changesAdds Gateway APIs that combine ClawHub plugin listings with local installation state and displays an Explore plugins section in the Control UI. Merge readiness⛔ Blocked before merge - 9 items remain Keep open: this protected, useful discovery layer is not implemented on current main. Route readiness is repaired, but two prior correctness blockers remain. Priority: P2 Review scores
Verification
How this fits togetherPlugin discovery connects ClawHub’s remote catalog to the Gateway’s local plugin inventory. The Control UI receives combined display data while installation and enablement remain separate administration operations. flowchart LR
A[Plugins page] --> B[Gateway discovery APIs]
B --> C[ClawHub catalog]
B --> D[Local plugin inventory]
C --> E[Normalize and join facts]
D --> E
E --> F[Explore plugin results]
C --> G[Discovery error and retry]
G --> A
Decision needed
Why: Both parent PR descriptions reserve discovery for explicit approval, which cannot be inferred from the implementation or maintainer label. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +1060, Tests +747, Docs +3, Other +308. Total +2118 across 28 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Deliver the approved discovery milestone through shared ClawHub transport and authoritative local inventory, retaining one mutation owner and verified API/UI behavior. Do we have a high-confidence way to reproduce the issue? Yes for the remaining patch defects: undeclared handler bindings and contradictory method-order assertions are deterministic from source. Tests were not executed in this read-only review. Is this the best way to solve the issue? Not yet: the Gateway is the appropriate join owner, and existing search does not cover the requested browsing contract, but the competing mutation implementation must be removed. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 41651036f27f. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (10 earlier review cycles; latest 8 shown)
|
3b68348 to
d1d6bd6
Compare
daf75b7 to
3b6b4a4
Compare
Summary
Architecture
ClawHub remains authoritative for remote catalog metadata. The Gateway remains authoritative for local presence, installation, enablement, and available actions. The Control UI consumes only the joined Gateway DTO.
Dependency
GET /api/v1/plugins/categoriesValidation
pnpm tsgo(core)pnpm lint:ui:styles --quietLocal
pnpm checkpassed all preflight guards and core/UI type-checking, then stopped in the unrelated browser extension because this worktree lacks its already-declared@types/yargs-parserdependency. Exact-head CI installs from a clean checkout.References OCF-54