Skip to content

fix(android): finish Wear OS release readiness [AI-assisted] - #110425

Merged
steipete merged 18 commits into
openclaw:mainfrom
cygnostik:codex/wear-store-release-readiness
Jul 28, 2026
Merged

steipete merged 18 commits into
openclaw:mainfrom
cygnostik:codex/wear-store-release-readiness

Conversation

@cygnostik

@cygnostik cygnostik commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

[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:

  • new accessibility action labels initially left Wear Android lint red because source and generated locale ownership were mixed;
  • noun-only action labels were ambiguous for screen readers;
  • combinedClickable.enabled disabled 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:lintDebug and :wear-shared:lintDebug
  • :wear:testDebugUnitTest, including WearLayoutTest
  • :wear:assembleDebug
  • 22/22 root package-script contract tests
  • native Android/Apple i18n verification

The exact prepared Wear APK had SHA-256 6899e61c9db7fe1a03f23fb76b9d894c20411a9ad85692df5bf440a87d375d5c. A source-blind behavior pass installed those bytes on the API 36 OpenClaw_Paired_Wear_API36 emulator 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 rendered Listening before 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 and openclaw/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 or scripts/pr workaround.

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: realtimeActive owns current Live state, while liveActionEnabled owns 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.

@openclaw-barnacle openclaw-barnacle Bot added app: android App: android scripts Repository scripts app: wearos App: wearos size: XL labels Jul 18, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 18, 2026
@clawsweeper

clawsweeper Bot commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 28, 2026, 4:43 AM ET / 08:43 UTC.

ClawSweeper review

What this changes

This 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 readiness

⚠️ Needs maintainer review before merge - 4 items remain

The 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
Reviewed head: 51abd5b6d754a27150fad4fbd3e4ef2e3565d254

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The contributor supplies unusually specific exact-head behavior evidence, but patch quality cannot be independently assessed because the sandbox blocked all repository reads.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (linked_artifact): The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.
Evidence reviewed 3 items Current-head behavior evidence in PR body: The supplied PR body identifies prepared head 51abd5b, a Wear APK hash, a source-blind API 36 emulator pass at 1.2 font scale, clickable accessibility regions, double-tap Thread behavior, and visible Dictate state transitions.
Hosted validation remains incomplete: The supplied check state reports many repository checks completed successfully, including native i18n and real behavior proof, but Android build, Wear build, Android lint, and Wear unit-test jobs remain queued or in progress on the current head.
Read-only inspection blocked: Both attempted repository reads failed before execution with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted; no local source, scoped AGENTS.md files, git history, or merge diff could be independently reviewed.
Findings None None.
Security Needs attention Verify the Wear companion boundary in source: The related architecture requires the watch to remain phone-relayed and not gain independent credentials or gateway access; read the final implementation before treating this boundary as cleared.

How this fits together

OpenClaw’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
Loading

Before merge

  • Resolve security concern: Verify the Wear companion boundary in source - The related architecture requires the watch to remain phone-relayed and not gain independent credentials or gateway access; read the final implementation before treating this boundary as cleared.
  • Resolve merge risk (P1) - The root Android command changes alter contributor and CI coverage contracts; the pending Android and Wear jobs should complete on the current head before merge.
  • Resolve merge risk (P1) - The review environment prevented inspection of the final source and three-way merge result, so this review cannot independently rule out an accessibility, interaction, localization, or command-contract regression.
  • Complete next step (P2) - The remaining action is maintainer verification of the exact merge result and pending Android/Wear gates, not a safe automated repair.

Findings

  • [low] Verify the Wear companion boundary in source
Agent review details

Security

Needs 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 surface

Tests +10, Docs 0, Config 0, Other +153. Total +163 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 10 0 +10
Docs 1 3 3 0
Config 1 5 5 0
Generated 0 0 0 0
Other 4 282 129 +153
Total 7 300 137 +163

Review metrics

Metric Value Why it matters
Root Android command coverage 5 contributor commands changed The patch expands assemble, format, Kotlin lint, Android lint, and unit-test coverage to include the Wear app, so its task wiring must be validated on the final merge result.

Merge-risk options

Maintainer options:

  1. Verify the prepared merge result (recommended)
    Let the queued Android and Wear checks complete, then inspect the exact merge result’s interaction, localization, and contributor-command behavior before merging.
  2. Pause for a focused Android review
    Keep the PR open if an independent source review cannot be run, because the patch changes accessible Wear interactions and root command contracts.

Technical review

Best 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.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (linked_artifact): The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove merge-risk: 🚨 automation: Current PR review merge-risk labels are merge-risk: 🚨 compatibility.
  • remove status: 📣 needs proof: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P2: This is a bounded Wear companion quality and contributor-validation change with no evidence of an active core-runtime outage.
  • merge-risk: 🚨 compatibility: The PR changes Wear interaction availability and root Android contributor command contracts that existing Android developers and accessibility users may rely on.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (linked_artifact): The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides an exact-head APK hash, a source-blind emulator scenario, observed interaction and accessibility results, and a linked Testbox run; a normal review environment should still inspect the linked evidence before merge.

Evidence

Security concerns:

  • [low] Verify the Wear companion boundary in source
    The related architecture requires the watch to remain phone-relayed and not gain independent credentials or gateway access; read the final implementation before treating this boundary as cleared.
    Confidence: 0.34

What I checked:

  • Current-head behavior evidence in PR body: The supplied PR body identifies prepared head 51abd5b, a Wear APK hash, a source-blind API 36 emulator pass at 1.2 font scale, clickable accessibility regions, double-tap Thread behavior, and visible Dictate state transitions. (apps/android/wear/src/main/java/ai/openclaw/wear/WearScreens.kt, 51abd5b6d754)
  • Hosted validation remains incomplete: The supplied check state reports many repository checks completed successfully, including native i18n and real behavior proof, but Android build, Wear build, Android lint, and Wear unit-test jobs remain queued or in progress on the current head. (package.json, 51abd5b6d754)
  • Read-only inspection blocked: Both attempted repository reads failed before execution with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted; no local source, scoped AGENTS.md files, git history, or merge diff could be independently reviewed.

Likely related people:

  • steipete: The supplied commit history attributes the recent Wear touch-target, localization, dictation-availability, and final merge-result preparation commits to this contributor; the PR is also assigned to them. (role: recent area contributor; confidence: medium; commits: 59eeb7bd7a18, 79238b015637, 51abd5b6d754; files: apps/android/wear/src/main/java/ai/openclaw/wear/WearScreens.kt, apps/android/wear/src/main/res/values/strings.xml, package.json)
  • Chris Mish: The supplied commit metadata records Chris Mish as co-author for several current Wear behavior and accessibility changes on this branch, but local history could not be inspected to establish broader ownership. (role: adjacent contributor; confidence: low; commits: 59eeb7bd7a18, 60ef1ab6fd01, 79238b015637; files: apps/android/wear/src/main/java/ai/openclaw/wear/WearScreens.kt, apps/android/wear/src/main/res/values/strings.xml)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Allow the pending Android build, lint, and Wear test jobs to complete on the current head.
  • Run a focused source and merge-result review in a functioning read-only environment.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • 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.

History

Review history (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-18T10:07:13.373Z sha 344161d14821d22bdf990b85c5a7f1f6551bb3c0 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-18T10:25:02.540Z sha 446e3b99f9bb3ea8f7a36ad3122f6c4aee101d6f :: needs maintainer review before merge. :: none
  • reviewed 2026-07-28T04:36:41.067Z sha 79238b0 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-28T05:19:31.969Z sha a6457a0 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-28T05:59:31.615Z sha 346032f :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-28T06:59:26.310Z sha e553633 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-28T07:24:44.038Z sha f3ea272 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-28T08:28:32.497Z sha 6a36664 :: needs real behavior proof before merge. :: none

@cygnostik
cygnostik marked this pull request as ready for review July 18, 2026 05:55
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 18, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: M and removed scripts Repository scripts size: XL labels Jul 21, 2026
@cygnostik cygnostik changed the title improve(android): make Wear store releases reproducible fix(android): finish Wear OS release readiness [AI-assisted] Jul 21, 2026
@steipete steipete self-assigned this Jul 28, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Jul 28, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Jul 28, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 28, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Jul 28, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 28, 2026
@steipete
steipete merged commit 37bddc7 into openclaw:main Jul 28, 2026
195 of 207 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 29, 2026
…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]>
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 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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants