Claude Code
Building
stale-cart
match · seed 12 · Claude Code● in play
buildbaselinechaoscatchhealverifydeploy
buildbaselinechaoscatchhealverifydeploy
Hidden from builder
The planted bug: Stale cart state. Remove mutates the cart array in place, so React never re-renders and the removed item lingers.
components/Checkout.tsx@@ -45,7 +45,11 @@}function remove(sku: string) {- setLines((current) => current.filter((l) => l.sku !== sku));+ setLines((current) => {+ const index = current.findIndex((l) => l.sku === sku);+ if (index >= 0) current.splice(index, 1);+ return current;+ });}async function pay(details: PaymentDetails): Promise<{ ok: true } | { ok: false; error: string; errors?: FieldErrors }> {
What the builder got

✕ step 11 · wait: Waiting because the Field Notebook Remove control cannot be activated
The cart's Remove control for Field Notebook did not update the cart after the agent selected it. The cart still showed all three products, leaving the run unable to reach the required cart state. Fix the Field Notebook Remove control so that it removes that line item and refreshes the cart count and totals. Then rerun the checkout flow from the two-item cart checkpoint. evidence: objective_contradiction: press_key: PRIMARY: activate the focused "Remove" control for "Field Notebook" in the …
- 2 fresh main passes
- holdout passed
- specs intact
- source unchanged since verify
Ground truth · oracle
| check | baseline | chaos | final |
|---|---|---|---|
| main | pass | fail | pass |
| holdout | pass | pass | pass |
| invalid-email | pass | pass | pass |
| double-click | pass | pass | pass |