Git, diffs & Commit Thread
Reviewing agent work and integrating it with Commit Thread.
Agent Swarm is git-native. Everything an agent does lands as commits on a branch, so review and integration use tools you already trust.
Reviewing changes
The Code tab is branch-aware. Selecting a thread points the file tree and diff view at that thread's sandbox, so you always see the right version. Clicking a file in a write tool-call jumps straight to its diff.
The Git tab shows the branch graph. Click any commit to see its full diff grouped by file, with the message, timestamp, and a +/- summary.
View in your IDE
For deeper review, the View in IDE action fetches an agent's branch locally and opens it in your editor's native source-control panel:
git fetch origin agent-swarm/<id>
git checkout agent-swarm/<id>
Cursor and VS Code then show side-by-side diffs with accept/reject per file. No custom extension required.
Commit Thread
When the work is ready, Commit Thread integrates it. A dialog fetches an LLM-drafted title and body, lets you edit them, and confirms.
- Feature branches on → merges into a generated feature branch and opens a pull request.
- Feature branches off → merges directly into the project's default branch.
After the merge
The diff bar becomes a status banner:
- PR open — shows CI check status and a link to the pull request.
- PR merged — offers to close the thread.
- Merged to main — confirms the commit and push.
- PR creation failed — offers a one-click Retry.
Merge conflicts are detected and flagged on the branch so you can resolve them before integrating.