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

# Review

> Inspect and manage code changes made by ami

After ami makes file changes, Review Mode shows every edit in a diff view.

Open it by clicking the file count badge in the top bar, or when the review panel appears automatically.

<Note>
  Review Mode only shows changes from the most recent assistant turn, not the
  entire thread history.
</Note>

## Features

* **Unified or split view:** Toggle between diff styles
* **File-by-file review:** Expand/collapse individual files
* **Mark as reviewed:** Track which changes you've looked at
* **Revert changes:** Right-click any file to undo that specific edit
* **Open in editor:** Jump to the file in the integrated editor

## The Review Bar

When ami edits files, the **Review Bar** appears above the chat box. Use this bar to accept or revert changes.

By default, all changes are applied. To reject a change, you must explicitly revert it.

### Actions

| Action              | Description                                  |
| :------------------ | :------------------------------------------- |
| **Expand/Collapse** | Click the bar to toggle the file list        |
| **Review**          | Opens/Closes the Review Pane                 |
| **Undo all**        | Reverts all changes made in the current step |
| **Keep all**        | Marks all changes as "viewed" (accepted)     |

## File Navigation

In each file in the Review Bar:

| Action     | Description                      |
| :--------- | :------------------------------- |
| **Click**  | Open the file in the Review Pane |
| **Reject** | Revert changes in the file       |
| **Accept** | Mark changes as viewed           |

## The Review Pane

The Review Pane (right sidebar) provides detailed diffs. Use the **Review Bar** above the chat to accept or undo changes, the Review Pane is for inspection only.

### View Options

Use the controls at the top right of the Review Pane:

* **Split / Stacked:** Toggle between side-by-side (Split) or inline (Stacked) diff views
* **Collapse All:** Collapse all file diffs for a high-level view
* **Viewed Status:** Shows how many files you have reviewed (e.g., "Viewed 0/1")

### Actions

* **Commit & push all:** Stages, commits, and pushes all changes to your repository
* **Request review from ami:** Asks ami to self-review its changes for bugs or issues
