---
title: "Review, edit, and deliver changes"
description: "Read the right diff, make your own edits, verify the result, then commit, push, or open a pull request when you choose to."
slug: "working-with-autohand-code/code/desktop/review-and-delivery"
sidebar:
  label: "Review and delivery"
---

## Review what changed

There are three ways into a diff:

- **Review** on a turn's **Edited N files** card shows what that turn changed.
- **Changes** in the **Environment** panel shows every uncommitted change in the working tree.
- The **Git** panel's **Source control** view lists staged and unstaged files; select one to see its diff.

<img className="ah-shot-light" src="/images/desktop/app/review-light.webp" alt="Environment panel listing Changes with +478 and -1, Local, main, Commit and Push, Local Servers, Autohand usage, and Open in VS Code." width="2880" height="1800" />
<img className="ah-shot-dark" src="/images/desktop/app/review-dark.webp" alt="Environment panel listing Changes with +478 and -1, Local, main, Commit and Push, Local Servers, Autohand usage, and Open in VS Code." width="2880" height="1800" />

The Environment panel shows the total diff (+478 -1) next to Local, the branch, Commit and Push, Local Servers, usage, and Open in VS Code.

A turn's diff and the working tree can differ. They differ if the folder had edits before the task, if you changed files yourself, or if several turns ran. Before you commit, review the whole working tree.

<img className="ah-shot-light" src="/images/desktop/app/git-light.webp" alt="Git panel showing Source control with Staged 0, Changes 9, and files such as .gitignore, bun.lock, package.json, README.md, src/search.ts, and vitest.config.ts." width="2880" height="1800" loading="lazy" />
<img className="ah-shot-dark" src="/images/desktop/app/git-dark.webp" alt="Git panel showing Source control with Staged 0, Changes 9, and files such as .gitignore, bun.lock, package.json, README.md, src/search.ts, and vitest.config.ts." width="2880" height="1800" loading="lazy" />

Source control in the Git panel: nothing staged yet, nine changed files with line counts, and Stage all.

Read the code and the tests, not just the line counts. Look for unrelated edits, generated files, lockfile changes, missing validation, and behavior outside the task. The example above includes `bun.lock` and `package-lock.json` together, which is exactly the kind of extra file to question.

## Edit and iterate

Ask the agent for a correction in the same thread, or edit the files yourself.

- **Open in** in the Environment panel opens the project in your installed editor.
- The **Agent** / **Editor** switch at the top of the sidebar opens Desktop's built-in editor. Select a file, choose **Edit file**, make the change, then **Save**. **Close editor** returns to the file view.

Avoid editing a file while an agent turn is changing it. After you edit, ask the agent to reread the file before it continues.

## Verify before you commit

1. Run the project's focused tests in a [terminal](/working-with-autohand-code/code/desktop/terminal-and-browser).
2. Run any required lint, type, or build checks.
3. Exercise the behavior: the browser for a UI change, a request for an API, a command for a CLI.
4. Review the final working-tree diff.

A passing test run and a convincing explanation are separate evidence. If a check could not run, say so in the change description.

## Commit, push, and open a pull request

Use **Commit and Push** in the Environment panel, or the Git actions menu. Depending on the state of the branch, the actions include:

- **Commit**, or **Commit on new branch**,
- **Commit & push**,
- **Commit, push & PR**,
- **Push**, and **Push & create PR**,
- **Create PR**.

Read the full label before you click: some actions combine several steps, and only **Commit** stays local. Check which files the commit includes and the proposed message. If you are about to commit or push to the default branch, Desktop asks you to confirm.

A commit is a local revision. A pushed branch is not a merged pull request, and an open pull request is not a deployment. Pushing and opening pull requests use your Git host's permissions, separate from your Autohand or agent accounts.

## Review pull requests

**Code review** in the navigation rail lists pull requests from your repositories. It uses the GitHub CLI; if `gh` is not installed or signed in, the view shows the command to fix it (for example `brew install gh`, then `gh auth login`).

To work through review feedback, paste or link a specific comment and ask the agent to address it without widening the scope. Rerun the relevant checks afterwards.

See [development workflows](/working-with-autohand-code/code/desktop/workflows) for bug, feature, refactor, and issue-to-PR prompts.
