Repository navigation
feat(android): add Wear conversations, voice, agents, and sessions - #108997
IWhatsskill wants to merge 23 commits into
Conversation
…nto feat/android-wear-conversations
|
Codex review: needs real behavior proof before merge. Reviewed July 16, 2026, 9:54 PM ET / July 17, 2026, 01:54 UTC. Summary PR surface: Tests +41, Docs +21, Config +21, Other +2790. Total +2873 across 41 files. Reproducibility: not applicable. This PR adds a new Wear OS companion rather than fixing an established current behavior. Physical-device recordings demonstrate the earlier branch state, but not the live head’s changed agent derivation. Review metrics: 2 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Land one Android-owner-approved Wear implementation using phone-issued opaque session handles, opt-in reply speech, exact-head physical-device proof, and release wiring staged so phone publication does not depend on an unapproved Wear rollout; preserve contributor credit and proof when consolidating into #109433. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new Wear OS companion rather than fixing an established current behavior. Physical-device recordings demonstrate the earlier branch state, but not the live head’s changed agent derivation. Is this the best way to solve the issue? No, not yet: the phone-owned Gateway architecture and bounded protocol are appropriate, but exposing canonical session keys and maintaining two competing full Wear implementations is not the narrowest maintainable solution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6b6bf3a34bd3. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +41, Docs +21, Config +21, Other +2790. Total +2873 across 41 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
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
Review history (7 earlier review cycles)
|
# Conflicts: # .github/workflows/ci.yml # apps/android/settings.gradle.kts # apps/android/wear-shared/build.gradle.kts
# Conflicts: # .github/workflows/ci.yml
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
…versations # Conflicts: # apps/android/app/src/main/AndroidManifest.xml # apps/android/app/src/main/res/values/wear.xml
|
Superseded by #109433, which landed the complete phone-proxy Wear OS companion in Thank you @IWhatsskill for the expanded Wear implementation and device proof. Your contribution is credited in the landed Android changelog. |
[AI-assisted]
What Problem This Solves
OpenClaw's Android node keeps the authenticated Gateway connection on the phone, leaving Wear OS users without a safe wrist interface for the active conversation, voice prompts, sessions, available agents, and reply playback.
Why This Change Was Made
This change adds the OpenClaw Wear OS interaction surface while keeping the Android phone as the transport and security boundary. The branch now uses the shared
WearProtocolintroduced on currentmainby #108835 and implements only its allowlistedproxy.status,sessions.list,chat.history,chat.send, andchat.abortmethods.The paired phone proxies bounded snapshots and actions through its existing authenticated
NodeRuntime. The watch receives no Gateway token, password, endpoint, direct identity, or raw session key. The previous duplicate status and conversation envelopes were removed.User Impact
OpenClaw Wear OS provides four swipeable Chat, Agents, Sessions, and Controls pages. Users can submit prompts with Talk or Type, follow the active transcript and response state, switch sessions, inspect agents available on the paired phone, hear replies through watch TTS, enable automatic reply speech, and persist Dark or Light appearance.
The Wear artifact now has its own Play-safe version-code scheme, a signed AAB/APK release path, release metadata and certificate validation, Wear OS branding, module CI gates, and third-party license notices.
Evidence
Note
Validation
mainmerged through63b0cac9f0; pushed head is31d678bd93../gradlew :wear-shared:testDebugUnitTest :wear:testDebugUnitTest :app:testPlayDebugUnitTest :app:assemblePlayDebug :wear:assembleDebug :wear:lintDebug :wear-shared:lintDebug :app:ktlintCheck :wear:ktlintCheck :wear-shared:ktlintCheck— passed.test/scripts/android-release-artifacts.test.ts— 14/14 tests passed.native:i18n:check— passed after synchronizing the moved Wear source IDs across the native inventory and all 21 locale artifacts without changing translation text.:wear:bundleReleaseand:wear:assembleRelease— passed locally with the standard Android debug key as a non-production proof identity.jar verified., not unsigned.ai.openclaw.app, versionName2026.7.2, and the same local proof certificate58e48afd…55a6d371.2026070201; Wear versionCode260702011.ai.openclaw.app/2026.7.2/260702011.apksigner.jardirectly through Java without a shell boundary and accepts current scheme-prefixed certificate output.git diff --check origin/main...HEAD— passed.31d678bd93.Tip
Real Behavior Proof
Physical Android device proof uses a paired Pixel phone and Samsung Galaxy Watch with the 480×480 Wear OS UI.
31d678bd93are installed.The operator-attested physical proof completes the exact-head install, watch microphone recognition, prompt delivery, and audible TTS playback checks.
Complete physical-watch walkthrough — Chat, Agents, Sessions, Controls, and appearance settings:
openclaw-watch-full-ui-synced-20260716-141812.mp4
Exact-head Voice and TTS proof — watch microphone recognition, prompt delivery, and audible reply playback (operator-attested):
Wear.OS.STT.TTS.mp4