Skip to content

feat(android): add Wear real-time Talk controls - #109483

Merged
steipete merged 7 commits into
openclaw:mainfrom
IWhatsskill:feat/android-wear-live-talk-controls
Jul 17, 2026
Merged

steipete merged 7 commits into
openclaw:mainfrom
IWhatsskill:feat/android-wear-live-talk-controls

Conversation

@IWhatsskill

@IWhatsskill IWhatsskill commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

[AI-assisted]

What Problem This Solves

The Wear OS companion can proxy messages through the paired Android phone, but it had no continuous Real-Time Talk path for the currently selected conversation.

Why This Change Was Made

This extends the shared Wear protocol and existing authenticated phone proxy. The watch sends bounded PCM frames over Wear Data Layer; the phone owns Gateway authentication and the generic Talk relay. Start and stop are correlated to the requesting watch, selected session, selected paired phone, and one Talk attempt so stale events or controls cannot affect a replacement session.

User Impact

Inside a selected watch conversation, REAL-TIME TALK starts continuous voice interaction. The watch reports connecting, listening, thinking, speaking, and error states; STOP REAL-TIME TALK ends the active attempt. Session changes, gateway loss, channel failure, cancellation, and remote inactivity close capture and relay resources cleanly.

Evidence

Note

Validation

  • :wear-shared:testDebugUnitTest :app:testPlayDebugUnitTest :wear:testDebugUnitTest passed on the improved tree.
  • :app:ktlintCheck :wear:ktlintCheck :wear-shared:ktlintCheck passed.
  • :app:assemblePlayDebug :wear:assembleDebug passed.
  • Regression coverage includes selected-session routing, watch and attempt ownership, stale event filtering, gateway/channel cleanup, late relay cleanup, and stop-response ordering.

Tip

Real Behavior Proof

  • Official Wear OS 6.1 emulator paired through the official Wear companion to an Android phone emulator.
  • A configured local Gateway run loaded real sessions, started Real-Time Talk from a selected non-main session, reached LISTENING, and stopped normally back to the inactive control.
  • After the final rebuild, a fresh disposable Gateway run repeated pairing, session selection, and the real provider request; it stopped at the expected missing-provider boundary because that isolated Gateway intentionally had no Realtime voice provider configured.
  • The watch never receives Gateway credentials; authentication stays phone-side.

Visual before and after

Before: the selected conversation exposed one-shot Talk and Type controls, without continuous Real-Time Talk.

Wear OS conversation before Real-Time Talk

After: the author-provided physical-watch recordings show the Real-Time Talk controls and active states.

Final.WearOS.mp4
Wear-Os.Dark.Mode.mp4

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts extensions: openai size: XL labels Jul 17, 2026
@IWhatsskill
IWhatsskill marked this pull request as ready for review July 17, 2026 01:18
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 17, 2026, 8:21 AM ET / 12:21 UTC.

Summary
Adds continuous Wear OS Talk controls, a bounded phone-proxied audio relay, Talk language propagation through the Gateway and realtime provider, and supporting documentation and tests.

PR surface: Source +13, Tests +6, Docs +7, Other +2626. Total +2652 across 48 files.

Reproducibility: not applicable. This PR introduces a new Wear OS capability rather than fixing a reproducible current-main defect. The proposed behavior itself has convincing paired-device and Gateway proof.

Review metrics: 1 noteworthy metric.

  • Compatibility contracts: 2 RPC methods, 1 event type, 1 audio channel, and 1 Gateway parameter added. These additive surfaces participate in phone, watch, Gateway, and provider version skew and become ongoing release contracts.

Stored data model
Persistent data-model change detected: serialized state: src/talk/session-runtime.ts. Confirm migration or upgrade compatibility proof before merge.

