Skip to content

Review

Review shows what an agent changed: the files on the left, the diff on the right. Read it, leave notes on lines and send them to the agent in one go. When the work is right, merge the workspace into main or push its branch. Review needs a git repository.

  • Click the change count, such as +8, on a workspace’s row in the sidebar.
  • Right-click the row and choose Review.
  • Choose View › Review to review the copy in the front tab.

Review has no shortcut by default; give it one in Settings › Keymap. You can also get here from elsewhere: Open in Review in the Files tree, the editor and the Git log, and Diff with in a branch’s menu. Press ⌘B to hide the side panel, ⌘1 to go back to Workspaces.

Review of the health-endpoint workspace: on the left the target health-endpoint with +8, CHANGED FILES with bookmarks/app.py and an UNVERSIONED group; on top the Uncommitted and feature/health-endpoint vs main switch, +8 · 1 file, the agent's status done and the Whole file, Changes and Final views; the diff of app.py with eight added lines in green and a fold of 28 unchanged lines; at the bottom No notes yet, Delete workspace… and Merge into main…
A workspace compared with main. Its agent is done; the footer offers Merge into main…

The chip at the top of the side panel names the copy you’re reviewing, with its +N −M. Click it to pick another: YOUR BRANCH, the WORKSPACES, or EXTERNAL worktrees. Copies an agent made for itself are listed under their branch or workspace.

The switch at the top of the diff chooses what to compare:

  • Uncommitted: changes not committed yet. Your branch opens here.
  • feature/health-endpoint vs main: everything on the branch that its base doesn’t have, committed or not. Workspaces open here. Click it again to pick another base: FOUND lists the likely ones, BRANCHES the rest. The base you pick stays for that branch until you close the project.

Next to the switch:

  • +N −M · N files counts the changes. Untracked files aren’t in it.
  • N commits ahead of main opens the Git log on the branch.
  • The agent’s status, such as done, opens the agent’s tab.

CHANGED FILES lists the changed files as a tree. Each file shows its +N −M, or bin for a binary file and conflict in red for a file in conflict, plus how many notes it has. A deleted file is struck through. New files git doesn’t track yet are in the UNVERSIONED group: open it to see them.

  • Click a file to see its diff. Move with the arrows; →, ↵ or ⇥ takes you into the diff, ← or ⇥ brings you back.
  • ⌘+ and ⌘-, or the buttons in the header, expand and collapse all folders.
  • Right-click a file for Open in editor (i), Add to git (untracked files), Rollback… (⌥⌘Z), Delete… (⌘⌫), Copy path (⌘C), Copy @path for agent (⇧⌘C) and Reveal in Finder (⌥⌘R). Delete… moves the file to the macOS Trash.

A workspace gets its own copy of the files that git ignores but the agent reads: CLAUDE.md, CLAUDE.local.md, .claude, and those set in Workspace settings. If the agent changes them, they’re listed under SYNCED FILES, and the merge brings them back to your branch. Carry synced files brings them to your branch now. If your branch changed the same file too, a yellow strip over its diff offers Update project: your branch’s lines come into the workspace with conflict markers.

Three views, on the right of the header:

  • Whole file (w): the whole file with the changes in place.
  • Changes (c): only the changed parts; unchanged code between them is folded.
  • Final (f): the code as it will be, without + and −; changes are marked in the margin.

A fold reads 28 unchanged lines. Click it to open it all, or click ↑ 40 / ↓ 40 to open 40 lines at a time; with the cursor on it, ↵ opens below and ⇧↵ above. In Whole file and Final, a change map on the right edge shows where the changes are: click it to jump there. The definition you’re in stays pinned at the top.

