- Context
- A booking moves money and reserves scarce hangar space. Models are probabilistic, so letting one decide what is allowed or what gets committed would make results impossible to reproduce or audit.
- Decision
- A state machine owns the flow: gather, quote, hold, confirm, commit. The model extracts slots, chooses the next question and writes replies. It can propose a tool call, but code validates the arguments, checks policy and executes. Only the commit step changes a booking, and only after confirmation.
- Consequences
- Prices, fees and availability always come from the pricing and booking services.
- Every state transition is testable without a model.
- Adding a service means adding a state and a tool, not rewriting a prompt.
- Alternatives considered
- One autonomous agent controlling the whole flow (rejected: unbounded behaviour and hard to audit)
- A fixed form wizard with no language understanding (rejected: no better than the portal)