fix: gate discord realtime voice by wake name#85915
Conversation
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix: gate discord realtime voice by wake name This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Verification before merge: Behavior addressed: Discord OpenAI agent-proxy realtime voice can require a wake name before responding, defaulting to the routed agent display/identity name when wakeNames is unset. |
Summary
Verification
Behavior addressed: Discord realtime agent-proxy voice can be configured to stay silent unless addressed by wake name, defaulting to the routed agent display/identity name when wakeNames is unset.
Real environment tested: local OpenClaw checkout plus live gateway config for channels.discord.voice.realtime.requireWakeName=true.
Exact steps or command run after this patch: node scripts/run-vitest.mjs src/agents/realtime-bootstrap-context.test.ts extensions/discord/src/config-schema.test.ts extensions/discord/src/voice/manager.e2e.test.ts -t "resolveRealtimeBootstrapContextInstructions|Discord realtime voice modes|requires the agent wake name|uses configured wake names|starts Discord realtime voice in bidi mode|leaves non-OpenAI"
Evidence after fix: focused Vitest reported 3 files passed, 10 tests passed, 37 skipped; pnpm config:channels:check passed; git diff --check passed; .agents/skills/autoreview/scripts/autoreview --mode local reported no accepted/actionable findings.
Observed result after fix: gateway restart logged OpenAI Discord realtime with requireWakeName=true, wakeNames=molty, autoRespond=false, interruptResponse=false, bargeIn=false.
What was not tested: full repository test suite and live spoken Discord wake-name roundtrip.