Move with the keys:

  • ↑ ↓ move the cursor, ⇧↑ ⇧↓ select lines.
  • ] and [ go to the next and previous change.
  • ⌥↓ and ⌥↑ go to the next and previous file.
  • Space, Page Down and Page Up page; ⌘↑ ⌘↓ go to the ends.
  • i opens the file in the editor at the cursor’s line.

To quote code to an agent, select lines and press ⇧⌘C: it copies a reference such as @bookmarks/app.py#L16-21. ⌥⇧⌘C copies the reference with the code, ⌘C the code alone. Right-click a line for the same commands, plus Go to definition. With ⌘ held, a name becomes a link: ⌘-click it to go to its definition. Go to definition needs the project’s language servers.

A changed picture or PDF shows as pictures: Changes puts before and after side by side.

A note being written under line 18 of the diff: “Return the app's version here too, so the deploy check can read it.”, addressed to claude, line 18, with Cancel and Save
  1. Click a line number, or press ↵ on the cursor’s line. With several lines selected, the note covers all of them.
  2. Type the note. ⇧↵ starts a new line.
  3. Press ↵ or click Save. Esc or Cancel drops it.

A saved note stays under its line, with Edit note and Delete note. { and } jump between notes. If the agent changes the code under a note, the note says line changed and keeps the code it was written on.

Write as many notes as you need, in as many files. The footer counts them: ● 4 notes in 2 files. Then click Send to ✻ claude in health-endpoint. Drakkar switches to the agent’s tab and sends all the notes as one message: each file with its line numbers, the quoted code and your note. It asks the agent to answer questions without changing code, and to change code only where a note asks for it. The notes are cleared after sending; unsaved drafts aren’t sent.

  • Send appears when the agent is running. Notes for your branch go to the agent you used last there.
  • Copy as markdown copies the same message, to send it some other way. Clear notes deletes them.
  • Notes and drafts are kept until you send or clear them, across launches.

Rollback undoes uncommitted changes only.

  • Right-click a file, a folder or the CHANGED FILES header and choose Rollback… or Rollback all… (⌥⌘Z). Check the files in the dialog, then click Rollback. Modified files go back to the last commit; added files leave git, or are deleted from disk if you tick Delete local copies of added files. This can’t be undone. If an agent is still working in the copy, the dialog warns you: it may redo the files.
  • On your branch, in Uncommitted, hover a change and click ↶ in the margin to roll back that one block (⌥⌘Z). It runs at once.

The footer of a workspace has Delete workspace… and the Merge into main… button, where main is the branch the workspace started from. Its ▾ menu has Push branch.

Click Merge into main…. The dialog lists the commits and files that go in. Choose the way:

  • Merge commit keeps the commits as they are and adds a merge commit.
  • Squash turns them into one new commit, titled after the session.
  • Rebase replays them on top of main: straight history, no merge commit. It needs main checked out.

Edit the Message for a merge or squash commit. Tick Delete workspace after merge to remove the folder and the branch in the same step; the notice after the merge has Undo. The button names the way: Merge, Squash and merge or Rebase and merge. Click it, or press ⌘↵.

The Merge into main dialog: feature/health-endpoint → main, 2 commits · 3 files · +60, with the commits Document GET /health in the README and Add GET /health for the load balancer; Squash is picked between Merge commit and Rebase, with the line Turns the 2 commits into one new commit on main, titled after the session; the message Squash feature/health-endpoint with the commit subjects and the task in its body; a note on conflicts and uncommitted changes; Delete workspace after merge ticked; the buttons Cancel and Squash and merge
Squash turns the workspace's two commits into one commit on main.
Merge into main first checks for conflicts while main stays untouched. A clean branch merges and its commits land in main. On a conflict nothing is merged: Ask claude to resolve has the agent fix it in its workspace, Resolve myself opens Conflicts file by file; then you merge again.

Drakkar checks for conflicts first; main isn’t touched until the merge is clean. Your uncommitted changes in main stay in place. If the merge changes a file among them, or some of them are staged, they are all put aside and come back after it. If the branch conflicts, Can’t merge cleanly lists the files, and nothing is merged:

  • Ask ✻ claude to resolve sends the agent a task: merge main into its branch in the workspace, resolve the conflicts keeping the intent of both sides, run the tests and commit. When it’s done, click Merge into main… again.
  • Resolve myself starts that merge in the workspace and opens Conflicts. For each file, choose Accept for one side, or Merge… to combine both versions. Then click Commit and merge into main. Abort merge puts the workspace back.

Once the workspace is merged, the footer says merged into main · nothing left to merge.

Choose Push branch from the ▾ menu to send the branch to origin, for a pull request. A branch still named ws-N asks for a name first: pick a type, edit the name offered from the session title, and click Push. The branch is renamed here and on origin; the workspace keeps its name in the list.

Delete workspace… removes the workspace. See Delete a workspace. A copy an agent made for itself, or an external worktree, has only Delete… and Open terminal here in its footer.

Open a commit from the Git log, by double-click or Open in Review. In place of the switch, a chip shows the commit’s hash; click × to close it. A commit is read-only: no rollback, no merge. You can still leave notes; the message says which commit the line numbers are from. Notes on commits aren’t kept after Drakkar quits.

  • Settings › Workspaces & Git › Open files as: Diff opens files in Changes, Final code in Final.
  • Settings › Workspaces & Git › Delete its branch when it is merged.
  • Settings › Workspaces & Git › Branch types: the types Push branch offers.
  • Settings › Keymap: a shortcut for Review, and the tree keys.
Keys Action
w c f Whole file, Changes, Final
] [ Next / previous change
⌥↓ ⌥↑ Next / previous file
} { Next / previous note
↵ Add a note on the cursor’s line; on a fold, open it
i Open in editor
⇧⌘C Copy reference
⌥⇧⌘C Copy reference with code
⌥⌘Z Rollback
⌘B Show or hide the side panel