Enrichment delivery backlog
Status: Implementation and local verification complete 2026-11-14. PR CI passed all nonvisual checks, including live PostgreSQL migrations; reviewed macOS baseline corrections await an independent CI rerun. See validation for evidence. [P] marks independently executable work.
Completed research
- [x] T001 Audit existing descriptions, provider ingestion, destination models, API responses, and rendering.
- [x] T002 Verify Recreation.gov export members and sampled detail/media schemas with public read-only requests.
- [x] T003 Verify California catalog/park-information routes and record access/evidence limits for other providers.
- [x] T004 Write proposed behavior, implementation sequence, and validation gates.
- [x] T017 Probe all ten UseDirect deployments: park details, dated-search narratives, public park/facility image paths, placeholder URLs, missing assets, and source scope. Record the provider matrix.
- [x] T018 Verify ReserveAmerica facility details for three contracts, original-photo loading for two destinations, valid empty galleries, and alternate-rendition/path behavior.
- [x] T019 Verify the official Washington park-gallery fallback, one image response, and an explicit native booking-ID link; keep native media support unverified.
Phase 1: Design and shared foundations
- [x] T020 Complete clarification, UI/UX, schema, API contract, and validation artifacts in this feature directory; record reviewer checklist without claiming user approval.
- [x] T021 Add failing shared DTO/persistence regressions in
tests/providers/test_destination_details.pyand migration tests intests/db/test_destination_details.py. - [x] T022 Implement
src/camply/providers/details.py, nullable model fields insrc/camply/db/models/{campgrounds,recreation_area}.py, and a forward migration undersrc/camply/db/migrations/versions/. - [x] T023 Implement bounded/freshness-aware cached refresh helpers in
src/camply/providers/enrichment.py, provider extension inbase.py, and post-catalog calls insrc/camply/cli/db.pyandsrc/camply/worker/engine/catalog.py; test failure retention and workflow dispatch.
Phase 2: US1 — Recreation.gov photos and practical details
- [x] T005 Verify archive destination discriminators and member semantics against public source data; document evidence and coverage limits in
research.md. - [x] T006 Measure bounded
ijsonparsing memory/runtime and record the result inresearch.md; manage dependency through rootpyproject.toml/uv.lockvia uv. - [x] T007 Add failing synthetic archive regressions in
tests/providers/test_recreation_gov_enrichment.pyfor collisions, ordering/cap, missing members, malformed/empty snapshots, and failures. - [x] T008 Verify ordinary catalog merge preservation and SQLite/PostgreSQL migration compatibility in shared foundation tests.
- [x] T009 Implement cached-export enrichment in
src/camply/providers/recreation_gov/enrichment.pyand its provider extension; retain narrative fields, media, links, activities, and successful freshness. - [x] T010 Add
CampgroundDetailand area details insrc/camply/server/{models/campgrounds,routers/campgrounds,routers/recreation_areas}.py, focused API regressions, and regeneratesrc/frontend/lib/api/generated/schema.tsthroughtask api:generate.
Phase 3: US1 — Destination UI [P]
- [x] T011 [P] Write failing gallery/detail tests then implement
src/frontend/components/DestinationDetails.tsx, typed structs/API returns, and integration inpages/{Campground,RecreationArea}.tsx, followingui-ux.md. - [x] T024 [P] Verify keyboard/focus, safe narrative/link rendering, captions/provenance, broken/all-broken media, own-versus-parent association, and enriched desktop/mobile themes with synthetic frontend fixtures.
Phase 4: US3 — Additional verified providers [P]
- [x] T013 [P] Add failing synthetic tests then implement
src/camply/providers/usedirect/enrichment.pyand provider extension for all ten deployments. Skip placeholder limits/URLs and dated narrative searches; validate static image content and exact entity identity. - [x] T014 Discover actual UseDirect destination photo requests and associations: park images across all ten deployments and facility images in five deployment samples. This verifies image paths, not universal coverage or multi-photo galleries.
- [x] T015 [P] Add failing tests then implement
src/camply/providers/reserve_america/enrichment.pyand provider extension using existing session handling. Cover escaped paths, distance-qualified amenities, schema completeness, valid empty galleries, and failure retention. - [x] T016 Record native GoingToCamp/official-site integration as explicitly deferred scope in
spec.mdandprovider-matrix.md; no unverified scraping is required by this release.
Phase 5: Verification and convergence
- [x] T012 Run project quality/docs/test/migration/visual gates, record actual outcomes and limitations, and update
docs/CHECKLIST.mdplus current architecture/operations guides. - [x] T025 Run
/speckit-convergeagainst all implemented requirements and tasks, append/fix any gaps, and repeat until Converged for feature scope; record environment-dependent release checks separately invalidation.md. - [x] T026 Inspect macOS CI failures, verify source artifact identity, and replace only the 12 affected Linux-generated baselines with reviewed macOS captures; retain existing visual comparison thresholds and unrelated baselines.
Carousel and layout amendment (2026-11-14)
- [x] T027 Replace the thumbnail grid with an Embla single-photo carousel and overlaid controls, preserving full-screen viewing, attribution, failure handling, and destination resets; verify buttons, keyboard wrap, horizontal swipe/drag, reduced motion, and one-photo behavior.
- [x] T028 Place “Know before you go” after the overview/map on both destination pages; preserve the overview without enrichment and verify section order.
- [x] T029 Run frontend quality/tests and inspect affected desktop/mobile light/dark captures; update visual baselines, validation evidence, and the global checklist.
- [x] T030 Verify the first PR CI artifact identity, inspect all ten macOS carousel captures, and align only those baselines with the CI platform; retain all comparison thresholds and unrelated views.
- [x] T031 Apply the PR review refinements: show captions without credit/source lines in both views, show the photo count only in the opened dialog, and update regressions and affected visual baselines.
Dependencies and independent checks
T020 precedes all code. T021 must fail before T022; T022 precedes T023. After that contract, Recreation.gov, the frontend, and the other provider adapters can run independently in their separate files. T007 precedes T009; T010 depends on T022, and UI integration depends on T010's agreed contract. Each provider's synthetic HTTP tests precede its adapter. Final checks and convergence follow all release implementation tasks. Reviewer-owned checklists/ux.md stays unchecked for user review; the user has already instructed this complete process to proceed through implementation.