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

# Diff Viewer

> View code changes made by completed tasks

Inspect the exact code changes made during task execution with the built-in diff viewer.

## Accessing the Diff Viewer

1. Click on a completed task (Testing or Done status) to open **Task Detail**
2. The **File Changes** section shows a summary (git diff stat)
3. Click **View Full Diff** to expand the full unified diff

## Diff Display

The viewer uses syntax-highlighted unified diff format:

| Color         | Meaning                    |
| ------------- | -------------------------- |
| **Green** (+) | Added lines                |
| **Red** (-)   | Removed lines              |
| **Cyan** (@@) | Hunk headers (line ranges) |
| **Bold**      | File headers (diff --git)  |
| **Gray**      | Line numbers (left column) |

## Commit Range

The diff automatically uses the task's actual commit range:

* **Multiple commits** — shows diff from first to last commit
* **Single commit** — shows that commit's changes
* **No commits** — falls back to the latest commit

## Limitations

* Maximum diff size: 200KB (larger diffs are truncated)
* Only available for tasks with git commits
* Requires the project's working directory to be a git repository

<Tip>Use the diff viewer alongside Session Replay to understand both *what* changed and *how* the agent made those changes.</Tip>
