{"title":"Workflow Reliability Test Pack — free sample","version":"1.0.0","synthetic":true,"scope":"Three example scenarios. Not a security certification or a test of your live system.","license":"Use and adapt internally, including commercial projects. Do not redistribute or resell the pack.","cases":[{"id":"DUP-01","category":"duplicate-events","title":"Repeated payment webhook","rationale":"A repeated provider event must not dispatch a second delivery.","input":{"order":{"id":"order-demo","amount":1900,"currency":"USD"},"maxAttempts":3,"events":[{"id":"payment-event-1","type":"paid","orderId":"order-demo","amount":1900,"currency":"USD","verified":true,"paymentId":"payment-demo"},{"id":"payment-event-1","type":"paid","orderId":"order-demo","amount":1900,"currency":"USD","verified":true,"paymentId":"payment-demo"}]},"expected":{"actions":["dispatch_delivery","ignore_duplicate"],"status":"delivering","attempts":1,"fulfillments":0}},{"id":"PAY-02","category":"payment-order-mismatch","title":"Underpayment","rationale":"Compare integer minor units against the frozen order price.","input":{"order":{"id":"order-demo","amount":1900,"currency":"USD"},"maxAttempts":3,"events":[{"id":"payment-event-1","type":"paid","orderId":"order-demo","amount":1899,"currency":"USD","verified":true,"paymentId":"payment-demo"}]},"expected":{"actions":["reject_payment_mismatch"],"status":"awaiting_payment","attempts":0,"fulfillments":0}},{"id":"REC-01","category":"delivery-recovery","title":"Recovery with unknown delivery outcome","rationale":"Inspect an uncertain external outcome before deciding to redeliver.","input":{"order":{"id":"order-demo","amount":1900,"currency":"USD"},"maxAttempts":3,"events":[{"id":"payment-event-1","type":"paid","orderId":"order-demo","amount":1900,"currency":"USD","verified":true,"paymentId":"payment-demo"},{"id":"recover-1","type":"recover","attempt":1}]},"expected":{"actions":["dispatch_delivery","inspect_delivery"],"status":"delivering","attempts":1,"fulfillments":0}}]}