Skip to content

feat(mobile): capture Live Activities and agent notifications in showcase screenshots - #13316

Merged
juliusmarminge merged 7 commits into
mainfrom
t3code/e5ba497d
Sep 23, 2026
Merged

juliusmarminge merged 7 commits into
mainfrom
t3code/e5ba497d

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

The Mobile Showcase Screenshots workflow only captured in-app screens, so the store listings never showed the iOS Live Activity, Android's ongoing agent-activity notification, or agent alerts.

This adds an agent-activity scene to the iPhone (6.9", 6.5"), Android phone, and 7"/10" tablet captures. The iPad is skipped because the lock screen doesn't rotate with the app.

  • App side: the showcase coordinator resets to Home, then stages four relay-shaped rows against the seeded fixture threads (approval, input, working, done). On iOS it starts a real Live Activity. On Android it posts the same FCM-shaped data the native receiver renders, through a new showShowcaseActivity native function. The scene reports ready only after staging succeeds.
  • iOS runner: taps the notification prompt, locks the simulator with AXe, simctl pushes the approval alert, and wakes the display if it is still dark. It also answers the first "Allow Live Activities?" prompt. CI installs AXe from its trusted Homebrew tap.
  • Android runner: pre-grants POST_NOTIFICATIONS and snoozes the emulator's own system notices. It then expands the shade for the capture and collapses it afterwards.

Evidence (CI run 35921583721, dark) is in the first comment.

Known gap: the iPhone 17 Pro Max simulator (6.9") has an always-on display, so its lock screen is captured dimmed. The status bar is missing and the status labels are grey. The 6.5" capture is not affected. Fixing it needs the simulator's Always On preference key, which is a follow-up.

🤖 Generated with Claude Code (Claude Opus 5.5)


Devin Review

Summary by CodeRabbit

  • New Features
    • Added an agent activity scene to mobile showcases, featuring activity across four sample threads and an approval alert.
    • Android showcases can display the activity in a Live Update; iOS showcases can display it as a Live Activity and on the lock screen.
  • Documentation
    • Updated screenshot guidance and expected image counts to include the new scene.

juliusmarminge and others added 6 commits September 23, 2026 13:27
Adds an agent-activity scene: the iOS Live Activity on the lock screen
with an approval alert, and Android's Live Update plus alert in the
notification shade.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scene follows environments, whose settings sheet popToTop does not
close. Staging failures now log their reason to Metro.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…owcase

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lator notices

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… capture

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Sep 23, 2026
@juliusmarminge

Copy link
Copy Markdown
Member Author

Evidence from CI run 35921583721 (dark theme), new agent-activity scene:

iOS: Live Activity + approval alert on the lock screen

iPhone 6.9" iPhone 6.5"

Known gap: the 6.9" simulator (iPhone 17 Pro Max) captures the lock screen in its always-on dimmed state.

Android: ongoing Live Update + alert in the notification shade

Phone 7" tablet 10" tablet

@macroscopeapp

macroscopeapp Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This adds a substantial cross-platform screenshot capability spanning native notification code, Live Activities, lock-screen automation, CI tooling, and default capture configuration. The multi-layer native and simulator behavior is broader than a small isolated harness change and merits human review.

You can add or adjust custom eligibility rules. Learn more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.5 KiB 13.5 KiB +39 B (+0.3%) 15.1 KiB ✅
Codex Thread snapshot wire 7.1 KiB 7.1 KiB −6 B (−0.1%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.4 KiB 6.5 KiB +45 B (+0.7%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 56.2 KiB 56.3 KiB +44 B (+0.1%) 66.4 KiB ✅
Codex Live turn messages 9 10 +1 (+11.1%) 21 ✅
Claude Total thread wire 13.5 KiB 13.5 KiB +11 B (+0.1%) 15.1 KiB ✅
Claude Thread snapshot wire 7.1 KiB 7.1 KiB +7 B (+0.1%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.4 KiB 6.4 KiB +4 B (+0.1%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 57.0 KiB 57.1 KiB +44 B (+0.1%) 66.4 KiB ✅
Claude Live turn messages 9 10 +1 (+11.1%) 21 ✅

Baseline: f5ef0dd · PR result: 82a9d41 · Source CI: success

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

  • Codex decoded thread snapshot: 114.0 KiB
  • Claude decoded thread snapshot: 114.6 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@juliusmarminge
juliusmarminge merged commit 11e91f1 into main Sep 23, 2026
22 of 23 checks passed
@juliusmarminge
juliusmarminge deleted the t3code/e5ba497d branch September 23, 2026 22:01
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Sep 23, 2026
## What's Changed
* feat(mobile): capture Live Activities and agent notifications in showcase screenshots by @juliusmarminge in pingdotgg/t3code#13316
* feat(mobile): manage environment and provider updates by @juliusmarminge in pingdotgg/t3code#13302


**Full Changelog**: pingdotgg/t3code@v0.0.43-nightly.20260923.2150...v0.0.43-nightly.20260923.2173

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.43-nightly.20260923.2173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XL 500-999 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant