Direct answer
A change freeze needs an explicit emergency route defined before the freeze starts. Write down three things: what qualifies as an emergency, who can authorize an exception, and what evidence gets reviewed once the freeze lifts. A freeze without an exception path fails in one of two ways. It gets ignored, because people route around a rule that blocks restoration, or it blocks the engineers trying to fix a live outage. Claude Code can prepare emergency changes and document the exception, but it cannot grant itself an exception.
The concrete win is a freeze that holds during high-risk windows because the legitimate emergencies have a documented route instead of a workaround. The concrete loss is that every exception weakens the freeze a little, and retrospective review is what keeps that erosion visible. The practical implication is to publish the freeze scope and the emergency criteria together, then actually review the exceptions afterward.
Freeze Scope
A freeze that says “no changes” is not a policy, it is a wish. Scope it precisely so engineers know exactly what stops and what continues, and so the exception criteria have something concrete to attach to. Naming who owns each protected service is the same accountability question the Claude Code RACI: Ownership for Infrastructure Changes guide covers for change classes.
Define the scope across four dimensions. Which services and environments are protected. Which change types are blocked, such as infrastructure applies, schema migrations and configuration pushes. Which window the freeze covers, with start and end times in a stated timezone. Which activities continue, such as read-only diagnostics, monitoring and incident response.
| Freeze window | Protected service | Exception authority |
|---|---|---|
| Holiday weekend, full stack | All production services | Service owner plus platform owner |
| Peak trading hours, revenue path | Order and payment services | Revenue service owner |
| Major release stabilization | The released service plus dependencies | Release owner |
| Security incident containment | Affected systems | Incident commander |
Read that first row as the common case and the common mistake. A blanket “all production” freeze sounds safest, but it concentrates exception decisions on two people who may be unreachable. Scope by service criticality instead of freezing everything equally, and name an exception authority per protected service rather than a single global approver.
Be explicit that a freeze blocks planned and discretionary work. It does not suspend accountability. Every exception still has a named human authorizing it, and that authorization is recorded.
Emergency Criteria
Emergency criteria are the boundary between “wait for the freeze” and “fix it now.” Write them so a tired engineer at three in the morning can apply them without a judgment call, because judgment calls under pressure drift toward yes.
Qualifying criteria should all be true. Production is unavailable, actively degrading, or at imminent risk of data loss. The fix requires a change that the freeze blocks. Standing access and the normal runbook cannot resolve it. The engineer has attempted or reasonably ruled out a non-change mitigation. Deciding whether standing access really is insufficient is the boundary question the Claude Code Break Glass: Incident Access Controls guide covers for emergency credentials.
| Emergency criterion | Evidence | Approving role |
|---|---|---|
| Production unavailable | Monitoring or incident record | Incident commander |
| Active data loss risk | Replication or backup alert | Data owner |
| Standing access insufficient | Attempted mitigation logged | Service owner |
| Security containment required | Detection or alert record | Security owner |
That last criterion is its own category. Security containment often requires fast, unusual action, and routing it through a general change-freeze exception can conflict with evidence preservation. The Claude Code NIST Incident Tabletops guide covers rehearsing containment decisions separately from availability incidents.
Two avoid rules keep the criteria honest. Do not make every urgent request an emergency, because a deadline is not an outage. Do not let the agent grant a freeze exception, because the agent does not own the risk and cannot authorize its own path around a control.
Independent, F065: OWASP guidance on secure coding with AI recommends human review for CI/CD changes made by AI agents. The emergency exception path and its retrospective timing are team policy decisions that sit on top of that guidance, not a substitute for it.
Authorization Roles
Someone specific authorizes each exception. Not a channel, not a consensus, not the agent. A freeze exception is a risk acceptance under time pressure, and it needs a name attached.
Name three roles before the freeze. The exception authorizer, who can approve an emergency change inside the protected window. The execution owner, who applies the change with a governed identity. The retrospective owner, who reviews the exception after the freeze lifts.
| Role | Held by | Authority |
|---|---|---|
| Exception authorizer | Named per protected service | Approves an emergency change |
| Execution owner | On-call engineer or governed CI | Applies the approved change |
| Retrospective owner | Platform or reliability lead | Reviews exceptions post-freeze |
| Incident commander | Rotating during a live incident | Approves restoration during an outage |
The authorizer should not be the same person as the execution owner where the team is large enough to allow it. Under a genuine outage with one engineer awake, that separation may collapse, and the retrospective review is what catches it. The Claude Code Break Glass: Incident Access Controls guide covers the access side of this separation during incidents, and the Claude Code Risk-Tiered Infrastructure Approvals guide covers matching approval weight to blast radius for planned work.
Official, F055: Claude Code tool decision events can record permission outcomes and the source of each decision. That telemetry helps reconstruct what the agent did during an emergency change, but it does not authorize anything. A log of what ran is not a record of who accepted the risk.
Allowed Agent Tasks
Claude Code stays useful during a freeze, and being clear about its boundaries keeps it useful without turning the agent into a freeze-bypass mechanism.
The agent can prepare. Read logs and metrics to diagnose. Draft the configuration change. Generate the plan or diff. Write the exception justification and the rollback steps. Assemble the evidence a reviewer needs.
The agent cannot authorize. It cannot grant the exception. It cannot run the apply against protected production on its own decision. It cannot expand the scope of an approved emergency change. Confirming an agent’s claim that work is done is its own discipline, covered in the Claude Code Verification: What to Ask for When It Says Done guide, and the same skepticism applies to an agent-prepared emergency change.
| Freeze activity | Claude Code role | Human role |
|---|---|---|
| Diagnose a production fault | Query and summarize signals | Direct the investigation |
| Draft the emergency change | Produce config and plan | Validate the approach |
| Write the exception record | Assemble justification | Approve the exception |
| Apply to protected production | No | Governed execution identity |
| Verify recovery | Check and report signals | Confirm service health |
Official, F064: Terraform plan can provide a reviewable proposal before apply, including during an emergency change. The plan reference describes the command as a preview that carries out none of the listed actions, so even under time pressure an emergency change can produce a plan artifact a human reviews. Two caveats attach. Time pressure reduces review quality, and the final apply may differ if the target changes between plan and apply. Tying that plan artifact to a named approval is covered in the Claude Code Terraform Plan Review: Gates Before Apply guide, and the Claude Code Terraform Drift Triage guide covers separating what the emergency change moved from drift that predated the freeze.
Required Evidence
An exception without evidence is indistinguishable from a violation after the fact. Capture evidence during the emergency, because reconstruction a week later is unreliable.
Five items per exception. The incident or trigger, tied to an identifier. The authorizer and timestamp. The justification against the written criteria. The change artifact, such as a plan or diff. The verification that the change had the intended effect.
| Evidence captured | Purpose | Where it lives |
|---|---|---|
| Incident identifier | Ties the exception to a real trigger | Incident record |
| Authorizer and timestamp | Names the risk acceptance | Exception register |
| Justification text | Shows the criteria were met | Exception register |
| Plan or diff artifact | Records what actually changed | Change record |
| Post-change verification | Confirms intended effect | Follow-up check |
Claude Code monitoring and usage documentation describes tool decision events that support the change record. One caution applies to agent transcripts gathered during an emergency: they can contain secrets if the session touched them, so store them with credential-level discipline. The Claude Code Secrets in Logs guide covers that exposure.
Retrospective Approval
Every emergency change gets a formal approval review after the freeze lifts. The emergency authorization was a decision made under time pressure. The retrospective is where the organization either ratifies it or corrects it, and skipping it is how freezes quietly stop meaning anything.
The retrospective asks four questions. Did the trigger meet the written criteria, or was it a deadline wearing an emergency costume. Was the change scoped correctly, or did it reach beyond restoration. Was the authorizer the right role and independent of execution where possible. Does the normal path need to change so this does not require an exception next time.
| Emergency change | Retrospective owner | Review deadline |
|---|---|---|
| Restoration apply during an outage | Reliability lead | Within 5 business days of freeze lift |
| Containment change during a security incident | Security owner | Within 5 business days |
| Cost or capacity emergency change | Platform owner | Within 5 business days |
| Repeat exception for the same cause | Exception authorizer | Next review cycle |
That final row is the one that matters most. A repeat exception for the same underlying cause means the freeze is compensating for a gap in the normal path. Fix the standing process so the exception becomes rare, rather than normalizing a workaround. The Claude Code Error Budget Release Policy guide covers one mechanism for deciding when releases should pause based on reliability signals, and the Claude Code SLO Burn Rate Change Alerts guide covers the signals that should trigger that decision.
Policy-as-code can support the freeze mechanically. Official, F060: Azure Policy audit and deny effects have different operational consequences for a proposed change. The built-in policy definitions show controls that can audit or block deployments. A deny effect enforces a freeze automatically, while an audit effect records without blocking. Read a policy result as one input to the exception decision, not as the approval itself. The Claude Code Policy as Code: Audit Before Deny guide covers that audit-versus-deny choice in detail. For the cloud IAM side of a freeze exception, the Claude Code Cloud IAM Permission Boundaries guide covers reviewing the identity that would apply the change.
Freeze Exceptions Register
Keep a register of every exception granted during the freeze. A register turns scattered chat messages into a reviewable record, and it is the artifact that makes the retrospective possible.
Record the protected window, the service, the exception authorizer, the criteria met, the change made and the retrospective status. The register is also where patterns surface. Three exceptions on the same service in one freeze is a signal about that service’s stability, not three unrelated events.
# freeze exception register fields
# window: freeze start and end
# service: protected service affected
# authorizer: named human who approved
# criteria: which emergency criterion applied
# change: artifact reference for what changed
# retrospective: reviewed, ratified or correctedA register with no entries during a freeze is worth a second look. Either the team genuinely needed no exceptions, or the freeze was routed around and nobody recorded it. The first is a success. The second is a control failure that a register would have surfaced.
| Exception pattern | What it signals | Follow-up |
|---|---|---|
| No exceptions recorded | Freeze held, or was bypassed | Verify with the on-call |
| Same service repeatedly | Stability gap in the normal path | Fix underlying process |
| Same authorizer for every request | Approval became a formality | Spread authority, review criteria |
| Exceptions near freeze end | Pressure to land work early | Review window boundaries |
Post-Freeze Review
After the freeze lifts, review the freeze itself, not just the individual exceptions. This is the step teams skip, and it is the one that makes the next freeze better.
Ask whether the scope was right, meaning protected services were protected and non-critical work was not needlessly blocked. Ask whether the emergency criteria were clear enough to apply without a judgment call. Ask whether the exception register matches what actually happened, which surfaces bypasses. Ask whether the freeze earned its cost in reduced risk or mostly added friction.
| Review question | Signal of a good freeze | Signal of a bad freeze |
|---|---|---|
| Scope | Protected what mattered | Blocked unrelated critical work |
| Criteria | Applied without argument | Interpreted case by case |
| Register | Matches reality | Gaps versus what engineers recall |
| Outcome | Reduced risk in the window | Friction with no risk reduction |
For the ownership and review-cadence side of operational documentation that supports freezes, the Claude Code Runbooks: Ownership and Review Cadence guide covers keeping runbooks current so emergency changes have accurate instructions to follow. The Claude Code Platform Governance Council Charter guide covers the standing body that decides whether a freeze is warranted and owns the standards behind it. When an emergency change touches a Terraform state store, the Claude Code Terraform State Access Controls guide covers locking that surface so a restoration apply does not silently rewrite shared history. For the cluster side, the Claude Code Kubernetes RBAC: Least Privilege for Agent Identities guide covers reviewing the permissions an agent identity carries into the freeze window.
The concrete win, loss, and implication
The concrete win is a freeze that holds when it matters. High-risk windows get the stability they are meant to provide, while genuine emergencies move through a documented exception path with a named authorizer and captured evidence instead of a workaround nobody recorded.
The concrete loss is that each exception erodes the freeze, and the register plus retrospective review is the only thing keeping that erosion visible. A freeze with a dozen unreviewed exceptions is a freeze in name only, and it costs the team throughput without delivering stability.
The practical implication is to publish the scope and the emergency criteria together before the freeze starts, name the exception and retrospective owners per protected service, and actually hold the retrospective. A freeze is a risk-reduction tool with a real throughput cost. Without the emergency route and the review, you pay the cost and skip the benefit. For the standing body that owns the freeze decision itself, the Claude Code Platform Governance Council Charter guide covers decision rights and exception review, and the Claude Code OWASP AISVS Control Mapping guide covers mapping a freeze and its exception path to a recognized control register.
Data gap and future update
Three facts carry the claims. F064 is official Terraform documentation on plan as a reviewable proposal, with the caveat that time pressure reduces review quality and the apply may differ if the target changes. F065 is independent OWASP guidance recommending human review of AI-made CI/CD changes, with the caveat that the emergency path and retrospective timing are team policy decisions. F066 is a derived governance recommendation from the CISA guide, and the research pass could not read that PDF in full.
No measurement of how a freeze with an exception path affects incident count, change failure rate or restoration time is reported here, because none was collected and no public dataset covering agent-assisted emergency changes during freezes exists in the sources used. A future update would need a defined set of freeze windows, exception records and a before-and-after comparison.
Freeze mechanics vary by organization and regulator. This post describes a general governance pattern and does not claim any specific freeze structure satisfies a compliance requirement. For audit-specific evidence, verify against the framework your auditor cites.
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
What counts as a real emergency during a freeze?
Production unavailable or actively degrading, imminent data loss risk, or required security containment, where standing access and the normal runbook cannot resolve it. A deadline or a pressure to land work is not an emergency.
Can Claude Code grant a freeze exception?
No. The agent can prepare the change and write the exception justification, but authorization is a risk acceptance a named human makes. An agent granting its own exception is a control failing quietly.
Does the plan-before-apply rule still hold in an emergency?
Yes, and it is worth holding. A Terraform plan produces a reviewable proposal even under time pressure. The caveats are real, though: review quality drops under pressure and the apply can differ if the target changed after the plan ran.
What happens to an exception after the freeze lifts?
It gets a retrospective review. The authorizer ratifies the decision or a correction follows. Repeat exceptions for the same cause point to a gap in the normal path worth fixing.
Should a freeze block everything?
No. Scope it by service criticality and change type. Read-only diagnostics, monitoring and incident response continue. Blocking everything concentrates exception decisions on a few people and slows the work that is genuinely safe.
More Claude Code troubleshooting
- Kubernetes Server-Side Apply: Ownership Checks for Claude Code
- Claude Code NetworkPolicy: Blast Radius Reviews
- Claude Code Pod Security: Admission Gate Reviews
- Claude Code Cloud Costs: Budget and Quota Guardrails
- Claude Code SOC 2 Evidence: Change Management Packets
- Claude Code Security Exceptions: Expiry and Ownership
- Claude Code Access Reviews: Recertify Agent Identities
- Claude Code Audit Evidence: Completeness and Integrity
- Claude Code Vendor Review: Security Evidence Checklist
- Claude Code Threat Models: Infrastructure Agent Boundaries
- Claude Code OpenTelemetry: Semantic Conventions for Agents
- Claude Code Incident Timelines: Request ID Correlation
- Claude Code Postmortems: Evidence Without Blame
- Claude Code Log Pipelines: Health Checks Before Triage
Sources
- Official: Terraform plan command reference, supporting plan as a reviewable proposal in F064.
- Independent: OWASP Secure Coding with AI Cheat Sheet, supporting human review of AI-made CI/CD changes in F065.
- Official: CISA incident management resource guide, referenced for the emergency criteria pattern in F066.
- Official: Azure Policy built-in definitions, supporting audit and deny effect consequences in F060.
- Official: Claude Code monitoring and usage documentation, supporting tool decision telemetry in F055.