feat(retrieval): one search path, recency decay, honest degradation#476
Conversation
kb.search had three copies of the backend waterfall (mcp, jsonl, cli) and they drifted: fusion landed in kb.context while kb.search auto still waterfalled embedding-first. context.search_kb is now the one implementation; mcp and jsonl delegate to it. auto fuses embedding + fts5 via rrf with a substring fallback, and an omitted backend defers to retrieval.backend in config.yaml. a retrieval block on search and context responses reports configured vs used backend, semantic availability, and a degraded flag — a base install serving lexical hits under a semantic-capable name now says so instead of labelling them hybrid. retrieval.recency blends a half-life decay (default 90 days, whole-day quantized) into fused context-pack scores so fresher knowledge outranks equally-relevant stale knowledge. rescoring-only: an old artifact loses at most half its score and never vanishes. on by default in the starter config; existing kbs keep byte-identical ordering until they opt in.
|
Warning Review limit reached
Next review available in: 33 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
step 3 of the roadmap (.superpowers/roadmap.md): make good retrieval the default and stop lying about degradation.
covered by new tests in test_retrieval_backend.py (recency on/off, degradation reporting, config-default backend, substring fallback, mcp/jsonl parity through search_kb). full local gate green: pytest, mypy, ruff.