Ship work

Review changes

Inspect each repository diff before accepting or committing code changes.

On this page

An agent's summary tells you what it intended to do; the diff shows what actually changed. Inspecting the files helps catch missing behavior, unrelated edits, and changes in the wrong checkout before you keep or commit code. Checks and human approval answer different questions, so review is not a substitute for either.

Inspect the changes

  1. Open Changes from the navigation rail and confirm the selected worktree in the header.
  2. Choose Uncommitted for staged and unstaged files, or All branch for the comparison with the base branch, including uncommitted work. The branch comparison is read-only.
  3. Use Diff display settings to select unified or split lines and turn soft wrap on or off. Expand or collapse file sections in the docked view; maximize the panel to browse the file list.
  4. Compare the old and new lines in each file. Match the relevant checks to the behavior you expected. Use AI Review for another opinion if useful, then compare any finding with the actual diff.

For a request to add a shortcut that opens project search, check whether the diff adds it in the intended context or changes unrelated key handling. Then verify the shortcut opens project search; you still decide whether the edits fit the request.

Keep the decisions separate

  • Stage and Unstage change the Git index; they do not commit or publish. The file-list layout exposes actions for individual files and whole sections.
  • Discard removes working-tree edits. Revert all also deletes untracked files and requires confirmation; neither action is a review approval.
  • A file opened from a chat turn's receipt is a historical snapshot, not the current working-tree version. Return to Changes or choose a comparison to leave it.
  • The source-control menu opens commit/push or pull-request actions. The commit dialog currently follows the active workspace checkout, which can differ from a pinned Changes worktree. Switch the active workspace to the intended checkout and verify the branch before continuing.
  • A workflow or document review may ask for a separate approval. Make that decision on the exact work or revision shown there.

If loading fails, Changes displays the error rather than treating it as a clean checkout. Refresh the selected working tree or branch comparison from the header; historical snapshots are not refreshed as current Git changes. Reviewing or staging does not publish or merge anything.

See Plan a feature, Fix a bug, and Verification and receipts for the surrounding work.

Documentation image