Skip to content
Rankator FR

RKT-Book specification v1.0

The exact text handed, word for word, to every tool in protocol N1. RKT-Book is a fictional booking service: it has no real data and no real payment.

The specification is written in English: this text, and only this text, is handed to the tools and carries the checksum.

SHA-256
792203f2fe89b56e0a417c05e4e213c436694f83db8842618af0d165b20cc7f0
Published
1 Dec 2026
File
rkt-book-spec-v1.0.en.md

To check the file, compute its checksum, for example with sha256sum: it must print the value above.

Download the specification (Markdown) .md

Text of the specification

# RKT-Book — application specification v1.0 (fictional service, test data only)

Build a small web app called "RKT-Book": a fictional service for booking time slots at a workshop. The interface is in English. There is no real data and no real payment.

## Requirements
- EX-01 Public home: `/` returns 200; page title "RKT-Book"; a "Book a slot" button leads to the slot list.
- EX-02 Sign-up: email + password (at least 8 characters); an email already taken is refused with a message; after sign-up the user is logged in.
- EX-03 Log in and log out: log in with email + password; a wrong password shows a message and does not log in; logging out returns to the home page.
- EX-04 Slot list: the 12 seed slots (see Seed data) with date, time and remaining places; filter by date (3 dates).
- EX-05 Slot detail: `/slots/{id}` shows date, time, capacity, remaining places and a "Book" button (disabled when the slot is full).
- EX-06 Booking form: name (required), email (valid format), number of people (1 to 4, and not more than the remaining places), note (optional, at most 280 characters); each error is shown next to its field.
- EX-07 Internal fake payment: a `/pay` page hosted by the app itself (no external payment provider): 10.00 USD per person; card `4242 4242 4242 4242` is accepted; card `4000 0000 0000 0002` is declined with a message and no booking is created.
- EX-08 Confirmation: after an accepted payment, a confirmation page with a booking number; the slot's remaining places go down by the number booked.
- EX-09 My bookings: `/my-bookings` shows only the bookings of the logged-in user.
- EX-10 Isolation: the direct URL of another user's booking shows none of their data (refusal or 404).
- EX-11 Protected pages: `/my-bookings` and `/pay` without being logged in redirect to the login page.
- EX-12 Legal page and 404: `/legal` (fictional publisher); an unknown address returns 404 with a link to the home page.

## Seed data
- 12 slots `S01` to `S12` over 3 dates (4 per date), at 10:00, 11:00, 14:00 and 15:00; capacity 4, except `S07` = 2 and `S11` = 0 (full).
- 2 accounts `user-a` and `user-b` (addresses on a test domain), each with one existing booking (`S02` for A, `S05` for B).

## Rules
Use only the tool's native features and official integrations; no hand-written code outside the tool.

Back to protocol N1 v1.0