# Openfront Comedy Club

> Shows, lineups, ticketing, table seating, the door, drink minimums and comedian pay in source you own.

From the lineup to the nightly close.

## At a glance

- 43 models from the show calendar to the nightly close
- 15 MCP tools, six of them for the club
- 10 minute holds, so no seat is sold twice

## Links

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

## Areas

### Calendar

- **Eight weeks of shows from one template**: Weekly show templates generate eight weeks of shows and are safe to run twice. Headliner runs cover Thursday to Sunday with a run fee.
- Rooms are table seating or general admission.
- Sections and tables sit on a floor map.
- Shows run from draft to on sale, sold out, doors open and settled.
- Pausing and resuming sales are their own operations.

### Lineups

- **A lineup with its fees fixed at booking**: Lineups carry host, opener, guest set, feature and headliner, with set lengths and running order. Each show has one host and one headliner.
- Slots are offered, then confirmed or declined.
- A performed or no-show result is kept on the slot.
- Comedians have a default fee and payout method.
- A run can be closed as a whole.

### Selling

- **Tickets and tables, never sold twice**: Price tiers keep server-owned capacity counters. Holds last ten minutes, and checkout freezes the quote before taking payment through the adapter.
- Promo codes are percent, fixed amount or comp.
- Orders keep a copy of tier name, price, fees and tax.
- A payment the provider cannot confirm stays pending, never paid on a timeout.
- Sold-out shows have a waitlist.

### The door

- **The door admits a ticket once**: Check-in works by ticket code or scan token. A second scan returns duplicate and never admits twice, and a check-in can be undone.
- Comps count against capacity at zero cents.
- Large comps need approval.
- Comp reasons cover industry, press and service recovery.
- Parties are seated at one or more tables.

### Food & drink

- **A two-item minimum worked out at close**: Table checks carry the two-item minimum per guest, worked out at close from the numbers saved when the check was opened.
- Menu items are drink, food or non-alcoholic.
- Items can be voided from an open check.
- Waiving the minimum needs a second user's approval.
- Checks are open, presented, paid or voided.

### Open mic

- **Open mic, with a list and a lottery**: Open mic nights have a signup window, an online list, a bucket lottery and bringer spots, with arrivals recorded.
- Comics sign up from the public site.
- The lottery is run from the dashboard.
- Each signup is waiting, called, performed, skipped or withdrawn.
- Bringer arrivals are recorded at the door.

### The close

- **Close the night, pay the comics**: Closing a show creates comedian payouts and a settlement covering tickets, fees, discounts, refunds, food and drink, the minimum shortfall, tips, talent cost and net.
- Payouts are drafted, approved, then paid.
- Pay goes by check, ACH or Venmo.
- Refunds above a threshold need a second user's approval.
- Every state change writes an audit event.

### Developer

- **A club in your repository**: Next.js and Keystone 6 on PostgreSQL, with Stripe and manual payment providers. The club's MCP tools call the same mutations the dashboard uses, as the signed-in user.
- 43 models from the show calendar to the nightly close.
- 17 role permissions, from door to payouts.
- Order and ticket codes are random, never sequential.
- Scan tokens are stored only as hashes.
