docs(acceptance): record Phase 4 evidence and remaining gates

Publish reproducible per-scenario operational and bounded intake results, correlation identifiers, timing observations, provider-call counts and startup/recovery guidance.

Record retrieval, human-review, calibration, actual frontend and HTTPS/WSS prerequisites separately. Preserve historical evidence and explicitly keep Phase 4 incomplete.
This commit is contained in:
11linear11
2026-10-09 17:44:13 -04:00
parent 42f5b9e854
commit b06eaf59f4
5 changed files with 911 additions and 13 deletions
+12 -2
View File
@@ -1,3 +1,5 @@
For the current modular document/voice backend, use the [Phase 4 startup and recovery guide](docs/guides/phase4-backend-operations.md) and [acceptance evidence](docs/guides/realtime-agent-phase4-acceptance.md). Install `.[api,voice,embedding]`, apply online migrations, and run one `python -m app.server` process with a separate `python -m app.worker`. Service readiness does not certify calibrated retrieval or usable grounded voice. The paragraphs and prototype walkthrough below preserve older checkpoints.
Phase 6 adds [integration validation and operator handoff](docs/guides/ingestion-operator-handoff.md), redacted worker heartbeat/stage diagnostics and an opt-in real-provider smoke command. The existing chat retriever still uses Chroma/FastEmbed and does not search uploaded PostgreSQL chunks. Scoped pgvector search and authorized knowledge selection are the next milestone; published documents remain inactive.
Current target: the English [LangChain Live document MVP](docs/specifications/RAG-AI-Phase1-Delivery-Plan.md), with new browser uploads and direct Persian speech-to-speech. Ingestion Phases 1-4 plus the [Phase 5 worker, publication and retry](docs/guides/worker-orchestration.md) are implemented. Durable review decisions/resume and factual FAQ inclusion are implemented behind trusted backend services. Scoped uploaded-document retrieval, HTTP identity/upload/review transport, Live and UI remain planned. See [documentation and implementation order](docs/README.md) and [recorded setup/validation](docs/guides/ingestion-foundation-setup.md). The four sample files are acceptance examples, not the accepted corpus. The startup/API details below describe the legacy prototype.
@@ -220,7 +222,7 @@ CHROMA_PERSIST_DIR="./data/vector_db"
Start the application with Uvicorn:
```bash
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
python -m app.server --host 0.0.0.0 --port 8000
```
- **Interactive Swagger Documentation**: [http://localhost:8000/docs](http://localhost:8000/docs)
@@ -320,4 +322,12 @@ Contributions are welcome! To contribute:
## 📄 License
This project is open-source and licensed under the [MIT License](LICENSE).
This project is open-source and licensed under the [MIT License](LICENSE).
Live uses the bounded single-process entrypoint above; run ingestion separately with
`python -m app.worker`. See the [voice integration guide](docs/guides/frontend-voice-integration-example.md)
for backend provider settings, transport limits, recovery and acceptance prerequisites.
Document/knowledge endpoints and backend-only `INGEST_OCR_REVIEW_REQUIRED`
(default true) are documented in the [Phase 3 frontend handoff](docs/guides/realtime-agent-phase3-handoff.md).
API and worker must share immutable original/extraction storage. New job profiles
freeze the OCR gate; existing/legacy jobs and factual review remain unchanged.