---
title: "Review every change"
description: "Every change is built on its own branch, checked by a reviewer, and merged only on a pass."
url: "https://agentfield.ai/docs/codeaf/playbooks/review-every-change"
canonical: "https://agentfield.ai/docs/codeaf/playbooks/review-every-change"
markdown_url: "https://agentfield.ai/llm/docs/codeaf/playbooks/review-every-change"
contract_version: "2026-03-24-v1"
docs_revision: "a2a2b0669dab"
product: "CodeAF"
category: "general"
difficulty: "unspecified"
keywords: []
last_modified: "2026-11-02T17:24:14.000Z"
ai_summary: "Every change is built on its own branch, checked by a reviewer, and merged only on a pass."
---

Two agents are better than one when one of them is paid to say no.

This playbook gives your repository a review line. You type a change to one manager. Its @dev member hands the change to senior-dev, the coding specialist, which builds it on a branch of its own. Its @review member reads that branch's diff against main and runs the tests. The manager merges only when @review says pass; on a fail, your brief has it send the reasons back to @dev for another round.

This playbook's `@review` is a normal team member that reads a local branch and runs tests. It is separate from built-in `/review`, which reads GitHub pull requests without running tests. The measured transcript below remains the original run.

## Steps

1. Settle the work you want carried in. senior-dev starts from your current commit plus eligible uncommitted changes, in a private copy on a fresh branch.
2. In the repository, run `codeaf` and send any first message, such as `List the HTTP endpoints taskboard/server.py serves today, one line each.`
3. Press <kbd>Alt</kbd>+<kbd>V</kbd>, move to that chat's tile, press <kbd>Space</kbd>, then <kbd>S</kbd>. Name the team `shipping` and press <kbd>Enter</kbd>.
4. Press <kbd>Alt</kbd>+<kbd>2</kbd>, then <kbd>Alt</kbd>+<kbd>↑</kbd>, walk to `shipping` with <kbd>↓</kbd>, press <kbd>Enter</kbd> and <kbd>Shift</kbd>+<kbd>M</kbd>. Send the new manager its brief, with your first change at the end:

`You manage shipping, the review line for taskboard. Every change goes through two members you hire with team_start: @dev, who hands the change to senior-dev and reports the branch it made, and @review, who reads that branch's diff against main, runs python3 -m unittest, and answers pass or fail with reasons. Nothing is merged into main until @review says pass. On fail, send the reasons back to @dev and repeat, at most 2 rounds. On pass, merge the branch into main and tell me. First change: PATCH /tasks/<id> with a JSON body {"status": ...} sets the status; 404 for an unknown id, 400 for a bad status.`

5. From then on, every change is one message to the same manager:

`Second change, same line: GET /tasks/<id> returns the task, 404 for an unknown id. @dev hands it to senior-dev, @review checks the branch, and you merge only on pass.`

## What you see

Within seconds the manager hires its line: `Asked for a new member @dev in "shipping"`, then @review, and the rail header reads `● shipping ◆ Manager @dev ⠿ working +2 idle`. The team's Traffic tells the story of each change. For our second change it read, in order: @dev `wants to start a [senior-dev] task`; @dev reports `GET /tasks/<id> is done and passed` with its branch `task/get-tasks-id-endpoint-4b5f86`; @review answers `PASS` with the size of the diff, `(+22/−1)`; and main gains `8c641f2 taskboard: add GET /tasks/<id>`. The manager closes with `Done`, the branch `merged into main`, and `41 tests, OK`.

## In our run

The second change took 2 minutes and 45 seconds from the message to the merge on main. The team spent $0.87 across both changes, reviews included.

## Make it yours

- **Keep a merge commit.** A passing branch is merged the simplest way, which can be a fast-forward. Add "merge with --no-ff" to the brief if you want every change to show as a merge on main.
- **Tighten the review.** Tell the manager what @review must check beyond the tests: a changelog line, no new dependencies, docs for every new endpoint.
- **Route work to it from above.** Put the review line under a global manager, as in [Build a software company](/docs/codeaf/playbooks/build-a-software-company), and any team's change can go through shipping before it lands.

## Go further

[Hand a job to a specialist](/docs/codeaf/hand-a-job-to-a-specialist): Talk a change through in any chat, then say "give this to senior-dev" and the chat hands the job over with everything it found.
