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

@@ -15,6 +15,7 @@ POSTGRES_APP_PASSWORD_FILE=/run/secrets/postgres_app_password
UPLOAD_ROOT=/data/uploads
MAX_UPLOAD_MB=100
DOCUMENT_NAMESPACE_MODE=fake
MODEL_GATEWAY_BASE_URL=http://model-gateway:8000
MODEL_GATEWAY_TOKEN_FILE=/run/secrets/model_gateway_api_token
@@ -43,4 +44,4 @@ MAX_CONTEXT_TOKENS=10000
MODEL_TIMEOUT_SECONDS=90
MODEL_MAX_RETRIES=3
MODEL_MAX_CONCURRENCY=4
WORKER_CAPABILITIES=document_parse,embedding,rerank,evaluation
WORKER_CAPABILITIES=document_parse