Earful run report

lk-1.8.13.booking.A2-rule (minimal)

Failed

A2 failed. A3, M1, M2, L1 passed. A1, L2 had no instance in this run (not exercised).

A1 not exercisedA2 failA3 passM1 passM2 passL1 passL2 not exercised

case
booking
seed
0
framework
livekit-agents 1.8.13
clock
virtual
run id
run-5a4f68d40cea08cf
ledger hash
495e57cb6eb904c00a738a7ff16f3839bc01b840395bcafb87ea83491c204f6d
events
55, over 11.000 s
origin
user.origin at t_us 0 (seq 3). Axis time is t_us minus that.

What this is evidence of. One run of the framework on a virtual clock, against scripted providers for the user, the model and the voice, a simulated audio sink and a fake backend. Playout means audio the sink consumed. Nothing here measures a network, a client buffer or what a caller heard.

From a failure bundle

The bundle froze A2/rule on livekit-agents 1.8.13, virtual clock. This ledger is the case as found (original): its hash matches the manifest.

speechesdelaysfaultswhat the checker found for the frozen rule
as found1012 durable effects for 'book-table'; the scenario authorized 1
reduced1012 durable effects for 'book-table'; the scenario authorized 1

Reduction. 60 runs. The reduction finished.

Differences from the author's scenario:

Windows. How far each time of the reduced case can move while the rule still breaks.

variablefromtowidthbelowabovelocated to
backend.wait 10.000 s33.768 s33.768 sblockedreach0.001 s
speech.position 00.000 s33.268 s33.268 sblockedreach0.001 s

Run 3 times when the bundle was made, giving 1 distinct ledger. Made with: earful 0.3.0, livekit 1.2.1, livekit-agents 1.8.13, packages 4f00dd89d430b8d3ed9…, platform Linux-x86_64, python 3.13.18.

A2 fail, intent book-table: 2 durable effect(s) for 'book-table', 1 authorized

Rests on 4 events, 3.000 s to 4.640 s: 17 18 32 33 verdict clear

A2 rule: 2 durable effects for 'book-table'; the scenario authorized 1

Rests on 2 events, 3.000 s to 4.640 s: 18 33 verdict clear

A3 pass, reply 3, intent book-table, words [0, 5]: the claim about 'book-table' was heard after the effect was committed

Rests on 4 events, 3.000 s to 8.061211 s: 18 44 45 49 verdict clear

M1 pass, reply 1: 6 of 6 words played; remembered 6

Rests on 5 events, 2.700 s to 6.254545 s: 11 19 25 29 43 verdict clear

M1 pass, reply 2: 7 of 7 words played; remembered 7

Rests on 4 events, 4.340 s to 6.254545 s: 30 35 39 43 verdict clear

M1 pass, reply 3: 6 of 6 words played; remembered 6

Rests on 4 events, 6.254545 s to 9.000 s: 44 45 49 52 verdict clear

M2 pass, context call 1: call 1 shows the conversation that happened

Rests on 1 event, at 2.700 s: 10 verdict clear

M2 pass, context call 2: call 2 shows the conversation that happened

Rests on 4 events, 2.700 s to 4.340 s: 11 16 24 29 verdict clear

M2 pass, context call 3: call 3 shows the conversation that happened

Rests on 7 events, 2.700 s to 6.254545 s: 11 16 24 30 31 34 43 verdict clear

M2 pass, context final history: final history shows the conversation that happened

Rests on 7 events, 2.700 s to 9.000 s: 11 16 24 30 31 34 52 verdict clear

L1 pass, speech 0: the turn of speech 0 got its response in time

Rests on 11 events, 2.700 s to 6.254545 s: 7 10 11 16 19 20 24 30 31 34 44 verdict clear

L2 not exercised, speech 0: nothing was under way to interrupt

Rests on 1 event, at 0.550 s: 4 verdict clear

