Skip to content

fix(android): improve Wear thread follow behavior - #111459

Merged
steipete merged 7 commits into
openclaw:mainfrom
IWhatsskill:fix/android-wear-thread-follow-stacked
Jul 19, 2026
Merged

steipete merged 7 commits into
openclaw:mainfrom
IWhatsskill:fix/android-wear-thread-follow-stacked

Conversation

@IWhatsskill

@IWhatsskill IWhatsskill commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

[AI-assisted]

What Problem This Solves

The Wear OS Live Thread did not reliably keep new or growing streamed responses visible. Users reading older content could also lose their position when fresh events arrived, and the active Realtime Thinking state was not represented in the thread.

Why This Change Was Made

Adds explicit thread-follow state based on content revisions and the current list viewport. The thread follows new and growing content while the user remains at the latest item, preserves intentional backward scrolling, exposes a compact New-content action for unseen events, and renders the existing Realtime Thinking state as a compact thread entry.

Maintainer review found one more edge case: scrolling to the latest bubble centers that item, so the newest text can still be below the viewport when a streamed response grows taller than the Watch screen. The final implementation follows a trailing list anchor instead, which keeps the tail visible without guessing a size-dependent offset.

User Impact

Streaming replies remain visible without manual scrolling during normal use. Users can scroll back and continue reading without being pulled to the bottom, then return to the newest content with one tap. Existing message bubbles, Type and microphone actions, Realtime audio, session routing, and the Phone-owned Gateway security boundary remain unchanged.

Evidence

Current hosted head: 87422bf0ae6da0c16de37ee349c1eccfaabbd508.

  • Physical Watch interaction at proof head 641924997400 (inspectable, operator-attested) — The linked capture is viewable and shows streamed text growth, preserved older content, the New-content action, return to the completed answer, and Realtime Thinking on a physical SM-R945F Watch. It also exposed the premature New-content behavior that motivated the later lifecycle fix. The installed APK for that older proof build had SHA-256 2AA27C9EA87866065EA17590E730E5248BB5DEEC622050B0EF78E6CEF286B2DC.
  • Current hosted tree on Blacksmith Testbox — The repo wrapper verified the published head tree matches the reviewed maintainer tree. :wear:testDebugUnitTest --rerun-tasks --tests ai.openclaw.wear.MainActivityTest passed 7/7 focused tests with 0 failures, errors, or skips. Coverage includes normal follow, manual back-scroll, New-content recovery, realtime reset, Thinking, and the trailing anchor after the latest content.
  • :wear:ktlintCheck :wear:lintDebug :wear:assembleDebug — passed on the same Testbox tree.
  • pnpm native:i18n:check — exited 0 with changed=false; repository-wide duplicate/source-equality diagnostics were advisory.
  • git diff --check — passed.
  • Autoreview — the first full-branch review found the oversized-latest-bubble bug. After the trailing-anchor repair, both the focused repair review and final full-branch review returned no actionable findings.
  • Current-main comparison — no commits between the PR merge base and current main touch the three changed Wear files.

Remaining Proof Risk

There is no physical Watch attached to the maintainer environment, so the linked device capture predates the final lifecycle and trailing-anchor commits. It is regression evidence, not a claim of current-head device proof. Maintainer review accepts that bounded residual risk based on direct inspection of the AndroidX Wear Compose 1.6.2 scroll contract, the trailing-anchor correction, exact published-tree verification, the focused tests, and successful Wear lint/build proof.

Thanks @IWhatsskill for the Wear implementation and device evidence.

Thread.Tool.call.follow.PR.mp4

@IWhatsskill
IWhatsskill marked this pull request as ready for review July 19, 2026 15:10
@IWhatsskill
IWhatsskill marked this pull request as draft July 19, 2026 15:18
@IWhatsskill
IWhatsskill marked this pull request as ready for review July 19, 2026 15:18
@clawsweeper

clawsweeper Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 19, 2026, 1:37 PM ET / 17:37 UTC.

Summary
The PR adds viewport- and content-revision-based follow behavior to the Wear live thread, a New-content recovery action, a compact thinking entry, a localized label, and focused Kotlin regression tests.

PR surface: Other +289. Total +289 across 3 files.

Reproducibility: no. high-confidence current-main reproduction is established here; the source and focused tests identify the Wear follow-state path, but the reported device behavior still requires current-head physical verification.

Review metrics: none identified.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🐚 platinum hermit
Result: blocked until stronger real behavior proof is added.

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

