Saboteur duel

apps/shop at http://localhost:4173 · red and blue are both Claude · Kane CLI is the referee · run 2026-11-19T04-28-01Z
Red 3:Blue 3

Red scores for every bug that slips past the suite. Blue scores for every bug the suite catches, and for every hole closed with a test Kane proves. The suite grew from 18 to 21 tests.

Round 1
Cart badge counts distinct products instead of total quantity
The header cart badge shows how many different products are in the cart, not how many items. Adding the same product twice still shows 1, so shoppers lose track of how many items they have.
RED found a hole, BLUE closed it with a Kane-proven test
new test cart_badge_counts_total_quantity_test.md, attempt 1
1 : 1
Round 2
Free-shipping threshold checks the subtotal before the discount
An order whose subtotal is $50 or more but drops below $50 after SAVE10 wrongly gets free shipping, so the customer is undercharged by $5.00.
RED found a hole, BLUE closed it with a Kane-proven test
new test save10_drops_below_free_shipping_threshold_test.md, attempt 1
2 : 2
Round 3
Sign out leaves the customer signed in
After pressing "Sign out" on the account page, the header still shows "Signed in as demo@saboteur.shop", so the customer appears to still be logged in until they refresh the page.
RED found a hole, BLUE closed it with a Kane-proven test
new test sign_out_clears_signed_in_header_test.md, attempt 1
3 : 3