feat(search): add calibrated retrieval and LangChain knowledge tool

Add exact and semantic evidence admission, measured calibration, bounded tool execution, and independent held-out evaluation preparation with regression coverage and operator guides. Real-provider quality gates remain pending.

Validation: 1300 provider-free tests passed; 3 Windows symlink skips. PostgreSQL acceptance not rerun because TEST_DATABASE_URL is unset.
This commit is contained in:
amirhosein mazaheri
2026-10-08 12:58:59 +03:30
parent 4d36f2ba35
commit fef381c41b
36 changed files with 6679 additions and 45 deletions
+4
View File
@@ -1,2 +1,6 @@
# Preserve immutable migration snapshots byte-for-byte across platforms.
/migrations/versions/*.py -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
# Preserve calibration original bytes used by independently annotated hashes.
/data/calibration/phase2-source.md -text
/docs/calibration/phase2-cases.json text eol=lf