Ingest Google Meet caption transcripts via memory_doc_ingest
Context
Surfaced during the Gmeet webview parity audit (#1022) — acceptance row 13 / 10 (memory ingestion).
google-meet/recipe.js already produces a clean meet_captions payload (per-line {speaker, text, ts} rows) and a meet_call_ended lifecycle event. The current handler at app/src-tauri/src/webview_accounts/mod.rs:2219-2247 only log::info!s these events — no openhuman.memory_doc_ingest call is made, so post-meeting transcripts never land in OpenHuman memory.
This is a missing feature, not a regression — the recipe.js handler has been log-only since inception.
Goal
Capture Gmeet meeting captions per call and persist them as a memory document so the user can query transcripts from OpenHuman after the meeting ends.
Sketch
- New module
app/src-tauri/src/google_meet/mirroring thegmail/shape:cdp_*helpers +#[tauri::command] gmeet_*wrappers + types. - In-memory
MeetingTranscriptStorekeyed by meeting id;record_caption_batchdedups consecutive partial-line emissions before flush. flush_meetingbuilds anIngestDocParams(seesrc/openhuman/memory/ops.rs:531-566) and posts to the core via the same reqwest pattern used bywhatsapp_scanner/mod.rs:783-906(post_memory_doc_ingest).- Replace the log-only handlers in
webview_accounts/mod.rs:2219-2247with delegates into the new module. - Add a per-meeting on/off control surfaced via the existing
notification_settingstoggle (or a newmeet_transcript_ingesttoggle) before defaulting to on — caption transcripts contain sensitive PII.
Out of scope (separate follow-up)
- CDP migration of caption extraction. Captions are DOM-rendered, not network-delivered, so a clean migration needs
DOM.querySelectorAllpolling instead ofNetwork.responseReceived. Sketched in the GMEET-PARITY.md CDP-migration section; do not block this feature on it.
Related
- Audit dossier:
docs/qa/GMEET-PARITY.md(row 13) - Parent: #1022
- Reference impl shape:
app/src-tauri/src/gmail/(Gmail's CDP-driven connector)
Closing as duplicate / out-of-scope.
Investigation during smoke testing revealed that meeting transcripts are already persisted to memory by the existing frontend path:
app/src/services/webviewAccountService.ts:594 — flushMeetingSession calls callCoreRpc({ method: 'openhuman.memory_doc_ingest', ... }) on meet_call_ended, with namespace google-meet:${accountId}, full markdown content, source_type google-meet, tags, and metadata.
This has shipped since PR #629 (commit 99d61f93). A Rust-side duplicate of the same POST adds no functional capability — same RPC method, same namespace + key, same content.
The orchestrator handoff visible in #1299 receives the transcript inline via the prompt arg (webviewAccountService.ts:691); it doesn't even need memory to act on it.
Closing without follow-up. The orchestrator-handoff privacy hole tracked separately at #1299 is the real fix needed.