Build a Two-Phase Tool Boundary for a Tencent RTC Voice Companion

A reproducible TypeScript pattern for preventing a real-time AI voice companion from executing consequential tools before the user confirms—complete with explicit state, expiring action tickets, interruption handling, idempotency, and failure drills.

Read Original

Related