Merge readiness
Overall: 🦞 diamond lobster
Proof: 🦞 diamond lobster ✨ media proof bonus
Patch quality: 🦞 diamond lobster
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Risk before merge

  • [P2] The branch adds persistent watch/phone/Gateway contracts, but the supplied evidence does not explicitly demonstrate new-watch/old-phone and old-watch/new-phone behavior; users should receive a bounded unsupported-feature response rather than a timeout or stale active state.
  • [P2] The optional Gateway language field has an older-Gateway fallback, but the permanent version-skew and provider-support policy still needs maintainer ownership.
  • [P1] Several exact-head Gateway and security checks were still running, so their final results remain a routine merge gate.

Maintainer options:

  1. Prove safe version skew (recommended)
    Add focused coverage or explicit release documentation for new-watch/old-phone, old-watch/new-phone, and older-Gateway behavior before merge.
  2. Own a coordinated rollout
    Intentionally require compatible Android, Wear, and Gateway versions and make that constraint part of the release plan.
  3. Pause the bundled feature
    Defer the PR if maintainers do not want the ongoing compatibility cost of the new realtime protocol.

Next step before merge

  • [P2] A maintainer must decide release inclusion and own the mixed-version support contract; no narrow correctness defect is identified for automated repair.

Maintainer decision needed

  • Question: Should this bundled Wear realtime Talk capability ship with the new phone/watch/Gateway protocol contracts in the next Android release?
  • Rationale: Code review can assess the implementation, but it cannot choose the permanent mixed-version support and coordinated-release obligations created by a bundled cross-device feature.
  • Likely owner: steipete — This person is assigned and directly authored the branch's routing hardening and current-main synchronization.
  • Options:
    • Ship after compatibility proof (recommended): Land the feature after safe version-skew behavior is documented or tested and all exact-head gates pass.
    • Coordinate matched versions: Accept an explicit release policy requiring compatible phone, watch, and Gateway versions for realtime Talk.
    • Defer continuous Talk: Retain the existing one-shot Wear voice controls until maintainers want to own the larger realtime protocol lifecycle.

Security
Cleared: No concrete security or supply-chain regression was found: credentials remain phone-side, audio frames are bounded, attempts are node-correlated, and the diff adds no third-party execution or permission expansion beyond watch microphone access.

Review details

Best possible solution:

Ship the phone-authenticated Wear Talk architecture only after documenting or testing safe phone/watch/Gateway version skew, confirming provider language compatibility, and obtaining green exact-head Android, Gateway, and security checks.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR introduces a new Wear OS capability rather than fixing a reproducible current-main defect. The proposed behavior itself has convincing paired-device and Gateway proof.

Is this the best way to solve the issue?

Yes, provisionally. Bounded Wear Data Layer audio with the paired phone retaining authentication and generic Talk ownership is the narrowest architecture consistent with the existing companion boundary; only the rollout contract remains unresolved.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against db3213264a65.

Label changes

Label justifications:

  • P2: This is a substantial but optional Wear capability with meaningful review needs and limited platform blast radius.
  • merge-risk: 🚨 compatibility: Merging creates persistent Wear and Gateway contracts whose behavior must remain safe across independently upgraded components.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • feature: ✨ showcase: ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. Continuous wrist voice interaction while preserving the paired phone as the sole Gateway credential boundary is an unusually valuable companion workflow.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (recording): Physical-watch recordings and paired emulator/Gateway runs demonstrate the new controls and state transitions after the change; any additional media or logs should continue to redact private identifiers and endpoints.
  • proof: sufficient: Contributor real behavior proof is sufficient. Physical-watch recordings and paired emulator/Gateway runs demonstrate the new controls and state transitions after the change; any additional media or logs should continue to redact private identifiers and endpoints.
  • proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. Physical-watch recordings and paired emulator/Gateway runs demonstrate the new controls and state transitions after the change; any additional media or logs should continue to redact private identifiers and endpoints.
Evidence reviewed

PR surface:

Source +13, Tests +6, Docs +7, Other +2626. Total +2652 across 48 files.

