Skip to Content

How does the reviewer decide a test coverage pull request is good enough to merge?

Tares merges a pull request once the reviewer’s verdict passes and CI is green. If the reviewer asks for changes in the first round, the builder makes them and the pull request goes to a second review round. The same gate applies to a test coverage pull request as to any other ticket in the software factory for Claude Code.

How it works

The software factory for Claude Code gives each ticket its own branch and pull request. The builder does the work and opens the pull request, and the reviewer reviews every pull request and posts a verdict. The merge gate reads two things: that verdict and the CI result. When the verdict passes and CI is green, the builder merges.

A first-round fail turns into a second round like this:

  • The reviewer asks for changes instead of passing the pull request.
  • The builder makes those changes on the same ticket.
  • The reviewer reviews again, and the next round passes or asks again.

The ticket records each review round next to its pull request and the builder that held it. In the end-to-end project, the first milestone was tests and CI on the branch: Vitest, unit tests for the babysitting logic, and a CI check on every pull request. Most tickets passed on the first round. Two took a second round: the reviewer asked for changes, the builder made them, and the second round passed.

The reviewer also reports smaller issues it finds outside the ticket under review. The orchestrator turns them into a new ticket and places it in the plan, so they do not hold up the pull request in front of the reviewer.

Who presses merge depends on what you chose at crew up. You can let the crew merge on its own once the reviewer passes and CI is green. You can also have a project wait for your yes before every merge. In that case the approval appears as a decision on the project page, with your answer as typed.

Set it up

Setting up the crew follows the steps in Get started. Once it runs, every pull request goes through the reviewer gate.

  1. Check that Claude Code is signed in, that gh is signed in with write access to the repos the crew works in, and that git, jq and curl are installed.
  2. Install the CLI.
  3. On a local Tares, start Tares with tares up. In a second terminal, start the MCP endpoint every crew session shares.
  4. On Tares Cloud, run tares login instead and pick your workspace in the browser. There is no MCP endpoint to start.
  5. Give Tares access to GitHub, in Settings > GitHub for a local Tares or with Connect GitHub on Tares Cloud. Tares needs it to read pull request, CI and merge state.
  6. Bring up the crew and choose how far it may go, including whether it merges on its own after a pass.
  7. Plan the project with tares factory spec, then hand it to the crew.
gh auth login uv tool install tares # or: brew install glassflow/tap/tares tares up # in a second terminal: tares mcp --transport streamable-http # on Tares Cloud, run this instead of the two lines above: # tares login # give Tares access to GitHub, then: tares factory crew up tares factory spec "what you want to build"

While the crew builds, open the Crew page in the console (http://127.0.0.1:8787/crew locally). Pull requests waiting for the reviewer sit in the review queue. Open the project page and its Tickets fold to see each ticket’s state, its pull request and its review rounds.

What you get

  • A single, visible merge condition: a passing reviewer verdict plus green CI.
  • A second review round when the first one fails, with no manual handoff. The reviewer asks, the builder fixes, the reviewer looks again.
  • A record of every round on the ticket, so you can see which tickets passed first time and which needed a second look.
  • Smaller issues found along the way become their own tickets instead of being lost.
  • Control over merging. The crew can merge by itself after a pass, or it can ask you before each merge, and your answers are kept under Decisions.

When something else fits

If you want a person to approve every merge, choose that when you bring up the crew. The reviewer’s verdict still comes first, and your yes follows it. If you only need CI to run tests on a pull request and no reviewer verdict, a plain CI check on your repo does that without the crew.

Still stuck? Get help

Last updated on