Skip to content

feat: auto-collect durable meeting transcripts - #113122

Merged
steipete merged 16 commits into
mainfrom
feat/meeting-auto-transcripts
Jul 23, 2026
Merged

steipete merged 16 commits into
mainfrom
feat/meeting-auto-transcripts

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #98986

What Problem This Solves

Meeting bots could expose a bounded live caption tail, but Google Meet, Microsoft Teams, and Zoom sessions did not automatically persist one unified durable transcript and summary. Operators had to start a separate transcript source manually, and meeting notes could disappear with the browser session or Gateway restart.

Why This Change Was Made

This adds one shared meeting transcript bridge that subscribes to the caption snapshots already owned by MeetingSessionRuntime, writes speaker-attributed rows to the existing SQLite transcript store, and generates the existing derived summary when the meeting leaves. The live in-memory tail remains separately bounded and mode-gated.

Google Meet, Teams, and Zoom register thin TranscriptSourceProvider adapters with canonical ids google-meet, teams, and zoom plus aliases. Automatic durable notes default on through the existing transcripts.enabled surface; false disables persistence/tool/auto-start while explicit transcribe mode retains its existing live-only tail. No config key, environment variable, protocol change, SQLite table, or schema-version bump is introduced.

Agent ownership is persisted in existing metadata. Stored meeting locators strip query strings, fragments, and userinfo; live providers still receive the original ephemeral URL. Exact delivery retries are idempotent while same-id transcript revisions remain ordered. Storage outages retain ordered pending rows/reset markers and retry finalization without delaying physical browser/audio teardown.

This is AI-assisted maintainer work. Release-note context: browser meeting bots now automatically retain durable transcripts and summaries across Google Meet, Microsoft Teams, and Zoom, with a global opt-out.

User Impact

When an enabled meeting bot joins through Chrome or a Chrome node, OpenClaw automatically collects durable notes for the joining agent. On leave, the transcript session receives a stopped timestamp and derived summary, inspectable with openclaw transcripts. Users no longer need a separate transcripts.autoStart entry for these meeting plugins.

Evidence

  • node scripts/run-vitest.mjs src/agents/tools/transcripts-tool.test.ts src/meeting-bot/browser-controller.test.ts src/meeting-bot/chrome-transport.test.ts src/meeting-bot/session-runtime.test.ts src/meeting-bot/session-transcript-store.test.ts src/meeting-bot/transcripts-bridge.test.ts src/transcripts/config.test.ts src/transcripts/source-locator.test.ts src/transcripts/store.test.ts — 83 tests passed across unit and agent shards.
  • node scripts/run-vitest.mjs extensions/google-meet/index.transcripts.test.ts extensions/google-meet/src/transports/chrome.test.ts extensions/google-meet/src/transports/google-meet-platform-adapter.test.ts extensions/teams-meetings/index.test.ts extensions/teams-meetings/src/transports/teams-meetings-caption-capture.test.ts extensions/zoom-meetings/index.test.ts extensions/zoom-meetings/src/transports/zoom-meetings-platform-adapter.test.ts — 87 tests passed.
  • node scripts/run-vitest.mjs test/scripts/plugin-sdk-surface-report.test.ts — 10 tests passed.
  • node scripts/check-changed.mjs — config/SDK/boundary/typecheck lanes passed; initial Blacksmith dispatch failed before allocation with HTTP 502, so trusted-source local fallback was used. Core and extension lint findings were repaired without suppressions; the post-lint schema/database/import/auth guards passed through their repo wrappers.
  • node scripts/build-all.mjs — full source/package/Plugin SDK/Control UI build passed before the final dependency-refresh rebase. A later fresh attempt stopped before compilation because stale local node_modules required no-TTY pnpm reconciliation; hosted PR CI/Testbox is the final build authority.
  • AR="$HOME/.claude/skills/autoreview/scripts/autoreview"; "$AR" --mode branch --base origin/main — required branch review run. All implementation findings were fixed; the only rejected finding objected to default-on, which is the explicit maintainer product decision for this batch. Final context-aware branch review reported no accepted/actionable findings.
  • OPENCLAW_STATE_SCHEMA_VERSION remains 5; no state schema file changed.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling plugin: google-meet plugin: zoom Zoom plugin plugin: teams-meetings Teams Meetings plugin size: XL maintainer Maintainer-authored PR labels Jul 23, 2026
@steipete
steipete marked this pull request as ready for review July 23, 2026 18:10
@steipete
steipete force-pushed the feat/meeting-auto-transcripts branch from 7887bda to cd0803c Compare July 23, 2026 18:11
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof for 3778217fd36cc615ed3efdc165028cab4b5e94c8:

  • Exact-head CI is green: https://github.com/openclaw/openclaw/actions/runs/30033748781
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 113122 passed with hosted gate mode hosted_exact_or_recent_parent; remote PR tree matches the prepared head.
  • Focused proof: 83 core/agent tests, 87 meeting-plugin tests, and 10 SDK tooling tests passed.
  • Core/extension typecheck and lint passed; SDK manifest/export/surface, plugin boundaries, native schema version, database-first, import-cycle, sidecar, media, webhook, and auth guards passed.
  • Branch autoreview is clean after all accepted findings; the only rejected review objection was default-on, which is the explicit maintainer product decision for this feature.
  • Docs are updated; CHANGELOG.md is correctly unchanged; no config key, environment variable, protocol change, SQLite table, or schema-version bump was added.

Known gap: the first pre-PR Blacksmith allocation returned HTTP 502, so trusted-source local wrappers were used during iteration. Exact-head hosted CI and the repo-native prepare gate are green.

@steipete
steipete merged commit 129f86b into main Jul 23, 2026
118 checks passed
@steipete
steipete deleted the feat/meeting-auto-transcripts branch July 23, 2026 18:41
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 24, 2026
* feat(meetings): auto-collect durable transcripts

* chore(plugin-sdk): refresh meeting transcript API baseline

* fix(plugin-sdk): keep meeting transcript options implicit

* fix(meetings): satisfy transcript bridge typecheck

* fix(google-meet): preserve optional caption policy context

* fix(google-meet): retain caption mode callback type

* refactor(meetings): split transcript lifecycle helpers

* chore(plugin-sdk): refresh split meeting runtime baseline

* refactor(google-meet): split session helpers

* fix(meetings): decouple transcript retries from leave

* fix(meetings): isolate provider subscribers

* fix(meetings): harden capture lifecycle

* fix(meetings): preserve capture during storage outages

* fix(meetings): preserve pending transcript ordering

* fix(meetings): retry capture initialization

* test(agents): reflect default transcript registration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR plugin: google-meet plugin: teams-meetings Teams Meetings plugin plugin: zoom Zoom plugin size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant