feat(core): improve agentic retrieval quality and performance - #165
Merged
Conversation
Release highlights: - Keep supported dependencies current without raising the Node 22 runtime floor. Release details: - Upgrade TypeScript, html-to-text, Lucide, Commander, and Node type ranges conservatively. - Keep LanceDB and Arrow on their validated compatibility set and add HTML parsing coverage. Verification: - pnpm install --frozen-lockfile - pnpm check
Release highlights: - Keep the local TTS validation reliable on slower machines. Release details: - Extend the bounded readiness-marker wait without changing production behavior. Verification: - pnpm --filter @jcode.labs/ragmir-tts test -- src/index.test.ts
Release highlights: - Return trustworthy retrieval candidates faster, including when the FTS index is unavailable. Release details: - Cache local-hash features per call and overlap lexical and vector candidate acquisition. - Scan fallback rows in batches and preserve scored exact-path matches beyond the vector pool. Verification: - pnpm --filter @jcode.labs/ragmir test -- src/embeddings.test.ts src/query.test.ts - Core test suite: 55 files and 545 tests passed
Release highlights: - Use the top-k window for broader document evidence while still returning the requested count. Release details: - Apply a predictable per-document cap after ranking with non-overlapping backfill. - Reapply diversity after multi-query research fusion and preserve evidence span metadata. Verification: - pnpm --dir packages/ragmir-core exec vitest run src/research.test.ts - Targeted research, diversity, and ranking tests: 20 passed
Release highlights: - Keep compact MCP answers lean and evaluation hits faithful to the requested top-k. Release details: - Avoid context hydration for compact MCP search and ask responses while retaining full mode. - Limit hit and citation matching to top-k while preserving independent recall-at-10 metrics. Verification: - pnpm --dir packages/ragmir-core exec vitest run src/evaluate.test.ts src/mcp.test.ts
Release highlights: - Prevent incomplete or ineligible benchmark reports from producing false quality passes. Release details: - Validate both runs, suite eligibility, workload identity, and bounded metric domains. - Separate measured fingerprints from workload identity and report fixed-cap document diversity. Verification: - pnpm --dir packages/ragmir-core exec vitest run src/benchmark-comparison.test.ts - Quality benchmark self-comparison passed with 22 required metrics
Release highlights: - Explain Ragmir as a private, bounded evidence layer for agentic RAG in English and French. Release details: - Align the setup prompt, READMEs, API limits, Context7 metadata, and machine-readable copy. - Correct localized canonical, hreflang, social metadata, and visible FAQ contracts. Verification: - pnpm --filter @jcode.labs/ragmir-landing test - pnpm public:smoke - Browser proof completed for English, French, and mobile layouts
Release highlights: - Keep compound-identifier retrieval deterministic when broad lexical matches saturate the FTS pool. Release details: - Require an exact identifier anchor before contextual scoring and retain fuzzy and broad backfill. - Cover bounded exact candidates, typo recovery, and distractor-heavy retrieval. Verification: - Run the reproducible S local-hash quality benchmark with 100 of 100 cases passing. - Run pnpm validate.
Release highlights: - Keep lexical retrieval coverage reliable on constrained CI runners. Release details: - Reduce identifier and path fallback fixtures while preserving candidate-bound assertions. Verification: - Run the full Core coverage suite with 546 passing tests.
|
🎉 This PR is included in version 4.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release highlights:
Release details:
Verification: