trails/openspec/specs
Ullrich Schäfer acb92b32fa Spec drift catch-up: URLs, settings split, navbar shape
Outcome of today's `/spec-drift-review`. Concentrated on the
high-and-medium-severity items; low-severity wording left for the
next per-feature change to pick up naturally.

High-severity URL fixes (specs were actively misleading):

- account-management — email-change verification URL was specced as
  `/auth/verify-email-change?token=...`; the actual route is
  `/auth/verify?email-change=1&token=...` (see auth.verify.tsx:8).
  A reader implementing against the old wording would build a link
  that 404s.
- observability — "Both apps SHALL expose a /metrics endpoint" was
  half right: the planner is at /metrics, but the journal exposes
  /api/metrics. The infrastructure spec already had the right URLs;
  the observability spec disagreed with itself. Now both correct,
  with a one-line note explaining the per-app split.

Medium-severity wording drift (Stream E aftermath):

- profile-settings, account-management, connected-services — all
  three said "the settings page SHALL include a [...] section",
  which described the old single-scrollable settings page. Stream E
  (PR #323) split /settings into four sub-pages
  (/settings/{profile,account,security,connections}); rewording each
  spec to point at its specific sub-page. The API endpoints
  (/api/settings/*) and behavior are unchanged.
- authentication-methods — passkey add/delete previously said "via
  the settings page"; now specifically /settings/security.

Code drift fixed inline:

- apps/journal/app/routes/auth.verify.tsx — after a successful
  email change, the redirect was going to `/settings#account` (an
  anchor on the OLD single-scrollable settings page). Stream E
  retired that page; the right destination now is
  `/settings/account`. Without this the user would land on
  /settings/profile (which is what /settings redirects to) instead
  of the page that just changed.

sse-broker spec wording:

- The "no buffering tweaks in the Caddy reverse_proxy block"
  scenario asserted the entry was "a plain `reverse_proxy
  journal:3000`". After PR #329 the journal block has
  `lb_try_duration 30s` / `lb_try_interval 250ms` — neither affects
  streaming, so SSE still works, but the spec's "plain" language
  was no longer literally true. Reworded to forbid only
  buffering-related directives; explicitly call out that
  retry-on-restart directives like lb_try_duration are fine.

Navbar consolidation (journal-landing):

- The shipped navbar's full shape was scattered: notifications said
  "navbar has a bell," explore said "navbar has an Explore entry,"
  but no spec described the avatar dropdown, the primary-nav
  cluster (Feed/Routes/Activities), or the mobile drawer (Stream
  C / PR #324). Added a "Top navbar shape" requirement to
  journal-landing covering all of it — anonymous vs signed-in,
  desktop vs mobile, dropdown contents, drawer behavior. The
  per-feature specs (notifications, explore) still own their own
  badges/entries; this requirement just says what the whole
  cluster looks like.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 21:19:02 +02:00
..
account-management Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
activity-feed Add Followed/Public toggle to /feed for signed-in users 2026-04-26 09:03:38 +02:00
authentication-methods Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
brouter-integration Archive relocate-brouter-to-dedicated-host 2026-04-24 18:35:37 +02:00
connected-services Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
crash-recovery Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
elevation-map-interaction Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
explore Include the demo persona on /explore so users can follow it 2026-04-26 11:43:24 +02:00
gpx-import Update specs: session-notes, route-coloring, gpx-import 2026-04-11 03:24:54 +02:00
infrastructure Archive relocate-brouter-to-dedicated-host 2026-04-24 18:35:37 +02:00
journal-auth Spec catchup: drift fixes, account-settings split, notifications archive 2026-04-26 02:02:43 +02:00
journal-landing Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
legal-disclaimers Realign legal-disclaimers spec with post-review implementation 2026-04-19 07:33:27 +02:00
local-dev-environment Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
map-core Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
map-display Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
multi-day-routes Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
no-go-areas Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
notifications Merge /follows/requests into /notifications as a tabbed inbox 2026-04-26 08:24:59 +02:00
observability Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
osm-poi-overlays Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
osm-tile-overlays Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
planner-journal-handoff Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
planner-session Fix all openspec validation errors (45/45 pass) 2026-04-12 22:41:51 +02:00
profile-settings Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
public-profiles Spec catchup: drift fixes, account-settings split, notifications archive 2026-04-26 02:02:43 +02:00
rate-limiting Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
road-type-coloring Add road type color mode to route visualization 2026-04-11 11:13:43 +02:00
route-coloring Update route-coloring spec with all 10 modes, create follow-up changes 2026-04-11 11:20:17 +02:00
route-drag-reshape Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
route-management Archive public-content-visibility 2026-04-24 21:57:21 +02:00
route-preview Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
route-splitting Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
secret-management Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
security-hardening Archive relocate-brouter-to-dedicated-host 2026-04-24 18:35:37 +02:00
session-notes Sync notes through GPX, Journal, and Planner roundtrip 2026-04-11 03:35:40 +02:00
shared-packages Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
social-follows Add Followed/Public toggle to /feed for signed-in users 2026-04-26 09:03:38 +02:00
sse-broker Spec drift catch-up: URLs, settings split, navbar shape 2026-04-26 21:19:02 +02:00
transactional-emails Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
wahoo-import Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00