# Wrong product

Injected failure: agent trades the wrong product. Told to buy 50 of ETH-USD, the agent buys ETH-USDC: the order exists, on a product nobody asked for.

Failure mode `wrong_product` of the CommitLayer failure matrix, on 1 of its 8 workflows. Each run below is the sandbox's scripted agent acting on the sandbox's fake systems of record under the injected failure, an oracle reading those systems' databases, and the verdict of engine 1.0.0 from the systems of record alone. The accounts, orders and amounts are the sandbox's and describe no real customer. Last changed 2026-11-13.

| Workflow | Agent reported | Oracle (policy) | CommitLayer (outcome / policy) | Why |
|---|---|---|---|---|
| Place a trade | success | FAIL | FAIL / FAIL | No order on the intended product was created at the broker |

## Place a trade

Scenario `trade/wrong_product`: agent trades the wrong product. Told to buy 50 of ETH-USD, the agent buys ETH-USDC: the order exists, on a product nobody asked for.

### What the agent reported

The agent reported success. Its calls, and what it saw come back:

- `GET /broker/products/ETH-USDC`: 200
- `POST /broker/orders`: 200
- `GET /broker/orders/ord_ETH-USDC_1`: 200
- `POST /crm/notes`: 200

Agent notes: traded ETH-USDC where ETH-USD was requested.

### What the systems of record showed

Records written after the action:

- broker `order_created` on ETH-USDC (order_id=ord_ETH-USDC_1, side=BUY, quote_value=50, status=FILLED)
- broker `order_filled` on ETH-USDC (order_id=ord_ETH-USDC_1, side=BUY, filled_value=50, filled_size=0.01470588, average_filled_price=3400)
- crm `note_added` on ETH-USDC (author=lab-agent, text=BUY 50.0 USD of ETH-USDC)

The oracle, reading the databases directly: outcome FAIL, policy FAIL: missing broker.order_created; missing broker.order_filled; missing crm.note_added.

Effects on a record the action never named: ETH-USDC:order_created.

### The verdict and why

FAIL — No order on the intended product was created at the broker (outcome FAIL, policy FAIL).

- expected effect, broker.order_created observed within 10m of the action: No order on the intended product was created at the broker
- expected effect, broker.order_filled observed within 10m of the action: The order did not fill: it was placed but no trade happened
- expected effect, crm.note_added observed within 10m of the action: No CRM note was added

Reported as effects with no action behind them: ETH-USDC:note_added, ETH-USDC:order_filled, ETH-USDC:order_created.

## Run it in the Failure Lab

The Failure Lab replays each run above: the agent's calls, the records the systems held and the verdict. No account is needed. The verdict comes from the production engine while you watch.

- [Place a trade, Wrong product](https://commitlayer.ai/lab?workflow=trade&failure=wrong_product)

The sandbox in the app runs the exact scenario in your own workspace, as a verified action:

- [`trade/wrong_product`](https://commitlayer.ai/login?intent=trial&tier=developer&next=%2Fapp%2Fsandbox%3Fscenario%3Dtrade%2Fwrong_product)
