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
+26 -3
View File
@@ -43,7 +43,7 @@ Proposed field limits: deferred text message 8000 characters; assistant name 120
| D02 | GET `/documents` | Admin | 200 | MVP |
| D03 | GET `/documents/{document_id}` | Admin | 200 | MVP |
| D04 | POST `/documents/{document_id}/retry` | Admin | 202 | MVP |
| D05 | DELETE `/documents/{document_id}?expected_revision=N` | Admin | 202 | Deferred |
| D05 | DELETE `/documents/{document_id}` | Admin | 202 | User-authorized server import (2026-10-18) |
| D06 | GET `/documents/{document_id}/extraction-review` | Admin | 200 | MVP |
| D07 | POST `/documents/{document_id}/extraction-review/decisions` | Admin | 200 | MVP |
| K01 | GET `/knowledge-selection` | Admin | 200 | MVP |
@@ -183,9 +183,9 @@ paths, models or reviewer fields. Rejecting keeps zero publication and a safe
failure reason. Lost worker ownership cannot attach candidates; an admin cannot
approve a fresh OCR response using an old digest.
### D05 — Delete (deferred HTTP/UI)
### D05 — Delete (enabled HTTP/UI, 2026-10-18)
Required `expected_revision` is the current knowledge revision; required idempotency key. Transaction locks selection and document. Mark deleted and inactive; if formerly active, increment knowledge revision and access epoch and invalidate sessions. Physical cleanup is not promised by this response.
JSON body: `{"expected_revision": N}` (positive strict integer; extra fields rejected). Required `expected_revision` is the current knowledge revision; required idempotency key. The authenticated administrator route requires Origin/CSRF validation and uses a bounded 1024-byte JSON body. Transaction locks selection and document. Mark deleted and inactive; if formerly active, increment knowledge revision and access epoch and invalidate sessions. Physical cleanup is not promised by this response.
```json
{"document_id":"10000000-0000-4000-8000-000000000001","deleted":true,"knowledge_revision":3,"access_epoch":2,"cleanup_status":"pending_policy"}
@@ -922,3 +922,26 @@ for this explicitly requested capability. It does not authorize promotion.
Provider secrets and tuned OpenAI speech settings stay server-side. Selection adds
no tables/migrations or document-content versioning.
## Server source import amendment (2026-10-18)
The user explicitly authorized importing deployed document deletion, S2S diagnostics
and model settings. D05 HTTP/UI is enabled under its existing soft-deletion,
revision/epoch, replay and retention rules. The deployed request sends the
revision in the JSON body, not the historical query placeholder. This amendment
records that intentional contract and its Angular consumer.
F01 adds `models`, an array of `{id, label, model}` public identifiers. Roles are
`embedding`, `ocr`, and, when enabled/selectable, `dialogue`, `stt`, `tts`,
`openai` and `gemini`. It contains no credentials or service URLs and does not
promise that provider readiness has passed. The settings UI displays deployed
models; its Live card uses the existing permitted provider selector for the next
conversation. This does not add F02 model/credential editing or a selectable
arbitrary-model API. Existing model profile/revision pinning remains intact.
See [import evidence](../guides/server-source-sync-20261018.md).
## User-authorized evidence admission amendment (2026-10-18)
`search_knowledge` and shared search inspection now return up to ten whole eligible source chunks (previously five), within the unchanged 12,000-character text budget. Cutoff filtering may yield fewer. Schema and source identities are unchanged. Retrieval-policy fingerprint includes `whole-10-12000`; calibration reports must match. Current-turn source reporting remains mandatory; source order does not establish relevance. Local voice enables a bounded extractive output gate before TTS; unsupported text becomes a fixed insufficient-evidence response. See [grounding correction and validation](../guides/strict-grounding-20261018.md).