Get started

Quickstart

Install the App, add one workflow, open a pull request.

Truecount is in a closed beta. Until it launches, it serves only its own accounts: anyone else's install is recorded, and nothing runs and nothing is posted.

1. Install the App

Install the Truecount App on the repositories you choose. The permissions page says what it asks GitHub for and why.

Installing is enough for a review. Truecount's server reads a new pull request through GitHub's API and posts a review. It does this on its own when the author is an owner, member or collaborator, and when a maintainer asks with /truecount review on anyone else's. Nothing is cloned, and none of your code runs. The server-run review section says what it does.

2. Add the agents workflow

For the full reviewer, add one file, .github/workflows/truecount-agents.yml:

name: Truecount agents
on:
  pull_request:
    types: [opened, synchronize, reopened, ready_for_review]
permissions:
  contents: read
  pull-requests: read
  id-token: write   # how Truecount knows which repository and run is asking
jobs:
  truecount:
    uses: truecount-dev/truecount-action/.github/workflows/agents.yml@v0

The reviewer then runs in your Actions runner, with Claude Code and a checkout of your repository, so it reads the code around a change rather than only the diff. It reviews every push to a pull request that is not a draft. The server-run review stops for this repository's own pull requests. It still reviews pull requests from forks, which GitHub gives no token to run Truecount's workflow.

It runs on GitHub's hosted runners unless you say otherwise. To use machines of your own, read Where the agents run.

3. Say what a review should look for

A review is held to your repository's .github/review-guidelines.md: the invariants your code exists to protect, and what not to comment on. With no such file, it uses Truecount's default guidelines and says so. Several repositories can share one file, as Review guidelines explains.

4. Open a pull request

The pull request's checks gain truecount / plan and truecount / review. When the review finishes, truecount-dev[bot] posts one comment. It is edited in place on every later push, and ends with what the reviewer checked and a one-line verdict. Truecount never blocks a merge unless you make one of its checks required.

Optional: the other agents

  • The mutation check breaks the changed lines on purpose and reports the breaks your tests missed. It is its own workflow, and needs no model.
  • Bug reproduction turns an issue into a failing test, opened as a draft pull request. It is included in the paid plans.

More in the docs