Skip to content
PERMISSION/PROTOCOL

Free self-audit for GitHub repositories

Which changes did AI write, and who approved each one?

Run one script on your own repository. It lists the merged changes that carry AI markers and names the human who approved the exact commit that shipped.

Run the audit

curl -fsSLO https://permissionprotocol.com/downloads/ai-change-audit-2026-12-01-v1.mjsnode ai-change-audit-2026-12-01-v1.mjs your-org/your-repo
  • Read-only requests through your own gh login
  • Nothing is sent to us
  • No signup, no dependencies

Needs Node 18 or newer and the GitHub CLI (opens in a new tab). Read it before you run it: the whole script is 321 lines.

SHA-256 3b74ae4572bb2db003046f1f9eca84daa79bfff10457b829fd185ea9715e74dc

What the report looks like

A count at the top, then one row per change. The output is Markdown you can paste into a ticket, or CSV and JSON for a spreadsheet.

Illustrative sample, fictional repository

acme/payments-api @ main2026-09-02 to 2026-12-01, 90 days
Merged changes
214
With AI markers
61
Approved on the merged commit
38
Approved an earlier commit only
9
No independent human approval on record
14
  • #1482 Raise refund limit for tier 2 accounts

    2026-11-24 · Claude co-author trailer

    Accountable human: m.okafor

    On the merged commit

  • #1479 Rotate webhook signing config

    2026-11-21 · Opened by copilot-swe-agent

    Accountable human: none on record (merged by j.lindqvist)

    None on record

  • #1466 Add retry to payout worker

    2026-11-18 · Branch codex/

    Accountable human: a.rahman (earlier commit)

    Earlier commit only

  • #1451 Migrate ledger table to partitions

    2026-11-12 · Claude Code footer

    Accountable human: m.okafor, s.diaz

    On the merged commit

  • #1440 Update deploy workflow permissions

    2026-11-06 · Opened by devin-ai-integration

    Accountable human: none on record (merged by j.lindqvist)

    None on record

  • #1432 Fix currency rounding in invoices

    2026-11-03 · Cursor co-author trailer

    Accountable human: s.diaz

    On the merged commit

Three outcomes, one question

For every AI-marked change, the audit asks whether GitHub can name a second human who approved what actually shipped.

  1. On the merged commit

    Approved on the merged commit

    A human other than the author approved the exact commit that was merged. GitHub can name the accountable person for this change.

  2. Earlier commit only

    Approved an earlier commit only

    Someone approved, then the change moved. The approval on record covers a commit that is not the one that shipped.

  3. None on record

    No independent human approval on record

    No review by a second human is recorded. The report names who merged, because that is the only human act GitHub kept.

What it cannot tell you

Read these before you quote a number from the report.

  • Detection is by marker: a bot author, a co-author trailer, a branch prefix or a tool footer. AI-written changes that leave no marker are not detected, so treat the AI count as a floor.
  • A marker shows AI involvement. It does not show how much of the change AI wrote.
  • An approval here is a GitHub review in the approved state by a human who is not the author. The audit does not judge how carefully anyone reviewed.
  • A merge is not an approval. On a one-maintainer repository every row will read as no independent approval, which is accurate and may be fine for you.
  • Changes pushed straight to the branch without a pull request are not listed.

Keep your approvals. We make them evidence.

The audit reads what GitHub already records. Permission Protocol adds the part a review cannot: for the changes you choose to gate, a named person signs the exact commit, a later push needs a new decision, and the signed receipt can be checked outside GitHub and outside our console.

Sending results to an auditor or a customer? Pair them with the evidence checklist for human approval.