Working copies and reviewing changes
Goal: let an agent work on a branch of its own, then review its work before you accept it. You need: a git repository, git on your PATH, and a task in a project.
What a working copy is
A working copy is a second checkout of the same repository on its own branch, in a separate folder inside your project. An agent working there cannot change the files in your main folder. Nexus shows it in the pane header as a Linked badge; the main one is the Main working copy.
1. Start in a separate copy
In New session turn on Work in a separate copy. Nexus makes a new working copy on a branch of its own, so your folder stays as it is. If the folder is not a git repository it says so, and the session runs in the folder itself.
To make a copy later, open the working-copy capsule in a pane header and choose New working copy…. Give it a Name (letters, numbers, dots, dashes and underscores). Nexus shows where it Starts from (the current branch, the remote's default branch, or the current commit). Create and move here moves the session; if a command is still running it warns that moving stops it, and an agent that cannot start there keeps the session where it is. Details… lists the copies, their branch, commit, changes and whether they are locked.
2. Start an agent on the task
In Work, open the task and choose Start. The agent receives the task. A session that works on a task stays in the folder where its work is measured.
3. Review
When the agent asks you to accept, the Inbox and For you show "name asks you to accept: title". Choose Review. The review screen shows:
- Changed files with added and removed lines (large or binary files are marked).
- Measured by NEXUS: the branch, commits, changes (files, + and −) and the Checks Nexus ran with their exit code.
- The agent's statement: what the agent says it did. It is marked "Reported by the agent, not verified".
Nexus computes the evidence itself, so it does not depend on what the agent says.
4. Accept or send back
- Accept asks you to confirm and names the task. Nothing completes until you accept.
- Send back lets you write "What should change?" and the agent continues in its session.
If Chainabit refuses a change Nexus does not retry it; the reason is shown.
Result
Only reviewed work is completed, and every decision is kept in the log on this computer. With Auto approve or Bypass All agents can complete tasks themselves; see Choosing Ask, Auto or Bypass safely.