The demo product is a lightweight order orchestration service for digital purchases. It exists to demonstrate AI-augmented quality workflows against a small but realistic system with contract drift and validation defects.
- An order must contain at least one line item.
amountmust be strictly greater than zero.discountcannot exceedamount.- The order summary must compute
final_total = amount - discount. - Orders start in
draft, may move toconfirmed, and can then move tofulfilledorcancelled. - Status transitions must be validated server-side.
- API responses must return deterministic JSON payloads for reporting workflows.
- Validation drift between spec and implementation
- Summary calculation regressions after discount changes
- Missing status transition guardrails
- Weak contract enforcement in downstream consumers
- Extract requirements from this document and cross-check them against the OpenAPI contract
- Generate contract and negative tests from the business rules
- Detect seeded mismatches through grounded evidence
- Produce a release-readiness report with actionable findings