Before you install

Permissions

What the Truecount App asks GitHub for, and what each permission is used for.

What the App asks for

PermissionAccessUsed for
Pull requestsRead and writeReading a pull request's diff; posting the review and its line comments; opening a pull request when an agent proposes a change.
ContentsRead and writeReading the files around a change, so a review sees what the diff touches. Writing is for one thing: committing an agent's proposed change to a new branch for its pull request.
ChecksRead and writeA check run on each reviewed commit that shows progress and has a Re-run button. It finishes neutral or skipped, so it never blocks a merge.
IssuesRead and writeComments on a pull request's conversation, such as the mutation check's report, and the one issue an audit keeps up to date.
ActionsRead-onlyReading the report the mutation check's workflow uploads, so it can be posted on the pull request.
MetadataRead-onlyRequired of every GitHub App. Also used to check that whoever starts bug reproduction on an issue has write access.

What write access to your code is for

Truecount changes code in one way: it opens a pull request. When an agent proposes a change, Truecount commits it to a new branch named truecount/<agent>-<run> and opens a pull request from that branch. It can only create a new branch, so it never pushes to your default branch or to anyone else's branch, and it never merges. You review the pull request, then merge it or close it.

An agent proposes a change only from a workflow you add to your repository, and each run opens at most one pull request. Before it is opened, Truecount checks every file:

  • Bug reproduction may add test files only, and its pull request opens as a draft.
  • No agent may change workflow or Actions files (.github/workflows/, .github/actions/), Truecount's own settings (.github/truecount.yml) or your review guidelines.
  • Symlinks and submodules are refused. A pull request holds at most 30 files and 2 MB, built on a commit that is already on your default branch.

GitHub grants an App's permissions to the whole repository; there is no setting for "test files only". So these limits are enforced by Truecount's server, which opens the pull request. The Action that runs in your workflow never writes to your repository itself.

What the App listens for

EventWhat happens
Pull requestA review when a pull request is opened, updated or marked ready.
Issue commentA /truecount command in a pull request's conversation.
Check runThe Re-run button on Truecount's check.
Workflow runThe mutation check finishing, so its report can be posted.

GitHub also tells every App when it is installed, uninstalled or given different repositories.

What Truecount keeps from all this, and for how long, is on the privacy page.