View PR surface stats
Area Files Added Removed Net
Source 6 17 4 +13
Tests 4 8 2 +6
Docs 8 12 5 +7
Config 0 0 0 0
Generated 0 0 0 0
Other 30 2797 171 +2626
Total 48 2834 182 +2652

What I checked:

Likely related people:

  • steipete: Assigned to the PR and authored the branch's routing hardening, metadata refresh, i18n alignment, and synchronization with current main. (role: recent area contributor and likely decision owner; confidence: high; commits: b1684425bb11, 4b1336bb5093, 0889ab941c6f; files: apps/android/app/src/main/java/ai/openclaw/app/wear/WearRealtimeTalkController.kt, apps/android/wear/src/main/java/ai/openclaw/wear/WearRealtimeTalkClient.kt, apps/.i18n/native-source.json)
  • IWhatsskill: Beyond proposing this branch, the current Android changelog credits this person for the existing Wear companion that the new Talk path extends. (role: Wear companion feature contributor; confidence: high; commits: f767245276ad, 75930885163d, 219ca74cb3ca; files: apps/android/wear/src/main/java/ai/openclaw/wear/WearViewModel.kt, apps/android/wear/src/main/java/ai/openclaw/wear/WearRealtimeTalkClient.kt, apps/android/app/src/main/java/ai/openclaw/app/wear/WearRealtimeTalkController.kt)
  • sibbl: The current Android changelog credits this person for the established Wear OS companion surface on which the PR builds. (role: existing Wear companion contributor; confidence: medium; files: apps/android/CHANGELOG.md, apps/android/README.md, apps/android/wear/BEHAVIOR.md)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (6 earlier review cycles)
  • reviewed 2026-07-17T01:08:08.658Z sha 8e97dc84578559a6936ffceb13457f04af1535e1 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T01:51:03.175Z sha 8e97dc84578559a6936ffceb13457f04af1535e1 :: found issues before merge. :: [P1] Use ChannelClient for the realtime PCM stream
  • reviewed 2026-07-17T07:39:16.773Z sha f767245 :: found issues before merge. :: [P2] Wire or remove the client-side language parameter
  • reviewed 2026-07-17T08:19:04.908Z sha 219ca74 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T08:44:41.493Z sha 219ca74 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T09:25:25.081Z sha 219ca74 :: needs maintainer review before merge. :: none

@IWhatsskill
IWhatsskill force-pushed the feat/android-wear-live-talk-controls branch from 8e97dc8 to f767245 Compare July 17, 2026 07:31
@openclaw-barnacle openclaw-barnacle Bot added app: wearos App: wearos and removed scripts Repository scripts labels Jul 17, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 17, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 17, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 17, 2026
@steipete steipete self-assigned this Jul 17, 2026
@steipete
steipete merged commit 4d3b188 into openclaw:main Jul 17, 2026
188 of 190 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 18, 2026
* feat(android): add Wear real-time Talk controls

* fix(android): satisfy Wear Talk CI checks

* fix(talk): remove unused client language parameter

* fix(android): harden Wear realtime Talk routing

Co-authored-by: IWhatsskill <[email protected]>

* chore(android): refresh Wear Talk metadata

* chore(android): align native i18n baseline

---------

Co-authored-by: IWhatsskill <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* feat(android): add Wear real-time Talk controls

* fix(android): satisfy Wear Talk CI checks

* fix(talk): remove unused client language parameter

* fix(android): harden Wear realtime Talk routing

Co-authored-by: IWhatsskill <[email protected]>

* chore(android): refresh Wear Talk metadata

* chore(android): align native i18n baseline

---------

Co-authored-by: IWhatsskill <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: wearos App: wearos app: web-ui App: web-ui docs Improvements or additions to documentation extensions: openai feature: ✨ showcase ClawSweeper spotlight: unusually compelling feature idea for maintainer attention. gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants