Make the governed RAG evidence path executable end to end
Some checks failed
verify / verify (push) Has been cancelled

Separate local parsing from model indexing, bind review decisions to immutable manifests, persist vectors behind active profiles, and expose retrieval, chat, evaluation, and document workflows through the React workbench.

Constraint: Live Bailian authentication currently fails for all three configured capabilities

Rejected: Direct upload-to-embedding flow | bypasses local review and manifest binding

Confidence: high

Scope-risk: broad

Directive: Keep private-data deployment blocked until authentication, RBAC, and separate database roles land

Tested: make verify; fresh and replay Docker document smoke; worker recovery smoke; frozen synthetic evaluation; migration 0003-0004 roundtrip

Not-tested: Successful live Bailian calls, OCR, real multi-user authorization
This commit is contained in:
2026-07-13 05:58:11 +08:00
parent 75592af33a
commit ecdb10c37a
111 changed files with 25457 additions and 152 deletions

View File

@@ -4,6 +4,7 @@
- `demo_documents.jsonl`20 条单切片级演示文档;
- `demo_queries.jsonl`10 条问题、参考答案和期望文档 ID
- `upload_demo.md`:通过文档工作台验证上传、解析、人工审核、向量化和检索闭环的单文件样例;
- 样例初始状态统一为 `LOCAL_PARSED_PENDING_CLOUD_REVIEW`;运行工具必须校验 `source_type=synthetic`,用 UUIDv5 生成数据库身份,实算文本/profile/manifest 哈希,再按固定 `synthetic-demo-v1` 策略完成审批绑定。文件中的普通字段不能直接越过云审批。
这些样例不能用于证明真实地质问答质量;正式评测必须使用取得授权、双人标注并隔离盲测的数据。