Skip to content

feat(voice): client keys the call by roomId — session_id == room_id (#193 slice B) - #2103

Merged
joelteply merged 1 commit into
canaryfrom
feat/193-slice-b-client-keys-call-by-room
Aug 2, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/193-slice-b-client-keys-call-by-room

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

The legacy voice bridge now sends roomId as the call identity on every call-scoped wire verb: register uses session_id == room_id (the LiveKit call IS the airc room), AI audio joins key by the same canonical id, and a session→room map translates onUtterance/endSession which still receive the browser-tab session. The slice-A server alias layer (#2095) backstops unknown ids; the server's MIRROR ROOM probe going silent on the next live call is the done-signal.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…n the wire (#193 slice B)

The bridge is the one choke point that knows both ids, so the collapse
lands here: voiceRegisterSession sends roomId on BOTH wire fields (the
LiveKit call IS the airc room, no parallel identity), AIAudioBridge
joins AIs under the same canonical id, and a session→room map
translates the verbs that still receive the browser-tab sessionId
(onUtterance, endSession) to the canonical call id. The server's
slice-A alias layer (PR #2095) still backstops unknown ids; a client
that sends the canonical id is the cutover — the server's MIRROR ROOM
probe going silent is this slice's done-signal.

Continues the CallManager-keyed-by-RoomId direction from PR #2005.
Legacy tree carries 549 pre-existing tsc errors (the #83 path-drift
debt, incl. this file's line-9 RustCoreIPC import); this change adds
none.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply enabled auto-merge (squash) August 2, 2026 10:35
@joelteply
joelteply merged commit faeadfa into canary Aug 2, 2026
@joelteply
joelteply deleted the feat/193-slice-b-client-keys-call-by-room branch August 2, 2026 10:35
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