Quad Harness
0.2.0Download

Docs The desk

Changes and review

Read the agent's changes as a numbered diff, comment on lines and send every note at once, then commit, push and open a pull request with live checks.

4 min read

The Changes window is where you check the agent’s work before it goes anywhere. Open it with ⌘B, the diff icon in the dock, the key 3, or /changes.

It has three tabs: Diff, Findings and Pull request. The header shows the total lines added and removed.

The Diff tab

The Diff tab lists every file the agent changed in this session, with lines added and removed for each. Choose a file to see its diff:

  • Lines are numbered, with added lines and removed lines coloured.
  • Unchanged stretches between changes are folded so you see the changes and some context around them.
  • No changes yet. means the agent has not edited anything in this session. Edits appear as the agent makes them.

Note. The Diff tab shows what the agent changed through its file tools in this session. Changes you or a shell command made outside them are part of the git status on the Pull request tab, and are committed by Commit….

Commenting on lines

  1. Hover a changed line and choose the comment button (Comment on this line).
  2. Write what should change, for example This should also handle an empty block.
  3. Press ⌘Return or choose Comment. Esc or Cancel throws the comment away.

The line gets a marker. You can add as many comments as you like across files. Remove one with its × button.

The Findings tab

The Findings tab collects your notes. Each shows the file and line, your text and the line it is about. Dismiss removes a note.

When you are done:

  • Send to Quad sends every note as one message to the agent in this session. It reads them together, so it can see how they relate, and works through them.
  • Clear removes every note without sending.

If there are no notes, Ask Quad to review puts a review request in the composer: look for bugs, regressions and missing tests, start with a short summary, and cite file paths. Send it as is or edit it first. /review does the same.

Tip. Leave comments in Ask mode (Standard) so the agent shows you each fix before it lands.

The Pull request tab

This tab is about git and GitHub. At the top is a card for the current branch: how many files changed, how far behind the remote it is, and two buttons.

Commit

  1. Choose Commit….
  2. Write a commit message. The first line is the subject.
  3. Confirm. The app stages every change in the folder (the same as git add -A) and commits.

Commit… is disabled when there is nothing to commit. If the folder is not a git repository, the tab says Not a git repository.

Push

The push button pushes the branch to its upstream. If the branch has no upstream yet, it publishes it to origin. The button is disabled when there is no remote, or nothing new to push.

Pull request

When the branch has been pushed and has commits ahead, Create pull request appears.

  1. Choose Create pull request.
  2. Write a title on the first line and a description below it.
  3. Confirm.

The tab then shows the pull request: its number and title (choose it to open it on GitHub), whether it is a draft, and a row for each check with passed, failed or a spinner while it runs. While checks are running, the window looks for updates every few seconds. When the pull request is merged it shows Merged.

Pull requests use the GitHub CLI. Install gh and run gh auth login once in a terminal. If it is missing or signed out, the tab says what to do.

Note. Quad never merges a pull request for you and never force-pushes.

Checkpoints

At the bottom of the Pull request tab, Checkpoints lists the files Quad can put back, newest first, with a Rewind button. See below.

Rewind and checkpoints

Before a file tool changes a file, the engine saves the file’s previous content. That saved copy is a checkpoint. Together they let you undo the agent’s edits at any point in the session.

Open the Rewind window (key 8, or the Rewind button in the conversation header). It shows the session timeline. Drag back along it to see the session as it was at an earlier moment. Nothing changes until you act:

Action What happens
Open the diff Shows what changed after that point.
Restore files here Files go back to how they were at that moment. Edits made after it are overwritten, and a file Quad created after it is deleted. The conversation stays as it is.
Branch from here Starts a new session from that moment, linked to this one.
Rewind to before this prompt Takes that prompt and everything after it out of the conversation, and puts the prompt back in the composer so you can edit and resend it.

While a run is going you can look back but not change anything. Stop the run first.

Warning. Checkpoints cover edits made by the file tools (writing, editing and patching files, and pack tools that say which files they touch). Changes a shell command makes, such as a code generator or git checkout, are not checkpointed. Commit often, or work in a worktree, if you want a safety net for those too.

See Goals, checkpoints and rewind for more on how checkpoints work.