Skip to content

Documentation / Changes and history

On this page

Changes and history

Each workspace has a Changes tab and a History tab. Use them to review the agent’s work and ship it, without leaving the dashboard.

The native Changes view with a side-by-side diff of checkout.py, two changed files on the right, an empty commit-message field, and Generate, Commit all, Push and Create PR controls.The native Changes view with a side-by-side diff of checkout.py, two changed files on the right, an empty commit-message field, and Generate, Commit all, Push and Create PR controls.
The native Changes view, with a side-by-side diff and an empty commit-message field.

Open them from a workspace, or press 2 for Changes and 3 for History. The Docs tab (4) shows the stage files; see Stages.

In the desktop app the workspace has no tabs: its terminals fill the main area, and Changes, History and Docs are icons on the rail at the right edge of the window, with Progress, Files and Details. Changes lists the files and the commit box in the side panel and shows the picked file’s diff over the terminals; Docs lists the stage files there and shows the picked one over the terminals. History closes the side panel and shows the graph over the terminals at full width; click its icon again to go back. Terminals, Esc or the Progress icon shows the terminals again. To add a terminal, click the split button in a terminal’s header.

The tab lists every file in the workspace that differs from the last commit of the branch. This includes new files that git does not track yet. The tab label shows how many there are. The list refreshes soon after an agent or a terminal of the task changes files, and once a minute; changes made outside Natamux can take up to a minute to show. Click Refresh, or press Shift+R, to read them at once.

When no file differs, the tab says No changes and The workspace matches its last commit.

The header of the file list shows the number of changed files and the total lines added and removed. Each file shows a status letter.

Letter Meaning
M Modified
A Added
U New file (not tracked yet)
D Deleted
R Renamed
C Conflict

Each file also has an icon for its type and, when known, its lines added (+) and removed (−). A deleted file is struck through. A renamed file shows where it came from.

Click View as tree to group files by folder. Click it again to go back to the flat list. In the tree, Collapse all folders and Expand all folders fold every folder. A folded folder shows its file count and its totals. Natamux remembers your choice.

Use the arrow keys to move in the list, Left and Right to fold folders, and Enter to open a file. Press [ and ], or click Previous file and Next file, to step through the files in the order of the list. Drag the divider to resize the list.

In a narrow window (under 720 px) the list becomes a Changed file picker above the diff.

Click a file to see its diff. The toolbar above it has these controls.

Control What it does
Side by side / Inline Show the old and new text in two columns, or in one. Images say Stacked instead of Inline.
Previous change / Next change Jump between the changes in this file. The counter shows where you are. Keys: Shift+Alt+F5 and Alt+F5.
Collapse unchanged lines Fold long runs of lines that did not change. On by default.
Wrap long lines Wrap lines instead of scrolling sideways. On by default for prose (md, markdown, txt, rst and files with no extension), off for code. The two have separate settings.
Diff options > Ignore leading and trailing whitespace Hide changes that only touch whitespace. On by default.
Diff options > Show moved code Mark blocks of code that moved. Off by default.
Copy path Copy the file path.

Side by side needs about 720 px for the diff itself. In a narrower window the diff is inline, and Side by side says Needs a wider window. Your choice comes back when the window is wide again.

If a file only changed in whitespace or line endings, a bar says so. Click Show whitespace to see those changes.

New and deleted files show their whole text with a New file or Deleted badge and the line count. Natamux shows these notices instead of a diff:

  • This file is binary. It changed, but it is not shown.
  • This file is larger than 1 MB, so it is not shown.
  • Empty file.
  • Renamed without changes.
  • The text did not change. Only the file mode may differ.

Natamux keeps your toolbar choices. In a diff, F7 and Shift+F7 open the accessible diff view.

In the desktop app the toolbar has Ignore whitespace (on by default) and Show whitespace as buttons instead of Diff options. Also in the desktop app:

  • Mod+F opens a find bar under the toolbar. It searches the side that has the focus. Enter and Shift+Enter go to the next and previous match, Esc closes it.
  • Ctrl+G goes to a line of the working tree: type 120, or 120:5 for a column.
  • Mod+Shift+O lists the functions and types of the file. Pick one to go there.
  • The change the cursor is in has a Comment button next to the revert button. It quotes the change’s lines in the comment box.
  • In the inline layout, Mod+' folds or opens the change at the cursor.
  • Right-click the text and pick Annotate with Git Blame. The date and the author of the last commit that changed each line show before the line. Side by side, both sides show them. Right-click again for the commit of that line, Copy Commit Hash and Close Annotations. The editor tab of a file has the same menu; save your edits first, as blame reads the file on disk.

