- Add ## Purpose sections and convert delta headers to ## Requirements on all 25 specs - Add SHALL keywords to requirements missing them (gpx-import, planner-session, planner-journal-handoff) - Convert prose GPX format section to proper scenarios (no-go-areas) - Create specs/ delta files for 7 changes that were missing them (activity-photos, local-dev-stack, multi-day-routes, route-discovery, route-sharing, visual-redesign, waypoint-notes) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
557 B
557 B
Purpose
Browser crash resilience via localStorage-based Yjs state persistence and recovery on reconnect.
Requirements
Requirement: localStorage crash recovery
The Planner SHALL periodically save Yjs state to localStorage and recover it on reconnect.
Scenario: Browser crash recovery
- WHEN a user's browser crashes and they reopen the session
- THEN unsaved changes from localStorage are merged with the server state
Scenario: Clean exit
- WHEN a session syncs successfully
- THEN the localStorage backup is cleared