Repository navigation
refactor(google-meet): unify gateway and tool dispatch - #119413
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 4, 2026, 10:21 PM ET / August 5, 2026, 02:21 UTC. ClawSweeper reviewWhat this changesThe PR replaces repeated Google Meet gateway, tool, and CLI dispatch code with shared dispatch and artifact-query helpers while retaining the existing operations. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain No actionable correctness finding: the refactor preserves gateway error handling, trusted agent routing, and artifact-query projections. Keep this protected maintainer PR open for its normal merge gates and inspectable after-fix behavior proof. Priority: P3 Review scores
Verification
How this fits togetherThe Google Meet plugin receives agent-tool, gateway, and CLI requests, resolves trusted meeting and agent inputs, then calls meeting, transcript, and artifact operations. Results return to the caller as gateway responses, tool results, or CLI output. flowchart LR
A[Agent tool] --> D[Google Meet dispatch]
B[Gateway request] --> D
C[CLI command] --> D
D --> E[Trusted input resolution]
E --> F[Meeting and artifact operations]
F --> G[Gateway tool or CLI result]
Before merge
Agent review detailsSecurityNone. PR surfaceSource -261. Total -261 across 3 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one canonical dispatcher and shared artifact projection, backed by a redacted real gateway or CLI run that demonstrates preserved routing and output behavior. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR refactors existing Google Meet behavior rather than reporting a standalone bug. Is this the best way to solve the issue? Yes. The shared wrapper and query projections sit at the dispatch owner boundary and preserve the prior calls rather than adding a parallel path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 50c7444edf4b. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: (22 commits) refactor(plugins): consolidate lifecycle hook dispatch (#119429) fix(ci): stabilize TUI PTY proof ownership (#119420) test(system-agent): reduce suite setup overhead (#119424) fix(ui): keep session rail pill status from overlapping the headline (#119397) fix(discord): avoid doctor runtime loading (#119391) fix(media): decouple playback cache retention (#119417) fix(slack): infer upload filename extensions from MIME types (#119399) refactor(channels): unify configured binding resolution (#119414) refactor(google-meet): unify gateway and tool dispatch (#119413) test(state): reuse legacy database fixtures (#119423) fix(reset): preserve bootstrap guidance for dynamic models (#119179) fix(chutes): honor serving context limits (#119196) refactor(status): consolidate scan projections and lazy loaders (#119412) fix(status): status --all slows down with missing plugins (#119203) refactor(gateway): consolidate usage reporting and caches (#119409) perf(gateway): keep reload and recovery machinery off gateway cold start (#119094) fix(cli): align TaskFlow controller columns for wide text (#118801) fix: make startup migration restart guidance install-neutral (#119406) fix(ci): preserve cache warmer shard envelopes (#119403) fix(sessions): preserve compatible auth profiles on model changes (#117550) ...
What Problem This Solves
Google Meet repeated gateway error adapters, trusted tool dispatch, and artifact request projection across its gateway, tool, and CLI entry points. This is part of a maintainer-requested project-wide production LOC reduction campaign.
Why This Change Was Made
Centralize equivalent Google Meet gateway/tool dispatch and artifact request construction while preserving trusted agent ownership, spoof rejection, request validation, and all 16 gateway methods.
User Impact
Google Meet users see the same meeting, transcript, artifact, and export behavior with 261 fewer production lines.
Evidence
gpt-5.6-solwithxhighreasoning; no accepted or actionable findings.git diff --check, scoped formatting, and direct before/after behavioral equivalence checks passed.Exact-head gateway and CLI transcript
Observed at PR head
54f9c43fd4bfb3743c0626f88061ed3bf9db578bon isolated Blacksmith Testboxtbx_01kz7t9nxe1982y00tt47f5k06. Google APIs are controlled integration-test fixtures; no live account, credentials, meeting, or operator gateway was used.Actual CLI output captured by the passing integration tests:
Trusted routing assertions on the running gateway/tool boundary:
sessionKey=agent:support:pr103522-liveand spoofed model-suppliedagentId=spoofed: gateway receives canonicalagentId=support, the original requester session, and scopeoperator.admin.agentId=spoofed: downstream Meet runtime receivesagentId=undefined; spoofing is rejected.summary.md,attendance.csv,transcript.md,artifacts.json,attendance.json,manifest.json.A live Google Meet account was not exercised because no user-approved live account, meeting, or operator-gateway mutation is needed for this behavior-neutral owner refactor.