feat: trip persistence — save / list / view saved trips #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/trip-persistence"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Built trips now persist and are listable per account (FR-PRES-14/17).
Changes
TripStoreport (save/get/list, owner-scoped) +TripSummary;mem(MemTrips) + Postgres (trips table, migration 0002, JSONB) impls.Tripscapability gainssave_trip/list_trips/get_trip(gated).AppContextgainstrips_store.save_trip→ redirect/trips/:id;GET /trips(list),GET /trips/:id(saved trip, owner-scoped).Verification
just qagreen. Mem test: owner-scoping (list/get isolation, anon gated). Real Postgres integration: save→get→list, cross-owner denied, status→Saved. Live: build →/trips/1→ list shows "Voyage #1 — 2 étapes · ≈ 500 €".Traces: FR-PRES-14/17, FR-ACC-09 · tech-spec 02.