Demo script

Pricing and sanity math is deterministic, so each input reliably reproduces its branch.

Scenarios

1. Happy path

40HC, qty 5, 0% discount

2. Validation error loop

any item, 45% discount

3. Reprice loop converges

20DV, qty 200, 8% discount

4. Breach escalation

20DV, qty 200, 20% discount

5. Cap-exceeded escalation

20DV, qty 600, 20%+ discount

6. Revise-draft loop

any item, terms Net 45

7. Sales rejection loop

reject at the approval gate