H1Trips Closure Tab
status: active closure log
last_updated: 2026-04-30
This file holds completed Trips notes that should no longer crowd the active Human Layer checklist. Keep active checks in human-layer-checklist.md; move completed, verified, or revision-ready notes here after the wording pass.
H22026-04-30 - BookingBundle Execution Closure
status: partial / pending migration deploy + browser verification
- added
BookingBundleandBookingItemmodels to Prisma schema. BookingBundlelinks to Trip and Project; captures pricing snapshot, hotel policy, and FareHarbor references.BookingItemtracks individual execution items (ground services, hotel, etc.) with independent confirmation status.- created
requestBooking.actions.ts:requestBooking(),confirmBookingItem(),updateBookingBundleStatus(). - created
BookingBundlePanel.tsxUI component for trip detail page. - Prisma Client + Zod schemas regenerated.
- still open:
prisma migrate deployto remote database; integrate panel into trip detail page; browser verification.
H22026-04-30 - Offer Bridge Closed: Hotel Rows In Line Items + Hotel Policy
status: partial / pending browser verification
mapTripPricingToLineItems()no longer filters out all hotel rows; now includes them when trip start is>40 daysaway.- added
computeHotelPolicy():>40 days until start→managed_blocked_inventory,≤40 days→external_links_only. - hotel line items get
unitLabel: "room",unitType: "per_night", andhotelPolicyembedded in meta. - updated all 4 call sites:
[tripId]/page.tsx,trip-detail.commands.ts,trip-offer.actions.ts,quoteTripJoin.actions.ts. - ESLint passes clean.
- still open: UI wiring to show/hide hotel controls based on policy; browser verification of offer preview with hotel rows.
H22026-04-30 - FareHarbor Lightframe Wired On /trips Experience Cards
status: partial / pending browser verification
- added FareHarbor Lightframe Script at component level in
TripFeaturedExperiencesSection.tsx. - both the direct-booking band and the main experience cards grid now benefit from
autolightframe=yesinterception. - experience card booking buttons (
data-fh-account,data-fh-item-id,data-fh-flow-id) will open FH modal instead of redirecting away from/trips. - ESLint passes clean.
- still open: browser verification on staging surface; BookingBundle execution model not yet implemented.
H22026-04-28 - Source Sheets And Trips Defaults Aligned
status: completed / pending wording revision
- checked the Molino Index section source sheets for
dev,story,craft,practice,experience,travel, andeducation; each has aMolino⺢Sectiontab. - corrected stale or malformed source-sheet routes affecting practice contact, experience partner/network routing, and travel/education planner CTAs.
- ran the Molino Index sync and confirmed all seven sections completed with
0 failed. - enhanced Trips fallback/default copy and visual fallbacks while preserving the section-builder and editable-section flow.
H22026-04-29 - Trips Landing And Edit Permissions Inspection
status: partial / active follow-up
- inspected the older landing reference at
https://latest-aelib.vercel.app/. - inspected local
/trips,/trips/1, and/trips/1/edit. - confirmed the current
/tripssurface is builder-backed and already carries planner, trip, city, experience, and FareHarbor-style paths. - added the edit-route permission rule: trip edit bootstrap and update actions now require owner access, with admin override for
ADMINrole orzaruqsummers@gmail.com.
Open follow-up: the visual landing convergence remains active. The old reference establishes the final section cadence; the current implementation should keep the section editor and modern planner/assistant value while upgrading the production landing finish.
H22026-04-29 - Trips Booking And Offer Bridge Runtime Fixes
status: completed / pending visual convergence
- added booking metadata to the Trips featured-experience read model so public experience cards can open FareHarbor from inside
/trips. - added a direct-booking band to the featured experiences section and verified locally that booking stays on
/tripswhile opening the FareHarbor lightframe path. - made the final Trips CTA section always expose a visible
/studiobridge even when saved builder content does not currently carry that CTA. - replaced the broken trip-detail offer attach placeholder with a readable offer bridge that points into real project offer routes.
- removed the public trip-detail dependency on edit bootstrap access, so
/trips/[tripId]can render for public readers again while edit authority stays locked.