What happened
A booking system for a resort. The calendar works, payments are connected, the count is accurate. Then a booking for a couple: one room or two? And who goes into 101 with the view, and who into 103 by the stairs?
The word "room" meant something in this business that the AI couldn't know. The resort owner caught it, without a line of code, because he knew what a room is. It isn't the AI's mistake. It's a decision about the data model that nobody made before the first screen.
The decision. Two answers, two prices.
Room type
You sell "double" or "family". The physical room is assigned later.
The price. You manage inventory per type, and assign a room only afterwards. You need to prevent overselling, and decide who assigns and when.
A specific room
Every room is a record. The customer books 101.
The price. No overselling, but no flexibility: a room under renovation is a hole in the calendar, and you can't sell "a double room" without picking which.
There is no right answer. There is an answer someone made, and an answer the system made for them.
What the decision leads to
One decision, four places. This is what changes in each of them, whichever answer is chosen.
The data modelBefore the first screen. Changing it once there are bookings means touching every existing booking.
The inventoryA count by type, or a calendar by room. Two different things, with two different kinds of bugs.
What the customer choosesA type or a room. That's the screen, the price, and the promise.
What happens when two people want the last oneConcurrency. A decision this decision leads to, and it isn't going anywhere.
What was proven, and what not yet
This is how you know it holds:
Two customers book the last room at the same moment: one gets it, the other sees "taken"
A room under renovation isn't sold, and isn't counted
Changing the type of an existing room doesn't break existing bookings
Without the decision, this is what hasn't been proven yet. With the decision, this is the handover verification list.
Who decides
The decision belongs to the product owner, together with whoever builds, because it sits exactly on the line between the business and the code: what the word means for you, and what it requires from the system. The piece the system was missing was the knowledge of the business. The piece the resort owner was missing was knowing this was a moment to decide, and what to ask.