feat(voice): add authenticated Phase 2 live lifecycle
Add cookie authentication, owned conversations, durable Live reservations, tool completion/replay fencing, revocation, and startup reconciliation. Introduce forward lifecycle/owner-chain migrations and the temporary Gemini adapter while preserving the existing OpenAI Realtime adapter. Include the executable audio client, regression coverage, configuration, API/database documentation, and recorded acceptance evidence. Validation: focused review suite 82 passed; Python/TOML parsing, JavaScript syntax, and whitespace checks passed. Full PostgreSQL/provider-free results are recorded in the repair report; real-provider/browser acceptance is unrun. Follow-up work remains for configurable OpenAI/Gemini selection, transport admission, authority diagnostics, playback message bounds, and client replay identity after ambiguous creation responses.
This commit is contained in:
@@ -77,3 +77,18 @@ INGEST_MAX_EXTRACTED_BLOCKS=10000
|
||||
# The example is NOT compatibility approval for an arbitrary endpoint/model.
|
||||
INGEST_EMBEDDING_SEND_DIMENSIONS=false
|
||||
INGEST_EMBEDDING_MAX_RESPONSE_BYTES=16777216
|
||||
|
||||
# Temporary sole voice provider; independent of extraction and embedding credentials.
|
||||
PROVIDER=gemini
|
||||
GEMINI_API_KEY=
|
||||
GEMINI_MODEL=gemini-2.0-flash-exp
|
||||
GEMINI_VOICE=Aoede
|
||||
# GEMINI_PROXY=https://trusted-proxy.example:443
|
||||
TRUSTED_ORIGINS=["http://localhost:8000","http://127.0.0.1:8000"]
|
||||
TRUSTED_HOSTS=["localhost:8000","127.0.0.1:8000"]
|
||||
# Explicit local development only. Production requires HTTPS and true.
|
||||
COOKIE_SECURE=false
|
||||
AUTH_SESSION_SECONDS=28800
|
||||
LIVE_SESSION_SECONDS=600
|
||||
# Path to a measured, profile-compatible calibrated report; never a status placeholder.
|
||||
# SEARCH_CALIBRATION_REPORT=/absolute/path/measured-report.json
|
||||
|
||||
Reference in New Issue
Block a user