Introduction
Agent frameworks put a human gate in front of risky actions: deleting data, spending money, sending a message. When the operator is talking to the agent, the natural gate is a spoken yes or no. Streaming speech recognition makes that gate fast, because the agent sees partial transcripts while the person is still speaking. It also makes the gate fragile. Partial hypotheses are revised, and people often begin a refusal or a condition with an affirmative word: “yes, but not the staging branch”.
This pilot asks a narrow question. Under a fixed set of scripted replies and an offline streaming recognizer, how often does each of four simple gate policies approve a reply that was not meant as approval? And how often does it reject one that was?
Related Work and Prior Evidence
Incremental speech recognition has a long literature on the stability of partial hypotheses. Selfridge et al. (SIGDIAL 2011) measured the stability and accuracy of partial results and studied ways to improve both. In spoken dialogue research on confirmations, Bohus and Rudnicky (ASRU 2005) proposed a data-driven method that updates a system’s confidence in its top hypothesis for a concept from the user’s subsequent responses to confirmation actions, and reported that it significantly outperformed the heuristic rules then common in spoken dialog systems.
Current practitioner guidance for voice agents is explicit. A public reference architecture says that “yes” is not enough when the confirmation question was ambiguous or interrupted, and it recommends a propose, confirm, execute, verify protocol. Vendor guidance from Deepgram and AssemblyAI treats short tokens such as “yeah” and “okay” as backchannels, not turn-taking signals. The SMART evaluation proposal (arXiv 2610.27820) notes that deleting a negation can reverse the meaning of a transcript while barely moving word error rate. Pubroot 2026-076 describes turn-taking on iOS with partial speech results and timers; it does not study approval gates.
A web search on 2026-10-26 found no measured comparison of approval-gate policies for agent actions under streaming partials. The guidance exists; the counts did not.
Method
Replies. The prompt was “Delete the staging branch?” There were 24 scripted replies. Eight are approvals: “yes”, “yes go ahead”, “okay do it”, “sure”, “approved”, “yes delete it”, “yes delete the staging branch”, and “go ahead and delete it”. Sixteen are non-approvals. Nine of those are hesitant replies that start with an affirmative, such as “yes wait no”, “sure, after I check the logs” and “yes… no, keep it”. Seven are plain refusals or deferrals, such as “no”, “not yet”, “don’t delete it” and “I guess”. The approve/non-approve label was fixed before any run.
Audio. espeak-ng 1.52.0 rendered each reply with six settings: en-us at 150 and 190 words per minute, en-gb at 150 and 190, en-us+f3 at 170, and en-gb-x-rp at 170. ffmpeg resampled the audio to 16 kHz mono. That gives 144 clips with a mean length of 1.42 s, including espeak’s trailing silence.
Recognition. Vosk 0.3.45 with vosk-model-small-en-us-0.15 ran offline. Each clip was fed in 100 ms chunks. The pilot logged every new partial with its time offset, plus the final transcript.
Gates. An affirmative is any of: yes, yeah, yep, okay, ok, sure, approve(d), “go ahead”, “do it”. The negation-and-hedge list is: no, not, don’t, wait, hold, cancel, stop, but, actually, later, keep, mean, guess, after.
- P1 approves when any partial, or the final transcript, contains an affirmative. It decides at the first such partial.
- P2 approves when the final transcript contains an affirmative.
- P3 is P2 with no negation or hedge word in the final transcript.
- P4 is P3 with the action word “delete” also in the final transcript.
Results
| Policy | False approvals (of 96) | False rejections (of 48) |
|---|---|---|
| P1 first affirmative partial | 51 | 14 |
| P2 final affirmative | 45 | 18 |
| P3 final, no negation or hedge | 2 | 18 |
| P4 P3 plus action echo | 5 | 37 |
Of the 54 hesitant clips, P1 approved 48 and P2 approved 44. When P1 approved a hesitant clip, it decided a median 1.30 s before the clip ended (range 0.59 to 2.02 s). P2’s false approvals show that waiting for the final transcript does not help on its own. In many hesitant clips the recognizer transcribed the whole reply, refusal included; the gate simply found a “yes” in it.
P3’s two false approvals were recognition errors: “not yet” was heard as “yeah”, and “yes wait no” as “yes way to go”. Its 18 false rejections were mostly recognition errors on approvals: “approved” was heard as “peru”, “prove” or “the blue” in 5 of 6 clips, and “go ahead and delete it” was garbled in all 6. The final transcript matched the reply text exactly in 66 of 144 clips.
P4 behaved worst on both axes. Approvals without the action word (“yes”, “sure”) cannot pass it. It also approved “don’t delete it” in 5 of 6 clips, because the recognizer dropped “don’t” and left “delete it” or “to delete it”. That is the negation-deletion case SMART warns about, and an echo requirement turns it into an approval.
Discussion
Three points follow from these counts, within the limits of the setup.
First, committing on partials is unsafe in exactly the way guidance says. The measured cost is large: nearly nine in ten hesitant replies were approved. Second, the fix that guidance usually implies, waiting for the final transcript, is not enough by itself. The final transcript contains the “yes” too. Third, the obvious next layer, keyword filters and action echo, moves the risk to recognition errors. A dropped negation is worse than a dropped affirmative, because it fails toward approval.
Hypothesis, untested here: a gate should treat recognition confidence on negation words as a first-class signal. Low confidence near the action word should fall back to a non-voice confirmation (a tap, a typed code) rather than a re-ask. The counts above motivate that design but do not test it.
Limitations
The speech is synthetic, and espeak’s prosody is far from real hesitation; pauses came only from punctuation. A single small recognizer was used, and larger or cloud recognizers will differ. The gates are keyword rules, not the LLM-judged intent that many agents use. The reply set is small and was written by the author of the pilot, so the counts describe this set, not a population of users. No human voices were recorded, by design.
Reproducibility
Code: https://github.com/buildngrowsv/pubroot-[REDACTED_SECRET]-approval-gate
The pilot folder holds the reply list, the pilot script, per-clip partials and finals, the summary, and a script that downloads and checksums the model. The 144 audio clips are regenerated by the pilot script rather than shipped. A rerun needs espeak-ng, ffmpeg, Python with vosk 0.3.45, and the public vosk-model-small-en-us-0.15 archive (SHA-256 [REDACTED_SECRET]). Synthesis is deterministic for a given espeak-ng build. The full run took about 80 s on 8 CPU cores.
References
- Selfridge, E. O., Arizmendi, I., Heeman, P. A., Williams, J. D. Stability and Accuracy in Incremental Speech Recognition. SIGDIAL 2011. https://aclanthology.org/W11-2014.pdf
- Bohus, D., Rudnicky, A. I. Constructing accurate beliefs in spoken dialog systems. ASRU 2005. https://doi.org/10.1109/asru.2005.1566504
- Gu, X., et al. SMART: Semantic Segment Mapping and Assessment of Recognition Transcripts with Contextual Rubrics. arXiv 2610.27820 (2026). https://doi.org/10.48550/arxiv.2610.27820
- SA AI bootcamp. Designing production voice AI agents (reference architecture). https://anothernoise.github.io/sa-ai/docs/10-reference-architectures/06-voice-agent.html
- Deepgram. Backchannels vs interruptions: Handling listener signals in voice agents. https://deepgram.com/learn/backchannels-vs-interruptions-voice-agents
- AssemblyAI. Best Practices for Building Voice Agents. https://www.assemblyai.com/docs/voice-agents/best-practices
- Alpha Cephei. Vosk models. https://alphacephei.com/vosk/models
- Pubroot 2026-076, Turn-Taking with Staggered Timers and Apple Speech Partial Results (self-citation). https://pubroot.com/webmobile/ios/turn-taking-with-staggered-timers-and-apple-speech-partial-results/