VCode home

Review a diff and accept or revert it

Agents: claude, codex, opencode · On: phone, desktop

One file's diff, full height, with every edit the turn made to it. Accept marks it done; Revert asks the agent to undo it and say what it will do differently.

Why you would use it

A turn changed one file in four places and the transcript shows them as separate cards. This is where you read the whole change in one place and decide whether it stands, without leaving the thread.

How to use it

  1. Open it from a file row in the files popup, or from the diff button on a diff card in the transcript ("Review the full diff").

  2. Read the patch. Several edits to the same file are stacked, each under — edit <n> of <m> —.

    The review sheet: the path and +3 −1 in the head, the numbered patch with added lines green and the removed one red, Accept and Revert at the foot

  3. Tap Accept (#review-ok) to mark the edits accepted and close the sheet.

    The file row back in the files popup, now carrying a green tick after its counts

  4. Tap Revert (#review-revert) to close the sheet and queue a message asking the agent to undo it.

  5. Tap #review-close, or press back, to leave without doing either.

What you see

The message Revert sends:

Revert your change to <path> — it is wrong. Explain what you will do differently
before editing again.

Limits and known gaps