fix(voice): decouple cancellation race handling from model and voice

This commit is contained in:
amirhosein mazaheri
2026-10-14 12:04:08 +03:30
parent 15558fd850
commit 1f7c2bd195
8 changed files with 134 additions and 23 deletions
+13
View File
@@ -235,3 +235,16 @@ introduced. Real-provider attribution requires a new occurrence after deployment
Validation: 122 focused synchronization, interruption and retained-search tests
passed, including eight terminal failure/redaction cases.
### Protocol-scoped model switch (2026-10-14)
The selected-model/voice classifier restriction is superseded by the explicitly
authorized API amendment. The previously captured exact structured signature is
now OpenAI-protocol scoped. The runtime never accepts it as terminal confirmation:
event-ID correlation, response.done, heard-position cleanup and matching truncate
acknowledgement remain independent gates with finite deadlines. Unknown signatures
remain fatal. Diagnostics now record cancellation_correlated instead of a
Shimmer-specific profile flag. Synthetic race coverage includes 2.1-mini with
Marin, Shimmer and Cedar in both terminal orderings and missing-terminal timeout.
Actual Mini speech quality and live interruption acceptance require a fresh session.