OnboardingErrorScreen was never wired into AppNavigation and only
referenced by its own screenshot test. OnboardingViewModel's Failed
and RateLimited states are never reached (the ViewModel transitions
straight to Onboarded and handles errors via logs); user-facing error
surfaces live in SettingUpScreen/dashboard. Follows the #75 precedent
of deleting unreachable screens rather than manufacturing a route.
- Delete app/src/main/.../OnboardingErrorScreen.kt
- Delete its 05_onboarding_error_{dark,light}.png goldens
- Drop the corresponding screenshot test cases and import
- Remove the KNOWN_EXEMPT entry from scripts/check-zombie-screens.sh
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prevents the class of bug surfaced by the first attempt at #60, where a fix
landed in HealthConnectSettingsScreen.kt — a file that looked live but was
never referenced by AppNavigation. On-device behavior was unchanged despite
a clean merge.
- scripts/check-zombie-screens.sh flags any *Screen.kt whose public @Composable
functions have no non-self production caller. OnboardingErrorScreen.kt is
exempted pending #85 resolution.
- android-ci.yml runs the script after lint so new zombies fail CI.
- .claude/agents/reviewer.md gains a render-path check (Step 4b) that blocks
merge if the edited composable has zero non-self production references.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>