Files
CyberGril/docs/rework/hel879/r5-window/call1.json
T
opencodeandmultica-agent 376653135b HEL-879 R5 real-machine window executed (2026-10-27 15:26:54-15:58:10 UTC, 31min16s, within 2h/3-call/40req/500k-token/200-TTS-segment/0-embed authorization): real chain verified on .12 (isolated 8360/8361 dual-entry + 8363 WSS bridge + dedicated worker 8082 + shared TTS 9880 recovered for the window only) -- 3 conversational calls incl. 3 continuous rounds with receipts acked (4 sharing_attempt ack_at/judged), 3 real barge-in interrupts (turn_cancel interrupted, old turn fail-closed), hangup deletes room with ~20ms residual, abrupt-drop rooms TTL-compensated clean after API restart epoch 4->5, voice/text mutual cancel via same chat lock observed (voice-cancelled-text direction); usage ledger 14/40 requests, 42717/500000 tokens, 12/200 TTS segments, 0 embeddings, 0 new spend, budget sealed (real usage preserved) + consistency snapshot archived; two real-machine fixes with evidence: livekit_wire server token now carries SDK-parity video grants (room_admin/room_create; grantless bearer rejected 401 by real server) and Twirp calls switched to JSON encoding (protobuf body unparseable), offline fakes updated, 352/352 pytest + ruff(src/tests/scripts) clean; self-signed cert reissued critical CA:FALSE SAN=IP after rustls CaUsedAsEndEntity rejection; D1 audition README corrected to 'non-custom-function entry' per user feedback (comment 01a17de1); precise ~1s interrupt stop timing and text-cancels-voice direction honestly listed as not-obtained (follow-up window); all window-only processes torn down, protected services untouched, ComfyUI stays paused
Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 00:00:41 +08:00

96 lines
2.2 KiB
JSON

{
"rounds": [
{
"play_label": "xiaoyun",
"reply": {
"kind": "turn_cancel",
"speech_id": "speech_b687b8055307",
"reason": "interrupted"
}
},
{
"play_label": "bailu",
"reply": {
"kind": "turn_cancel",
"speech_id": "speech_8f12c4a50957",
"reason": "no-receipt"
}
},
{
"play_label": "jiaojiao",
"reply": {
"kind": "turn_cancel",
"speech_id": "speech_4c73b7d1829c",
"reason": "interrupted"
}
}
],
"interrupt": {
"outcome": "interrupted",
"trigger": "audio",
"publish_ms": 1793115246711,
"cancel_ms": 1793115249971,
"cancel_latency_s": 3.26,
"last_agent_frame_ms": 1793115252008,
"audio_stop_latency_s": 5.3,
"frames_after_cancel": 204
},
"hangup": {
"delete_status": 200,
"delete_body": {
"ended": true,
"room": "cg-voice-qeghdnxehn"
},
"delete_ms": 1793115252011,
"agent_frames_after_delete": 2,
"room_removed": true
},
"call": {
"tag": "call1",
"session": {
"url": "wss://192.168.200.12:8363",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNnLXZvaWNlLXFlZ2hkbnhlaG4iLCJjYW5QdWJsaXNoIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWUsImNhblB1Ymxpc2hEYXRhIjp0cnVlfSwic3ViIjoidXNlci1nd2h2ZXpjeiIsImlzcyI6ImRldmtleSIsIm5iZiI6MTc5MzExNTIwMywiZXhwIjoxNzkzMTE1NTAzLCJuYW1lIjoi55So5oi3In0.D91S6SXWBtoVoSC6TEsULuK8WNHQu36O_vZQS1urwbw",
"room": "cg-voice-qeghdnxehn",
"session_id": "Ey8pBEFHbrO8i6Lbc0-47mh7",
"agent_name": "cybergril-voice-agent",
"epoch": 3,
"expires_at": 1793116103636
},
"subtitle_count": 96,
"seq_monotonic": true,
"agent_frames": 4766,
"agent_audio_seconds": 47.7,
"agent_audio_rate": 48000,
"agent_joined_ms": 1793115204287,
"agent_left_ms": null,
"subtitles_file": "/opt/cybergril-hel879/evidence/call1.subtitles.jsonl",
"agent_audio_file": "/opt/cybergril-hel879/evidence/call1.agent.wav"
},
"budget_after": {
"at_ms": 1793115254555,
"token_usage": [
{
"day": "2026-10-27",
"scene": "dialogue_main",
"used": 11416
}
],
"request_usage": [
{
"day": "2026-10-27",
"category": "dialogue",
"requests": 4
}
],
"budget_total": [
{
"key": "total_requests",
"value": 4
},
{
"key": "total_tokens",
"value": 11416
}
]
}
}