Repository navigation
feat(claws): feature curated Claws and rank categories by installs - #178047
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: needs changes before merge. What this changesThis PR adds curated Featured Claws and category browsing ranked by reported installs across Official and community publishers. Example: Browse the Research category containing Release Scout with 20 installs and Workflow Operator with 1 install.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the catalog feature has maintainer-backed value, but category searches can discard more-installed matches before applying install ranking. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI sends catalog filters through Gateway RPC to the ClawHub package client, and the Claw source projects registry metadata into cards while preserving the existing detail and Add flow. flowchart LR
A[Control UI catalog] --> B[Gateway catalog RPC]
B --> C[Claw source]
C --> D[ClawHub package client]
D --> E[ClawHub registry]
C --> F[Featured and category cards]
Technical reviewBest possible solution: Keep the existing catalog owners and ensure category-search candidates are selected by installs before the result limit is applied. Do we have a high-confidence way to reproduce the issue? Source establishes the failure: a category search with limit 1 can receive a relevance-preferred 1-install Claw while excluding a matching 20-install Claw, leaving nothing for the subsequent install sort to correct; no target code was executed. Is this the best way to solve the issue? The existing transport, source projection, and shared card renderer are appropriate, but sorting an already limited search response does not implement install-first category selection. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f224d6eaad8c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +155, Tests +144, Config 0. Total +299 across 15 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (4 earlier review cycles)
Reviewed October 20, 2026, 3:23 AM ET / 07:23 UTC (Revision 5). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
de6c787 to
587ba28
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…penclaw#178047) * feat(claws): show curated Featured and rank categories by installs * fix: stabilize Claws category catalog checks * fix: localize Claw categories and validate catalog fixtures * docs: attach Featured and category before-after proof * fix(claws): rank category searches by installs
What Problem This Solves
Creators and users cannot browse a curated Featured shelf or compare Claws by category in the current flat catalog. This adds Featured first and category results ranked by install count across Official and community publishers.
Summary
Claws discovery currently renders a flat list. This adds ClawHub's curated Featured Claws above the browse list, plus category controls. Category results collect the complete public category and sort by reported installs across Official and community publishers, with no Official-first preference.
Evidence
src/claws/clawhub-source.test.tsproves curated order is preserved and a 20-install community Claw ranks ahead of a 1-install Official Claw across two registry pages. The Control UI browser test verifies Featured appears first and selecting Research sends a category request without an Official filter.bda8f9a222and this branch. The base has a flat grid; the head has curated Featured first and Research with the 20-install community Claw before the 1-install Official Claw. The browser scenario now asserts that visible order.Depends on #173345 for the public Claw catalog and Add flow. This PR contains only catalog behavior; creator authoring remains in #173346 and #173377.
Merge Danger
Door: Two-way. Blast Radius: Experimental Claws catalog. The full-category client ranking uses the existing 20-page safety cap; ClawHub will report an error if a category exceeds that cap rather than silently truncating the ranking.