# Durability levels

> L0, L1 and L2 — what survives a crash.

Each branch has a durability level. The level decides where its write-ahead log goes, and therefore what survives a failure.

| Level | Promise | Typical use |
|---|---|---|
| **L0** (available) | After a crash, the branch is reset to its latest checkpoint (or its original source if it has none). Changes after that checkpoint are lost. | RL episodes, evaluations, CI, scratch work |
| **L1** (planned) | Host crash with the disk intact: no loss. Losing the host or its disk: usually less than the last second. | Development, previews, most agent apps |
| **L2** (planned) | No confirmed commit is lost if any single host is lost. | Agent long-term memory, data you must keep |

Today only **L0** is available. Requests for `L1` or `L2` return `501 not_implemented`.

When an L0 branch is recovered, its `state_reason` says which checkpoint it was restored from. Take checkpoints at the points you want to be able to return to.
