Repository navigation
fix(android): finish Wear OS release readiness [AI-assisted] - #110425
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 28, 2026, 4:43 AM ET / 08:43 UTC. ClawSweeper reviewWhat this changesThis PR makes the Wear OS companion voice screen responsive and accessible on round watches, preserves dictation when Live voice is unavailable, and includes the Wear app in root Android contributor build, lint, format, and test commands. Merge readinessThe supplied context now gives current-head emulator and Testbox evidence, but the review sandbox blocked every read-only command before local source, scoped guidance, history, merge result, or linked artifacts could be inspected. Keep this PR open for the assigned maintainer while the queued Android and Wear checks finish and a normal source review can confirm the implementation. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s Wear OS app is a phone-relayed companion that presents voice actions on a round watch display. The changed screen maps companion state and display constraints into Dictate, Live, and Thread interactions, while root Android commands invoke the Wear build and validation tasks. flowchart LR
A[Phone-relayed companion state] --> B[Wear voice screen]
C[Round display and font scale] --> B
B --> D[Accessible action controls]
D --> E[Dictate, Live, and Thread]
F[Root Android commands] --> G[Wear build, lint, and tests]
G --> B
Before merge
Findings
Agent review detailsSecurityNeeds attention: No concrete security defect is evident in the supplied diff summary, but the review could not inspect source to confirm that the Wear patch retains the intended phone-relayed auth and credential boundary. PR surfaceTests +10, Docs 0, Config 0, Other +153. Total +163 across 7 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land only after the current-head Android and Wear checks pass and a functioning read-only review confirms that the responsive controls, accessibility semantics, localization ownership, and root command changes match the stated phone-relayed companion boundary. Do we have a high-confidence way to reproduce the issue? No independent current-main reproduction was established: the supplied PR body describes an exact-head emulator pass, but sandbox failure prevented source and artifact inspection. Is this the best way to solve the issue? Unclear; the proposal appears targeted and its stated phone-relayed boundary matches the related Wear architecture discussion, but a required comparison with current implementation, callers, siblings, and final merge output could not run. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 50a97288dd03. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What 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
HistoryReview history (16 earlier review cycles; latest 8 shown)
|
Co-authored-by: Chris Mish <[email protected]>
Co-authored-by: Chris Mish <[email protected]>
Co-authored-by: Chris Mish <[email protected]>
|
Merged via squash.
|
…w#110425) * fix(android): harden Wear release quality * fix(android): use Wear minimum touch targets Co-authored-by: Chris Mish <[email protected]> * fix(android): localize Wear accessibility actions Co-authored-by: Chris Mish <[email protected]> * fix(android): preserve dictation without live voice Co-authored-by: Chris Mish <[email protected]> * fix(android): isolate Wear locale source changes Co-authored-by: Chris Mish <[email protected]> * fix(android): keep Wear dictate preview exclusive Co-authored-by: Chris Mish <[email protected]> * fix(android): separate large-font Wear hit targets Co-authored-by: Chris Mish <[email protected]> * test(pr): isolate review artifact ripgrep fixture * ci: extend embedded-agent fork watchdog * refactor(android): clarify Wear voice action availability * style(android): preserve Wear locale source lines * chore(i18n): refresh native source inventory * style(android): restore Wear label indentation --------- Co-authored-by: Chris Mish <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
[AI-assisted]
Related: #108781
What Problem This Solves
Several first-party Wear controls fell below current Wear text and touch-target guidance, and the voice home layout did not adapt to the 192dp small-round target. The root Android contributor commands also skipped parts of the Wear app, allowing Wear compile, format, lint, or unit-test regressions to escape those gates.
Why This Change Was Made
The Wear voice scene now uses responsive dimensions covered at 192dp, 227dp, and 192dp with 1.2x font scale. Supporting text is readable, actionable controls expose purpose-specific accessibility labels, and compact controls use Wear Material 3's canonical
minimumInteractiveComponentSize()modifier.Direct inspection of AndroidX Wear Compose Material 3 1.6.2 confirmed that the modifier reserves at least 48dp in both dimensions to give system touch-target expansion adequate layout space. This replaces duplicated local 48dp policy while preserving fixed visual sizes only where the layout requires them.
The root Android assemble, format, Kotlin lint, Android lint, and unit-test commands now include the Wear app. The documented Gradle equivalents were executed on the prepared result.
Maintainer proof found and fixed three product issues:
combinedClickable.enableddisabled long-press Dictate when Live voice was unavailable.The final implementation keeps complete English action strings in the source PR, makes the orb's primary tap fall back to Dictate only when the Live action is unavailable, and keeps a real double-tap recognizer for sighted Thread input plus a direct merged semantic click action for accessibility services. Availability booleans are named separately from the current Live state so the action contract is explicit.
User Impact
Small and large round Wear devices get larger, clearer controls and direct labeled actions. Dictation remains available even when Live voice is not. Contributors running the documented root Android commands now validate the actual Wear app and its localization/lint contract.
This stays inside the architecture accepted in #108781: the watch remains a phone-relayed companion and does not become a node, store Gateway credentials, authenticate independently, or add a competing distribution path.
Evidence
Prepared head:
51abd5b6d754a27150fad4fbd3e4ef2e3565d254.Blacksmith Testbox
tbx_01kykxftx7tqmkfh4vamnem3mp, run 30342597167, passed::wear:ktlintCheck:wear:lintDebugand:wear-shared:lintDebug:wear:testDebugUnitTest, includingWearLayoutTest:wear:assembleDebugThe exact prepared Wear APK had SHA-256
6899e61c9db7fe1a03f23fb76b9d894c20411a9ad85692df5bf440a87d375d5c. A source-blind behavior pass installed those bytes on the API 36OpenClaw_Paired_Wear_API36emulator at 384x384, 320 dpi, and font scale 1.2. The official voice scene kept Hold/Dictate, Double tap/Thread, the Talk orb, and Tap/Live fully inside the round viewport. The action bounds were left[8,178][124,286], top[124,60][260,162], orb[124,164][260,300], and right[260,178][376,286]; the top action and orb retain a 2px gap. The accessibility hierarchy exposed four clickable action regions, with the Talk orb also long-clickable. A single tap retained Voice, two taps 80ms apart opened Thread, and Dictate visibly renderedListeningbefore returning to idle.After merging current
main, native i18n verification reports 5,319 entries, 87 Wear source keys, the two new accessibility strings, and no generated drift. The source inventory also refreshes eight stale iOS source-line locations already present in the merge result.Exact-head hosted CI run 30343209664 is green on
51abd5b6d754a27150fad4fbd3e4ef2e3565d254, including all Android test/build/ktlint jobs andopenclaw/ci-gate. One Blacksmith QA profile runner stalled for 40 minutes while three siblings completed the identical build in under five; the lost runner was cancelled, only failed/cancelled jobs were retried, and attempt 2 completed successfully. The unrelated fork-runner baseline repair landed separately in #115035; this PR no longer carries any CI-watchdog orscripts/prworkaround.Review
Final merge-result whole-branch autoreview was clean at 0.87. Earlier focused reviews for action-availability naming, source-line preservation, and native inventory were also clean. One proposed P1 was rejected after reading the full caller/state model:
realtimeActiveowns current Live state, whileliveActionEnabledowns action availability; when Live availability is false, Dictate availability is also false and the orb is disabled.No Google Play, signing, release, account, or physical-device state was changed. Physical paired-phone/watch Data Layer proof remains a release-device gate, not a blocker for these local layout, accessibility, and contributor-command contracts.
ClawSweeper Rank-up Moves
The branch was merged with current
main; all claimed Wear/root Android evidence and the source-blind emulator contract were rerun on the exact prepared head and APK recorded above. The unrelated CI portability fixes were split to #115035 and are absent from this seven-file Android diff.