Skip to content

Improve capability search retrieval - #498

Open
fazxes wants to merge 7 commits into
mainfrom
fazxes/improve-capability-search
Open

Improve capability search retrieval#498
fazxes wants to merge 7 commits into
mainfrom
fazxes/improve-capability-search

Conversation

@fazxes

@fazxes fazxes commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Scope capability searches to skills, MCP tools, or one configured MCP server.
  • Page large catalogs with bounded cursors without loading full schemas or skill bodies.
  • Rank natural-language matches using catalog-wide relevance and reject weak results.
  • Surface clear skill matches from ordinary task wording before generic inspection.
  • Keep trivial or unrelated requests from loading weak skill matches.
  • Require a clear external-service need before searching or selecting MCP tools.
  • Keep skill-only discovery isolated from configured MCP server scope.
  • Start paged discovery reliably across providers with an explicit first-page cursor.
  • Preserve query-only discovery and exact selection across interactive, ask, ACP, and subagent sessions.
  • Distinguish supporting skill-resource reads from the initial skill load in activity output.

Scope capability searches by kind and configured MCP server.
Page large catalogs with bounded cursors and rank matches with corpus-aware relevance.
Preserve query-only discovery and exact selection across interactive, ask, and ACP sessions.
@fazxes fazxes added the type: improvement Improves existing user-facing behavior label Aug 28, 2026
@fazxes
fazxes marked this pull request as ready for review August 28, 2026 08:06
Rank skill metadata against each user prompt before bounded projection, and make unified capability search domain and cursor states provider-safe.
@fazxes
fazxes marked this pull request as draft August 28, 2026 19:00
@fazxes
fazxes marked this pull request as ready for review August 28, 2026 19:40
@fazxes
fazxes marked this pull request as draft August 28, 2026 21:46
Show supporting skill reads separately from the initial skill load.
@fazxes
fazxes marked this pull request as ready for review August 28, 2026 22:42
@fazxes
fazxes marked this pull request as draft August 28, 2026 22:42
fazxes added 3 commits August 28, 2026 18:46
…lity-search

# Conflicts:
#	src/tools/capabilities/capability_search.zig
Match renderer tests to dim styling across the complete code block header.
…lity-search

# Conflicts:
#	src/ui/render_engine/transcript_blocks.zig
@fazxes
fazxes marked this pull request as ready for review August 29, 2026 00:30
@fazxes
fazxes marked this pull request as draft August 30, 2026 18:13
Keep ranking detail private and reuse the existing identity boundary and projection safety checks. Remove dead migration paths and restore the unchanged renderer assertions.
@fazxes
fazxes marked this pull request as ready for review August 30, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement Improves existing user-facing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant