Inspect the exact code changes made during task execution with the built-in diff viewer.
Accessing the Diff Viewer
- Click on a completed task (Testing or Done status) to open Task Detail
- The File Changes section shows a summary (git diff stat)
- Click View Full Diff to expand the full unified diff
Diff Display
The viewer uses syntax-highlighted unified diff format:
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
Use the diff viewer alongside Session Replay to understand both what changed and how the agent made those changes.