Skip to content

Packs / scheduling-public

booking-without-double-booking

Take bookings for a person or room with no double-booking, then export confirmed ones to .ics and CSV

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-scheduling-public

Install

logicpacks pack use scheduling-public/booking-without-double-booking
get_pack scheduling-public/booking-without-double-booking

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: stdlib-referencecalcomsaas
  • Checks: 2 in outcome/checks.yaml
  • Code: refflow.pyschema.json
  • Tools: python3, docker

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Take bookings for a person or room with no double-booking, then export confirmed ones to .ics and CSV. Our reference flow (code/refflow.py, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

Steps

  1. A booking holds a resource for [start, end); back-to-back is fine, overlap is rejected.
  2. Cancelled bookings free the slot.
  3. Export confirmed bookings as iCalendar (bookings.ics) and CSV.

Edge cases

  • Store times in UTC; show them in the viewer's zone.
  • End must be after start.

Don'ts

  • Don't put client phone numbers in the event title.

Check

lp pack check scheduling/booking-without-double-booking runs outcome/checks.yaml.