Skip to content
PERMISSION/PROTOCOL

Compliance guide

SOC 2 Change Management for AI Coding Agents on GitHub

Permission Protocol17 min readSources checked

The takeaway

SOC 2 change management for AI coding agents: what GitHub records when Copilot writes or approves a pull request, and what evidence to give your auditor.

In this article

What SOC 2 change management asks for, in its own words

This guide quotes the 2017 Trust Services Criteria with the revised points of focus published in 2022, the edition in force when we checked sources on December 1, 2026. The change-management criterion, CC8.1, is one sentence:

“The entity authorizes, designs, develops or acquires, configures, documents, tests, approves, and implements changes to infrastructure, data, software, and procedures to meet its objectives.”

It lists the acts. It does not say who performs them, and it never mentions a human, a second person, a pull request or code review. Its points of focus add timing: a process “to authorize system and architecture changes prior to design, development, or acquisition and configuration”, and “A process is in place to approve system changes prior to implementation.” AICPA Trust Services Criteria (2022 points of focus)

Within CC8.1, the idea of a second person enters through wording added to one point of focus in 2022: “A process is in place to implement system changes with consideration of segregation of responsibilities (for example, restricting unilateral code development or testing and implementation by a single user) to prevent or detect unauthorized changes.” Segregation of duties also appears elsewhere in the criteria, in a CC5.1 point of focus (“Management segregates incompatible duties and, where such segregation is not practical, management selects and develops alternative control activities.”) and in the CC6.3 criterion on access. None of them names who approves a code change. Points of focus are not a checklist. The same document says: “Use of the trust services criteria does not require an assessment of whether each point of focus is addressed.”

So the rule that someone other than the author approves a change is a control your company writes to meet CC8.1. It is not a sentence in the criterion. Your auditor tests the process you documented. A typical wording is “approved by someone other than the author”, and that is the sentence an AI coding agent strains.

The AICPA proposed an update on October 28, 2026. Comments are open through January 15, 2027. If approved, the proposed 2027 criteria would apply to engagements beginning on or after December 31, 2027, with early adoption permitted. The AICPA says the proposal restructures the criteria and adds points of focus on topics including AI governance and the transparency of AI-generated outputs. We have not read the draft text, so this guide does not say where change management sits in it. Check criterion numbers against the final version. AICPA news release, October 28, 2026

Where an AI coding agent strains the control

GitHub's own documentation describes the problem in the same terms:

“Requiring one approval usually means two people are involved in a change: the person who wrote it and the person who approved it. That assumption doesn't hold when Copilot opens a pull request under its own app identity instead of on behalf of a person, for example when you prompt it from a shared context such as a group thread or channel.”

GitHub Docs, available rules for rulesets

There are three places where “someone other than the author” gets hard to read:

  • An agent wrote the change. Your control has to say who the author is: the agent, the person who asked for the work, or both.
  • An AI reviewer supplies the approval. If an AI review can satisfy the required-approval rule, “someone other than the author” may no longer mean a person.
  • The agent is one GitHub does not run. The attribution described below is documented for Copilot cloud agent. For a coding agent run from a laptop or a CI job under a developer's credentials, we found no source either way. Check whether each tool leaves any marker of AI origin. If it leaves none, the developer appears as the author of record, and your control should say whether that is what you intend.

Token Security puts the agent-reviews-agent case this way in a sponsored article on BleepingComputer: “When an agent makes a change and a second agent reviews it, the separation is only nominal, even though two identities were involved.” Sponsored article by Token Security

What GitHub already does when Copilot writes or reviews

GitHub's native controls cover most of this when they are configured. The statements below are from GitHub Docs as of December 1, 2026. The pages carry no publication date, so check them again before an audit.

