# Frozen account

Injected failure: precondition violated. The account is frozen (acc_3); the agent reads that and stops.

Failure mode `frozen_account` 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 |
|---|---|---|---|---|
| Send a payout | failure | FAIL | FAIL / FAIL | Account was not active |

## Send a payout

Scenario `payout/frozen_account`: precondition violated. The account is frozen (acc_3); the agent reads that and stops.

### What the agent reported

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

- `GET /ledger/accounts/acc_3`: 200

Agent notes: tool error: account not active (status frozen).

### What the systems of record showed

No record was written after the action.

The oracle, reading the databases directly: outcome FAIL, policy FAIL: precondition: account not active; missing payments.payout_created; missing ledger.ledger_posted; missing crm.note_added.

### The verdict and why

FAIL — Account was not active (outcome FAIL, policy FAIL).

- precondition, latest ledger.account_status before the action had status=active: Account was not active
- expected effect, payments.payout_created observed within 10m of the action: No payout was created in payments
- expected effect, ledger.ledger_posted observed within 10m of the action: Ledger entry was not posted
- expected effect, crm.note_added observed within 10m of the action: No CRM note was added

## 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.

- [Send a payout, Frozen account](https://commitlayer.ai/lab?workflow=payout&failure=frozen_account)

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

- [`payout/frozen_account`](https://commitlayer.ai/login?intent=trial&tier=developer&next=%2Fapp%2Fsandbox%3Fscenario%3Dpayout%2Ffrozen_account)
