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
| Way | How |
|---|---|
| Shortcut | Ctrl+Alt+R (“AI change review”) |
| Right rail | AI changes button. Shows a counter when there are changes to review. |
| Menu | View → Pending changes |
| From the chat | Review 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
| Tab | Contents |
|---|---|
| Pending | Proposals awaiting your decision. |
| History | Everything applied, grouped by task, with its checkpoints. |
Review a change
- Pick a file from the list.
- View the diff side by side or inline.
- Decide:
| Action | Effect |
|---|---|
| Approve all | Applies all pending changes. |
| Apply (n) | Applies only the hunks you selected. |
| Discard | Rejects 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
| View | What for |
|---|---|
| Written | The change told in text. |
| Visual | The change presented visually. |
| Code | The 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:
| Key | Effect |
|---|---|
↑ ↓ | Move through the list |
Space | Check or uncheck |
Enter | Open 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:
| Section | Answers |
|---|---|
| Why | The reason for the change. |
| Impact | What it affects. |
| How it was verified | Which tests or checks back it up. |
| What did not change | What was left untouched on purpose. |
| Decisions | The alternatives and what was chosen. |
| What could break | The risks. |
| Comprehension questions | Questions 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
| Option | How it's made |
|---|---|
| Generate automatic summary | Written by the cheap model you configured in Yuli, after hiding secrets. The project's data policy can block it. |
| Generate local summary | Put 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:
| Mode | What it does |
|---|---|
| Automatic (default) | Verifies every change without you asking. |
| On request | Verifies when you click Verify now. |
| Never | Doesn't verify. |
Verification runs in an isolated copy of the repository (a Git worktree), so your working copy is not touched. The steps are:
- Build.
- Run the tests affected by the change.
- Start the application.
| Setting | Default |
|---|---|
| Wait for the application to start | 120 s |
| Limit per step | 20 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.
| Action | Effect |
|---|---|
| ⤺ Go back to this point | Undoes this change and all later ones. |
| ↺ Revert | Reverts 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.