Skip to main workspace
TurnProof
Page 02 // /studio

Turn Compiler & Barge-In Scissor

Sanitize LLM stage tags and alphanumeric codes before billing a character, then drag the copper cut-line across the 24 kHz stream to compute the exact post-interrupt conversation state.

Step 01 // Pre-Flight Prompt Sanitizer

Raw LLM Turn vs. Compiled AssemblyAI-TTS-1 Payload

4 hazards flagged
Sanitized AssemblyAI-TTS-1 Payload108 chars · Requires WS Flush (<50c)
Thanks for calling Alliance Appliance Repair. Your booking code is 4-9-3-A, confirmed for $12.50 at 2:15 PM.
Applied AssemblyAI-TTS-1 Normalization Rules:
  • [pause]->(removed)(AssemblyAI-TTS-1 converts square/curly brackets to round brackets and speaks the word inside aloud.)
  • 493A->4-9-3-A(Dashes between alphanumeric characters force character-by-character pronunciation in assemblyai-tts-1.)
  • !->.(Period prosody keeps customer service readback steady before numeric entities.)
  • Thanks for calling Alliance Appliance Repair.->Thanks for calling Alliance Appliance Repair. [WS: send {"type":"Flush"}](Opening sentence is 45 chars (<50 char threshold); WebSocket streams wait for more text unless Flush is sent.)
Step 02 // Signature Instrument · TP-2026-01

Millisecond Barge-In Waveform Scissor

Server-Timing: open;dur=17.2, model;dur=52.3, ttfa;dur=69.6·125 PCM Frames
Cut @ 4,620 ms
0 ms (Begin)2,500 ms5,000 ms7,500 ms10,000 ms (FlushDone)
Click any WordBoundaries token to snap the interrupt cut-line to the end of that word:17 word frames
Spoken Into Caller Ear Before Interrupt (heard_text)11 of 17 words

Thanks for calling Alliance Appliance Repair. Your booking code is 4-9-3-A--

Truncated on Floor After Interrupt (cut_text)6 words unheard

confirmed for $12.50 at 2:15 PM.

Entity Safety Guard

Unheard Entities Withheld from Agent Memory

When a caller barges in at 4,620 ms, any confirmation code, price, or appointment time scheduled after that millisecond never reached the caller's ear. TurnProof tags them as withheld so your voice agent repeats them on the next turn.

Withheld: $12.50Withheld: 2:15 PM
Patched LLM Conversation State JSON
{
  "role": "assistant",
  "content": "Thanks for calling Alliance Appliance Repair. Your booking code is 4-9-3-A--",
  "metadata": {
    "model": "assemblyai-tts-1",
    "bargeInCutMs": 4620,
    "spokenWordCount": 11,
    "droppedWordCount": 6,
    "withheldEntities": [
      "$12.50",
      "2:15 PM"
    ]
  }
}