fix(mobile): restore live tool shimmer and add a Thinking row #10173
main fromrefs/pull/10173/head·merged by juliusmarminge View on GitHubProblem#
Two mobile regressions against the web chat view:
- The running tool row stopped shimmering. #9106 narrowed the shimmer from "the trailing live run" to "a call whose lifecycle is still
inProgress". Codex only reportsinProgressonitem.started, which the work log drops, so in practice the mobile summary row lost its shine the moment a call completed while the turn kept going. Web keeps shining until the latest call fails, is declined, or is stopped (#9098, restored again in #9777 after the perf pass). - No "Thinking" row. Web shows a shimmering
Thinkinglive activity whenever a turn is working with no shimmering tool row (before the first call, and after a failed one, per #9165). Mobile never had it, so a working turn with no tools rendered nothing above the composer.
Fix#
Mirror web's live-row rules in deriveThreadFeedPresentation:
- The trailing tool group shimmers while its latest call is running or succeeded. A failed, declined, or stopped call turns the shine off.
- When a turn is working and no tool row shimmers, append one
thinkingfeed entry. It renders through the existingShimmeringWorkContentwith a brain icon (SFbrain, TablerIconBrainon Android) and uses the same fixed row height as the group toggle, so the list's size estimates stay exact.
The thinking row object is reused across derivations while createdAt/turnId are unchanged, so LegendList keeps the row instance during streaming.
Verification#
vp test run apps/mobile/src/lib/threadActivity.test.ts— 90 passed. Updated the completed/failed lifecycle expectations to the new rules and added a test for the standalone Thinking row (present while working, stable identity, absent when idle).tsc --noEmitforapps/mobile, targetedvp lintandvp fmt --checkon the changed files (only pre-existing warnings inThreadFeed.tsx).- iOS Simulator (iPhone 17 Pro, iOS 26.5) against a disposable base dir seeded with three running turns. Before is
mainat 62ed748, after is this branch, same dev client, same seeded data.
Working turn, no tool calls yet#

Latest tool call completed, turn still running#
The label is identical in both; the difference is motion, so here is the recording (before on the left, after on the right):

Latest tool call failed, turn still running#

Android was not exercised (no emulator on the verification host); the only Android-specific change is the Tabler icon mapping.
Implemented by Claude Fable 5 in the Claude Code harness.
Note
Restore live tool shimmer and add a thinking row to mobile thread feed#
- Adds a
thinkingentry variant to the thread feed type union and renders it as a newThreadThinkingRowcomponent with a brain icon and shimmering label. - The presentation builder appends one
thinkingrow at the tail when a turn is actively working and no work-toggle row is already shimmering; existingthinkingrows are filtered out before rebuild to avoid duplicates. - A cached
thinkingentry keeps object identity stable across repeated derivations unless the active-work timestamp or turn id changes. - Updates work-group shimmer logic in
appendToolGroupRowsso a trailing work group shimmers when it has an active activity or when its latest activity succeeded, restoring the live-tool shimmer. - Maps the
brainSF Symbol to the Tabler brain icon in the Android fallback soThreadThinkingRowrenders correctly on Android. - Risk:
appendPresentedFeedEntryandappendToolGroupRowsin threadActivity.ts now exclude and recompute shimmer forthinkingentries; any out-of-tree callers of these helpers will need to handle the newthinkingvariant.
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
Approvability#
Verdict: Approved at
51cc1ecMacroscope's review found this PR approvable — This is a focused mobile thread-feed bug fix that restores live tool shimmer and adds a small Thinking indicator during active turns. Its impact is confined to presentation logic with targeted state and identity coverage, and it introduces no schema, default, deployment, or sensitive-data changes.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
juliusmarminge merged this3fb8942
juliusmarminge closed this
Sign in to join this conversation.
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline:
62ed748· PR result:51cc1ec· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.