A changed PNG, JPEG, GIF, WebP or SVG file shows as images, not text. You see Before (last commit) and After (working tree), side by side or stacked. A new image has only the after side. A deleted one has only the before side.

An SVG file shows as text first. Click Show image preview to see it drawn.

Under every diff there is a box to comment on the file. It says Comment on this file for the agent. When the cursor is on a line in the diff it says Comment on line N for the agent.

  1. Press Mod+Shift+A, or click the box.
  2. Write what should change and why.
  3. Click Add comment, or press Mod+Enter.

The comment is saved as a draft on that line, or on the whole file. It shows under its line in the diff and in the Comments list at the bottom of the file panel. Nothing goes to the agent yet. Add as many as you want, in any files.

When you are done, click Send N comments (Mod+Alt+Enter). Natamux writes every open comment to .natamux-task/review-comments.md in the workspace, pastes one short prompt into Terminal 1, and marks the drafts Sent:

Review comments: 3 new. Read .natamux-task/review-comments.md. Fix each item under New, then reply with what you changed per id (c3: …).

Each item in the file has its id, file and lines, the quoted code and your text. New comments are under New. Comments sent before and not resolved are under Still open.

  • A comment stays on its code when the agent edits the file. If the agent rewrites that code, the comment shows outdated with the code it was about, and stays in the list.
  • When a comment is fixed, click Resolve. It leaves the diff and the next review-comments.md. Show resolved in the list brings it back, with Reopen.
  • A draft has Edit and Delete. A sent comment has Resolve and Delete.
  • Send needs an agent in Terminal 1. Without one you get an error and the drafts stay drafts. A paused agent is woken with the prompt. See Terminal.

Send now (next to Add comment) skips the draft. It pastes this text into Terminal 1 as the agent’s next prompt at once, and the comment is not saved:

Review comment on src/app.ts, line 12:
Handle the empty list here.

The box then says Sent to the agent.

  1. Select lines in the diff. An Ask agent button shows next to them.
  2. Click Ask agent, press Mod+Shift+A, or pick Ask agent about the selection in the right-click menu. The box shows the lines, for example Lines 12–14, and the cursor moves into it.
  3. Write your question and click Add comment to keep it as a draft, or Send now to ask at once.

The agent gets the lines with the comment:

Review comment on src/app.ts, lines 12-14:
```
const items = load()
if (items.length === 0) {
return
```
Why return here, and not show a message?
  • The whole lines count, even when only part of them is selected.
  • Add comment keeps the lines (and the side) as the place of the comment. Send now sends the lines in the prompt, as below.
  • Lines from the left side of a side-by-side diff are marked (before the change). In the inline view, removed lines cannot be selected.
  • Over 10,000 characters, only the line numbers are sent, not the code.
  • Click × (Remove the selected lines) to comment on the file again. Choosing another file also drops the lines.

The commit box is under the file list.

  1. Write a Commit message, or click Generate (Mod+Shift+G) to get a draft.
  2. Click Commit all, or press Mod+Enter.

Commit all stages every change in the workspace, new files too, and commits them. You cannot pick single files. A toast says Committed N files. and has a Push action. The button is off until you write a message.

Generate asks an agent to write a message from the changes. It runs the agent once in the background, not in Terminal 1, and puts the answer in the box. Read and change it before you commit; nothing is committed for you.

  • The task’s agent writes the message when it can answer once and is installed.
  • Otherwise the first installed agent of this list writes it: Claude Code, Codex, Gemini CLI, GitHub Copilot, Cursor, Qwen Code, Factory Droid, Goose, Kiro CLI. Aider, Cline CLI, Kimi CLI, Crush, Amp, OpenCode and Muse Code never draft: their one-off run can change files. A toast says Drafted with Codex. (or the agent that wrote it) and why.
  • Installed means the agent’s program is on the PATH of your login shell. An agent you start only through a shell alias or function is not found.
  • While the agent writes, Generate shows a spinner, and Commit all is off with the reason Drafting the message…. Text you type in that time stays, and the draft is dropped.
  • Commit… in the header drafts a message too, when the box is empty.
  • When no agent is installed, or the agent fails or takes more than 60 seconds, the box gets a simple message from the task title and the file names, and a toast says why.

