fix(ingestion): accept observed OCR text alias in partial mode

This commit is contained in:
amirhosein mazaheri
2026-10-14 14:01:51 +03:30
parent 77b8205db6
commit 2e8c179efc
4 changed files with 69 additions and 0 deletions
+18
View File
@@ -1612,3 +1612,21 @@ Executed validation:
Limitations: Real hosted model compatibility, retrieval quality, and tokenizer
distributions remain unverified by mock and arithmetic tests. Phase 5 worker claim
fencing and publication remain required before staged vectors can be published.
## OpenRouter text field alias repair (2026-10-14)
Photo f9d74e4c-8aeb-42e5-b99d-600d95e87686 repeatedly failed extraction after
successful manual retries. Bounded provider inspection identified 15 blocks with
text_content instead of the required text field; recognition content was not logged.
In explicit allow_partial_extraction mode only, OpenRouter now maps this observed
alias verbatim, retaining an artifact warning. Different simultaneous text fields,
non-string/empty content, unknown extra fields and malformed relationships remain
rejected; strict admission is unchanged. No profile rewrite or schema migration.
58 targeted provider-free extraction/admission regressions passed. The previous
worker image is retained as rag-worker-rollback:20261014. Only worker was rebuilt;
API and the preserved original rag-api container were untouched. Same-document,
same-job official retry generation 3 completed through extraction, chunking,
embedding and atomic publication: status ready, 7 chunks. This proves this upload's
runtime completion, not complete OCR accuracy. Selection still requires activation.