trails/openspec/changes/archive/2026-03-28-route-features/specs/route-sharing/spec.md
Ullrich Schäfer 0a330e4466
Break up route-features into focused specs, add new changes
Archive the monolithic route-features spec and replace with 9 focused
OpenSpec changes: multi-day-routes, waypoint-notes (with POI snapping),
undo-redo, local-dev-stack, route-sharing, route-discovery,
activity-photos, osm-overlays, plus the existing changelog and
komoot-import.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 09:53:41 +02:00

1.1 KiB

ADDED Requirements

Requirement: Route visibility levels

Routes SHALL have a visibility setting controlling who can see them.

Scenario: Private route

  • WHEN a route's visibility is "private"
  • THEN only the owner can view it

Scenario: Public route

  • WHEN a route's visibility is "public"
  • THEN anyone can view it and export its GPX

Requirement: Share routes with specific users

Route owners SHALL be able to share routes with specific users at view or edit permission levels.

Scenario: Share with view access

  • WHEN owner shares a route with another user as "view"
  • THEN that user can see the route and export GPX but cannot edit

Scenario: Share with edit access

  • WHEN owner shares a route with another user as "edit"
  • THEN that user can start Planner sessions and create new versions

Requirement: Fork routes

Users SHALL be able to fork (copy) public routes to their own collection.

Scenario: Fork a public route

  • WHEN a user clicks "Fork" on a public route
  • THEN a copy is created in their collection with the original credited