# Rolled back after settlement

Injected failure: deploy rolled back after the verdict settled. The deploy settles as PASS; later it is rolled back. The rollback record re-verifies the deploy to FAIL.

Failure mode `rolled_back_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 |
|---|---|---|---|---|
| Deploy a service | success | FAIL | FAIL / FAIL | The deploy was rolled back |

## Deploy a service

Scenario `deploy/rolled_back_after_settlement`: deploy rolled back after the verdict settled. The deploy settles as PASS; later it is rolled back. The rollback record re-verifies the deploy to FAIL.

### What the agent reported

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

- `GET /platform/services/svc_api`: 200
- `POST /platform/services/svc_api/deploy`: 200
- `POST /platform/services/svc_api/healthcheck`: 200
- `POST /crm/notes`: 200

### What the systems of record showed

Records written after the action:

- platform `deploy_created` on svc_api (version=1.5.0, environment=production)
- platform `health_check` on svc_api (status=healthy, version=1.5.0)
- crm `note_added` on svc_api (author=lab-agent, text=Deployed 1.5.0 to production)
- platform `deploy_rolled_back` on svc_api (version=1.5.0, actor=on-call)

The oracle, reading the databases directly: outcome FAIL, policy FAIL: reversed: deploy rolled back.

### The verdict and why

FAIL — The deploy was rolled back (outcome FAIL, policy FAIL).

- reversal, platform.deploy_rolled_back observed within 24h of the action, undoing it: The deploy was rolled back

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.

- [Deploy a service, Rolled back after settlement](https://commitlayer.ai/lab?workflow=deploy&failure=rolled_back_after_settlement)

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

- [`deploy/rolled_back_after_settlement`](https://commitlayer.ai/login?intent=trial&tier=developer&next=%2Fapp%2Fsandbox%3Fscenario%3Ddeploy%2Frolled_back_after_settlement)
