Repository navigation
Rank skill name matches ahead of descriptions - #123533
jesse-merhi wants to merge 5 commits into
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 October 3, 2026, 6:16 PM ET / 22:16 UTC (Revision 13). ClawSweeper reviewWhat this changesThe PR ranks skill-reference suggestions by normalized name relevance before description matches, shares scoring with slash commands, and adds matcher and composer coverage. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: the requested improvement remains absent from main and the latest release, and this member-authored PR is protected from cleanup closure. Earlier metadata-loss findings are not established by the introduced patch. Likely related people: Jesse Merhi, Patrick Erichsen, and Peter Steinberger are medium-confidence routing candidates from merged area history. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI receives a command catalog from the Gateway and uses it to suggest skills while users compose chat messages. Selecting a suggestion inserts a skill reference into the draft sent to the agent. flowchart LR
A[Gateway command catalog] --> B[UI command catalog]
C[Composer query] --> D[Match and rank skills]
B --> D
D --> E[Skill suggestion menu]
E --> F[Selected reference in draft]
F --> G[Chat message]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +12, Tests +141. Total +153 across 3 files. View PR surface stats
Review metrics
Mantis proof suggestionWeb UI chat interaction evidence would help verify relevance ordering and retained title matching after integration. A maintainer can ask Mantis to capture proof by posting this exact PR comment: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use one shared relevance scorer for command tokens, aliases, and displayed skill titles while retaining current catalog metadata and visibility rules. Do we have a high-confidence way to reproduce the issue? Not applicable as an established bug: this proposes improved search ranking. Source inspection confirms that current main and v2026.9.8 still alphabetize matching skills; no runtime reproduction was executed. Is this the best way to solve the issue? Yes, sharing the existing relevance scorer is the appropriate owner-level approach, provided integration also scores current displayed titles. A separate picker-specific search engine would duplicate policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 711e57e41b37. 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 (12 earlier review cycles; latest 8 shown)
|
|
Thanks for the PR. We're closing older pull requests that have gone stale against current This draft has had no commits since August 14 and the Control UI composer has been rebuilt since. Please open a fresh PR against current main if skill-name ranking is still needed. |
New behavior
Skill references now prioritize matches in the skill name before incidental matches in the description. Typing
$openclawtherefore showsopenclaw_local_testandopenclaw_stg_testbefore skills such ascanvas,healthcheck, andnode_connectwhose descriptions merely mention OpenClaw.Matching is ordered by exact normalized name, name prefix, normalized name substring, then description. Alphabetical ordering remains deterministic within each tier, and hidden skills remain excluded.
How to verify
help $and observe the normal alphabetical skill catalog.help $openclaw.openclaw_local_testandopenclaw_stg_testappear before description-only matches.Validation
$and$openclawordering.Visual proof will be refreshed through the required PR proof-pack workflow after both review phases are clean.