Reference

How it works

What happens between a pull request opening and Truecount's comment, and what each side holds.

The agents workflow

  1. Plan. The workflow's first job asks Truecount which agents run for this event. It sends GitHub's OIDC token, which proves which repository and which run is asking, with the pull request's number, draft flag and base commit. Truecount checks the install and the plan, reads .github/truecount.yml at the base commit, and answers with each agent's definition: its prompt, its tools and its turn budget.
  2. Start. Each agent's job checks out the repository without keeping the job's token in .git/config. It exchanges the OIDC token for a run token. A run token belongs to one repository, one run, one agent and one pull request, and expires after an hour.
  3. Guidelines. With the run token, the job fetches what the review is held to. Truecount reads it from the base commit and from any shared file, and the job writes it beside the checkout. A pull request's own edits to its guidelines do not count.
  4. Review. Claude Code runs the agent. Its model calls go to Truecount's model proxy with the run token as the key. The proxy swaps in the model Truecount chose for that agent, keeps each run within its token budget, and forwards the call to the model provider.
  5. Post. The job sends the file the agent wrote. Truecount posts it as the App, on the run's own pull request only, never one the request names.

What each side holds

Truecount's serverYour runner
The agents' definitions, so an improved prompt reaches you without a workflow editThe checkout, and the job's read-only token
The model, and the provider's keyA run token that can call the model proxy and post one comment, for this run
Every write to your repositoryNothing that can write to your repository

The server-run review

With only the App installed, GitHub sends the pull request event to Truecount. Truecount's server reads the diff and the changed files through GitHub's API, at the pull request's commit, and reviews them with the model. It posts the review and its check run as the App. Nothing is cloned, and nothing of yours runs. What Truecount keeps from this, and for how long, is on the privacy page.

What no agent may do

Truecount's server enforces these, whatever an agent's prompt says or a repository tries to convince it of:

  • No agent may edit workflow or Actions files, .github/truecount.yml, or your review guidelines.
  • Bug reproduction may add test files only, and its pull request opens as a draft.
  • Only a pull request, an issue, a schedule or a manual run may start an agent. pull_request_target, which runs with your secrets, may not.

The permissions page has the rest.

More in the docs