What: with Type as I speak on, the app emptying the field while it ends with Hex's live words
(Slack's or Messages' Send, or select all and delete) is a send (LiveFieldTyping.wasSent): the
words went out as typed. When the field first reads empty (textDidChange, or the next live
words), the capture's audio is held; 0.3 s later (KeyboardLiveTyping.sendConfirmation), if the
field is still empty, the dictation so far ends: its words are never taken back or inserted
again, they settle in DictationEditTracker as a dictation kept as typed (the host emptying the
field, as the tracker has always read a send), Undo dictation forgets earlier text, and its audio
file is deleted. The microphone stays on: KeyboardLocalDictation.startAfresh closes the file,
opens a new one, restarts the live recogniser and resets the dictation's start, and the held
audio goes into the new dictation, so every chunk lands in exactly one dictation's file (none
lost, none transcribed twice). The words above the keys start empty, new speech is typed into
the empty field from its first word, and ✓ (or a tap on the words) inserts only the speech since
the send; each dictation has its own length and memory checks. If the field shows the words
again within the 0.3 s (a host reporting late), the held audio goes on into the same dictation.
An app changing the words without emptying the field still stops the typing, as before.
Why: AJ dictates into Slack with Type as I speak and taps Send without stopping; new speech
never reached the empty box and ✓ inserted the whole transcript again. Ryan: "We want to keep
listening and start fresh."
Verified: LiveDictationTests on the Studio simulator (15; new: three sends in a row typed from
the first word into the emptied field with the sent words never typed again; an edit that isn't
an emptying keeps hands-off; Undo after a send reaches only the next dictation). In the iPhone 17
Pro simulator with the recogniser fixture and a chat host whose Send empties its field: two and
six sends in a row, each a new dictation typed from the first word, 4 chunks (341 ms) held per
send and moved to the new dictation, one audio file at a time and none left after, the keyboard's
footprint 37.2-37.4 MB after each of six sends. Not run on an iPhone.