Skip to content

feat(retrieval): add search diagnostics#267

Open
plind-junior wants to merge 1 commit into
testfrom
feat/search-diagnostics
Open

feat(retrieval): add search diagnostics#267
plind-junior wants to merge 1 commit into
testfrom
feat/search-diagnostics

Conversation

@plind-junior

Copy link
Copy Markdown
Collaborator

Summary

  • add vouch search-diagnose for explaining why a target artifact does or does not appear in retrieval
  • expose the same diagnostic through kb.search_diagnose on MCP and JSONL
  • report target existence, derived-index presence, raw/scoped rank, backend, viewer scope, warnings, and returned hits
  • add focused tests and advertise the new method in capabilities

Tests

  • VOUCH_USER=human-reviewer .venv/bin/python -m pytest tests/ -q --ignore=tests/embeddings
  • .venv/bin/python -m mypy src
  • .venv/bin/python -m ruff check src tests

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8e57712a-96ce-4a31-a610-3c7e7417f618

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/search-diagnostics

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant