Repository navigation
fix(plugins): restore search icons and separate official results - #148518
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 14, 2026, 4:59 PM ET / 20:59 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR restores plugin search icons and official package identities, groups mixed results into Official and Community sections, and updates publication metadata, generated documentation, and regression coverage. Merge readiness⛔ Blocked before merge - 1 item remains The repair remains useful and is not implemented on the inspected main branch. No actionable introduced defect was found; the earlier migration concern is resolved by the existing source-preservation contract and the clarified install coverage. Priority: P2 Review scores
Verification
How this fits togetherPlugin discovery combines ClawHub listings with Gateway-owned installation facts. The Control UI displays those combined results, while existing image-proxy and install owners handle artwork and installation. flowchart TD
A[ClawHub listings] --> C[Normalize catalog icons]
B[Package metadata and installed state] --> D[Join publication identities]
C --> D
D --> E{Mixed search results}
E --> F[Official and Community sections]
E --> G[Flat results]
C --> H[Existing image proxy]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +17, Tests +181, Docs 0, Config +24, Other +9. Total +231 across 60 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. Technical reviewBest possible solution: Keep publication identity in package metadata, normalize icons through the shared resolver, and reuse existing rendering and install owners while preserving recorded user choices. Do we have a high-confidence way to reproduce the issue? Yes: searching Slack or Teams reaches the source-proven relative-icon rejection and missing-counterpart join paths on inspected main; supplied baseline screenshots corroborate both. This review did not execute the application. Is this the best way to solve the issue? Yes: the patch repairs metadata and parsing at their existing owners, reuses section rendering, and preserves explicit install intent without adding a competing identity heuristic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2f04a9e2069e. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
298c908 to
d9cb0b0
Compare
|
The data-model compatibility flag is a path-based false positive. At The initial Radius and wizard CI failures were reproduced on the unchanged baseline and are both fixed by merged #148504. This head includes that fix through a patch-identical rebase, and all 279 post-rebase CLI/boundary/wizard regression cases pass. Required hosted CI is still running. |
|
Merged via squash.
|
…nclaw#148518) * fix(plugins): join official installations to their published listings * fix(plugins): resolve published catalog icon paths * feat(plugins): group mixed searches by official and community publishers * refactor(plugins): reuse catalog field parsing and simplify test selection * test(plugins): preserve install intent with published counterparts
Closes #148507
What Problem This Solves
Plugin search shows generic icons and duplicate installed/ClawHub cards for official packages such as Slack and Microsoft Teams.
User Impact
Official plugins appear once with their package icon, publisher, and installed state. Mixed searches show Official first and Community second; searches containing only one kind, or no results, have no section headings. Ranking within each section and pagination are preserved.
Why This Change Was Made
Normalize registry-relative icon paths with the existing ClawHub URL resolver, and restore 24 missing explicit publication counterparts in package metadata and the discovery catalogs. The existing identity join and image-proxy security rules remain authoritative. Package icons or the generic placeholder remain the only artwork sources.
The counterpart declarations also make these packages eligible for the existing declared ClawHub secondary when their default npm target is unavailable. npm remains the default; explicit source/version selections and install trust checks keep their existing behavior.
Evidence
Real isolated Gateways using the live ClawHub API, baseline
bdf98bab5edversus candidatee4bb1b47b48; same dark theme, search sequence, and viewports. No mocked catalog or image responses. The five commits remain patch-identical after rebasing onto current main (5d461f09667); the later commit changes install tests only.npm:never switches source or retries latest; a default install can use its declared ClawHub beta secondary. All 309 install/selector/management tests pass, including the final affected cases; install runtime policy is unchanged.Review details
The parser repair removes 3 runtime lines net; section rendering and its English label add 20. Explicit metadata adds 33 lines; generated projections have no net growth. Tests add 181 lines net. No new icon fallback or name-based identity heuristic.
Inventory investigation also exposed an existing
requiredPlatformPackagesprojection difference for acpx/Codex outside the original external-package parity test. Follow-up: audit that metadata contract separately; no platform-install behavior is changed here.