trails/openspec/changes/planner-features/specs/crash-recovery/spec.md
Ullrich Schäfer c7c1c275df
Add 8 proposed changes and old trails analysis
Proposed changes (all with proposal, design, specs, tasks):
- app-navigation (9 tasks) — nav bars for both apps
- planner-landing-page (7 tasks) — standalone landing page
- planner-multiplayer-awareness (13 tasks) — participants, cursors, names
- changelog (13 tasks) — public changelog with "what's new"
- transactional-emails (15 tasks) — magic link + welcome emails
- planner-features (18 tasks) — no-go areas, notes, recovery, rate limits
- komoot-import (23 tasks) — Komoot tour import
- route-features (37 tasks) — sharing, multi-day, spatial, photos

Also adds docs/old-trails-analysis.md with feature analysis from the
older trails project.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 03:57:20 +01:00

453 B

ADDED 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