Auto-activate meeting agent on Calendar OAuth join — proactive in-call participation without wake-phrase gate
Summary
When the meeting agent joins via the Recall.ai Calendar OAuth flow (#4365), it should be immediately active and responsive — no wake phrase ("Hey Tiny") required. The Calendar OAuth consent is the user's standing permission for the bot to participate fully; requiring them to additionally say a wake phrase before the agent responds creates unnecessary friction and makes the auto-join flow feel broken.
Problem
Phase 2 of the Meeting Assistant (#3505, PR-6 #3512) gates all in-call agency on a backend-detected wake phrase. The backend only emits bot:in_call_request when it detects the wake phrase mid-call, which means:
- A bot that joins automatically via Calendar OAuth sits silent until the user says "Hey Tiny" — there is no natural moment to do this, and users who did not manually send the bot won't know they need to
- The two-step activation (join → wait for wake phrase → respond) makes the Calendar OAuth auto-join feel incomplete: the bot is present but inert
- The
respond_when_addressedflag is sent on join, but the backend only acts on it at wake-phrase detection — there is no path for the agent to respond proactively to the conversation flow
Current socket contract (from #3514):
bot:in_call_requestis emitted only when the backend detects a wake phrase — no other trigger existsenable_in_call_agencyfeature flag (default false) gates the whole Phase 2 path inagent_meetings
Solution (optional)
Scope: src/openhuman/agent_meetings/, src/openhuman/socket/, backend contract (#3514 follow-up).
- New join flag — add
agentMode: "passive" | "active"to thebot:joinpayload. Calendar OAuth-triggered joins sendagentMode: "active"; manual URL joins send"passive"(current behaviour, wake-phrase gated). The backend should stream transcript turns tobot:in_call_requestcontinuously (or on natural speaker turns) whenagentModeis"active", rather than only on wake-phrase detection. - Core side — in
agent_meetings/ops.rs, whenagentModeis"active", bypass theenable_in_call_agencyflag and treat everybot:in_call_requestturn as a potential response opportunity. The orchestrator already has the meeting context from #3512; this just removes the wake-phrase gate from the dispatch condition. - Calendar OAuth linkage — when a join originates from a Calendar OAuth-connected event (meeting_id traceable to a Recall.ai calendar subscription), default to
agentMode: "active". Manual joins via the "Send to meeting" card retain"passive"unless the user explicitly opts in. - Settings UI — expose an "Always active in meetings" toggle in Meeting settings (default on when Calendar OAuth is connected, default off for manual joins). Maps to the
agentModesent on join.
Acceptance criteria
- [ ] Active on Calendar OAuth join — Bot joined via Calendar OAuth auto-join is responsive immediately without any wake phrase.
- [ ] Passive on manual join — Bot joined via manual URL retains existing wake-phrase behaviour unless the user enables "Always active".
- [ ]
agentModeflag —bot:joinpayload carriesagentMode: "active" | "passive"; backend streams turns accordingly. - [ ] Settings toggle — "Always active in meetings" toggle visible in Meeting settings, persists across restarts, respected on next join.
- [ ] No double-trigger — Active mode does not spam the orchestrator on every word; responses are gated on speaker-turn boundaries or a confidence threshold.
- [ ] No regression on #4274 — Full join → transcript → thread → summary pipeline unaffected.
- [ ] i18n — New settings strings in
en.tsand all 14 locale files. - [ ] Diff coverage ≥ 80% — Implementing PR meets the changed-lines coverage gate.
Related
- Calendar OAuth integration: #4365 (the auth that enables this flow)
- Meeting Assistant epic: #3505 (Phase 2 in-call agency)
- In-call request reception (current wake-phrase gated impl): #3512
- Backend contract (bot:join, bot:in_call_request): #3514
- Wake-phrase bug (closed): #4172
- End-to-end join bug (open): #4274
This is already resolved : https://github.com/tinyhumansai/openhuman/issues/3505
Closing this as no longer applicable — the subsystem it targets has been removed from the repository.
The Meet family was deleted: src/openhuman/meet/ is now zero files, "meet" no longer appears among the RPC namespaces in src/core/all.rs, and there is no in_call_request anywhere in src/ or app/src. There is no Calendar-OAuth join path left to auto-activate an agent on.
Thank you for filing it — it was a reasonable ask against the architecture at the time, and the removal is what overtook it rather than any judgement about the idea. If meeting support returns, this is worth re-raising against whatever replaces it. Please reopen if I have misread the deletion.