Repository navigation
feat(api): expose plugin categories - #3582
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: blocked before merge. Reviewed September 3, 2026, 9:17 PM ET / September 4, 2026, 01:17 UTC. ClawSweeper reviewWhat this changesAdds a public endpoint returning the canonical ordered plugin-category metadata, its shared route constant, documentation, and direct HTTP coverage. Merge readiness⛔ Blocked before merge - 3 items remain Keep open. Current main does not expose this route, and the prior route-coverage blocker is resolved by the new local-auth HTTP test; a maintainer should still confirm that the documented fields and ordering are the intended stable v1 contract. Priority: P2 Review scores
Verification
How this fits togetherClawHub serves plugin catalog metadata through Convex HTTP routes. Discovery clients request the category list, which is derived from the shared taxonomy and returned as JSON for catalog interfaces. flowchart LR
A[Discovery client] --> B[Plugin categories API]
B --> C[Convex HTTP router]
C --> D[Shared category taxonomy]
D --> E[Ordered JSON response]
E --> F[Catalog interfaces]
Decision needed
Why: The implementation is bounded and the runtime route is now covered, but publishing canonical metadata and ordering commits future taxonomy changes to external consumers. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain one endpoint derived from the shared taxonomy and merge after a maintainer confirms the documented response fields and order are the stable contract for discovery consumers. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new API capability rather than repairing a reported failure. Its production route is nevertheless directly covered by the introduced local-auth HTTP test. Is this the best way to solve the issue? Unclear pending product confirmation. Deriving the response from the existing canonical taxonomy is the narrowest implementation, but the intended long-term public compatibility contract needs maintainer approval. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0f6803b4611f. LabelsLabel 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
HistoryReview history (10 earlier review cycles; latest 8 shown)
|
|
Maintainer decision: approved. The documented v1 category payload ( |
Summary
GET /api/v1/plugins/categoriesThis is the ClawHub prerequisite for OpenClaw CLAW-717 and the full catalog UI in openclaw/openclaw#137659.
Validation
bun run ci:staticbun run ci:unit(6,321 passed, 3 skipped)bun run ci:types-builde2e-httpandclaws-openclaw-contractchecks passedReferences OCF-54