# Fill busted after settlement

Injected failure: fill busted after the verdict settled. The trade settles as PASS; two days later the broker busts the fill. The reversal record re-verifies the trade to FAIL.

Failure mode `reversed_after_settlement` 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 | A fill of this order was busted or corrected by the broker |

## Place a trade

Scenario `trade/reversed_after_settlement`: fill busted after the verdict settled. The trade settles as PASS; two days later the broker busts the fill. The reversal record re-verifies the trade to FAIL.

### What the agent reported

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

- `GET /broker/products/TSLA-USD`: 200
- `POST /broker/orders`: 200
- `GET /broker/orders/ord_TSLA-USD_1`: 200
- `POST /crm/notes`: 200

### What the systems of record showed

Records written after the action:

- broker `order_created` on TSLA-USD (order_id=ord_TSLA-USD_1, side=BUY, quote_value=900, status=FILLED)
- broker `order_filled` on TSLA-USD (order_id=ord_TSLA-USD_1, side=BUY, filled_value=900, filled_size=3.4351145, average_filled_price=262)
- crm `note_added` on TSLA-USD (author=lab-agent, text=BUY 900.0 USD of TSLA-USD)
- broker `order_reversed` on TSLA-USD (order_id=ord_TSLA-USD_1, trade_type=REVERSAL, actor=broker)

The oracle, reading the databases directly: outcome FAIL, policy FAIL: reversed: fill busted.

### The verdict and why

FAIL — A fill of this order was busted or corrected by the broker (outcome FAIL, policy FAIL).

- reversal, broker.order_reversed observed within 7d of the action, undoing it: A fill of this order was busted or corrected by the broker

First check, on what the connectors had read then: PASS — all 3 expected effects observed within 10m; preconditions, limits and prohibitions respected. The verdict above is from the re-check that followed.

## 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, Fill busted after settlement](https://commitlayer.ai/lab?workflow=trade&failure=reversed_after_settlement)

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

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