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
Install
logicpacks pack use scheduling-public/booking-without-double-bookingget_pack scheduling-public/booking-without-double-bookingThe 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
- A booking holds a resource for [start, end); back-to-back is fine, overlap is rejected.
- Cancelled bookings free the slot.
- 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.