Direct answer
A risk-tiered approval matrix sorts infrastructure actions by blast radius, reversibility and data sensitivity, then assigns each tier its own approver and evidence bar. Tier 1 covers low-risk, reversible edits a service owner can approve from a diff. Tier 2 covers shared-infrastructure updates needing a platform approver outside the execution path. Tier 3 covers destructive, identity or data-plane changes needing two named approvers plus a recorded rollback. Claude Code prepares the evidence for every tier but never occupies the approver seat.
The concrete win is that a tag edit stops waiting behind the same review a database replacement needs, while the database replacement actually gets the scrutiny it deserves. The concrete loss is classification overhead: someone has to decide which tier a change belongs to, and misclassification is its own risk. The practical implication is to build the tier definitions before the first agent-proposed change and to require the approver to sit outside the execution path for anything above Tier 1.
Why one rule for every change fails
A single approval rule fails in both directions at once. Make it light and destructive changes slip through with a glance. Make it heavy and reviewers learn to rubber-stamp, because a gate applied to every trivial edit trains people to approve without reading. Either way the control degrades.
Agent assistance sharpens the problem. Claude Code produces a clean, well-formatted proposal quickly, and a reviewer facing a queue of identical-looking diffs has little time to find the one that destroys state. A tier system gives reviewers a signal about how hard to look before they start reading, which is the point most approval processes miss.
Independent, F058: OWASP guidance on secure coding with AI calls for human review of CI/CD changes and treats agent output as untrusted input. OWASP does not prescribe your specific tiers. That part is a team design choice, and this post gives you a starting matrix to adapt.
Three design principles keep a matrix honest. Approval strength follows blast radius and reversibility, not how confidently the agent describes the change. Tiers complement technical guardrails rather than replace them. And a risk score is a triage aid, never a guarantee of safety.
The matrix also needs a home in your governance structure, and the platform governance council charter guide covers who owns approval policy when several teams share one platform.
Risk Tier Definitions
Four tiers cover most infrastructure work. The boundaries matter more than the labels, so define them with examples your team recognizes.
| Tier | Definition | Example action | Required approver |
|---|---|---|---|
| Tier 1 | Reversible, single-service, no data impact | Tag or label edit, description change | Service owner |
| Tier 2 | Shared component, in-place, limited blast radius | Instance size change, route table update | Platform owner, outside execution path |
| Tier 3 | Destructive, stateful, or identity-affecting | Resource delete or replace, IAM boundary change | Two approvers, one outside execution path |
| Tier 4 | Emergency restoration under time pressure | Break-glass access, outage mitigation | Pre-authorized emergency approver |
Level 1 exists to keep the system fast. A description change on a non-production resource carries almost no risk, and treating it like a migration wastes the reviewer attention you need elsewhere.
Shared infrastructure starts at level 2. The change may be in-place and reversible, but it affects more than one service, so a second set of eyes from outside the execution path earns its cost.
Level 3 is where teams get into trouble when it is missing. Deletes, replacements and permission changes are where data loss and access expansion hide. Two approvers, and at least one who did not generate or execute the change.
Emergency restoration sits outside the routine levels. It has its own pre-authorization, and gets reviewed after use. The Claude Code Break Glass: Incident Access Controls guide covers the time-boxed path that work requires.
Blast Radius
Blast radius asks how much breaks if the change goes wrong. A single service, a region, a whole account. The question is about reach, not intent, and an agent cannot assess reach on its own because it does not know your dependency graph.
Score blast radius with three questions. How many services depend on the resource being changed. Whether the change crosses an availability or network boundary. Whether downstream consumers would notice immediately or only under load. If a deny rule at the policy layer already gates the change, the blast-radius note still belongs in the record, because a blocked deploy and a reviewed deploy are different evidence.
| Blast radius signal | Scoring question | Evidence source |
|---|---|---|
| Dependency count | How many services call this resource | Service catalog or dependency map |
| Network boundary | Does the change cross VPC, subnet or zone | Network diagram, routing config |
| Consumer visibility | Would downstream see it immediately | SLO dashboards, consumer inventory |
| Shared component | Is this resource multi-tenant | Ownership and tenancy records |
A change that crosses a network boundary deserves a higher tier than its diff size suggests. Moving a load balancer between subnets is a small configuration edit with a large reach, and a reviewer who only reads the diff will miss it. The same reach question applies when the change touches state shared across teams, and the Terraform state locking and access controls guide covers how concurrent applies turn a routine edit into a shared-impact event. When the diff no longer matches the live environment, the Terraform drift triage guide covers separating an intended change from one nobody reviewed.
The Claude Code NetworkPolicy Blast Radius guide treats reach specifically for Kubernetes network policy, where a single rule change can cut a workload off from a dependency it needs.
Reversibility
Reversibility asks whether the change can be undone cleanly and how fast. A change you can revert in a minute is a different risk object from one whose reversal is destructive or impossible.
| Reversibility class | Description | Evidence needed |
|---|---|---|
| Fully reversible | Re-apply prior config restores state | Prior config retained and tested |
| Reversible with cost | Undo works but takes time or downtime | Documented rollback runbook |
| Irreversible | Data or state cannot be recovered | Explicit acknowledgment, backup proof |
| Cascade risk | Reversal itself triggers further change | Downstream impact analysis |
Replace actions hide in the reversible column when they are not. A Terraform replacement is a delete followed by a create, and for stateful resources the delete is the destructive half. Read the Claude Code Terraform Plan Review Gates guide for how to read attribute-level diffs that expose a replace hiding inside an update-shaped line.
Irreversible changes belong in Tier 3 no matter how small they look. The evidence requirement is not a rollback plan, because none exists; it is proof that a backup or copy is in place and restorable.
Data and Identity Impact
Data sensitivity and identity changes both justify raising a tier independently of blast radius. A change touching a small, low-traffic resource can still be high risk if it moves regulated data or widens access.
Data questions to ask: does the change expose, move or delete data with a classification above internal; does it alter encryption, retention or backup; does it create a new copy of regulated data in a new location.
Identity questions matter because permission changes compound. Official, F059: Kubernetes RBAC permissions are additive, so a change that alters bindings can expand effective access beyond the edited object. The RBAC reference describes how roles and bindings combine. A reviewer reading only the edited Role may miss the ClusterRoleBinding that widens the grant cluster-wide.
| Impact type | Scoring question | Raise tier when |
|---|---|---|
| Data classification | Above internal, or regulated | Any exposure, move or deletion |
| Encryption or retention | Does handling change | Any alteration to policy |
| Access expansion | Additive grants, new bindings | Any binding or boundary edit |
| Secret handling | New secret paths or stores | Any change to secret routing |
Identity changes always justify at least Tier 3 in this matrix. The Claude Code Cloud IAM Permission Boundaries guide covers how to scope the boundaries themselves, and the Claude Code Access Recertification for Agent Identities guide covers the periodic review that catches grants which quietly accumulated. The same additive union problem appears on the cluster side, where the Kubernetes RBAC least privilege reviews guide covers why one new binding can widen effective access without touching the object you edited.
Required Evidence
Each tier defines the evidence an approver needs before signing. More risk, more evidence. The matrix below pairs tier with what must exist.
| Tier | Minimum evidence | Retention owner |
|---|---|---|
| Tier 1 | Diff or plan output, requester and reason | Service team, 90 days |
| Tier 2 | Saved plan, blast radius note, rollback path | Platform team, 1 year |
| Tier 3 | Saved plan, attribute-level review, two approvals, backup proof | Platform plus security, 1 year |
| Tier 4 | Incident ID, authorized approver, time box, session log | Incident review owner, 1 year |
Official, F056: Terraform plan provides a reviewable proposal before apply, which makes a saved plan the natural evidence artifact for Tier 2 and above. The plan reference describes the command as a preview that carries out none of the listed actions, so the plan is a proposal the approver reviews rather than a record of what ran.
Saved plans can contain sensitive values in cleartext, so treat them as privileged artifacts with their own handling discipline. The Claude Code SOC 2 Change Evidence Packets guide describes a packet structure that keeps requester, reviewer and approver distinct for audit, and the audit evidence integrity checks guide covers proving the evidence you keep has not been altered between the review and the audit that reads it.
Policy results are a useful input but not the decision. Official, F060: Azure Policy audit and deny effects have different operational consequences for a proposed change. An audit effect reports without blocking; a deny effect blocks deployment. The built-in policy definitions show the range of controls available. Read a policy result as one risk signal feeding the tier decision, not as the approval itself. The distinction between reporting a risk and blocking on it is the same one the policy-as-code audit-before-deny guide works through for agent-proposed infrastructure.
Approver Separation
Separation of duties is the property that makes the whole matrix meaningful. The identity that approves must not be the identity that generated or executes the change, and the agent is never an approver.
Three seats to keep distinct:
The preparing seat, where Claude Code drafts and summarizes. The approving seat, a named human who accepts the risk. The executing seat, a governed identity that runs the apply.
| Tier | Preparing seat | Approving seat | Executing seat |
|---|---|---|---|
| Tier 1 | Claude Code plus engineer | Service owner | Engineer |
| Tier 2 | Claude Code plus platform engineer | Platform owner | CI or engineer |
| Tier 3 | Claude Code plus engineer | Two named approvers | Governed CI identity |
| Tier 4 | Claude Code assists diagnosis | Pre-authorized emergency approver | Break-glass identity |
For Tier 3, at least one approver must be outside the execution path entirely. That approver is checking whether the change should happen, independent of how it gets applied.
Official, F071-adjacent: Claude Code security documentation describes permission modes, sandboxing and managed settings as safeguards. Those controls shape what the agent can technically do. None of them constitute business approval, which is why the agent never fills the approving seat in any tier.
The accountability question is separate from the tier question. The Claude Code RACI: Ownership for Infrastructure Changes guide names one accountable human per change class. Use the RACI to decide who, the tiers to decide how much evidence. Before an approval reaches a human, a repository hook can screen the proposed change, and the repository hooks security guide covers keeping that screening path trustworthy.
Emergency Tier
The emergency level is the escape hatch, and escape hatches need tighter definitions than the routine tiers, not looser ones. An undefined emergency path becomes the route of least resistance and the routine tiers stop being used.
Define three things before you need them. What qualifies as an emergency, which is production down or actively degrading, not a deadline slipping. Who can authorize escalation, named in advance. When the escalation ends, which is a time box measured in hours.
# tier 4 authorization fields
# incident_id: the active incident this change supports
# approver: pre-authorized emergency approver on record
# time_box: escalation expires at a stated time
# scope: the specific resources the escalation covers
# review_owner: who reviews the decision after the factThe avoid list for this tier is short and strict. Do not treat every urgent request as an emergency. Do not let the agent grant its own escalation. Do not leave emergency access active after the incident closes. And do not claim the tier prevents anything; it routes a decision to a named person under time pressure.
The Claude Code Change Freezes: Emergency Change Rules guide covers the exception path during a freeze window, and the Claude Code NIST Incident Tabletops guide covers rehearsing these decisions before a live incident.
Matrix Maintenance
A tier matrix is a living document. Services change, new resource types appear, and the classification that fit last quarter stops fitting. Maintain it with the same discipline as the rest of your governance.
Review the matrix quarterly and whenever a new service or resource type enters production. Record each change to a tier definition with a reason, so auditors can see the matrix evolved deliberately rather than drifted. Assign a named owner for the matrix itself, distinct from the owners of individual changes, and give that owner a review cadence the runbook ownership and review cadence guide describes for any operational document that has to stay current.
| Maintenance trigger | Action | Owner |
|---|---|---|
| New service in production | Classify its change types | Service owner |
| New resource type adopted | Add tier examples | Platform owner |
| Misclassification found | Correct tier, record reason | Matrix owner |
| Reorg changes owners | Update approver names | Matrix owner |
| Quarterly review | Reconfirm definitions | Matrix owner |
Watch for tier inflation, where changes creep upward and reviewers start skipping evidence because everything is Tier 3. The fix is usually better examples at the boundaries, not lowering the tiers. Watch also for the opposite, where a destructive change gets classified as routine because it arrived during a busy week. When a change is denied at policy level, keep the reason with the record, which is the audit trail the audit evidence integrity checks guide covers.
| Tier mismatch | Risk | Correction |
|---|---|---|
| Destructive change marked Tier 1 | Data loss without backup proof | Raise to Tier 3 |
| Trivial change marked Tier 3 | Reviewer fatigue, rubber-stamping | Lower to Tier 1 with examples |
| Identity change marked Tier 2 | Access expansion with one approver | Raise to Tier 3 |
| Emergency marked as planned | Skipped post-review | Route through Tier 4 |
Verification and retention
Approving a change is not the end of the control. Each tier needs a verification step after execution and a retention owner for the evidence, because an approval nobody can reconstruct later is an approval that fails audit.
| Tier | Verification requirement | Retention owner |
|---|---|---|
| Tier 1 | Confirm intended effect in the target environment | Service team |
| Tier 2 | Verify no downstream SLO regression within the window | Platform team |
| Tier 3 | Confirm data or access state matches the approved intent | Platform plus security |
| Tier 4 | Full decision review once the incident closes | Incident review owner |
Verification closes the gap between what was approved and what actually happened. A plan is a proposal; the apply is a separate event against a target that may have changed. Treating them as the same object is the most common way a gated process gives false confidence. The habit of demanding proof that the intended effect occurred, rather than accepting a claim of completion, is covered by verification-done proof, and the broader boundary of what a change can reach is the territory the infrastructure threat model boundaries guide maps.
The concrete win, loss, and implication
The concrete win is proportionate review. A tag edit moves in minutes with a service owner’s approval, while a database replacement gets two named approvers, an attribute-level diff and backup proof. Both happen because the matrix separated them in advance.
The concrete loss is classification overhead plus misclassification risk. Someone decides each change’s tier, that decision takes time, and a change placed in the wrong tier gets the wrong level of scrutiny. A tier system is only as good as the classification discipline behind it.
The practical implication is to define the matrix before the first agent-proposed change and to require approver separation for anything above Tier 1. Start with your three highest-risk change types, write concrete examples at each tier boundary, and pair the matrix with technical guardrails so the paper tiers match what credentials actually permit. A risk score is a triage aid, and no score guarantees safety.
Tier assignment also shapes the record you keep when an incident review asks why a change was allowed. The evidence packets the SOC 2 change evidence packets guide describes map cleanly onto tiered approvals, and the NIST incident tabletops guide covers rehearsing the escalation decisions before a live event.
Data gap and future update
Four facts carry the claims in this post. F058 is independent OWASP guidance calling for human review of agent-produced CI/CD changes, with the explicit caveat that OWASP does not prescribe specific risk tiers. F059 is official Kubernetes documentation on additive RBAC permissions. F060 is official Azure documentation on audit and deny policy effects. F056 is official Terraform documentation on plan as a reviewable proposal.
No measurement of how a tier matrix affects change failure rate, approval latency or caught-before-apply error rates is reported here, because none was collected and no public dataset covering agent-assisted infrastructure approval tiers exists in the sources used. A future update quantifying the effect would need a fixed repository history, a defined change population and a before-and-after window.
Tier boundaries in this post are editorial examples for a matrix you should adapt. They are not derived from a published standard, and this post does not claim any tier structure is a compliance control. For audit-specific evidence requirements, the Claude Code Audit Evidence: Completeness and Integrity guide covers evidence quality separately.
One AI API Key option for OpenAI-format agents
Claude Code uses an Anthropic-format route, so the One AI free model IDs are not a Claude Code model source. The research behind this post records Claude IDs as unavailable on 2026-11-27.
OpenAI-format agents have a separate path. One AI API Key provides https://api.oneaiapikey.com/v1, a single key and 46 live free model IDs. That is a different client and request format, not a workaround for Claude Code authentication. See the free model list for eligibility notes, or the quickstart for the request shape. The cost calculator helps compare hosted options before you commit.
FAQ
Should every infrastructure change go through the same approval?
No. A single rule either lets destructive changes through or trains reviewers to rubber-stamp. Match approval strength to blast radius, reversibility and data or identity impact so attention concentrates where risk concentrates.
Can Claude Code assign the risk tier?
It can propose a tier based on the change it drafted, but the assignment should be confirmed by a human. The agent does not know your dependency graph, data classifications or tenancy boundaries well enough to own the classification.
Why does an additive permission change raise the tier?
Because permissions combine. A binding edit can widen effective access beyond the object being edited, as the Kubernetes RBAC documentation describes for additive permissions. One approver reading only the edited object misses the wider grant.
Does a policy deny effect replace the approval step?
No. A deny effect blocks a deployment automatically, and an audit effect only reports. Either way the policy result is one input to the decision. Business approval stays with a named human.
Can a saved Terraform plan serve as approval evidence?
Yes, and it is the right artifact for Tier 2 and above, because the apply can consume exactly the reviewed bytes. Treat the plan file as privileged, since it can contain sensitive values in cleartext.
More Claude Code troubleshooting
- Kubernetes Server-Side Apply: Ownership Checks for Claude Code
- Claude Code Pod Security: Admission Gate Reviews
- Claude Code Cloud Costs: Budget and Quota Guardrails
- Claude Code AISVS: Control Mapping for Platform Teams
- Claude Code Security Exceptions: Expiry and Ownership
- Claude Code Vendor Review: Security Evidence Checklist
- Claude Code OpenTelemetry: Semantic Conventions for Agents
- Claude Code Incident Timelines: Request ID Correlation
- Claude Code SLO Alerts: Burn Rate During Changes
- Claude Code Error Budgets: Release Decision Policy
- Claude Code Postmortems: Evidence Without Blame
- Claude Code Log Pipelines: Health Checks Before Triage
Sources
- Independent: OWASP Secure Coding with AI Cheat Sheet, supporting human review of agent-produced CI/CD changes in F058.
- Official: Kubernetes RBAC authorization, supporting additive permission behavior in F059.
- Official: Azure Policy built-in definitions, supporting audit and deny effect consequences in F060.
- Official: Terraform plan command reference, supporting plan as reviewable proposal in F056.
- Official: Claude Code security documentation, supporting the agent-on-proposal-side boundary.