ShipGate is a deploy gate for a small storefront that runs six Kane CLI flows against the local build in a real browser; any fail exits 1 and nothing ships.
ShipGate is a deploy gate for a small storefront. npm run ship runs six Kane CLI flows against the local build in a real browser. Any fail exits 1 and nothing ships. All pass and the build pushes to GitHub Pages. The store sells a $25 hoodie, a $5 sticker pack and a $17.50 deploy token. Subtotal $47.50. Coupon KANE50 takes $5 off the whole order, so the correct total is $42.50. What Kane caught: the first version applied the $5 discount per line item instead of once per order. Three lines meant $15 off and a $32.50 total, a $10 leak. Kane caught it on the coupon-per-line flow. The fix was one line: discountCents = COUPON_DISCOUNT_CENTS; (commit a546bf9). Kane re-ran all six flows: 6/6 pass, $0 through. Proof: v1 coupon-per-line FAIL log, fix commit a546bf9, v2 6/6 PASS logs (07:02-07:49 UTC Nov 26), 18 unit checks pass, 565.82 Kane credits used.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →