Skip to content

Commit eacd8e5

Browse files
committed
Phases 4-6: ingestion, hybrid retrieval, generation (retrieval-only defaults), config safety bounds
Phase 4: PDF/TXT/MD loaders, chunker, injection guard, date extraction, and the v2 SQLite ingestion schema + migration registry. Phase 5: hybrid retrieval - lexical BM25 + dense stub, reciprocal-rank fusion, index management, and retrieval error taxonomy. Retrieval-only by default; no provider is activated and no model is loaded. Phase 6: generation pipeline with retrieval-only defaults, citation assembly, and typed errors. local_generation_enabled=False, retrieval_score_floor=None, generation_model=None remain the code defaults; egress stays off. Config safety bounds and validators for chunking, retrieval, and generation limits. Owner Decision B (authorized 2026-10-23): the frozen evaluation corpus corpora/synthetic_v1/ (27 files, SHA-256+size pinned by its manifest) is published with this commit. Two companion changes make that publication byte-exact: - .gitignore: narrow the wholesale "corpora/" rule to "corpora/*" plus "!corpora/synthetic_v1/"; every other raw corpus stays ignored. - .gitattributes (new): "corpora/synthetic_v1/** -text" stores and checks out the exact manifest bytes. Without it, core.autocrlf=true corrupted the 6 PDFs on Windows checkouts and would break the 18 text files on autocrlf=false platforms, failing manifest verification on any fresh clone. All 27 files verified byte-identical after a simulated checkout. Test-record disclosure: this commit is NOT independently test-verified. The grouping is file-level, so only the final published tree carries a recorded green run (702 passed, 1 skipped, 1 warning, exit 0 - supersedes 641 and 696). See reports/security_fix_dataset_id_20261021.md.
1 parent 96202b7 commit eacd8e5

81 files changed

Lines changed: 23532 additions & 30 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitattributes‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Frozen evaluation corpus is SHA-256+size pinned by corpora/synthetic_v1/manifest.json
2+
# (verified by tests/eval/test_frozen_corpus.py and eval/dataset.py manifest checks).
3+
# -text disables all newline conversion so the exact manifest bytes are stored
4+
# and checked out identically on every platform, regardless of core.autocrlf.
5+
corpora/synthetic_v1/** -text

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ __pycache__/
1818
.pytest_cache/
1919

2020
# Raw corpora and models (frozen eval datasets\ ARE committed; raw corpora are not)
21-
corpora/
21+
corpora/*
22+
!corpora/synthetic_v1/
2223
models/
82 KB
Binary file not shown.

‎corpora/synthetic_v1/documents/history_authority.txt‎

Lines changed: 774 additions & 0 deletions
Large diffs are not rendered by default.

‎corpora/synthetic_v1/documents/history_bulletin.md‎

Lines changed: 764 additions & 0 deletions
Large diffs are not rendered by default.

‎corpora/synthetic_v1/documents/history_operations.md‎

Lines changed: 790 additions & 0 deletions
Large diffs are not rendered by default.

‎corpora/synthetic_v1/documents/library_advisory.txt‎

Lines changed: 810 additions & 0 deletions
Large diffs are not rendered by default.

‎corpora/synthetic_v1/documents/library_authority.md‎

Lines changed: 774 additions & 0 deletions
Large diffs are not rendered by default.
77.6 KB
Binary file not shown.

‎corpora/synthetic_v1/documents/library_operations.txt‎

Lines changed: 790 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)