Skip to content

fix(search): honor skill context for default targets - #4255

Open
AaronZ345 wants to merge 1 commit into
volcengine:mainfrom
AaronZ345:aaron/fix-skill-context-search-scope
Open

fix(search): honor skill context for default targets#4255
AaronZ345 wants to merge 1 commit into
volcengine:mainfrom
AaronZ345:aaron/fix-skill-context-search-scope

Conversation

@AaronZ345

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • python -m pytest tests/server/test_actor_peer_retrieval_targets.py::test_empty_target_uri_respects_skill_context_type tests/server/test_api_search_context.py::test_find_forwards_context_type_to_search_service tests/server/test_api_search_context.py::test_search_forwards_context_type_to_search_service
  • python -m pytest tests/server/test_actor_peer_retrieval_targets.py
  • python -m ruff check openviking/core/retrieval_targets.py openviking/server/routers/search.py openviking/service/search_service.py openviking/storage/viking_fs/_semantic.py tests/server/test_actor_peer_retrieval_targets.py tests/server/test_api_search_context.py

Note: a full tests/server/test_api_search_context.py run in this local checkout is blocked by the existing local test environment requirement for OPENVIKING_CONFIG_FILE/native ragfs_python; the new API regression tests avoid that fixture by invoking the route handlers directly.

🤖 Generated with Claude Code

@AaronZ345
AaronZ345 marked this pull request as ready for review August 24, 2026 12:53
Thread a single search context type into default target resolution so skill-only searches include shared agent skills when no explicit target URI is provided.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@AaronZ345
AaronZ345 force-pushed the aaron/fix-skill-context-search-scope branch from 5ea4e4e to 5845b34 Compare September 1, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

[Bug]: ov find --context-type skill (and /api/v1/search/find with context_type=skill) silently drops viking://agent/skills/ from the search scope

1 participant