This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Affected surfaces
Summary
AI summarysearch_knowledge now searches the full index when category_filter is omitted and adds a path‑metadata ranking boost.
Full changelog
Two search-quality changes ship together in v4.5.0. Both are additive from a public-API standpoint (no signature changes, routed_by field unchanged).
Fixed
search_knowledgenow searches the entire index when the caller omitscategory_filter. The internal keyword router previously acted as a hard where-filter on both semantic and BM25 branches, so a query whose terms happened to map to a sparsely-populated category could return two documents while thousands of relevant chunks in other categories were silently dropped. The router is now informational only — therouted_byfield is still populated for telemetry, but the candidate set is never restricted. Explicitcategory_filter=...continues to filter BM25 consistently with #109. (#112)
Added
- Path-metadata ranking boost in hybrid search. When query terms match a chunk's indexed
sourceorfilenamemetadata, hybrid search now applies a small bounded boost (capped at ~20% of typical RRF magnitudes) before final sorting/reranking. This helps navigational queries surface the canonical file for a topic instead of adjacent files that only cross-reference it. Public API unchanged. (#110, thanks @Hohlas)
Tests
- New
TestKeywordRoutingBehavior(3 tests) pins the routing fix. - New
TestPathAwareRankingcovers the path-metadata boost. - Baseline: 266 → 271.
Upgrade note
Warm query_cache entries from before v4.5.0 should be invalidated by restarting the server so cached responses no longer reflect the pre-fix restrictive behavior.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About lyonzin/knowledge-rag
Local RAG system for Claude Code with hybrid search (BM25 + semantic), cross-encoder reranking, markdown-aware chunking, query expansion, and 12 MCP tools. Runs entirely offline with zero external servers.
Beta — feedback welcome: [email protected]