When Copilot cloud agent writes the pull request

  • “Draft pull requests created by Copilot cloud agent must be reviewed and merged by a human.” The agent cannot mark its pull request ready for review, and it “cannot approve or merge a pull request.” Risks and mitigations
  • The person who asked for the work cannot supply the approval: “If your repository requires pull request approvals, your approval of a Copilot pull request won't count toward the required number.” Review output from Copilot
  • “Copilot cloud agent's commits are authored by Copilot, with the developer who assigned the issue or requested the change to the pull request marked as the co-author.” The commits are signed, and each commit message links to the agent session logs. Risks and mitigations
  • When Copilot opens a pull request that is not attributed to a person, “the ruleset requires one more approval than the number you configured.” GitHub marks this ruleset feature as public preview. It is on by default in rulesets, administrators can turn it off there, and it always applies to branch protection rules. It has no effect if zero approvals are required. Pull requests from a personal automation are attributed to the person who created it, and that person cannot approve them. Available rules for rulesets | Copilot automations
  • “By default, GitHub Actions workflows will not run automatically when Copilot pushes changes to a pull request.” Someone has to approve the run. That approves running CI on the agent's code. It is not approval of the change. Review output from Copilot
  • Enterprise owners can filter the audit log with actor:Copilot “to view agentic activity over the last 180 days.” Events carry actor_is_agent, agent_session_id and a user field: “The person who initiated the agentic event.” Export on a schedule if your audit period is longer than that window. Audit log events for agents

When Copilot code review is allowed to approve

  • By default Copilot leaves a comment review, not an approval: “This means that, by default, Copilot's reviews do not count toward required approvals for the pull request.” Using Copilot code review
  • An administrator can change that: “When approvals are enabled, Copilot can submit an approving review that satisfies your repository's required-approval rule the same way a teammate's approval would.” New commits dismiss a Copilot approval. Using Copilot code review
  • The switches sit under repository settings (Copilot, Code review): Allow Copilot to approve pull requests, and Allow Copilot approvals to count toward merge requirements, with optional file-path globs (up to 15) so that approvals count only where every changed file matches. Organizations choose whether to count Copilot approvals, including Disabled everywhere. At enterprise level, Disabled everywhere is the default. GitHub notes that approval settings are not available through the API, so keep screenshots. Configuring code review

Not confirmed: the pages we checked do not settle whether a Copilot approval can satisfy the requirement on a pull request that Copilot cloud agent wrote. One page says such pull requests “must be reviewed and merged by a human.” Another says that for a pull request Copilot opened under its own identity, with the extra approval turned off and approval of the most recent push required, “at least one approval must cover the last push and come from someone other than Copilot.” Neither says what happens in other configurations. The pages also do not say whether a Copilot approval can satisfy code owner review. One page still says Copilot reviews do not count toward requirements, which conflicts with the code review pages. If you enable Copilot approvals, test it in a sandbox repository: let the cloud agent open a pull request, request a Copilot review, and check the merge box. Repeat with Require approval of the most recent reviewable push turned on. Risks and mitigations | Available rules for rulesets | Approving a pull request with required reviews

Rules that apply to every author

  • “Pull request authors cannot approve their own pull requests.” Approving a pull request with required reviews
  • “GitHub records the state of the diff at the point when a pull request is approved.” With Dismiss stale pull request approvals when new commits are pushed, a changed diff removes the approval. With Require approval of the most recent reviewable push, someone other than the last pusher must approve. About protected branches
  • Code owner review accepts any one owner when code has several. Rulesets can require approvals from specific teams when certain paths change. Managing a branch protection rule | Available rules for rulesets
  • Administrators are exempt by default:
    By default, the restrictions of a branch protection rule don't apply to people with admin permissions to the repository or custom roles with the "bypass branch protections" permission.
    About protected branches
  • Deployment environments can require named reviewers and prevent the person who started a deployment from approving it. Deployments and environments

Decision table: who approves, by scenario

Each row says what GitHub records or enforces natively, the setting that keeps a named human in the approval, and the evidence to hand the auditor. Your auditor decides what evidence and sampling they accept, so confirm this with them. On a narrow screen, scroll the table sideways.

ScenarioWhat GitHub records or enforcesSetting that keeps a named human in the approvalEvidence for the auditor
A person writes the change and another person reviews itAuthors cannot approve their own pull requests. Required approvals, code owner review and team review by file path are enforced when you configure them.Required reviews | Branch protection | RulesetsRequire at least one approval. Turn on Dismiss stale pull request approvals when new commits are pushed, or Require approval of the most recent reviewable push.Ruleset or branch protection settings, and sampled merged pull requests showing the approving review and CI results.
Copilot cloud agent writes the pull request for a personCommits are authored by Copilot with the requester as co-author, signed, and linked to the session logs. The agent cannot approve, merge or mark its own pull request ready. The requester’s approval does not count toward required approvals.Risks and mitigations | Review Copilot output | Audit log eventsKeep at least one required approval, so someone other than the requester has to approve (see the Copilot code review row if AI approvals are on). Keep the default that holds Actions workflows on Copilot’s pushes until someone approves the run (that approves CI, not the change).The pull request with its Copilot author and co-author, the session log link, an approving review by someone other than the requester, and, for enterprise owners, audit log events filtered by actor:Copilot.
Copilot opens a pull request under its own identity (for example, a shared automation)When the pull request is not attributed to a person, rulesets require one more approval than configured. This is on by default in rulesets (public preview), can be turned off there by administrators, and always applies to branch protection rules.Available rules for rulesets | Copilot automationsKeep at least one required approval (the extra approval has no effect at zero) and leave the extra approval on.The ruleset showing the setting, and sampled pull requests carrying the additional approval.
A coding agent runs locally or in CI under a developer’s own credentialsNot covered by the GitHub pages we checked. Not confirmed either way.Our reasoning, not a documented control: if the tool leaves no marker, the developer is the author of record, so say so in your control and keep the person-to-person approval from the first row.Your control text defining the author. Check what records each tool keeps.
Copilot code review is allowed to approveOff by default, and disabled everywhere at enterprise level by default. When enabled, its approval satisfies the required-approval rule like a teammate’s and is dismissed by new commits. Whether it can count on a pull request Copilot cloud agent wrote is not settled by the pages we checked. Not confirmed.Use code review | Configure code reviewLeave Copilot approvals off, or limit them with file-path globs to a low-risk tier, so they do not count on any pull request that touches other paths. Require approval of the most recent reviewable push is not documented to exclude a Copilot approval on a pull request a person wrote. Test your exact configuration in a sandbox repository.Screenshots of the enterprise, organization and repository settings (approval settings are not available through the API), the glob list, and governance records for the reviewing agent.
New commits arrive after approvalGitHub records the diff when a pull request is approved. If the diff changes, the approval is dismissed as stale when that option is on. Copilot approvals are dismissed by new commits.About protected branches | Use code reviewDismiss stale pull request approvals when new commits are pushed, Require approval of the most recent reviewable push, or both.The rule settings, and a pull request timeline that shows the dismissed review and the new approval.
An administrator merges without approvalBy default, branch protection restrictions do not apply to administrators, and owners and administrators can merge a pull request without an approving review.About protected branches | Required reviewsRemove the default administrator exemption, or document who keeps it and review every merge that skipped approval.The list of who can bypass, and your record of each merge without approval and who reviewed it.
The merged change deploys to productionEnvironment required reviewers (up to six listed; one approval lets the job proceed) and an optional Prevent self-review. Administrators can bypass by default. On Free, Pro and Team plans, required reviewers apply only to public repositories. Who counts as the initiator when an agent’s merged change starts the deployment is not documented on the pages we checked.Deployments and environmentsRequired reviewers and Prevent self-review on the production environment, with administrator bypass restricted.The environment protection settings and, for sampled deployments, who approved the deployment job.

Example control wording you can adapt

This is example wording, not audit advice. Replace the bracketed parts with your own tiers, roles and paths, and confirm the result with your auditor before you rely on it.

Example wording

  1. Author. A change produced by an AI coding agent is attributed to the person who assigned, prompted or ran the agent. Where the platform records no requesting person, the change has no human author and needs one additional approval by a person.
  2. Approval. Every change to a protected branch is approved before merge by an authorized reviewer who is neither the author nor the last person to push.
  3. Tiers. Changes limited to [documentation, tests and other paths listed in the approved glob file] may be approved by the approved AI reviewer. All other changes, including anything under [infrastructure, authentication, payment and data-access paths], need approval by a named human reviewer with write access.
  4. Changes after approval. A new commit after approval voids the approval until a reviewer approves the latest push.
  5. Production. Deployment to production needs approval from a named reviewer who did not start the deployment.
  6. AI reviewer governance. [Role] controls who can access or change the AI reviewer and its approval settings, and that access is included in user access reviews. Changes to its configuration and thresholds go through this process. [Role] monitors its results and handles errors through [process].
  7. Exceptions. Administrator bypasses and emergency changes are recorded and reviewed by [role] within [period].

A commenter in the Vanta community thread cited in the next section suggested the tiered form: “X risk level or higher changes require formal change approval. Changes below that level of risk are eligible for automatic integration”. The governance item mirrors the four additions the same thread relays for AI review: access to the agent, monitoring for drift and errors, CI/CD integration configuration, and its security thresholds.

What auditors and practitioners have said so far

