Repository navigation
feat(plugins): add experimental FaceTime realtime voice bridge - #119291
Conversation
|
Codex review: blocked before merge. Reviewed September 19, 2026, 11:17 PM ET / September 20, 2026, 03:17 UTC (Revision 51). ClawSweeper reviewWhat this changesAdds an optional FaceTime voice plugin with owner-authorized agent conversations, call control, Mac helper and audio-driver setup, recovery documentation, and tests. Merge readiness⛔ Blocked before merge - 3 items remain Keep open for the native maintainer landing workflow. The prior concrete findings are addressed, the scoped authority proof is sufficient, and the maintainer has resolved the experimental operating-model decision. No new actionable blocker was established. Priority: P2 Review scores
Verification
How this fits togetherThe plugin connects FaceTime calls on a dedicated Mac to OpenClaw’s existing realtime speech and agent-consult services. Authenticated native events determine which calls may start audio and access the configured agent. flowchart LR
A[FaceTime caller] --> B[Authenticated native helper]
B --> C[Owner and transport checks]
C --> D[Call lifecycle and saved dial intent]
D --> E[Audio bridge]
E --> F[Realtime speech provider]
F --> G[Configured agent and tools]
D --> H[Verified closure and cleanup]
Before merge
Agent review detailsSecurityNone. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the accepted, disabled-by-default plugin boundary and keep native publication and installation certification with the native owners. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature proposal; the submitted live call and authenticated boundary harness demonstrate the intended capability and admission rules. Is this the best way to solve the issue? Yes, within the accepted experimental scope: carrier-specific behavior stays in an external plugin and native companion while reusing existing speech, agent, storage, and Doctor contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cbd370d7ae83. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (50 earlier review cycles; latest 8 shown)
|
5dbc1d6 to
0127eca
Compare
33ec407 to
c221320
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Current head cc7a57a adds authenticated production-boundary rejection proof and fixes CI lint, with main merged additively. The PR body records all 22 focused passing cases and exact limitations. The new late-event cancellation assertion targets a unique injected UUID, not background recovery. Independent P0-P2 review is clean after correcting that race. Explicit maintainer acceptance of the dedicated-Mac reduced-SIP experimental operating model is recorded at #119291 (comment) . Native publication remains separate. Please assess this exact head and the new evidence; normal CI and review gates remain required. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Maintainer disposition for
This replaces the earlier bot approval command: ClawSweeper automerge remains disabled because the native maintainer scripts own landing. Required CI and enforced review checks are not waived. No live call, Gateway change, or native release is authorized here. |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Merged via squash.
|
Closes #119290.
What Problem This Solves
OpenClaw cannot use a private FaceTime Audio call to carry a conversation with the configured agent.
User Impact
An authorized owner can talk to their configured agent and use its existing workspace, tools, memory, and approval policy over FaceTime Audio through an experimental, disabled-by-default plugin.
Setup requires a dedicated Apple Silicon Mac, protected-app injection, reduced SIP debugging restrictions, Developer Tools access, administrator-managed Xcode, a paired audio driver, signed-in FaceTime/Phone, realtime-provider credentials, and participant consent. The FaceTime setup guide covers configuration, SecretRefs, agent/tool selection, first-call verification, limitations, and troubleshooting. It remains under Plugins.
Why This Change Was Made
FaceTime carrier behavior stays in the plugin and native companion. Core supplies the existing plugin, storage, and realtime-provider contracts. The plugin-owned Doctor migration handles retired prototype settings; pending dial intent uses the existing plugin SQLite keyed store. This repair adds no core configuration option, schema, dependency, or native protocol version.
The latest repair removes the action-only absence shortcut: a surviving helper reporting an absent call no longer bypasses inspection of retained carrier peers. Local audio suppression remains until native closure or stable complete-topology absence is proven. It also fixes the consult rejection callback's CI lint error while preserving awaited result delivery.
The driver installer now tracks successful backup and replacement separately. A failure before backup no longer deletes the installed driver; a failed replacement verification still restores the backup. The privileged wrapper's pinned transaction digest was refreshed with the repair.
Evidence
f6ae160047c, including maind5eed044d23. This additive refresh brings in upstream fix: keep PR identity checks working when GraphQL quota is exhausted #153296 (883b2a944165), fixing deterministic delivery-queue worker test cleanup that failed CI on the prior head. The FaceTime subtree is byte-identical to reviewed headcc7a57a9ae7; no caller-authority or production behavior changed. The earlier mergee624c338184resolved a generated configuration-baseline hash conflict. No contributor history was rewritten. Fresh exact-head CI is required.f6ae160047c: proof sufficient and no actionable correctness or security findings. Its remaining experimental-risk and compatibility checklist is resolved in the maintainer disposition, and the human-review hold is cleared. The bot's per-PR automerge opt-in remains removed so the native maintainer workflow owns landing.node scripts/run-vitest.mjs extensions/facetime/tests/runtime-authority-boundary.test.ts extensions/facetime/tests/runtime-admission.test.ts extensions/facetime/tests/config-compat.test.ts --reporter=verbose. Subsequent edits only resolve test variable shadowing and Promise-executor lint. Syntax lint, formatting, and whitespace checks pass; exact-head hosted CI owns final type-aware validation.d8eedd756abpassed 44 focused runtime tests, including 12 negative admission cases. They enter through the registered runtime helper callback and prove an unlisted caller, cellular/baseband/Wi-Fi calling, unclassified transport, and missing transport cannot create a managed call or start talk, answer, unmute, or transmit in either ringing or active states. Existing cases cover cancelled/deauthorized persisted dials after restart. Native I/O and talk are mocked in that older batch; the new authenticated boundary proof above extends it.da0905f8787: participant confirmed prompt answering/greeting and a successful spoken calendar answer on an existing OpenClaw 2026.9.4 main Gateway using OpenAI realtime voice. This proves the allowed-call path on that installation, not a clean install or the newer closure repair.7b4e2cefef9completed hosted CI with 189 successful checks and no failures. That does not certify the refreshed head. Local type-aware checks encountered a stale artifact lock, recovered only after verifying its owner and associated build/check processes had stopped. The subsequent SDK declaration build exceeded its 300-second limit before lint ran; no timeout or gate was weakened. Hosted exact-head checks remain required.Latency follow-up
Tracked separately in #153308. The successful call took 26.958 seconds from voice consult request to answer audio. Three sequential agent-model turns accounted for about 21.55 seconds; calendar execution took 240 ms. The 3.471-second pre-prompt interval and the provider/queue split need narrower measurement. Preserve the working OpenAI voice setup and main-agent tool/auth access when investigating the shared consult path. No performance improvement is claimed here.
The imsg-inspired SIP setup/status messaging fix is tracked in openclaw-facetime#33. The plugin counterpart is included here; the native counterpart is PR #34.
Remaining landing gates
Native release follow-up
The author explicitly chose to pursue landing this disabled-by-default experimental plugin before the next native release, while retaining normal review and CI gates. The native release is not a pre-merge requirement for this source PR. This decision does not certify the published companion or waive product/security owner review.
Before native publication, #26 and #34 must be merged. Native owners then publish the matching signed/notarized release, update the Homebrew formula, and supply installation/recovery evidence. Published v0.1.1 predates these fixes. Native publication stays with native owners.
No additional live call, Gateway configuration change, native release, or package publication is authorized by this landing handoff. Additional calls require fresh participant consent. No private calendar contents, phone numbers, credentials, or raw transcripts are included in the proof.