Verified the 2026-05-15 disconnect() fix end-to-end on emulator-5556: mitra logs in → online → accepts blast → backend force-expires → goodbye composer renders → back-press → lands on Bestie Home with online status preserved, zero flutter:E in logcat. - ts-mitra-3-08-back_press_after_session_expired_no_red_screen.yaml codifies the repro for Maestro. Extends ts-mitra-3-04 with the back-tap + home-assertion + red-screen guard. - mitra_app/CLAUDE.md adds a Pitfall section beneath the existing "no ref in dispose" rule: never mutate notifier state synchronously from deactivate() cleanup — wrap in SchedulerBinding.addPostFrameCallback or Riverpod throws "Tried to modify a provider while the widget tree was building" during the back-nav teardown. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mitra_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.