In the sources we could read, we found no published statement from an audit firm on whether an AI reviewer may be the approver, or who the author is when an agent wrote the change. Audit firms have published articles on the subject that we could not open, so this section may be incomplete. What we did read is second-hand or a company's own account.

  • A second-hand auditor answer. In a Vanta community thread, a community member posted, in July 2026, a summary of what their auditor (named in the thread as A-LIGN) told them: “They're not seeing fully AI-only code review (no human) accepted as standard. Most clients keep a human at the approval/push-to-prod step, especially for higher-risk changes.” And for SOC 2: “AI in review is accepted, provided control activities exist around the AI tool/agent.” The summary also says the usual artifacts stay the same (pull request record, review comments, approval, CI results, branch protection, audit log), with AI review adding governance evidence about the agent. Vanta Community thread
  • A company that passed without pull requests. Amp writes that it is SOC 2 compliant without pull requests (its security page says “Amp is SOC 2 Type II certified”), and that its auditors “asked what our change process was, and worked with us on a set of controls that fit it.” It also says: “We're 20 people, mostly engineers, and everyone is close to the code.” This is Amp's own account, and the auditor is not named. Amp, “That's not SOC 2 compliant”
  • The open practitioner question. The same Vanta thread started with this question:
    How are you defining the "approval" in your control descriptions? Are you treating the AI's pass/fail criteria as the authorized control activity?
    Nobody in the thread reported clearing an audit with AI-only approval.

None of these sources asks for a signed or independently issued approval record. The evidence the relayed auditor answer lists is the usual pull request, review, CI and audit log record, plus governance of any AI reviewer.

Evidence checklist for the audit period

This is a starting list, not audit advice. Confirm scope and sampling with your auditor.

  • The control text, with its definition of the author for agent-written changes and its approval tiers.
  • Ruleset or branch protection settings for each repository in scope, including who can bypass them.
  • Copilot code review approval settings at enterprise, organization and repository level, captured as screenshots.
  • The population of merged pull requests for the period and, for each sample, the author, any co-author, the approving reviewer, whether the approval covers the last push, and the CI result.
  • For Copilot cloud agent work, the session log links and, if you are an enterprise owner, audit log exports filtered by actor:Copilot, saved before the 180-day window closes.
  • Production environment protection settings and the approvals on sampled deployments.
  • For any AI reviewer: who can change it, its configuration history, and how its errors are monitored.
  • The exceptions log: administrator bypasses and emergency changes, each with its review.

Where a signed approval record fits

Keep your approvals. We make them evidence. Everything above uses records GitHub already keeps, and you may need nothing more. Permission Protocol adds one thing: a signed record of which named person approved which commit, which can be checked outside the platform that ran the agent. In the sources we read, no auditor asks for one. It is an addition, and the reasoning behind it is our own view. The actor cannot be the notary. When agent-reviewed approvals clear a low-risk tier, an approval record issued by a separate party is a second place to check who decided the rest.

With Deploy Gate, the Permission Protocol GitHub App posts a check, permission-protocol/approval, that stays pending until a signer you configure in Permission Protocol approves. It holds a merge only when your branch rules require that check, and anyone who can bypass required checks can bypass it. The approval is checked against the pull request's head commit. It gates the changes your workflow routes through it, whoever wrote them. It does not detect whether an agent wrote a change. Approvals come from workspace owners and admins, or from an API key explicitly scoped for approvals; an API-key approval does not name a person.

The receipt names the approver, the decision, the commit, the repository, the environment and the policy version. Permission Protocol's Ed25519 issuer key signs it; the approver is a field in that signed record. It does not label a change as AI-originated, does not prove the change ran, and does not make anyone compliant. To check one offline, export the receipt artifact and its key set, then run:

npx @permission-protocol/verify artifact.json --keys keys.json

On this site's own deploy receipt, the November 10, 2026 run printed VERIFIED and the note that current authorization, expiry and execution are not checked. Compare the issuer key fingerprint with an independent record rather than trusting the key file. Read the receipt field guide and the verification details. Permission Protocol does not yet hold a SOC 2 report of its own; see the compliance status.

For the difference between who asked an agent to act and who approved the result, read delegation versus decision evidence. For what an approval record must show, see how to prove a human approved an agent action. Other frameworks are on the compliance evidence page.

Put it into practice

Review the Deploy Gate guide

See how a required check holds a pull request until a configured signer approves its head commit, and what the signed receipt does and does not record.

Keep reading