Skip to content

Milestone 4: hybrid retrieval and context packs - #5

Merged
Sebastiangmz merged 8 commits into
mainfrom
feat/m4-hybrid-retrieval-context-packs
Jun 30, 2026
Merged

Sebastiangmz merged 8 commits into
mainfrom
feat/m4-hybrid-retrieval-context-packs

Conversation

@Sebastiangmz

Copy link
Copy Markdown
Owner

Summary

  • Add hybrid vector + lexical retrieval with score breakdowns, path/name boosts, overlap dedupe, and deterministic budget caps.
  • Add retrieval-only ContextPack models and service seam.
  • Expose context packs through REST, MCP tools, and CLI.
  • Extend CI/EvalFly gates for Milestone 4.

Verification

  • PYTHONPATH=src .venv/bin/python -m pytest tests/test_m0_baseline.py tests/test_m1_services.py tests/test_m2_registry.py tests/test_citations.py tests/test_m3_citations.py tests/test_api_routes.py tests/test_mcp_handlers.py tests/test_mcp_tools.py tests/test_ui_handlers.py tests/test_m4_hybrid_retrieval.py
  • .venv/bin/ruff check ...
  • PYTHONPATH=src .venv/bin/mypy ...
  • python -m py_compile ...
  • python scripts/evalfly_smoke.py --suite smoke
  • .venv/bin/python -m build

Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Spec-Slice: CRAG-20260630-M4-HYBRID-CONTEXT-PACKS
Copilot AI review requested due to automatic review settings June 30, 2026 21:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Sebastiangmz
Sebastiangmz merged commit 5fec92c into main Jun 30, 2026
1 check passed
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.

2 participants