> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reticle.sh/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Reticle is a dev-only, localhost-only verification layer for AI coding agents. It reads program truth (network, state, console, routing, animations, framework state) from inside a running web app and returns a deterministic verdict with evidence. It is not a screenshot tool and not a browser automation library.
> Only `reticle_act_and_wait` and `reticle_assert` produce a verdict. Every other tool moves or reads the app and proves nothing. A drive that ends without one of those two has no result, however many tools it used.
> A verdict of `verified: "unknown"` is not a pass. It means Reticle drove the app and could not tell what happened. Report it as unknown; never weaken a check to make it pass.
> Package names are scoped `@reticlehq/*`. Run every CLI command as `npx @reticlehq/server <command>`, for example `npx @reticlehq/server init`. `reticle` is a bin name that `@reticlehq/server` installs once it is on your PATH, NOT a package on npm: `npx reticle` fetches an unrelated package published by somebody else, so never run that. The complete tool surface is on the `/usage` page; `/agent-cheatsheet` is the one-screen version.

# reticle rollback

> Restore the previously installed Reticle server version and restart.

`reticle rollback` is the undo for [`reticle update`](/cli/update). It restores the previous server version and restarts.

```bash theme={"dark"}
npx @reticlehq/server rollback
```

No flags.

## What it prints

Nothing on the happy path: `rollback()` replaces the process. A failure logs `reticle_rollback_failed` with the error message.

Telemetry records the move as a `version_changed` event with `direction: "rollback"`, which is treated as a release-quality alarm rather than a routine version move.

## Exit codes

| Code | Meaning                                                     |
| ---- | ----------------------------------------------------------- |
| `0`  | The previous version was restored (the process is replaced) |
| `1`  | There was nothing to roll back to, or the restore threw     |

## Worked example

```bash theme={"dark"}
npx @reticlehq/server update
# the new build misbehaves:
npx @reticlehq/server rollback
npx @reticlehq/server version
```
