trails/openspec
Ullrich Schäfer e1e3dc5c81
openspec: revise route-surface-breakdown — add async Overpass backfill + SSE
Builds on the merged A-only proposal. Broadens the capability:
- breakdown now on routes AND activities;
- Path 1 (sync) unchanged: BRouter waytags → breakdown at Planner save;
- Path 2 (async): a `surface-backfill` pg-boss job map-matches geometry to OSM
  via Overpass for imports/uploads/older rows, stores the breakdown, and pushes
  a `surface_breakdown` SSE event so an open detail page fills in live;
- privacy note: backfill sends geometry to Overpass → route via the proxy /
  self-hostable Overpass; documented in the manifest.

Validates with `openspec validate --strict`. Specs only; no code.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 17:54:50 +02:00
..
changes openspec: revise route-surface-breakdown — add async Overpass backfill + SSE 2026-06-14 17:54:50 +02:00
specs openspec: archive profile-stats + profile-weekly-distance, sync specs 2026-06-14 16:34:06 +02:00
CAPABILITIES.md openspec: archive profile-stats + profile-weekly-distance, sync specs 2026-06-14 16:34:06 +02:00