Rank-up moves:

  • Post a redacted physical-Wear recording built from commit 87422bf showing streaming follow, manual back-scroll, New-content recovery, and thinking rendering.
  • Include a visible revision or build identifier in the recording or accompanying redacted terminal output so reviewers can match it to the current PR head.

Proof guidance:

  • [P1] Needs stronger real behavior proof before merge: A physical-watch video is linked, but the PR body says it was not independently inspected and identifies earlier proof head 6419249 rather than current head 87422bf; post a viewable redacted current-head device recording before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Risk before merge

  • [P1] The new follow policy changes scroll behavior during streamed updates; without an inspectable physical-Wear run from the current head, maintainers cannot confirm that the lifecycle follow-up still preserves intentional back-scroll while reliably exposing new content.

Maintainer options:

  1. Refresh current-head Wear proof (recommended)
    Record and inspect a redacted physical-Wear run from the current head that demonstrates both automatic follow and preserved manual back-scroll before merging.

Next step before merge

  • [P1] The remaining merge blocker is contributor or maintainer-supplied current-head physical-device evidence, not a mechanical code repair an automated lane can credibly perform.

Security
Cleared: The reviewed PR surface is confined to Wear UI behavior, a localized string, and focused tests; no dependency, credential, transport, permission, or supply-chain change is indicated.

Review details

Best possible solution:

Keep one bounded Wear follow-state implementation, then attach a redacted physical-watch recording from commit 87422bf that shows streaming follow, manual back-scroll preservation, New-content recovery, and the thinking entry.

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

No high-confidence current-main reproduction is established here; the source and focused tests identify the Wear follow-state path, but the reported device behavior still requires current-head physical verification.

Is this the best way to solve the issue?

Unclear; the explicit viewport/content-revision state machine is a plausible bounded fix, but its user-visible behavior must be confirmed on the lifecycle-stabilized current head before calling it the best solution.

AGENTS.md: found and applied where relevant.

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

Label changes

Label justifications:

  • P2: This is a bounded user-facing Wear streaming interaction improvement with limited blast radius.
  • merge-risk: 🚨 other: The changed viewport-follow policy can alter how existing Wear users retain their reading position during streamed updates, and the current-head device behavior is not yet inspectably proven.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: A physical-watch video is linked, but the PR body says it was not independently inspected and identifies earlier proof head 6419249 rather than current head 87422bf; post a viewable redacted current-head device recording before merge. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • proof: 🎥 video: Contributor real behavior proof includes video or recording evidence. A physical-watch video is linked, but the PR body says it was not independently inspected and identifies earlier proof head 6419249 rather than current head 87422bf; post a viewable redacted current-head device recording before merge.
Evidence reviewed

PR surface:

Other +289. Total +289 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 3 296 7 +289
Total 3 296 7 +289

What I checked:

Likely related people:

  • steipete: Authored the latest branch commit that carries the streamed-tail behavior after the lifecycle follow-up. (role: current branch behavior author; confidence: medium; commits: 87422bf0ae6d; files: apps/android/wear/src/main/java/ai/openclaw/wear/WearScreens.kt)
  • Solvely-Colin: Authored the preceding lifecycle-stabilization commit in the same Wear follow path. (role: lifecycle follow-up author; confidence: medium; commits: 015036c3ac96; files: apps/android/wear/src/main/java/ai/openclaw/wear/WearScreens.kt)
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 (4 earlier review cycles)
  • reviewed 2026-07-19T15:05:42.919Z sha 6419249 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-19T16:57:07.362Z sha 015036c :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-19T17:10:12.827Z sha 015036c :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-19T17:26:18.358Z sha 015036c :: needs real behavior proof before merge. :: none

@clawsweeper clawsweeper Bot added proof: 🎥 video Contributor real behavior proof includes video or recording evidence. 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. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Jul 19, 2026
@Solvely-Colin

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@steipete
steipete merged commit 50ce5de into openclaw:main Jul 19, 2026
58 of 59 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 20, 2026
* improve(android): move Wear agent, session, and model pickers to Home

* fix(android): improve Wear thread follow behavior

* fix(android): stabilize Wear thread follow lifecycle

* fix(android): keep streamed Wear tail visible

Co-authored-by: JARVIS-Glasses <[email protected]>

---------

Co-authored-by: Colin <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* improve(android): move Wear agent, session, and model pickers to Home

* fix(android): improve Wear thread follow behavior

* fix(android): stabilize Wear thread follow lifecycle

* fix(android): keep streamed Wear tail visible

Co-authored-by: JARVIS-Glasses <[email protected]>

---------

Co-authored-by: Colin <[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: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. proof: 🎥 video Contributor real behavior proof includes video or recording evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants