For teams shipping with AI

Risk-based code review and codebase analytics.

AI delivers whole features at once. Decide which code is critical and who reviews it; Coance applies that to every pull request and shows how much critical code you have and how it changes.

How it works

  1. Write the policy

    Define review levels and map paths to them in coance.yml or CODEOWNERS.

  2. Review files by risk level

    Coance asks each file’s owners for the review its level needs. The coance check passes when every governed file is approved.

  3. Analyze your code

    See the lines of code under each risk level, and how they change over time.

The policy in one file

Files under /src/payments/ are critical: they need two approvers from the payments or security team, neither of them the author. Add a level for each area that needs a careful review.

Files no rule matches are treated as lower risk and may need less review: Coance adds no requirement for them, and your repository’s usual review process applies.

Configuration reference →

# .github/coance.yml
levels:
  critical:
    approvals: 2
    self_review: false
    description: |
      Money moves here. Read every changed line; two
      reviewers, neither the author. Related: PCI DSS
      v4.0.1 requirement 6.2.3.1.

rules:
  critical:
    paths:
      /src/payments/: '@acme/payments @acme/security'

Review files by risk level

Each governed file gets a thread that tags its owners, who approve it by resolving the thread or replying /approve. One summary comment tracks the pull request, and the coance check passes when every governed file is approved.

The summary comment Coance keeps on a pull request: two payment files at the critical level with their approvals and approvers, 367 lines changed of which 203 are critical, and the coance check in progress with 1 of 2 files approved.
The summary comment on a pull request. Demo data.

See your code by risk level

AI makes pull requests larger and more frequent, and review thins out everywhere, payments and access control included. See how much of your code sits under each review level, and how that changes with every merge.

The Coance dashboard for acme/payments-service over the last year: 57,911 lines of code, 11,582 of them governed with Coance (20%, all critical), review activity of 925 governed lines reviewed across 11 pull requests with 16 approvals, a stacked area chart of lines of code over time with the critical code on top of the code not governed with Coance, and a bar chart of each recent pull request split into its critical and not governed shares.
The dashboard. Demo data.

Regulatory context

Few rules require line-by-line review; many ask for controlled, documented change. PCI DSS asks for custom software to be reviewed before release, by someone other than the author when reviews are manual. [1] NIST’s SSDF leaves it to the organization to decide where code review is used. [2] DORA asks EU financial entities for change management in which changes are recorded, assessed and approved. [5]

Coance helps you demonstrate a documented, enforced and auditable review process. It does not make you compliant with any of these, and this is not legal advice. More context and sources →

Get started

Create your organization, install the GitHub App, add coance.yml and open a pull request. The app guides you through each step.

The setup guide in the Coance app, with four steps: create your organization, install the GitHub App, add coance.yml and open a pull request.