Skip to main content
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:
ColorMeaning
Green (+)Added lines
Red (-)Removed lines
Cyan (@@)Hunk headers (line ranges)
BoldFile headers (diff —git)
GrayLine 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
Use the diff viewer alongside Session Replay to understand both what changed and how the agent made those changes.