Skip to content

[codex] fix scenario speech recognition feedback - #73

Merged
Talljack merged 1 commit into
mainfrom
codex/fix-scenario-speech-feedback
Jun 10, 2026
Merged

Talljack merged 1 commit into
mainfrom
codex/fix-scenario-speech-feedback

Conversation

@Talljack

Copy link
Copy Markdown
Owner

What changed

  • Combine confirmed and interim browser speech-recognition transcripts during live Speak practice.
  • Preserve confirmed transcript text when continuous recognition automatically restarts.
  • Replace positional word checks with sequence alignment so one missed word does not shift the whole sentence.
  • Stop silent no-speech restart loops and show actionable microphone errors.
  • Fall back to server transcription when browser recognition reports a network failure.
  • Rename daily Speak tasks from "scenarios" to "scenario lines", including already-generated plans.

Root cause

The UI used finalTranscript || interimTranscript, so finalized prefix text hid later interim recognition. It also silently treated no-speech as recoverable and restarted recognition repeatedly, leaving the microphone button flashing without feedback.

Validation

  • pnpm test (97 files, 657 tests)
  • pnpm typecheck
  • pnpm lint
  • Browser simulation: final first three words plus interim remainder produced all-green feedback.
  • Browser simulation: no-speech stops listening, restores the start button, and displays a microphone error.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
echo-type Building Building Preview, Comment Jun 10, 2026 2:55pm

@Talljack
Talljack merged commit 1ef4a3c into main Jun 10, 2026
3 of 4 checks passed
@Talljack
Talljack deleted the codex/fix-scenario-speech-feedback branch June 10, 2026 14:55

This branch was successfully deployed

1 active deployment
Preview — 14180595 Deployed Jun 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant