# Openfront Tour Guide

> Tours, departures, online booking, waivers, check-in, guides, resources and channels in source you own.

From the departure to the guide's payout.

## At a glance

- 45 models from the tour catalog to guide payouts
- 9 MCP data tools that run as the signed-in user
- 22 named operations; every hold, booking and check-in locks the departure

## Links

- [Product overview](https://spec.openship.org/tour-guide): every area and feature on one page
- [Live demo](https://tour-guide.openship.org)
- [Documentation](https://docs.openship.org/docs/openfront/tour-guide)
- [Source code](https://github.com/openshiporg/openfront-tour-guide)
- [Feature film](https://spec.openship.org/tour-guide/video): a 27-second walk through every area

## Areas

### Departures

- **Schedules that become departures**: Tours carry schedules that generate departures with capacity, minimums and the number of guides they need. Seats are recounted under a lock on every change.
- Walking, food, water, bike, day-trip, multi-day and private tours.
- Departures run from scheduled to on sale, confirmed, full and completed.
- A departure that misses its minimum is flagged.
- Departures can be resized or closed.

### Booking

- **Book a departure in a few taps**: Guests pick a date, ticket quantities and add-ons, hold seats for ten minutes, name the participants and pay by card.
- Bookings snapshot ticket names, prices, add-ons, tax and discount.
- Guests look up a booking by code and email.
- Guests can cancel under the saved policy.
- Credit from a cancellation can be used to rebook.

### Guides

- **Guides assigned without double booking**: Guides are offered assignments as lead, assistant or driver and accept or decline them. Availability and certifications are checked first.
- Guides are paid per tour or hourly.
- Payouts are drafted, approved and paid.
- Certifications carry an expiry date.
- Assignment overlaps use half-open intervals.

### Resources

- **Vans, kayaks, bikes and boats**: Tours that need equipment reserve vans, kayaks, bikes or boats per departure, with the same overlap check as guides.
- Resources are active or in maintenance.
- Each resource assignment runs under its own lock.
- Operational tasks track the work around a departure.
- The Today view shows what runs next.

### Check-in

- **Waivers signed before the meeting point**: Participants sign waivers from a link. Guides check them in on a mobile manifest or mark a no-show.
- Waiver templates are versioned.
- Medical notes are readable only with a permission.
- Manifest reads are audited.
- Waiver and rebook links are verified on the server.

### Refunds & channels

- **Weather cancellations refund in full**: Refunds follow the policy saved at booking, in the tour's time zone. Cancelling for weather refunds every booking in full.
- Refunds above the threshold need approval from another user.
- Reseller channels book through their own operation.
- Channel statements are generated per period.
- Online, phone, walk-up and reseller bookings are kept apart.

### Developer

- **A tour operation in your repository**: Next.js 16, Keystone 6.5 and PostgreSQL. Every state change writes an audit event and every money-moving operation takes an idempotency key.
- 45 models from the tour catalog to guide payouts.
- 22 role permissions.
- Nine MCP data tools that run as the signed-in user.
- Raw writes to command-only lists such as bookings are denied.
