# Project documentation The current implementation baseline is the English revision 1.3 [Live document MVP delivery plan](specifications/RAG-AI-Phase1-Delivery-Plan.md). 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](specifications/RAG-AI-Phase1-Delivery-Plan.md): active scope, gates, Days 1-4 and MVP-01 through MVP-14. 2. [Implementation guide](specifications/RAG-Phase1-Implementation-Guide.md): work packages, embedding/LangChain boundary, worker and retained review/resume. 3. [API catalog](specifications/RAG-Phase1-API-Catalog.md): active/deferred routes, D06/D07 exact review and authenticated Live. 4. [Database design](specifications/RAG-Phase1-Database-Design.md): existing foundation, proposed forward review/identity/voice changes and invariants. 5. [English scenarios](specifications/RAG-Phase1-MVP-Scenarios.md): supplied and unseen uploads, factual FAQ, voice and failure walkthroughs. 6. [Architecture](specifications/RAG-AI-Architecture.md): 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](plans/live-document-mvp-todo.md). Checked baseline components do not prove complete MVP acceptance. ## Current code and recorded evidence - [Reference map](agent-reference-map.md): source inventory, agent routes and historical acceptance. - [Ingestion pipeline plan](plans/ingestion-pipeline-plan.md): implemented ingestion Phases 1-6 backend/validation and pending HTTP/search/Live integration. - [Setup and validation](guides/ingestion-foundation-setup.md): actual commands and recorded checks; real provider/voice quality remains separate. - [Repository instructions](../AGENTS.md) and [test guidance](../tests/README.md). Phase 5 worker/publication/retry and retained review/resume backend services are implemented; [Phase 6 operator handoff](guides/ingestion-operator-handoff.md) records integration acceptance and the separate opt-in provider smoke command. Authenticated D06/D07 transport, scoped pgvector search/selection, 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](../README.md) retains prototype startup instructions. ## Historical context and corpus boundary The [Persian scenario report](specifications/RAG-Phase1-Scenario-Report-FA.md) 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.