Files
rag-technical-docs-assistant/docs
amirhosein mazaheri 90a164f5a6 feat(ingestion): add opt-in best-effort document admission
Freeze temporary partial-extraction admission in new uploads. Bypass manual approval, retain recognition warnings, and accept ambiguous legal references during bounded chunking. Preserve strict defaults, immutable evidence and atomic publication. Expose effective policy and safe failure categories with regression coverage.
2026-10-13 14:09:21 +03:30
..

Project documentation

The current implementation baseline is the English revision 1.3 Live document MVP delivery plan. It targets a conditional four-day demo using the existing ingestion/embedding Phases 1-4, LangChain RAG/tools, new browser uploads and direct Gemini Live. The four supplied examples are mandatory initial tests, not an upload allowlist. Full text chat/history and settings editing are deferred.

Implementation reading order

  1. Delivery plan: active scope, gates, Days 1-4 and MVP-01 through MVP-14.
  2. Implementation guide: work packages, embedding/LangChain boundary, worker and retained review/resume.
  3. API catalog: active/deferred routes, D06/D07 exact review and authenticated Live.
  4. Database design: existing foundation, proposed forward review/identity/voice changes and invariants.
  5. English scenarios: supplied and unseen uploads, factual FAQ, voice and failure walkthroughs.
  6. Architecture: dependency boundaries; broader deferred sections are context.

The plan governs scope, API/database govern contracts and the guide governs workflows. Proposed mechanisms are not implementation-completion reports.

Implementation progress is tracked in the Live document MVP TODO. Checked baseline components do not prove complete MVP acceptance.

Current code and recorded evidence

Phase 5 worker/publication/retry and retained review/resume backend services are implemented; Phase 6 operator handoff records integration acceptance and the separate opt-in provider smoke command. Scoped pgvector search/selection and Fast-Track Search Phase 2 technical correctness are implemented; Phase 2 results and calibration prerequisites record actual acceptance. Real-model cutoff calibration, LangChain, authenticated D06/D07 transport, HTTP identity/upload, browser integration, Live and UI remain pending. Real-provider compatibility and Persian extraction/semantic quality are not certified by mocks. The root README retains prototype startup instructions.

Historical context and corpus boundary

The Persian scenario report is preserved as historical revision 1.2. New MVP instructions/scenarios are English. Older text/history/settings promises do not override revision 1.3.

Project documentation stays under docs; uploaded/sample corpus stays under data. Documentation changes do not clean/rebuild any existing vector index. Preserve applied migrations, independent immutable document IDs, technical revisions and compatible embedding profiles. Do not index project specifications as organization knowledge.