Repository navigation
feat(message): recommend one exact ClawHub plugin in chat - #198065
Conversation
The card payload reader required official: true, so a Gateway-authored card for a community plugin was dropped before it reached the chat. Plugin cards now carry the registry's official flag; skill cards stay official-only. The loading placeholder shows the official badge only for official cards. The loaded card already rechecks the Gateway's catalog answer, shows no badge for a community plugin, and offers View details instead of Install.
clawhub now takes either query (search, unchanged) or plugin, the exact ClawHub package name. The exact form looks up that one package, never falls back to search, and shows its existing card. A name ClawHub does not know, or that is not a plugin, returns an explanation and shows no card. Search still returns official plugins and skills only. An exactly named community plugin is shown with the registry's own official flag.
|
🦞👀 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 maintainer review before merge. What this changesAdds exact-package ClawHub recommendations, displays intermediate cards before run adoption, and removes generated status captions from successful cards. Example: Template setup recommends openclaw-travel-themes.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it supplies a useful missing capability, preserves existing installation boundaries, and has no definite introduced correctness or security finding. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe message tool resolves catalog identities and installation facts into persisted assistant display content, which Control UI admits and renders using its existing plugin-card and navigation owners. flowchart LR
A[Agent message tool] --> B[Recommendation resolver]
C[ClawHub catalog] --> B
D[Installed plugin inventory] --> B
B --> E[Source reply persistence]
E --> F[Chat projection and admission]
F --> G[Plugin card and details]
Technical reviewBest possible solution: Retain the existing resolver, persistence, admission, and card owners with exact lookup and unchanged installation review. Do we have a high-confidence way to reproduce the issue? Current-main source establishes both limitations: recommendation requests require a query, and plugin-card decoding requires official:true; the supplied live comparison also documents the pre-adoption display failure. Is this the best way to solve the issue? The smallest complete change extends exact lookup and decoding at their existing owners, admits only the evidenced intermediate reply shape, and reuses ordinary plugin details and installation review. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c88921964d99. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +58, Tests +515, Docs +17, Other +5. Total +595 across 19 files. Added test files: 2. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
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 (3 earlier review cycles)
Reviewed November 13, 2026, 9:47 PM ET / November 14, 2026, 02:47 UTC (Revision 4). |
Real live-card repair and proofThe exact card was correctly persisted but rejected by the live UI before it adopted the server-started setup run. Commit 69502dd narrowly admits sequenced, native, producer-owned non-final message-tool source replies without adopting the run or clearing its stream. Imported, conflicting, correlation-only and terminal rows remain excluded. Actual-row regression: 0 cards before, 1 correct community card after. Repository-standard integrated runner: 65/65 across four files; focused UI typecheck/lint/format passed. Real Control UI + real model + real Travel Copilot 0.2.8, isolated Gateway with Expedia installed but disabled, combined stack candidate 497ecddf8e96f8d56c1c260b0c4c27b3bb34ac3b:
Paired real live-chat captures (same viewport crop; seeded test state, not production):
Limitations: the recorder preserved outcome=harness-error because its post-click assertion used a stale ID selector; the screenshot confirms correct navigation, and the selector is corrected outside source. Video inspection found intermittent Chromium screencast-size corruption during screenshots, so that recording is not offered as clean video proof. Final-head full-stack video remains open after the creation CI repairs. No production Gateways changed. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Real Template Add and explicit plugin-install proofIsolated ordinary-process Gateway, real provider, production Control UI build at
The attached real-system images show the live recommendation, uninstalled details, and explicitly installed result. The video records the same Add flow; the bottom composer/model selector is cropped for publication. The original captures are retained. Existing paired before/after proof remains linked above. Current-head UI failures were separately compared against scheduled main run 43540514362, jobs 132280252586 and 132280252608: all five full leaf names, source sites and assertion values match, and all three failing test files have identical blobs and are outside this PR’s diff. CI is red, not green; native inherited-failure admission and remaining stack-level input/recovery evidence are separate gates. template-add.mp4 |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…98065) * feat(clawhub): let chat plugin cards represent community plugins The card payload reader required official: true, so a Gateway-authored card for a community plugin was dropped before it reached the chat. Plugin cards now carry the registry's official flag; skill cards stay official-only. The loading placeholder shows the official badge only for official cards. The loaded card already rechecks the Gateway's catalog answer, shows no badge for a community plugin, and offers View details instead of Install. * feat(message): show one exact ClawHub plugin card by package name clawhub now takes either query (search, unchanged) or plugin, the exact ClawHub package name. The exact form looks up that one package, never falls back to search, and shows its existing card. A name ClawHub does not know, or that is not a plugin, returns an explanation and shows no card. Search still returns official plugins and skills only. An exactly named community plugin is shown with the registry's own official flag. * docs(control-ui): document exact ClawHub plugin cards * fix(chat): render source reply cards before run adoption * test(chat): classify producer display regression as Node integration * fix(message): send ClawHub cards without generated captions * perf(chat): consolidate source reply admission and card decoding * test(chat): document independent card delivery proof boundaries * refactor(chat): use native named-export lazy card loading * refactor(outbound): keep attachment normalization in payload owner * test(chat): attach profile isolation reason to the mock









What Problem This Solves
Template setup needs to recommend the exact plugin its author named, rather than a fuzzy search result. Server-started setup can also publish a card before live chat adopts its run ID; that card was saved but dropped from the live view.
User Impact
Agents can show one exact ClawHub plugin card by package name, including during server-started setup without reloading. Official plugins keep Install; community plugins offer View details for normal review. Unknown packages show no card. Verified cards no longer add a redundant generated status caption; explicit caller text and lookup errors remain visible.
Why This Change Was Made
Adds an exact-package option alongside existing ClawHub search, keeps intermediate card publication non-final when requested, and admits only native sequenced producer-owned intermediate replies before local run adoption. This is the foundation of the chat-based Template Add stack.
Evidence
Repair qualification at
c1c471f63b56ad6e5908058d4bebf4e87e080454The composition regression uses the supported
.node.test.tsxlane and a narrowly scoped profile mock. Live admission and card decoding retain producer ownership, strict finality, imported-row exclusions, and serialized card field order. One required main integration updates the fixture to the current renderer API; no further main refresh is included merely for age.6d5e2dfb1b8919386abeb7442fa9152cdffc1485: generated document 14,027 → 14,017 bytes, below its unchanged 14,026-byte cap. Chat JS is 1,315,225 → 1,314,978 bytes (−247); 21 requests remain 21. CSS bytes and its three requests are unchanged. Solid's native named-export lazy option removes the redundant promise/export adapter. No budgets were raised or generated files hand-edited.b42967fd7c785e798140b05275fd0eb1633e5b88, not only the PR head. Failing test files, responsive styles, picker/view/controller helpers, test configuration and lockfile match; this attributes those observed signatures, not every transitive input or the new head's full CI.Initial exact-card renderer comparison (mocked Gateway)
Real live-chat repair comparison (isolated full stack)