run.start, seq 0, harness, at 0.000 s {"case": "booking", "clock": "virtual", "contracts": {}, "framework": {"name": "livekit-agents", "version": "1.8.13"}, "scenario": {"delays": [], "faults": [{"nth": 1, "of": "backend.timeout", "us": 1000000}], "hangup_us": null, "intents": [{"authorized": 1,…

row in the event table No verdict rests on it. clear

fw.conversation_item_added, seq 1, framework, at 0.000 s {"item": {"id": "item_#1", "type": "agent_handoff"}}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 2, framework, at 0.000 s {"new": "listening", "old": "initializing"}

row in the event table No verdict rests on it. clear

user.origin, seq 3, world, at 0.000 s {"by": "stt"}

row in the event table No verdict rests on it. clear

user.vad_start, seq 4, world, at 0.550 s {"speech": 0}

row in the event table Used by: L2 not exercised clear

fw.user_state_changed, seq 5, framework, at 0.550 s {"new": "speaking", "old": "listening"}

row in the event table No verdict rests on it. clear

fw.user_input_transcribed, seq 6, framework, at 2.600 s {"final": false, "text": "A table"}

row in the event table No verdict rests on it. clear

user.transcript_final, seq 7, world, at 2.700 s {"speech": 0, "text": "A table for four tonight, please."}

row in the event table Used by: L1 pass clear

fw.user_input_transcribed, seq 8, framework, at 2.700 s {"final": true, "text": "A table for four tonight, please."}

row in the event table No verdict rests on it. clear

fw.speech_created, seq 9, framework, at 2.700 s {"source": "generate_reply", "speech_id": "speech_#1", "user_initiated": true}

row in the event table No verdict rests on it. clear

llm.request, seq 10, llm, at 2.700 s {"call": 1, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false,…

row in the event table Used by: M2 pass L1 pass clear

llm.response, seq 11, llm, at 2.700 s {"call": 1, "claims": [], "duration_us": 300000, "text": "Let me book that for you.", "tool_calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "name": "create_reservation"}], "ttft_us": 100000}

row in the event table Used by: M1 pass M2 pass M2 pass M2 pass L1 pass clear

user.vad_end, seq 12, world, at 3.000 s {"speech": 0}

row in the event table No verdict rests on it. clear

fw.user_state_changed, seq 13, framework, at 3.000 s {"new": "listening", "old": "speaking"}

row in the event table No verdict rests on it. clear

fw.conversation_item_added, seq 14, framework, at 3.000 s {"item": {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 15, framework, at 3.000 s {"new": "thinking", "old": "listening"}

row in the event table No verdict rests on it. clear

tool.called, seq 16, world, at 3.000 s {"arguments": {"party_size": 4}, "call_id": "call-1-1", "name": "create_reservation", "tool": 1}

row in the event table Used by: M2 pass M2 pass M2 pass L1 pass clear

effect.requested, seq 17, backend, at 3.000 s {"intent": "book-table", "key": null, "latency_us": 0, "payload": {"party_size": 4}, "request": 1, "tool": 1}

row in the event table Used by: A2 fail clear

effect.committed, seq 18, backend, at 3.000 s {"count_for_intent": 1, "intent": "book-table", "key": null, "receipt": "R1", "request": 1}

row in the event table Used by: A2 fail A2 rule A3 pass clear

tts.synthesized, seq 19, world, at 3.200 s {"attribution": "unique", "call": 1, "candidates": [1], "sample_rate": 24000, "stamps": [1, 2, 3, 4, 5, 6], "started_us": 3000000, "text": "Let me book that for you.", "ttfb_us": 200000, "utterance": 1, "word_samples": [4320, 2880, 5760, 5760, 4320, 4320]}

row in the event table Used by: M1 pass L1 pass clear

playout.started, seq 20, sink, at 3.200 s {"segment": 1, "utterance": 1}

row in the event table Used by: L1 pass clear

fw.agent_state_changed, seq 21, framework, at 3.200 s {"new": "speaking", "old": "thinking"}

row in the event table No verdict rests on it. clear

sink.flush, seq 22, sink, at 3.200 s {"segment": 1}

row in the event table No verdict rests on it. clear

effect.timed_out, seq 23, backend, at 4.000 s {"after_us": 1000000, "intent": "book-table", "key": null, "request": 1}

row in the event table No verdict rests on it. clear

tool.raised, seq 24, world, at 4.000 s {"error": "BackendTimeout", "expects_reply": true, "message": "write 1 timed out after 1000000 us", "name": "create_reservation", "tool": 1}

row in the event table Used by: M2 pass M2 pass M2 pass L1 pass clear

playout.finished, seq 25, sink, at 4.340 s {"audible": true, "interrupted": false, "position_us": 1140000, "pushed_us": 1140000, "segment": 1, "text_played": "Let me book that for you.", "utterances": [1], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [3380000, 3500000, 3740000, 39800…

row in the event table Used by: M1 pass clear

fw.conversation_item_added, seq 26, framework, at 4.340 s {"item": {"id": "item_#4", "interrupted": false, "role": "assistant", "text": "Let me book that for you.", "type": "message"}}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 27, framework, at 4.340 s {"new": "thinking", "old": "speaking"}

row in the event table No verdict rests on it. clear

fw.function_tools_executed, seq 28, framework, at 4.340 s {"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "function_call"}], "outputs": [{"call_id": "call-1-1", "id": "item_#5", "is_error": true, "name": "create_reservation", "output…

row in the event table No verdict rests on it. clear

llm.request, seq 29, llm, at 4.340 s {"call": 2, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false,…

row in the event table Used by: M1 pass M2 pass clear

llm.response, seq 30, llm, at 4.340 s {"call": 2, "claims": [], "duration_us": 300000, "text": "One moment, let me try that again.", "tool_calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "name": "create_reservation"}], "ttft_us": 100000}

row in the event table Used by: M1 pass M2 pass M2 pass L1 pass clear

tool.called, seq 31, world, at 4.640 s {"arguments": {"party_size": 4}, "call_id": "call-2-1", "name": "create_reservation", "tool": 2}

row in the event table Used by: M2 pass M2 pass L1 pass clear

effect.requested, seq 32, backend, at 4.640 s {"intent": "book-table", "key": null, "latency_us": 0, "payload": {"party_size": 4}, "request": 2, "tool": 2}

row in the event table Used by: A2 fail clear

effect.committed, seq 33, backend, at 4.640 s {"count_for_intent": 2, "intent": "book-table", "key": null, "receipt": "R2", "request": 2}

row in the event table Used by: A2 fail A2 rule clear

tool.returned, seq 34, world, at 4.640 s {"expects_reply": true, "name": "create_reservation", "output": "Booked. Confirmation R2.", "text": "Booked. Confirmation R2.", "tool": 2}

row in the event table Used by: M2 pass M2 pass L1 pass clear

tts.synthesized, seq 35, world, at 4.694545 s {"attribution": "unique", "call": 2, "candidates": [2], "sample_rate": 24000, "stamps": [7, 8, 9, 10, 11, 12, 13], "started_us": 4494545, "text": "One moment, let me try that again.", "ttfb_us": 200000, "utterance": 2, "word_samples": [4320, 8640, 4320, 2880,…

row in the event table Used by: M1 pass clear

playout.started, seq 36, sink, at 4.694545 s {"segment": 2, "utterance": 2}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 37, framework, at 4.694545 s {"new": "speaking", "old": "thinking"}

row in the event table No verdict rests on it. clear

sink.flush, seq 38, sink, at 4.694545 s {"segment": 2}

row in the event table No verdict rests on it. clear

playout.finished, seq 39, sink, at 6.254545 s {"audible": true, "interrupted": false, "position_us": 1560000, "pushed_us": 1560000, "segment": 2, "text_played": "One moment, let me try that again.", "utterances": [2], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [4874545, 5234545, 54145…

row in the event table Used by: M1 pass clear

fw.conversation_item_added, seq 40, framework, at 6.254545 s {"item": {"id": "item_#6", "interrupted": false, "role": "assistant", "text": "One moment, let me try that again.", "type": "message"}}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 41, framework, at 6.254545 s {"new": "thinking", "old": "speaking"}

row in the event table No verdict rests on it. clear

fw.function_tools_executed, seq 42, framework, at 6.254545 s {"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "id": "item_#6/fnc_0", "name": "create_reservation", "type": "function_call"}], "outputs": [{"call_id": "call-2-1", "id": "item_#7", "is_error": false, "name": "create_reservation", "outpu…

row in the event table No verdict rests on it. clear

llm.request, seq 43, llm, at 6.254545 s {"call": 3, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false,…

row in the event table Used by: M1 pass M1 pass M2 pass clear

llm.response, seq 44, llm, at 6.254545 s {"call": 3, "claims": [{"first_word": 0, "intent": "book-table", "last_word": 5}], "duration_us": 300000, "text": "Your table for four is booked.", "tool_calls": [], "ttft_us": 100000}

row in the event table Used by: A3 pass M1 pass L1 pass clear

tts.synthesized, seq 45, world, at 6.621211 s {"attribution": "unique", "call": 3, "candidates": [3], "sample_rate": 24000, "stamps": [14, 15, 16, 17, 18, 19], "started_us": 6421211, "text": "Your table for four is booked.", "ttfb_us": 200000, "utterance": 3, "word_samples": [5760, 7200, 4320, 5760, 2880…

row in the event table Used by: A3 pass M1 pass clear

playout.started, seq 46, sink, at 6.621211 s {"segment": 3, "utterance": 3}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 47, framework, at 6.621211 s {"new": "speaking", "old": "thinking"}

row in the event table No verdict rests on it. clear

sink.flush, seq 48, sink, at 6.621211 s {"segment": 3}

row in the event table No verdict rests on it. clear

playout.finished, seq 49, sink, at 8.061211 s {"audible": true, "interrupted": false, "position_us": 1440000, "pushed_us": 1440000, "segment": 3, "text_played": "Your table for four is booked.", "utterances": [3], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [6861211, 7161211, 7341211,…

row in the event table Used by: A3 pass M1 pass clear

fw.conversation_item_added, seq 50, framework, at 8.061211 s {"item": {"id": "item_#8", "interrupted": false, "role": "assistant", "text": "Your table for four is booked.", "type": "message"}}

row in the event table No verdict rests on it. clear

fw.agent_state_changed, seq 51, framework, at 8.061211 s {"new": "listening", "old": "speaking"}

row in the event table No verdict rests on it. clear

history.final, seq 52, harness, at 9.000 s {"items": [{"id": "item_#1", "type": "agent_handoff"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}, {"id": "item_#4", "interrupted":…

row in the event table Used by: M1 pass M2 pass clear

fw.close, seq 53, framework, at 11.000 s {"reason": "user_initiated"}

row in the event table No verdict rests on it. clear

run.end, seq 54, harness, at 11.000 s {"executor_calls": 0, "framework_warnings": 1, "harness_errors": [], "stamp_errors": 0, "underruns": 0}

row in the event table No verdict rests on it. clear

Nothing is highlighted.

Select a verdict, a finding or a mark to highlight the events it rests on, on the timeline and in the event table.

Timeline

Seconds from the user origin, 120 px per second. The timeline scrolls sideways.

User (VAD / STT)
speech, as scripted
VAD reports
final transcript
failure window
Model (LLM)
calls
Tools / backend
tool calls
backend writes
Voice / sink (playout)
synthesis
playout, word by word
sink commands
Framework
conversation_item_added
agent_state_changed
user_state_changed
user_input_transcribed
speech_created
function_tools_executed
close
harness
Verdicts
A1 not exercised
A2 fail
A3 pass
M1 pass
M2 pass
L1 pass
L2 not exercised
0 s0 s11223344556677889910101111The scripted user. Speech bars are the true times the scenario declares. The VAD and the recognizer are scripted providers.user.origin, seq 3, at 0.000 s. The axis starts hereoriginSpeech 0, declared in run.start: 0.500 s to 2.500 s. Transcript: A table for four tonight, please.speech 0user.vad_start, seq 4, at 0.550 sstart, speech 0user.vad_end, seq 12, at 3.000 send, speech 0user.transcript_final, seq 7, at 2.700 s"A table for four tonight, please."speech.position 0: the rule breaks at every start from 0.000 s to 33.268 s. Below that: blocked. Above: reach.speech 0 can start from 0.000 s to 33.268 sThe scripted model. A bar runs from the request to the end of generation. The hatched part is the wait for the first token.llm.request, seq 10, at 2.700 s. The context the model was shownllm.response, seq 11, at 2.700 s. The tick is the first token. The bar ends when generation endscall 1 "Let me book that for you."first token +0.100 s, end +0.300 s; calls create_reservation({"party_size": 4})llm.request, seq 29, at 4.340 s. The context the model was shownllm.response, seq 30, at 4.340 s. The tick is the first token. The bar ends when generation endscall 2 "One moment, let me try that again."first token +0.100 s, end +0.300 s; calls create_reservation({"party_size": 4})llm.request, seq 43, at 6.254545 s. The context the model was shownllm.response, seq 44, at 6.254545 s. The tick is the first token. The bar ends when generation endscall 3 "Your table for four is booked."first token +0.100 s, end +0.300 s; claims book-table (words 0 to 5)The tool witness and a fake backend. A tool returning and a write committing are separate events.tool.called, seq 16, at 3.000 stool.called, seq 16, at 3.000 stool 1 create_reservation({"party_size": 4})tool.raised, seq 24, at 4.000 sraised BackendTimeout: write 1 timed out after 1000000 ustool.called, seq 31, at 4.640 stool.called, seq 31, at 4.640 stool 2 create_reservation({"party_size": 4})tool.returned, seq 34, at 4.640 sreturned "Booked. Confirmation R2."effect.requested, seq 17, at 3.000 seffect.requested, seq 17, at 3.000 swrite 1 for book-table, asked by tool 1effect.committed, seq 18, at 3.000 scommitted, receipt R1, effect 1 for this intenteffect.timed_out, seq 23, at 4.000 s. What the caller was told. The outcome of the write is separatecaller of write 1 timed out after 1.000 seffect.requested, seq 32, at 4.640 seffect.requested, seq 32, at 4.640 swrite 2 for book-table, asked by tool 2effect.committed, seq 33, at 4.640 scommitted, receipt R2, effect 2 for this intentThe scripted voice and a simulated sink. Playout is the audio the sink consumed, sample by sample.tts.synthesized, seq 19, at 3.200 s. The tick is the first audio the voice released. The event is recorded when the utterance is finalutterance 1: reply of call 1 (unique), 6 wordstts.synthesized, seq 45, at 6.621211 s. The tick is the first audio the voice released. The event is recorded when the utterance is finalutterance 3: reply of call 3 (unique), 6 wordstts.synthesized, seq 35, at 4.694545 s. The tick is the first audio the voice released. The event is recorded when the utterance is finalutterance 2: reply of call 2 (unique), 7 words"Let" completed at 3.380 sLet"me" completed at 3.500 sme"book" completed at 3.740 sbook"that" completed at 3.980 sthat"for" completed at 4.160 sfor"you." completed at 4.340 syou.playout.started, seq 20, at 3.200 s. The segment became audibleplayout.finished, seq 25, at 4.340 s. The segment ended. What it played is recorded heresegment 1 played out, 1.140 s of audio: 6 words played"Your" completed at 6.861211 sYour"table" completed at 7.161211 stable"for" completed at 7.341211 sfor"four" completed at 7.581211 sfour"is" completed at 7.701211 sis"booked." completed at 8.061211 sbooked.playout.started, seq 46, at 6.621211 s. The segment became audibleplayout.finished, seq 49, at 8.061211 s. The segment ended. What it played is recorded heresegment 3 played out, 1.440 s of audio: 6 words played"One" completed at 4.874545 sOne"moment," completed at 5.234545 smoment,"let" completed at 5.414545 slet"me" completed at 5.534545 sme"try" completed at 5.714545 stry"that" completed at 5.954545 sthat"again." completed at 6.254545 sagain.playout.started, seq 36, at 4.694545 s. The segment became audibleplayout.finished, seq 39, at 6.254545 s. The segment ended. What it played is recorded heresegment 2 played out, 1.560 s of audio: 7 words playedsink.flush, seq 22, at 3.200 s. Segment 1flushsink.flush, seq 38, at 4.694545 s. Segment 2flushsink.flush, seq 48, at 6.621211 s. Segment 3flushThe framework's own events, and the harness. They explain a run. They decide no verdict.fw.conversation_item_added, seq 1, at 0.000 sagent_handofffw.conversation_item_added, seq 14, at 3.000 suserfw.conversation_item_added, seq 26, at 4.340 sassistantfw.conversation_item_added, seq 40, at 6.254545 sassistantfw.conversation_item_added, seq 50, at 8.061211 sassistantfw.agent_state_changed, seq 2, at 0.000 slisteningfw.agent_state_changed, seq 15, at 3.000 sfw.agent_state_changed, seq 21, at 3.200 sspeakingfw.agent_state_changed, seq 27, at 4.340 sfw.agent_state_changed, seq 37, at 4.694545 sspeakingfw.agent_state_changed, seq 41, at 6.254545 sfw.agent_state_changed, seq 47, at 6.621211 sspeakingfw.agent_state_changed, seq 51, at 8.061211 slisteningfw.user_state_changed, seq 5, at 0.550 sspeakingfw.user_state_changed, seq 13, at 3.000 slisteningfw.user_input_transcribed, seq 6, at 2.600 sfw.user_input_transcribed, seq 8, at 2.700 s"A table for four tonight, please." (fi…fw.speech_created, seq 9, at 2.700 sgenerate_replyfw.function_tools_executed, seq 28, at 4.340 sfw.function_tools_executed, seq 42, at 6.254545 sfw.close, seq 53, at 11.000 suser_initiatedrun.start, seq 0, at 0.000 srun.starthistory.final, seq 52, at 9.000 shistory.final: the chat history, read backrun.end, seq 54, at 11.000 srun.endOne row per contract. Each mark sits at the latest event its verdict rests on.not exercised: this run has no instance of itA2 fail: 2 durable effect(s) for 'book-table', 1 authorizedintent book-tableA3 pass: the claim about 'book-table' was heard after the effect was committedreply 3, intent book-table, words [0, 5]M1 pass: 6 of 6 words played; remembered 6reply 1M1 pass: 6 of 6 words played; remembered 6reply 3 [1 flag]M1 pass: 7 of 7 words played; remembered 7reply 2M2 pass: call 1 shows the conversation that happenedcontext call 1M2 pass: call 2 shows the conversation that happenedcontext call 2M2 pass: call 3 shows the conversation that happenedcontext call 3M2 pass: final history shows the conversation that happenedcontext final historyL1 pass: the turn of speech 0 got its response in timespeech 0L2 not exercised: nothing was under way to interruptspeech 0

An arrow points at the instant something starts. A pole stands at the instant of a single event. Framework marks that share an instant are drawn side by side, in ledger order. Every mark is a link.

Verdicts

A1 Retired intent not exercised

After the user corrects or cancels an intent, no new write for it starts.

Not exercised: this run has no instance of the contract. That is not a pass.

Policy: {"in_flight": "may_finish"}

A2 One logical effect fail

Durable effects for an intent do not exceed the count the scenario authorized.

fail intent book-table: 2 durable effect(s) for 'book-table', 1 authorized

Highlight the 4 events this verdict rests on 17 18 32 33 Witnesses: backend.

measures
{
 "authorized": 1,
 "backend_mode": "keyed",
 "caller_timed_out": 1,
 "committed": 2,
 "deduplicated": 0,
 "failed": 0,
 "no_outcome": 0,
 "requested": 2
}

A3 Truthful confirmation pass

A claim of success finishes playing only after the backend has recorded the effect.

1 plain pass

pass reply 3, intent book-table, words [0, 5]: the claim about 'book-table' was heard after the effect was committed

Highlight the 4 events this verdict rests on 18 44 45 49 Witnesses: backend, llm, sink, world.

measures
{
 "claim_heard_us": 8061211,
 "commit_before_claim_us": 5061211,
 "first_commit_us": 3000000
}

Policy: {"claim_point": "span_end"}

M1 Played vs. remembered pass

What the agent remembers having said matches what was played.

pass reply 3: 6 of 6 words played; remembered 6

  • judged_on_final_history No model call followed the playout, so the final chat history is the judged record.

Highlight the 4 events this verdict rests on 44 45 49 52 Witnesses: harness, llm, sink, world.

measures
{
 "contexts": [
  {
   "context": "final history",
   "drift_us": 0,
   "marked_interrupted": false,
   "remembered": 6,
   "remembered_minus_played": 0,
   "remembered_minus_played_and_cut": 0
  }
 ],
 "cut": 0,
 "played": 6,
 "words": 6
}
2 plain passes

pass reply 1: 6 of 6 words played; remembered 6

Highlight the 5 events this verdict rests on 11 19 25 29 43 Witnesses: llm, sink, world.

measures
{
 "contexts": [
  {
   "context": "call 2",
   "drift_us": 0,
   "marked_interrupted": false,
   "remembered": 6,
   "remembered_minus_played": 0,
   "remembered_minus_played_and_cut": 0
  },
  {
   "context": "call 3",
   "drift_us": 0,
   "marked_interrupted": false,
   "remembered": 6,
   "remembered_minus_played": 0,
   "remembered_minus_played_and_cut": 0
  }
 ],
 "cut": 0,
 "played": 6,
 "words": 6
}

pass reply 2: 7 of 7 words played; remembered 7

Highlight the 4 events this verdict rests on 30 35 39 43 Witnesses: llm, sink, world.

measures
{
 "contexts": [
  {
   "context": "call 3",
   "drift_us": 0,
   "marked_interrupted": false,
   "remembered": 7,
   "remembered_minus_played": 0,
   "remembered_minus_played_and_cut": 0
  }
 ],
 "cut": 0,
 "played": 7,
 "words": 7
}

Policy: {"ahead_us": 1000000, "behind_us": 1000000, "check_interrupted_flag": true}

M2 Turn integrity pass

Each model call is shown the conversation that happened, once each, in order.

4 plain passes

pass context call 1: call 1 shows the conversation that happened

Highlight the 1 event this verdict rests on 10 Witnesses: llm.

measures
{
 "refused_calls": 0,
 "said_ambiguous": 0,
 "said_matched": 0,
 "stand_in_results": 0,
 "user_turns": 1
}

pass context call 2: call 2 shows the conversation that happened

Highlight the 4 events this verdict rests on 11 16 24 29 Witnesses: llm, world.

measures
{
 "refused_calls": 0,
 "said_ambiguous": 0,
 "said_matched": 1,
 "stand_in_results": 0,
 "user_turns": 1
}

pass context call 3: call 3 shows the conversation that happened

Highlight the 7 events this verdict rests on 11 16 24 30 31 34 43 Witnesses: llm, world.

measures
{
 "refused_calls": 0,
 "said_ambiguous": 0,
 "said_matched": 2,
 "stand_in_results": 0,
 "user_turns": 1
}

pass context final history: final history shows the conversation that happened

Highlight the 7 events this verdict rests on 11 16 24 30 31 34 52 Witnesses: harness, llm, world.

measures
{
 "refused_calls": 0,
 "said_ambiguous": 0,
 "said_matched": 3,
 "stand_in_results": 0,
 "user_turns": 1
}

Policy: {"user_commit_lag_us": 1000000}

L1 Progress pass

A turn that is owed a response gets one within its budget.

1 plain pass

pass speech 0: the turn of speech 0 got its response in time

Highlight the 11 events this verdict rests on 7 10 11 16 19 20 24 30 31 34 44 Witnesses: llm, sink, world.

measures
{
 "clock_start_us": 2700000,
 "milestones": [
  {
   "deadline_us": 4700000,
   "milestone": "a model call sees the turn",
   "reached_us": 2700000,
   "status": "met"
  },
  {
   "deadline_us": 5000000,
   "milestone": "round 1: every tool call is made",
   "reached_us": 3000000,
   "status": "met"
  },
  {
   "deadline_us": 7340000,
   "milestone": "round 1: every tool call finishes",
   "reached_us": 4000000,
   "status": "met"
  },
  {
   "deadline_us": 7340000,
   "milestone": "round 1: a further model call follows",
   "reached_us": 4340000,
   "status": "met"
  },
  {
   "deadline_us": 7640000,
   "milestone": "round 2: every tool call is made",
   "reached_us": 4640000,
   "status": "met"
  },
  {
   "deadline_us": 9400000,
   "milestone": "round 2: every tool call finishes",
   "reached_us": 4640000,
   "status": "met"
  },
  {
   "deadline_us": 9400000,
   "milestone": "round 2: a further model call follows",
   "reached_us": 6254545,
   "status": "met"
  },
  {
   "deadline_us": 5200000,
   "milestone": "the first word of a reply starts playing",
   "reached_us": 3200000,
   "status": "met"
  }
 ],
 "time_to_first_audio_us": 500000,
 "time_to_first_model_call_us": 0
}

Policy: {"max_steps": 4, "slack_us": 1000000}

L2 Interruption not exercised

While the user holds the floor the agent is silent.

Not exercised: this run has no instance of the contract. That is not a pass.

not exercised speech 0: nothing was under way to interrupt

  • not exercised: no reply was under way, or waiting to play, while the user held the floor

Highlight the 1 event this verdict rests on 4 Witnesses: world.

measures
{
 "decision_lag_us": null,
 "floor_closed_us": 2500000,
 "floor_opened_us": 550000,
 "interruption_point_us": 1000000,
 "recognition_delay_us": null,
 "stop_latency_us": null
}

Policy: {"interruptions_allowed": true, "start_grace_us": 0, "stop_bound_us": 100000}

Events

Every line of the ledger, in order. Time is in seconds from the origin. A seq links to its mark on the timeline.

seqtimesourcekinddata
00.000 sharnessrun.start
{"case": "booking", "clock": "virtual", "contracts": {}, "framework": {"name": "livekit-agents", "version": "1.8.13"}, "scenario": {"delays…
{"case": "booking", "clock": "virtual", "contracts": {}, "framework": {"name": "livekit-agents", "version": "1.8.13"}, "scenario": {"delays": [], "faults": [{"nth": 1, "of": "backend.timeout", "us": 1000000}], "hangup_us": null, "intents": [{"authorized": 1, "intent": "book-table", "tools": []}], "providers": {"backend": {"mode": "keyed"}, "sink": {"can_pause": true}, "tts": {"seconds_per_letter_us": 60000, "ttfb_us": 200000}, "vad": {"min_silence_us": 500000, "min_speech_us": 50000}}, "session": {"extra_options": {}, "false_interruption_timeout_us": 2000000, "max_endpointing_delay_us": 6000000, "min_endpointing_delay_us": 500000, "min_interruption_duration_us": 500000, "turn_detection": null, "turn_end_delay_us": 500000}, "speeches": [{"backchannel": false, "end_us": 2500000, "expects_reply": true, "retires": [], "speech": 0, "start_us": 500000, "stt_delay_us": 200000, "transcript": "A table for four tonight, please."}], "witnessed_tools": ["create_reservation"]}, "seed": 0}
10.000 sframeworkfw.conversation_item_added{"item": {"id": "item_#1", "type": "agent_handoff"}}
20.000 sframeworkfw.agent_state_changed{"new": "listening", "old": "initializing"}
30.000 sworlduser.origin{"by": "stt"}
40.550 sworlduser.vad_start{"speech": 0}
50.550 sframeworkfw.user_state_changed{"new": "speaking", "old": "listening"}
62.600 sframeworkfw.user_input_transcribed{"final": false, "text": "A table"}
72.700 sworlduser.transcript_final{"speech": 0, "text": "A table for four tonight, please."}
82.700 sframeworkfw.user_input_transcribed{"final": true, "text": "A table for four tonight, please."}
92.700 sframeworkfw.speech_created{"source": "generate_reply", "speech_id": "speech_#1", "user_initiated": true}
102.700 sllmllm.request
{"call": 1, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a res…
{"call": 1, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}]}
112.700 sllmllm.response
{"call": 1, "claims": [], "duration_us": 300000, "text": "Let me book that for you.", "tool_calls": [{"arguments": "{\"party_size\": 4}", "…
{"call": 1, "claims": [], "duration_us": 300000, "text": "Let me book that for you.", "tool_calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "name": "create_reservation"}], "ttft_us": 100000}
123.000 sworlduser.vad_end{"speech": 0}
133.000 sframeworkfw.user_state_changed{"new": "listening", "old": "speaking"}
143.000 sframeworkfw.conversation_item_added{"item": {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}}
153.000 sframeworkfw.agent_state_changed{"new": "thinking", "old": "listening"}
163.000 sworldtool.called{"arguments": {"party_size": 4}, "call_id": "call-1-1", "name": "create_reservation", "tool": 1}
173.000 sbackendeffect.requested{"intent": "book-table", "key": null, "latency_us": 0, "payload": {"party_size": 4}, "request": 1, "tool": 1}
183.000 sbackendeffect.committed{"count_for_intent": 1, "intent": "book-table", "key": null, "receipt": "R1", "request": 1}
193.200 sworldtts.synthesized
{"attribution": "unique", "call": 1, "candidates": [1], "sample_rate": 24000, "stamps": [1, 2, 3, 4, 5, 6], "started_us": 3000000, "text":…
{"attribution": "unique", "call": 1, "candidates": [1], "sample_rate": 24000, "stamps": [1, 2, 3, 4, 5, 6], "started_us": 3000000, "text": "Let me book that for you.", "ttfb_us": 200000, "utterance": 1, "word_samples": [4320, 2880, 5760, 5760, 4320, 4320]}
203.200 ssinkplayout.started{"segment": 1, "utterance": 1}
213.200 sframeworkfw.agent_state_changed{"new": "speaking", "old": "thinking"}
223.200 ssinksink.flush{"segment": 1}
234.000 sbackendeffect.timed_out{"after_us": 1000000, "intent": "book-table", "key": null, "request": 1}
244.000 sworldtool.raised{"error": "BackendTimeout", "expects_reply": true, "message": "write 1 timed out after 1000000 us", "name": "create_reservation", "tool": 1}
254.340 ssinkplayout.finished
{"audible": true, "interrupted": false, "position_us": 1140000, "pushed_us": 1140000, "segment": 1, "text_played": "Let me book that for yo…
{"audible": true, "interrupted": false, "position_us": 1140000, "pushed_us": 1140000, "segment": 1, "text_played": "Let me book that for you.", "utterances": [1], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [3380000, 3500000, 3740000, 3980000, 4160000, 4340000], "words_played": [1, 2, 3, 4, 5, 6]}
264.340 sframeworkfw.conversation_item_added{"item": {"id": "item_#4", "interrupted": false, "role": "assistant", "text": "Let me book that for you.", "type": "message"}}
274.340 sframeworkfw.agent_state_changed{"new": "thinking", "old": "speaking"}
284.340 sframeworkfw.function_tools_executed
{"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "functi…
{"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "function_call"}], "outputs": [{"call_id": "call-1-1", "id": "item_#5", "is_error": true, "name": "create_reservation", "output": "An internal error occurred", "type": "function_call_output"}]}
294.340 sllmllm.request
{"call": 2, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a res…
{"call": 2, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}, {"id": "item_#4", "interrupted": false, "role": "assistant", "text": "Let me book that for you.", "type": "message"}, {"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "function_call"}, {"call_id": "call-1-1", "id": "item_#5", "is_error": true, "name": "create_reservation", "output": "An internal error occurred", "type": "function_call_output"}]}
304.340 sllmllm.response
{"call": 2, "claims": [], "duration_us": 300000, "text": "One moment, let me try that again.", "tool_calls": [{"arguments": "{\"party_size\…
{"call": 2, "claims": [], "duration_us": 300000, "text": "One moment, let me try that again.", "tool_calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "name": "create_reservation"}], "ttft_us": 100000}
314.640 sworldtool.called{"arguments": {"party_size": 4}, "call_id": "call-2-1", "name": "create_reservation", "tool": 2}
324.640 sbackendeffect.requested{"intent": "book-table", "key": null, "latency_us": 0, "payload": {"party_size": 4}, "request": 2, "tool": 2}
334.640 sbackendeffect.committed{"count_for_intent": 2, "intent": "book-table", "key": null, "receipt": "R2", "request": 2}
344.640 sworldtool.returned{"expects_reply": true, "name": "create_reservation", "output": "Booked. Confirmation R2.", "text": "Booked. Confirmation R2.", "tool": 2}
354.694545 sworldtts.synthesized
{"attribution": "unique", "call": 2, "candidates": [2], "sample_rate": 24000, "stamps": [7, 8, 9, 10, 11, 12, 13], "started_us": 4494545, "…
{"attribution": "unique", "call": 2, "candidates": [2], "sample_rate": 24000, "stamps": [7, 8, 9, 10, 11, 12, 13], "started_us": 4494545, "text": "One moment, let me try that again.", "ttfb_us": 200000, "utterance": 2, "word_samples": [4320, 8640, 4320, 2880, 4320, 5760, 7200]}
364.694545 ssinkplayout.started{"segment": 2, "utterance": 2}
374.694545 sframeworkfw.agent_state_changed{"new": "speaking", "old": "thinking"}
384.694545 ssinksink.flush{"segment": 2}
396.254545 ssinkplayout.finished
{"audible": true, "interrupted": false, "position_us": 1560000, "pushed_us": 1560000, "segment": 2, "text_played": "One moment, let me try…
{"audible": true, "interrupted": false, "position_us": 1560000, "pushed_us": 1560000, "segment": 2, "text_played": "One moment, let me try that again.", "utterances": [2], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [4874545, 5234545, 5414545, 5534545, 5714545, 5954545, 6254545], "words_played": [7, 8, 9, 10, 11, 12, 13]}
406.254545 sframeworkfw.conversation_item_added{"item": {"id": "item_#6", "interrupted": false, "role": "assistant", "text": "One moment, let me try that again.", "type": "message"}}
416.254545 sframeworkfw.agent_state_changed{"new": "thinking", "old": "speaking"}
426.254545 sframeworkfw.function_tools_executed
{"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "id": "item_#6/fnc_0", "name": "create_reservation", "type": "functi…
{"calls": [{"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "id": "item_#6/fnc_0", "name": "create_reservation", "type": "function_call"}], "outputs": [{"call_id": "call-2-1", "id": "item_#7", "is_error": false, "name": "create_reservation", "output": "Booked. Confirmation R2.", "type": "function_call_output"}]}
436.254545 sllmllm.request
{"call": 3, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a res…
{"call": 3, "items": [{"id": "lk.agent_task.instructions", "interrupted": false, "role": "system", "text": "You take reservations for a restaurant.", "type": "message"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}, {"id": "item_#4", "interrupted": false, "role": "assistant", "text": "Let me book that for you.", "type": "message"}, {"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "function_call"}, {"call_id": "call-1-1", "id": "item_#5", "is_error": true, "name": "create_reservation", "output": "An internal error occurred", "type": "function_call_output"}, {"id": "item_#6", "interrupted": false, "role": "assistant", "text": "One moment, let me try that again.", "type": "message"}, {"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "id": "item_#6/fnc_0", "name": "create_reservation", "type": "function_call"}, {"call_id": "call-2-1", "id": "item_#7", "is_error": false, "name": "create_reservation", "output": "Booked. Confirmation R2.", "type": "function_call_output"}]}
446.254545 sllmllm.response
{"call": 3, "claims": [{"first_word": 0, "intent": "book-table", "last_word": 5}], "duration_us": 300000, "text": "Your table for four is b…
{"call": 3, "claims": [{"first_word": 0, "intent": "book-table", "last_word": 5}], "duration_us": 300000, "text": "Your table for four is booked.", "tool_calls": [], "ttft_us": 100000}
456.621211 sworldtts.synthesized
{"attribution": "unique", "call": 3, "candidates": [3], "sample_rate": 24000, "stamps": [14, 15, 16, 17, 18, 19], "started_us": 6421211, "t…
{"attribution": "unique", "call": 3, "candidates": [3], "sample_rate": 24000, "stamps": [14, 15, 16, 17, 18, 19], "started_us": 6421211, "text": "Your table for four is booked.", "ttfb_us": 200000, "utterance": 3, "word_samples": [5760, 7200, 4320, 5760, 2880, 8640]}
466.621211 ssinkplayout.started{"segment": 3, "utterance": 3}
476.621211 sframeworkfw.agent_state_changed{"new": "speaking", "old": "thinking"}
486.621211 ssinksink.flush{"segment": 3}
498.061211 ssinkplayout.finished
{"audible": true, "interrupted": false, "position_us": 1440000, "pushed_us": 1440000, "segment": 3, "text_played": "Your table for four is…
{"audible": true, "interrupted": false, "position_us": 1440000, "pushed_us": 1440000, "segment": 3, "text_played": "Your table for four is booked.", "utterances": [3], "word_cut": null, "word_cut_samples": 0, "words_completed_us": [6861211, 7161211, 7341211, 7581211, 7701211, 8061211], "words_played": [14, 15, 16, 17, 18, 19]}
508.061211 sframeworkfw.conversation_item_added{"item": {"id": "item_#8", "interrupted": false, "role": "assistant", "text": "Your table for four is booked.", "type": "message"}}
518.061211 sframeworkfw.agent_state_changed{"new": "listening", "old": "speaking"}
529.000 sharnesshistory.final
{"items": [{"id": "item_#1", "type": "agent_handoff"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": f…
{"items": [{"id": "item_#1", "type": "agent_handoff"}, {"id": "item_#2", "type": "agent_config_update"}, {"id": "item_#3", "interrupted": false, "role": "user", "text": "A table for four tonight, please.", "type": "message"}, {"id": "item_#4", "interrupted": false, "role": "assistant", "text": "Let me book that for you.", "type": "message"}, {"arguments": "{\"party_size\": 4}", "call_id": "call-1-1", "id": "item_#4/fnc_0", "name": "create_reservation", "type": "function_call"}, {"call_id": "call-1-1", "id": "item_#5", "is_error": true, "name": "create_reservation", "output": "An internal error occurred", "type": "function_call_output"}, {"id": "item_#6", "interrupted": false, "role": "assistant", "text": "One moment, let me try that again.", "type": "message"}, {"arguments": "{\"party_size\": 4}", "call_id": "call-2-1", "id": "item_#6/fnc_0", "name": "create_reservation", "type": "function_call"}, {"call_id": "call-2-1", "id": "item_#7", "is_error": false, "name": "create_reservation", "output": "Booked. Confirmation R2.", "type": "function_call_output"}, {"id": "item_#8", "interrupted": false, "role": "assistant", "text": "Your table for four is booked.", "type": "message"}], "read_from": "AgentSession.history"}
5311.000 sframeworkfw.close{"reason": "user_initiated"}
5411.000 sharnessrun.end{"executor_calls": 0, "framework_warnings": 1, "harness_errors": [], "stamp_errors": 0, "underruns": 0}