Harden the install/update flow and offline strategy so users experience safe refresh timing, reliable caching, and clear states when the app transitions between online and offline conditions.
- Affected files: app/frontend/src/components/PWAHandler.tsx, app/frontend/src/app/layout.tsx, app/frontend/src/app/offline/page.tsx, app/frontend/src/app/manifest.ts, app/frontend/public/sw.js, app/frontend/src/app/page.tsx, app/frontend/src/components/ErrorReportingShell.tsx, app/frontend/README.md
- Acceptance criteria:
- Installation and update prompts appear only in eligible contexts and are dismissed without breaking navigation.
- Offline fallback pages are shown gracefully when cached routes are unavailable.
- Cache/versioning strategy is documented and aligned with deployment behavior.
Harden the install/update flow and offline strategy so users experience safe refresh timing, reliable caching, and clear states when the app transitions between online and offline conditions.