- 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>
545 B
545 B
Purpose
Authentication for the Journal app, including OAuth token storage for external services in the sync_connections table.
Requirements
Requirement: Store external service tokens
The journal auth system SHALL store OAuth tokens for external services alongside user credentials.
Scenario: Wahoo token storage
- WHEN a user connects their Wahoo account
- THEN access token, refresh token, expiry time, and Wahoo user ID are stored in the
wahoo_tokenstable - AND tokens are associated with the journal user ID