Policy simulator

Watch the rules decide.

A deterministic run of the policy's evaluation contract: matching, the approval-or-quota gate, booking windows, sanctions, capacity with a priority-sorted waitlist, displacement, and go-show at departure. Every verdict names the rule that fired — the rules do the arguing. Nothing is uploaded; it runs entirely in your browser.

Running against the reference starter policy (0 rules) — build your own in the wizard and return.

The preset walks nine travellers through every gate: confirmations on both channels, an approval missing, a quota exhausted, a sanction, a window miss, and a medevac that displaces the lowest priority on a full manifest. Cancel a seated traveller, then run departure to watch go-show refill the seat.

Add a traveller

This simulator implements the policy JSON's evaluation contract. The same contract, run by a booking engine, is what decides real bookings — deterministically, with a plain-English reason for every denial.