Code approval should not authorize weaker release gates

Separate application approval from permission to weaken release controls, with named owners, evidence requirements and exceptions that expire.

OpenThunder Editorial · 2026-11-13

For example, an AI-assisted pull request fixes a payment calculation and changes CI so that a failing integration test no longer blocks release. The pull request becomes green, but approving the calculation does not settle whether releasing without that test is acceptable.

Require an independent, accountable human approver whenever a change reduces the evidence or review needed to ship. This rule applies regardless of whether a human or AI wrote the change.

A passing check proves less when the same change weakens the check.

Protect the approval path, not just particular files

Define protected controls by their effect. A list of configuration files helps reviewers find changes, but it will miss application or test edits that alter what a gate actually checks.

A useful protected-control inventory includes:

Deleting unique coverage required by the release policy can weaken a gate without changing CI configuration. Removing a duplicate test while preserving equivalent required coverage does not, by itself, reduce protection. Review the effect rather than treating every deletion as an escalation.

Editing an ownership rule can also change who approves a release without changing application behavior. Review these changes against the inventory, even when no listed configuration file changes.

An AI-specific disclosure field can help a team evaluate its adoption process, but authorship is a poor substitute for reviewing what a change permits.

Separate maintenance from weakening by behavior

A workflow refactor is maintenance only if it preserves the protection the team intends to enforce. Similar-looking configuration is not enough.

Use these four questions as a quick classification check:

  1. Coverage: Will the same relevant changes still trigger checks with equivalent required coverage?
  2. Blocking: Will the same failures still stop merge or release?
  3. Authority: Can any additional person, account or automation now bypass approval?
  4. Binding: Does the evidence still apply to the exact revision or artifact being released?

A change that reduces protection on any dimension belongs in the weakening category. If reviewers cannot determine its effect, use that category until they have evidence. A duplicate-test removal can qualify as maintenance when the remaining checks demonstrably preserve the intended coverage and blocking behavior.

For a control migration, useful evidence might include an isolated test in which a deliberately failing check still blocks a mock release. A successful build alone does not demonstrate that failure handling remains intact.

Reserve control-owner attention for changes that affect the approval boundary, while retaining ordinary review for application work.

Use a protected-controls approval matrix

This is a recommended policy template, not a regulatory standard. Assign each role to a named person or group before authorizing the workflow. A role with no reachable owner is not an approval process.

Configure the approval path so ordinary code-review approval cannot satisfy a required control approval unless the reviewer also holds that authority and meets the independence requirement.

Change class Accountable owner Required approval Decision rule
Application change, controls unchanged Service owner Normal code reviewer Existing release policy applies; no bypass authority
Maintenance, equivalent or stronger protection Control owner Control owner or delegate, independent of author Demonstrate preserved protection; otherwise classify as weakening
Weakening or uncertain impact Control owner Independent control approver and release-risk owner Explicit baseline decision or expiring exception
Emergency bypass Incident lead; control owner retains restoration responsibility Named emergency approver other than requester Ends at the specified release or deadline, whichever comes first

The independent control approver and release-risk owner may be the same person if that person holds both authorities and did not author or request the change. One approval can satisfy both roles when the record explicitly identifies both responsibilities. Otherwise, obtain both approvals. Name a backup before an incident makes that difficult.

An independent approver is a human who did not author or request the change, has authority over the affected control, and can withhold approval. Automated review, including another model, can contribute evidence but should not supply accountable exception approval.

Test-deletion example: In the payment pull request, deleting the failing integration test would require control review if it removes unique required coverage. The application reviewer should flag the lost coverage, classify it as weakening or uncertain impact, and hold the merge until the named control approver records approval. A configuration-file ownership rule alone would miss this path. If equivalent coverage remains, evaluate the deletion as maintenance instead.

Combined changes need two explicit decisions

The payment fix and the disabled integration gate should not receive one undifferentiated approval.

I would separate them into distinct pull requests when feasible. That lets reviewers reject the control change without discarding the application fix. Where separation is impractical, require distinct application and control decisions in the same record, even if an authorized reviewer holds both roles.

The control approver should see:

Making code pass and making passing easier require different decisions.

If a defect exists in the gate itself, the team can approve a repair. It still needs evidence that the repaired gate enforces the intended rule. Do not label a skipped check as maintenance merely because the check was inconvenient.

Approval should apply to the reviewed revision. Later edits affecting a protected control must invalidate or renew the relevant control approval.

Emergency permission should expire in a meaningful way

Define a shorter emergency approval path with a named decision-maker and a bounded exception.

A team could adopt a default exception permitting one named release and expiring after 24 hours, whichever comes first. The appropriate window depends on the control and the consequences of releasing without it.

Record the requester, independent approver, affected service, exact bypass, substitute evidence, expiry and restoration owner. Avoid open-ended language such as “until the tests are fixed.”

Expiry must change what is allowed.

Expiring a ticket or temporary credential is insufficient if a persistent repository edit still disables the check. Require restoration of the gate or block further use of the exception pending fresh approval. Expiry should not trigger an unreviewed application rollback.

Obtain permission before using the bypass, then use the retrospective to review the decision and improve the policy.

Spend five minutes classifying one recent change

Choose a recent pull request that touched tests, CI or reviewer ownership. Apply the four questions, select its matrix row, and fill out this approval record. Use relevant test results for application changes, equivalence evidence for maintenance, and the exact reduction in protection for weakening.

Change class: application / control maintenance / control weakening / emergency
Protected control and accountable owner:
Author or requester:
Independent approver and basis of authority:
Release-risk owner and approval, if protection is reduced:
Before-and-after coverage, blocking, authority and evidence binding:
Evidence tied to the reviewed revision:
Affected services, artifacts and releases:
Rationale and alternatives considered, if protection is reduced:
Compensating checks, if protection is reduced:
Permanent baseline decision, or temporary exception expiry:
Incident reference and blocked action, if emergency:
Restoration owner and confirmation method:
Edits that require renewed approval:

If the team cannot agree on the classification, clarify the boundary before extending tool permissions. A completed record makes the decision inspectable; it does not establish enforcement or constitute a full audit of tool behavior.

Finish with one permission check: can the requester bypass the required independent approval through repository or deployment permissions?