feat(backend): deliver Phase 3 document and voice integration
Add authenticated upload, review, retry and knowledge-selection HTTP flows with bounded JSON processing and frozen OCR policy. Preserve Gemini/OpenAI provider selection and fenced lifecycle semantics; retain FAQ preambles and uncertain vision candidates, and expose opt-in uncalibrated voice transport diagnostics. Include frontend integration examples, aligned contracts and deterministic regressions. Validation: 1767 provider-free tests passed; all 404 PostgreSQL scenarios have passing evidence across the documented runs.
This commit is contained in:
@@ -41,3 +41,10 @@ def test_delivered_voice_client_async_ownership_errors_logout_and_close():
|
||||
if not node:pytest.fail('Node is required to exercise VoiceClient')
|
||||
result=subprocess.run([node,str(ROOT/'tests/support/voice_client_harness.mjs'),'unit'],capture_output=True,text=True,timeout=20)
|
||||
assert result.returncode==0,result.stdout+result.stderr
|
||||
|
||||
|
||||
def test_delivered_playback_bounds_and_creation_replay():
|
||||
node=shutil.which('node')
|
||||
if not node:pytest.fail('Node is required to exercise the delivered example')
|
||||
result=subprocess.run([node,str(ROOT/'tests/support/voice_phase2_repairs.mjs')],capture_output=True,text=True,timeout=20)
|
||||
assert result.returncode==0,result.stdout+result.stderr
|
||||
|
||||
Reference in New Issue
Block a user