Fix hands-free STT WebM conversion #43

Merged
bstein merged 1 commits from fix/hermes-handsfree-stt-webm into main 2026-08-21 13:38:59 +00:00

Root cause: the VAD pre-roll discarded the MediaRecorder container init chunk, so late speech uploaded headerless WebM. This keeps the init chunk while preserving the three-chunk audio pre-roll bound and the actual WebM, Ogg, or MP4 media type. Corrupt audio now returns a bounded error at the pinned local-STT conversion boundary.

Tests: a real Chromium MediaRecorder WebM/Opus fixture failed before the fix and now converts through the actual boundary. Focused tests: 22 passed. Full chat and voice tests: 71 passed. Full repository tests: 2645 passed with four failures reproduced on current main. Ruff, secret scan, Kustomize render, Node syntax, and pinned-image patch verification passed.

Browser coverage: Chromium WebM/Opus plus conversion coverage for WebM, Ogg/Opus, and MP4/AAC. Remaining validation is a human hands-free canary after the reviewed image rollout. No deployment was performed.

Root cause: the VAD pre-roll discarded the MediaRecorder container init chunk, so late speech uploaded headerless WebM. This keeps the init chunk while preserving the three-chunk audio pre-roll bound and the actual WebM, Ogg, or MP4 media type. Corrupt audio now returns a bounded error at the pinned local-STT conversion boundary. Tests: a real Chromium MediaRecorder WebM/Opus fixture failed before the fix and now converts through the actual boundary. Focused tests: 22 passed. Full chat and voice tests: 71 passed. Full repository tests: 2645 passed with four failures reproduced on current main. Ruff, secret scan, Kustomize render, Node syntax, and pinned-image patch verification passed. Browser coverage: Chromium WebM/Opus plus conversion coverage for WebM, Ogg/Opus, and MP4/AAC. Remaining validation is a human hands-free canary after the reviewed image rollout. No deployment was performed.
hermes-automation added 1 commit 2026-08-21 11:18:50 +00:00
bstein approved these changes 2026-08-21 13:38:48 +00:00
bstein changed title from WIP: Fix hands-free STT WebM conversion to Fix hands-free STT WebM conversion 2026-08-21 13:38:51 +00:00
bstein merged commit 431533dfce into main 2026-08-21 13:38:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: titan/atlas-iac#43
No description provided.