Files
CyberGril/docs/rework/hel879/r5-window/call3.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

303 lines
7.6 KiB
JSON

{
"barges": [
{
"label": "bajie",
"outcome": "reply-too-short-to-barge"
},
{
"label": "sunwukong",
"outcome": "reply-too-short-to-barge"
},
{
"label": "haimianbaobao",
"outcome": "reply-too-short-to-barge"
}
],
"text_turn": {
"turn_id": "cb1bbe27-795f-45e3-b7bf-f2d6371c0830",
"status": 200,
"deltas": 0,
"final": null,
"ms": 114
},
"voice_reply_after_text": {
"kind": "turn_end",
"speech_id": "speech_9aa32dc387c3",
"reason": null
},
"voice_cancelled_by_text": false,
"drop": {
"dropped_ms": 1793116007019,
"room": "cg-voice-oleganioz7",
"session_id": "Si6UZJbAENsNExR-B1cfpIEX",
"agent_frames_after_drop": 1
},
"call": {
"tag": "call3",
"session": {
"url": "wss://192.168.200.12:8363",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNnLXZvaWNlLW9sZWdhbmlvejciLCJjYW5QdWJsaXNoIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWUsImNhblB1Ymxpc2hEYXRhIjp0cnVlfSwic3ViIjoidXNlci11cWZ5dWhudCIsImlzcyI6ImRldmtleSIsIm5iZiI6MTc5MzExNTY5MCwiZXhwIjoxNzkzMTE1OTkwLCJuYW1lIjoi55So5oi3In0.wXERZSpOZVIidVRq-8dkIbb7e2gPa0HUX8_ZV-kHTN4",
"room": "cg-voice-oleganioz7",
"session_id": "Si6UZJbAENsNExR-B1cfpIEX",
"agent_name": "cybergril-voice-agent",
"epoch": 4,
"expires_at": 1793116590248
},
"subtitle_count": 104,
"seq_monotonic": true,
"agent_frames": 31510,
"agent_audio_seconds": 315.1,
"agent_audio_rate": 48000,
"agent_joined_ms": 1793115690867,
"agent_left_ms": null,
"subtitles_file": "/opt/cybergril-hel879/evidence/call3.subtitles.jsonl",
"agent_audio_file": "/opt/cybergril-hel879/evidence/call3.agent.wav"
},
"messages": [
{
"id": 1,
"role": "user",
"t": "盯着你看怎么啦",
"status": "sent",
"turn_id": "61605d50-17f0-4d9e-b407-60574304a827"
},
{
"id": 2,
"role": "companion",
"t": "没怎么啦,工程师。你盯着看,我就当你在检查我有没有乱动。",
"status": "sent",
"turn_id": "61605d50-17f0-4d9e-b407-60574304a827"
},
{
"id": 3,
"role": "user",
"t": "难得看你这么有意思的样子吗 烈火军校啊,朝阳啊这种类型我都是那种比较呃豪爽,比较开朗的那种类型,阳光大女孩那种感觉就",
"status": "sent",
"turn_id": "eb182bcd-3441-42d8-ba60-9eced3a6a5a5"
},
{
"id": 4,
"role": "companion",
"t": "原来你是那种阳光大女孩的类型啊,难怪感觉你说话都透着一股豪爽劲儿。",
"status": "sent",
"turn_id": "eb182bcd-3441-42d8-ba60-9eced3a6a5a5"
},
{
"id": 5,
"role": "user",
"t": "怎么还有没事的",
"status": "sent",
"turn_id": "0e1a5226-4ca6-44bb-a343-39647f0112e3"
},
{
"id": 6,
"role": "companion",
"t": "哈哈,因为我在认真听你说话呀。",
"status": "sent",
"turn_id": "0e1a5226-4ca6-44bb-a343-39647f0112e3"
},
{
"id": 7,
"role": "user",
"t": "是我不够努力吗",
"status": "cancelled",
"turn_id": "47d8d0ce-7ac7-4202-9757-64f5f4fb1300"
},
{
"id": 8,
"role": "user",
"t": "没错,我就是个笨蛋派大星,我们一起去抓水母吧,我们一起度过快乐的一天",
"status": "sent",
"turn_id": "b72de17e-bf42-470e-b396-c219bd7593f9"
},
{
"id": 9,
"role": "companion",
"t": "好呀,那我们这就出发去抓水母!不过我可不想住进那个菠萝屋,我只喜欢在海边晒太阳。",
"status": "sent",
"turn_id": "b72de17e-bf42-470e-b396-c219bd7593f9"
},
{
"id": 10,
"role": "user",
"t": "天雷滚滚,我好怕怕劈的我浑身掉渣渣,突破天劫,我笑哈哈逆天改命,我吹喇叭滴答滴答,滴滴答",
"status": "sent",
"turn_id": "baa6c5c7-b483-49d4-905c-d6b7e5dd7786"
},
{
"id": 11,
"role": "companion",
"t": "哈哈,你唱得还挺有节奏感的!",
"status": "sent",
"turn_id": "baa6c5c7-b483-49d4-905c-d6b7e5dd7786"
},
{
"id": 12,
"role": "user",
"t": "你是不是早就想睡我了呀",
"status": "sent",
"turn_id": "a91bbbb6-45b0-4671-84a2-027cc194f420"
},
{
"id": 13,
"role": "companion",
"t": "哈哈,你思维跳跃得太快了,我都跟不上。",
"status": "sent",
"turn_id": "a91bbbb6-45b0-4671-84a2-027cc194f420"
},
{
"id": 14,
"role": "user",
"t": "盯着你看怎么啦",
"status": "sent",
"turn_id": "5bd95c66-b42b-4571-bfc2-fbf376c90747"
},
{
"id": 15,
"role": "companion",
"t": "没",
"status": "sent",
"turn_id": "5bd95c66-b42b-4571-bfc2-fbf376c90747"
},
{
"id": 16,
"role": "user",
"t": "师傅,哎,这取经路比高,老庄种地还苦,俺老猪饿的能吞下石龙素包子,猴哥,你筋斗云块,要不先去化个缘",
"status": "sent",
"turn_id": "9bba6412-6679-48c2-9f1c-4bfc07f58aea"
},
{
"id": 17,
"role": "companion",
"t": "师傅,",
"status": "sent",
"turn_id": "9bba6412-6679-48c2-9f1c-4bfc07f58aea"
},
{
"id": 18,
"role": "user",
"t": "俺老孙来也,俺乃500年前大闹天宫的齐天大圣孙悟空,这里山势险峻,只怕藏有妖精妖怪,哪里逃吃?俺老孙吧",
"status": "sent",
"turn_id": "16006868-5ee7-49cc-b9c9-1a8dcfe74d08"
},
{
"id": 19,
"role": "companion",
"t": "好",
"status": "sent",
"turn_id": "16006868-5ee7-49cc-b9c9-1a8dcfe74d08"
},
{
"id": 20,
"role": "user",
"t": "没错,我就是个笨蛋派大星,我们一起去抓水母吧,我们一起度过快乐的一天",
"status": "sent",
"turn_id": "fdf28a03-19a8-4fcb-ba8c-24587736c3f0"
},
{
"id": 21,
"role": "companion",
"t": "好",
"status": "sent",
"turn_id": "fdf28a03-19a8-4fcb-ba8c-24587736c3f0"
},
{
"id": 22,
"role": "user",
"t": "你是不是早就想睡我了呀",
"status": "sent",
"turn_id": "623bab59-0edc-4751-9feb-a9a7e4a11233"
},
{
"id": 23,
"role": "user",
"t": "(文字通道)我改用打字了,这条应该立刻打断你正在说的话。",
"status": "cancelled",
"turn_id": "cb1bbe27-795f-45e3-b7bf-f2d6371c0830"
},
{
"id": 25,
"role": "companion",
"t": "Considering the limited time by the user, I have to give the",
"status": "sent",
"turn_id": "623bab59-0edc-4751-9feb-a9a7e4a11233"
}
],
"receipts": [
{
"message_id": 9,
"turn_id": "b72de17e-bf42-470e-b396-c219bd7593f9",
"ack_at": 1793115457081,
"state": "judged"
},
{
"message_id": 11,
"turn_id": "baa6c5c7-b483-49d4-905c-d6b7e5dd7786",
"ack_at": 1793115476109,
"state": "judged"
},
{
"message_id": 13,
"turn_id": "a91bbbb6-45b0-4671-84a2-027cc194f420",
"ack_at": 1793115489069,
"state": "judged"
},
{
"message_id": 15,
"turn_id": "5bd95c66-b42b-4571-bfc2-fbf376c90747",
"ack_at": 1793115501163,
"state": "judged"
},
{
"message_id": 17,
"turn_id": "9bba6412-6679-48c2-9f1c-4bfc07f58aea",
"ack_at": 1793115715591,
"state": "judged"
},
{
"message_id": 19,
"turn_id": "16006868-5ee7-49cc-b9c9-1a8dcfe74d08",
"ack_at": 1793115816209,
"state": "judged"
},
{
"message_id": 21,
"turn_id": "fdf28a03-19a8-4fcb-ba8c-24587736c3f0",
"ack_at": 1793115908179,
"state": "judged"
},
{
"message_id": 25,
"turn_id": "623bab59-0edc-4751-9feb-a9a7e4a11233",
"ack_at": 1793116005932,
"state": "pending"
}
],
"budget": {
"at_ms": 1793116007051,
"token_usage": [
{
"day": "2026-10-27",
"scene": "dialogue_main",
"used": 42717
}
],
"request_usage": [
{
"day": "2026-10-27",
"category": "dialogue",
"requests": 14
}
],
"budget_total": [
{
"key": "total_requests",
"value": 14
},
{
"key": "total_tokens",
"value": 42717
}
]
}
}