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
+3 -2
View File
@@ -36,11 +36,12 @@ def bounded_call(action, timeout):
def cleanup(runtime, guard, thread, stop, *, timeout=2, emit=print):
stop.set()
counters = {}
# Every operation is independent; a failed or wedged stop cannot skip I/O cleanup.
# Cancel owned provider I/O before joining workers which may be awaiting it.
# Every operation is independent; one failure cannot skip later cleanup.
for name, action in (
('runtime_stop', runtime.stop if runtime is not None else lambda: None),
('gateway_shutdown', guard.shutdown),
('gateway_close', guard.server_close),
('runtime_stop', runtime.stop if runtime is not None else lambda: None),
('gateway_join', lambda: thread.join(timeout)),
):
counters[name] = bounded_call(action, timeout)