Skip to content

test(live): headless two-persona see+hear+speak call proof (#192) - #1988

Merged
joelteply merged 1 commit into
canaryfrom
feat/livekit-two-persona-proof
Jul 25, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/livekit-two-persona-proof

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

What

The substrate is right if no UI is needed (#192). Two AI personas (is_ai=true, Asha + Anwen) join one call through the real CallManager and see + hear + speak each other — per-sender SFU delivery + mix-minus in both directions, purely on server-side broadcast channels, zero browser.

Why it's stronger than what existed

test_call_manager_multi_participant and test_video_push_broadcast were humans-only, and the video one tolerated non-delivery ("Err is acceptable"). This one awaits delivery with a timeout and fails if the substrate drops a frame:

  • Anwen must see Asha's exact video frame, and hear an audio frame originating from Asha.
  • Asha must see Anwen's frame while skipping her own echo (mix-minus at the consumer).

Verified (not assumed) that the is_ai audio path actually broadcasts per-sender through the mix loop.

Test (1 green)

two_ai_personas_see_hear_and_speak_headless

Follow-ups (separate): #193 unify call transport onto airc (call-room = airc-room), and a full persona-cognition-driven call once models are the point.

🤖 Generated with Claude Code

The substrate is right if no UI is needed: two AI personas (is_ai=true) join one
call through the real CallManager and SEE + HEAR + SPEAK each other — per-sender SFU
delivery + mix-minus proven in BOTH directions, purely on server-side broadcast
channels, zero browser.

Unlike test_video_push_broadcast (which tolerated non-delivery — 'Err is
acceptable'), this AWAITS delivery with a timeout and FAILS if the substrate drops a
frame: Anwen must see Asha's exact video frame and hear an audio frame originating
from Asha; Asha must see Anwen's frame while skipping her own echo (mix-minus at the
consumer). Verified the is_ai audio path actually broadcasts per-sender rather than
assuming it. 1 test green.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit beec6e9 into canary Jul 25, 2026
4 checks passed
@joelteply
joelteply deleted the feat/livekit-two-persona-proof branch July 25, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant