Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The automated pipeline stopped on this pull request and will not merge it: the fix is written and reviewed, but proving it needs something no worker has:
It stays open for a person to finish or close. |
|
The blocker was my issue's environment field, not a real requirement: the bug is in |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
11a2dcd to
b21bfe4
Compare
EvidenceReal web app, Chromium at 1280×800, light theme, fresh synthetic state on both commits. Replay supplied the approval in Supervised mode; recorded speech passed through a browser MediaStream and the real local transcription engine. Start dictation, send a command while recording, keep speech running as approval arrives, then finish dictation with approval still pending. Base cancels recording and loses the transcript. Head continues recording and inserts the transcript into the draft.
Scenario driver · Speech fixture
Not shown:
|






Problem
When the agent asks for an approval while you are dictating, the recording stops and everything said so far is discarded. Fixes #39634.
Change
dictationDisabledinChatComposerno longer includes the pending approval state. Whendisabledflips to true,useEnvironmentSpeechInputcancels the session, which drops the audio. Excluding dictation during an approval was inconsistent anyway: the editor stays enabled while an approval is pending, and typed text declines or redirects it. Dictated text now follows the same path, since dictation commits into the same draft and submits through the same handler.Scope
Bug fix for #39634. The change is limited to the web composer. Mobile does not disable dictation on approvals.
Verification
isComposerApprovalStateindictationDisabledmakes theuseEnvironmentSpeechInputowner effect callsession.cancel().vp run check:changedpasses,useEnvironmentSpeechInput.browser.test.tsxpasses (42/42), and the web build succeeds.Written with Claude Opus 5.5 in Claude Code, run from T3 Code.