Rollback throws away changes that are not committed: the files go back to how they are in the last commit.

  • Click Rollback… in the header of the file list to roll back any of the changed files.
  • Right-click a file, or press Shift+F10 on it, and pick Rollback… to roll back that file. On a folder of the tree, it offers every file under the folder.
  • Press Mod+Alt+Z to roll back the file that shows in the diff.

A dialog lists the files, all checked. Clear the ones to keep, then click Roll back N files. Each file goes back as follows:

Status After the rollback
M, D The file as it is in the last commit
A, U The file is deleted
R The old name comes back; the new name is deleted
C Cannot be rolled back; resolve the conflict first

The dialog says how many new files will be deleted. Ignored files are never touched.

A toast says Rolled back N files. and has an Undo action. Undo brings back those files as they were just before the rollback, new files too. Only the last rollback of a task can be undone, until the daemon restarts. An added file comes back as a new file (U); the commit takes it either way.

To put back only one change of a file, click a line of that change in the diff, or step to it with Alt+F5. An arrow shows at the right of the change:

  • Side by side: → on the left (last commit) side, and a revert icon on the right side.
  • Inline: a revert icon.

Click it to replace the change with the lines of the last commit. The file is written on disk, and the diff reads it again. The toast Reverted a change in <file>. has Undo. Mod+Z in the diff also undoes the last revert, up to 50 of them.

The last commit cannot be changed here, so the arrows only write the working tree. When the agent changed the file after the diff was read, nothing is written: a toast says so and the diff reads the file again. There is no arrow on new, deleted or conflicted files.

The header of the workspace has two buttons.

  • Push pushes the task branch to origin and sets it as the upstream branch. The label shows how many commits are ahead of the base, such as Push ↑2. A toast says Pushed <branch> to origin. and, while the task has no pull request, has a Create PR action.
  • Create PR pushes the branch first, then opens a pull request on GitHub with the GitHub CLI. A toast says Pull request opened. and has an Open action.

Both buttons are off, with a reason in the tooltip, when the task has no branch or has 0 commits ahead of the base. When files are not committed yet, the reason is Commit your N changed files first, and Commit… takes the place of Push: it opens the Changes tab with the cursor in the commit message, and drafts a message when the box is empty. Create PR is drawn as the main button only when it can be used.

The pull request gets the task title as its title and the task notes as its body. When the task has a linked GitHub issue, the body ends with Closes #N. See GitHub.

After a pull request exists, Create PR becomes Open pull request (Open PR in a narrow window). It opens the pull request in a new tab.

A done or cancelled task keeps only Open pull request in its header. The banner under it offers the next step instead, see When a task is finished.

The pull request needs the GitHub CLI (gh) logged in on the machine that runs the daemon.

The Pull request section in the details panel shows the pull request link and a summary such as open, checks pass. The states are open, draft, merged and closed. The checks are checks pass, checks fail and checks running. A pull request with no checks shows only its state.

While a dashboard or the app is connected, Natamux asks GitHub about open and draft pull requests and pushed branches every 60 seconds while checks are pending or a pushed branch has no pull request, and every 5 minutes otherwise, and when an agent stops. Click Check now to ask at once. When the pull request is merged and the task is at review or later, the task moves to Done.

The History tab draws the git graph of the task branch and of the branch of the main checkout, newest commit first.

The native History view with the task branch two commits ahead of main and one behind, two uncommitted files, and a real git graph with branch labels, commit messages, authors and short hashes.The native History view with the task branch two commits ahead of main and one behind, two uncommitted files, and a real git graph with branch labels, commit messages, authors and short hashes.
The native History graph: two commits ahead of main, one behind, with two uncommitted files.
  • The first line says how far the task branch is from the base: 2 commits ahead of main, 0 behind. When files are not committed, it adds N files not committed., which opens the Changes tab.
  • The base is the branch that the main checkout of the repository is on. When that checkout is not on a branch, or is on the task’s own branch, the line says No base branch to compare with.
  • Commits that are on the task branch and not on the base are drawn as filled dots. Commits of the base are muted.
  • The current commit (HEAD) is in bold.
  • Each row shows branch and tag names, the commit message, the author, the short hash and the age. Hover the age for the exact date, and the message for all of it.
  • In the desktop app, Terminals (or Esc) goes back to the terminals; the rail opens the side panel again.
  • The graph shows the newest 200 commits. When there are more, it says Only the newest 200 commits are shown.

Click Refresh, or press Shift+R, to read the history again at once. The graph also refreshes soon after an agent, a terminal or Natamux commits, and once a minute; commits made outside Natamux can take up to a minute to show.