feat(voice): implement local S2S retained history and provider selection

Add pinned CPU engine dependencies, retained interrupted-response history, provider admission, offline evaluation and isolated browser tooling.

Record Phase 2 acceptance and Phase 3/4 preparation, bounded paid-test accounting and interruption incident findings. Human interruption acceptance, paired OpenAI evaluation and rollback remain pending.
This commit is contained in:
11linear11
2026-10-16 17:09:27 -04:00
parent 8d348f0ba1
commit a94b8cd3ea
111 changed files with 14764 additions and 58 deletions
@@ -138,6 +138,9 @@ def test_transcript_ordering_repeated_words_delayed_completion_and_release(runne
try:
first=await input_turn(r,'u1',commit=False)
await r.handle(user_asr('u1','نه ','delta-a',completed=False))
# Unsent adjacent deltas may coalesce; observe the first delivery
# before testing replay identity and a separate legitimate repetition.
await until(lambda:sum(e.get('role')=='user' for e in out)==1)
await r.handle(user_asr('u1','نه ','delta-a',completed=False)) # identity replay
await r.handle(user_asr('u1','نه ','delta-b',completed=False)) # legitimate repetition
await until(lambda:sum(e.get('role')=='user' for e in out)==2)