Diff review
Every task terminal carries a diff of its worktree, with word-level highlighting and notes that flow into the agent's prompt. Review the work without leaving the terminal it happened in.
Open the diff
Click the Diff button in the terminal header (it shows the change size) or press
⌘D. The panel lists changed files in a tree, renders per-file diffs with syntax highlighting,
and marks the exact changed words within each line. Panel state survives app restarts via
session resume.
Pick a base
The comparison always ends at the working tree. The picker in the panel header chooses where it starts:
- Uncommitted changes: everything since your last commit.
- The task's merge target, the repository's main branch, or the branch's upstream.
- Any local or remote branch, searchable by name. Picking a remote ref fetches it first, and a freshness button next to the picker shows the fetch age and refetches on click.
A branch comparison shows the task's own changes, not what has landed on the target since. The chosen base is remembered per worktree.
Leave notes for the agent
Hover a line and click +, or drag across several lines, and write a note. Notes are kept with the worktree until you hand them over: the floating island at the bottom of the panel lists them, and Send pastes them into the terminal's prompt as one block, quoted code and all, unsent. You press Enter. Copy puts the same block on the clipboard for any other destination.
Notes anchor to the code, not the line number. As the agent edits, each note follows its text to its new location; a note whose text is gone is dropped. A note outside the current comparison is kept and flagged not in this comparison.