docs: reconcile project status and local stack operations

Refresh entry points and progress checkpoints, document schema revision 0006, and consolidate the final ElevenLabs/GapGPT profile and host prerequisites.

Preserve dated activation evidence and distinguish implementation, targeted validation, incomplete full-suite checks and remaining human acceptance gates.

Validation: 409 local Markdown link targets resolved and staged whitespace checks passed.
This commit is contained in:
amirhosein mazaheri
2026-10-20 09:00:55 +03:30
parent 42400495af
commit 9b5be918d4
15 changed files with 817 additions and 377 deletions
+40 -40
View File
@@ -1,51 +1,51 @@
# 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.
Start with [current status](current-status.md) for implemented capabilities,
the last recorded local profile, evidence boundaries and remaining gates.
Use the [reference map](agent-reference-map.md) for source locations and dated
authorized amendments. Historical reports describe the run/date named in them;
their pending or running statements do not describe today's service state.
## Implementation reading order
## Contract authority
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.
1. [Phase 1 delivery plan](specifications/RAG-AI-Phase1-Delivery-Plan.md): scope.
2. [API catalog](specifications/RAG-Phase1-API-Catalog.md): public contracts and amendments.
3. [Database design](specifications/RAG-Phase1-Database-Design.md): persistence contracts.
4. [Implementation guide](specifications/RAG-Phase1-Implementation-Guide.md): workflows.
5. [English scenarios](specifications/RAG-Phase1-MVP-Scenarios.md): acceptance scenarios.
6. [Architecture](specifications/RAG-AI-Architecture.md): broader context and boundaries.
The plan governs scope, API/database govern contracts and the guide governs
workflows. Proposed mechanisms are not implementation-completion reports.
The English revision 1.3 baseline is amended by the dated authorized changes in
the reference map. Existing code alone does not override a contract. Full text
chat/history and arbitrary settings/model editing remain deferred. The Persian
revision 1.2 scenario report is historical.
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.
## Operations and validation
## Current code and recorded evidence
- [Backend startup/recovery](guides/phase4-backend-operations.md).
- [Current local Windows stack](guides/current-local-stack.md): final recorded
routing, profile settings, startup dependencies, HTTPS and verification.
- [Foundation setup](guides/ingestion-foundation-setup.md) and
[worker orchestration](guides/worker-orchestration.md).
- [Tests](../tests/README.md): provider-free checks and isolated PostgreSQL acceptance.
- [Local S2S engine](../services/local_s2s/README.md): build/native-engine details.
- [Progress checklist](plans/live-document-mvp-todo.md) and
[Local S2S progress](plans/local-s2s-adapter-progress.md).
- [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).
## Latest change reports
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.
Scoped pgvector search/selection and Fast-Track Search Phase 2 technical
correctness are implemented; [Phase 2 results and calibration prerequisites](guides/scoped-search-phase2.md)
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](../README.md) retains prototype startup instructions.
- [Deletion, public models and diagnostics](guides/server-source-sync-20261018.md).
- [GapGPT and subsequent ElevenLabs activation](guides/local-gapgpt-20261018.md).
- [Strict current-turn grounding and ten-source retrieval](guides/strict-grounding-20261018.md).
- [LAN HTTPS and client trust](guides/local-lan-access-20261018.md).
- [Combined ingestion/RAG/voice evidence](evaluation/local-s2s/combined-ready-20261017.md).
- [Presentation diagrams](presentation/README.md).
## Historical context and corpus boundary
The modular backend implements identity/upload/review transport, scoped search
and authenticated voice; older ingestion reports that call these pending are
historical checkpoints. Frontend source lives in the sibling repository and
cannot be committed from this repository.
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.
Documentation stays under docs; uploaded/sample corpus stays under data.
Preserve applied migrations, immutable document identities, technical revisions
and compatible embedding profiles. Do not rebuild an index as documentation cleanup.