Reference
Configuration
Every setting in .github/truecount.yml.
The file is optional: installing the App is the opt-in, and a missing file means the defaults. It is read from a pull request's base commit, so a pull request cannot change how it is itself reviewed. A change to the file takes effect once it is merged.
# .github/truecount.yml
review:
enabled: true
guidelines: .github/review-guidelines.md
shared_guidelines: acme/standards:REVIEW.md
depth: senior
principal_paths:
- "src/auth/**"
ignore:
- "docs/generated/**"
channel: stable
test_gaps: false
Settings
| Setting | Default | What it does |
|---|---|---|
review.enabled | true | false turns off pull request review, both the agents workflow's and the server-run one. |
review.guidelines | .github/review-guidelines.md | The repository's own guidelines file, read from the base commit. See Review guidelines. |
review.shared_guidelines | none | One file several repositories share, as owner/repo:path. It wins where it overlaps the repository's own. The Truecount App must be installed on that repository. Used by the agents workflow's review. |
review.depth | senior | principal makes every server-run review the deeper one, which counts as two runs. |
review.principal_paths | none | Glob patterns. A pull request that changes a matching file gets a Principal server-run review. |
ignore | none | Glob patterns for files the server-run review skips, on top of lockfiles, minified and generated files, snapshots and dist/, build/, node_modules/ and vendor/. |
channel | stable | beta gets candidate models before everyone else, and the test-gap review before its release. |
test_gaps | false | true runs a test-gap review on every pull request, as its own run. |
When the file is wrong
A file that is present but cannot be read is never replaced by the defaults, because the defaults might turn on something you meant to turn off. Nothing runs instead. The server-run review posts a note on the pull request saying what is wrong. The agents workflow says it in the truecount / plan job's log. A key Truecount does not know is ignored, with a warning.