The review loop
How work moves through o8: an independent reviewer reads the diff, findings go back to the author, the fix is reviewed again, and the approved commit merges.
Every change in o8 goes through the same loop. The agent that wrote the code never approves it.
The loop
- Work arrives. Work enters as an o8 mission or packet. A pull request written in another tool can be adopted into one review task.
- An independent reviewer reads the diff. The reviewer is a separate agent, ideally a different model from the author. Its findings are saved together with the commit it reviewed.
- Rejected work goes back to its author. One action sends the saved findings to the agent that wrote the code, with a receipt. Corrections are capped at two rounds. A worker that was stopped is never restarted.
- The fix is reviewed again against the saved findings, and approval moves to the new commit.
- The approved commit merges. An approval is tied to the exact commit and the run evidence it reviewed, and only the assigned reviewer can submit it. The commit that merges is the commit that was reviewed.
A reviewer keeps every tool it needs. It can start workers to reproduce a bug, run the tests or try a fix, and each of those workers runs in its own git worktree.
Higher-risk changes get a second reviewer
Before a model reads a diff, o8 checks its shape: how much changed, whether whole files were rewritten, and whether it matches a dangerous pattern such as a mass deletion.
| The diff touches | Risk | What it gets |
|---|---|---|
| Schema, migrations, the lane state machine, the merge gate | High | A second, blind review |
| Whole-file rewrites or dangerous patterns | High | A second, blind review |
| Ordinary feature and interface code | Standard | One review |
For a high-risk diff, the first approval only nominates the change. The second reviewer gets the diff and the checks it must produce. It never sees the first reviewer's verdict or reasoning, so it cannot simply agree. The merge stays blocked until the second reviewer independently agrees.
When a merge fails
A branch can pass review and still fail at merge time because main moved. o8 rebases onto current main and runs the typecheck again. If that fails, the lane climbs five steps and stops as soon as one works:
| Step | What happens | Who decides |
|---|---|---|
| 1. Rerun | One automatic retry. The worker gets the full typecheck output and fixes its own branch. | o8 |
| 2. Escalate | The lane goes to the lead agent with the reason attached. | o8 |
| 3. Steer | The lead nudges the session that is still open, which already has the context. | The lead agent |
| 4. Redispatch | A new worker starts with the feedback. | The lead agent |
| 5. Human card | The lead hands the decision to you. | You |
Step 1 happens once per dispatch, so a failing run cannot loop.
What is still being built
One governed merge operation, rules that let o8 merge without a person, and reviewers that use verified past outcomes are in progress. See the roadmap.