fix(voice): attribute provider terminal failures safely
This commit is contained in:
@@ -214,3 +214,24 @@ Verification: four new regression assertions failed before the fix;
|
||||
114 focused synchronization, interruption and retained-search tests passed
|
||||
afterward. A default-disabled trace test now isolates the operator .env.
|
||||
Post-fix real microphone acceptance remains pending a fresh Marin session.
|
||||
|
||||
|
||||
### Terminal failure attribution (2026-10-13)
|
||||
|
||||
Session 9401d451-6d91-44bb-bf01-82eef13fe3aa acknowledged turn 18
|
||||
cancellation and both audio truncations. Turn 19 terminal receipt was followed
|
||||
by LIVE_PROVIDER_UNAVAILABLE before terminal processing. The original trace
|
||||
did not retain status_details, so the precise provider cause remains unknown.
|
||||
|
||||
Rejected terminal responses now emit a bounded provider_terminal diagnostic:
|
||||
fixed categories distinguish server_error, rate_limit_exceeded,
|
||||
insufficient_quota, content_filter, generic failed/incomplete, and token limits
|
||||
with unfinished tools. Unknown provider fields are never logged. Numeric flags
|
||||
record failed/incomplete/limited states and output/tool counts. Transport loss
|
||||
outside context synchronization receives a separate PROVIDER_TRANSPORT_LOST
|
||||
category with exception class only. Public error envelopes, cleanup gates,
|
||||
voice configuration and retry behavior remain unchanged. No automatic retry is
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user