Documentation / The agent

Review changes

The AI changes window: nothing reaches the disk without your review. Understand every change, verify it in an isolated copy and undo it with checkpoints.

On this page

No change from the agent reaches the disk without going through review. Every proposed modification is presented as an explicit diff, file by file, before it's written.

Open AI changes

WayHow
ShortcutCtrl+Alt+R (“AI change review”)
Right railAI changes button. Shows a counter when there are changes to review.
MenuView → Pending changes
From the chatReview and approve on the proposal card.

AI changes lives as one more tab next to the editor, without losing the state of the code in the background. To go back, click Close AI changes (back to the editor).

Pending and History

TabContents
PendingProposals awaiting your decision.
HistoryEverything applied, grouped by task, with its checkpoints.

Review a change

  1. Pick a file from the list.
  2. View the diff side by side or inline.
  3. Decide:
ActionEffect
Approve allApplies all pending changes.
Apply (n)Applies only the hunks you selected.
DiscardRejects the proposal.

Per-hunk approval

You can accept only some hunks of a file. Yuli shows how many will be applied (“3 of 5 blocks will be applied”). Whatever isn't selected stays pending.

Ctrl+Alt+Enter approves everything pending from anywhere in the IDE.

How a review flows

1 of 5

Pending

What the agent proposes arrives in Pending, file by file. While it writes, the Live section shows the files it is touching (“writing…”).

Understand a change

Three views

ViewWhat for
WrittenThe change told in text.
VisualThe change presented visually.
CodeThe diff of each file.

Walk through changes follows the order contract → implementation → test. Press T to move forward and Shift+T to go back.

In the change list:

KeyEffect
↑ ↓Move through the list
SpaceCheck or uncheck
EnterOpen in the diff viewer
/Search

Explanations from the agent

Ask … to explain it (with your agent's name) asks the agent to use the yuli_explain_changes tool. The explanation has these sections:

SectionAnswers
WhyThe reason for the change.
ImpactWhat it affects.
How it was verifiedWhich tests or checks back it up.
What did not changeWhat was left untouched on purpose.
DecisionsThe alternatives and what was chosen.
What could breakThe risks.
Comprehension questionsQuestions to check you understood it.

Each change has a risk level: High, Medium or Low. A change of 400 lines or more counts as large. With Ask about this block you ask about a specific fragment.

Automatic or local summary

OptionHow it's made
Generate automatic summaryWritten by the cheap model you configured in Yuli, after hiding secrets. The project's data policy can block it.
Generate local summaryPut together by Yuli on your machine, with no AI: “Local summary · no AI”.

Verifying the agent's changes

Yuli can test every change from the agent before you apply it. Set it in Settings → AI → Verify the agent's changes:

ModeWhat it does
Automatic (default)Verifies every change without you asking.
On requestVerifies when you click Verify now.
NeverDoesn't verify.

Verification runs in an isolated copy of the repository (a Git worktree), so your working copy is not touched. The steps are:

  1. Build.
  2. Run the tests affected by the change.
  3. Start the application.
SettingDefault
Wait for the application to start120 s
Limit per step20 min
Very large projects (more than 20,000 files)On request only, unless you turn on Also verify very large projects automatically

Buttons: Verify now, Verify again and Cancel. If verification fails, Apply anyway appears: the decision is still yours.

Ask the AI for the cause

When a test or a verification step fails, Ask the AI for the cause prepares the failure's context and puts it in the chat. It doesn't send it: you review it and send it yourself. The same button is in the test explorer and the debug panel.

Checkpoints

Each applied task leaves a checkpoint in the History.

ActionEffect
⤺ Go back to this pointUndoes this change and all later ones.
↺ RevertReverts one specific change.

Undo a whole task

Undoing a task reverts all the files it touched, with a preview.

  • ↺ Undo task in the turn summary, in the chat.
  • More actions → Undo an agent task, in the chat header.
  • Ctrl+Alt+Shift+Z: undoes the agent's last task.
  • Alt+Shift+Z: undoes only the last thing it applied.

If you edited any of those files afterwards, Yuli asks you per file: Keep my changes or Overwrite.

Background tasks

In History, the Background tasks section gathers what the agent did in the background: it's already applied to your copy and you can review or undo it.

Other notices in the review

  • Database: changes to a database show up as a card of their own. They are not reverted from AI changes.
  • Fullstack contract: if a change would break front-end calls, you'll see “Fullstack contract: n frontend calls would break”. See Fullstack map.

Changes from external agents

In Subscription mode, everything Claude Code, Kiro, Codex or Antigravity does also shows up in AI changes:

  • One group per agent, with one entry per turn.
  • The diff of each file, including those the agent changed with shell commands.
  • Open in changes, from the conversation, opens that turn.
  • Revert opens “undo task”, which warns you if you edited anything afterwards.

Autonomy

By default you review every proposal before it reaches the disk. If you want some to apply on their own, set up rules in Agent → Autonomy… (allowed paths, denied paths, maximum files per turn). Even then, everything stays in the History and can be undone. See Sandbox and permissions.