🌳 🐘 The Oak jungle is heading to Gartner IAM.
All Posts
November 22, 2026
5 min read
AI Agents Through a Two-Week Code Freeze: A 6-Step Access Plan
Learn how to cut code freeze access risk with a 6-step plan that keeps AI agents running on trimmed access, with named owners and a kill switch.
Table of contents
Overview

AI Agents Through a Two-Week Code Freeze: A 6-Step Access Plan

Introduction

Your AI agents can run through a two-week holiday freeze on the access they already use, with nothing widened and an owner for each. Managing code freeze access risk means freezing authority as well as deploys, because agents keep acting while most of your reviewers are away.

The plan has six steps: choose which agents run, map their access, shorten standing grants, name owners, plan the kill switch, and review afterward.

This guide comes from Oak, the AI-born identity operating system, which governs every human, machine and AI agent identity on its activity-based identity graph.

Oak's research The Voice of 200 CISOs (2026) captures it: "Agents didn't create this problem, but they make it far more urgent."

Key takeaways

  • A freeze stops deploys, while agents keep acting on standing access.
  • Every agent that runs needs an owner, a backup owner and invokers.
  • Cut unused access before the freeze, using each agent's own usage as evidence.
  • Oak resolves agent owners and right-sizes access from real usage.
  • Plan the kill switch before you need it, then test it.

Why code freeze access risk sits with identities

A code freeze stops merges and deploys. Identities keep working.

Service accounts, scheduled jobs and AI agents keep reading, writing and calling tools through the freeze window. Their standing grants stay live while the people who would notice a misuse are on leave.

Credentials are where that exposure turns into incidents. The Verizon 2026 DBIR reports that credential abuse appears somewhere in the attack chain of 39% of breaches.

A freeze is a change-control state. In NIST SP 800-53 Rev. 5, control CM-3 covers configuration change control, and change restrictions can be enforced through automated mechanisms.

That is the useful reading for identity teams. A freeze only holds where permissions reflect it, so the memo to engineering has to become a set of grants, owners and revocation paths.

The 6-step access plan for unattended agents

Govern every AI agent like any other identity, in four moves. Know, Own, Right-size and Control map directly onto the six steps below.

Count days from the first day of the freeze, marked T. The table gives each step a date, an accountable role and the artifact it produces.

DayStepOwnerOutput
T-14Step 1: Decide which agents keep runningIAM lead with platform leadRun, pause or retire list
T-10Step 2: Map the access each running agent holdsIAM teamGranted versus used access per agent
T-7Step 3: Move standing grants to short-lived accessIAM team with agent ownersTrimmed grants and on-call elevation rules
T-5Step 4: Name an owner for every agentAgent owners and their managersOwner, backup owner and invokers per agent
T-3Step 5: Write the kill switch planIAM lead with security on-callTrigger, action and approver table
T-1Test the kill switch on one agentSecurity on-callConfirmed revoke and restore path
T+0Freeze startsPlatform leadAgents running on trimmed access
T+5Check owner and backup reachabilityIAM leadUpdated contact list
Lift dayStep 6: Review what changedAgent owners and reviewersRestored, revoked or retired grants

Step 1: Decide which agents keep running

Start with Know: one inventory with each agent's owner, the people who invoke it and the identity it borrows.

A borrowed identity is the human or service account credential an agent acts through when it has no identity of its own. An agent running on its builder's credentials can reach everything the builder can.

The population is larger than most teams expect. The 2026 Identity Security Landscape survey found 109 machine identities per human, and 40% of machine identities with access to organizational data.

Classify each agent as run, pause or retire for the freeze window. Retire anything with no clear purpose, and pause anything nobody needs until January.

Oak's AI agent inventory and owner resolution are live today, so the list starts from discovered agents rather than a survey of teams. That is the core of AI agent access governance.

Step 2: Map the access each running agent holds

For every agent on the run list, record each permission as a privilege level (admin, write or read) plus resource sensitivity.

Write access to a customer data warehouse and read access to a wiki are different risks. Score them that way.

Then compare what each agent was granted with what it actually used over recent weeks. The gap between the two is what you remove in Step 3.

In Oak, the Identity Intelligence Layer correlates what each identity can access with what it actually uses. It is the activity-based identity graph, and it shows "not only who has access, but who should," then routes risk-prioritized decisions to the right reviewers.

Step 3: Move standing grants to short-lived access before the freeze

This is Right-size: cut what the agent doesn't use, with its own usage as evidence.

Remove admin rights an agent never exercised, and downgrade write to read where it only reads. Drop access to sensitive resources it never touched.

Standing grants should give way to access that expires. For agents, that means session-scoped tokens issued for a task and revoked when the task ends, rather than long-lived keys.

For on-call engineers, it means elevation with an expiry instead of permanent admin. Oak right-sizes from usage in GitHub, Snowflake, Salesforce and Entra ID, and gives on-call engineers just-in-time access to AWS, 1Password and Okta.

Make the trimmed grants the baseline for the freeze. Anything an agent needs later goes through a request, with a human approving it.

Step 4: Name an owner for every agent while people are away

Own means an accountable human, plus the people who invoke it. During a freeze, it also means a backup owner who is actually working that fortnight.

Record three names per agent: owner, backup owner and invokers. If an owner is on leave for the whole window, the backup carries the decision rights, including the right to pause the agent.

The same rule applies beyond agents. Every identity needs certifying: service accounts, contractors, RPA bots, and AI agents, each tied to an accountable human owner.

Owners also leave and change teams, sometimes in December. In Oak, joiner, mover and leaver events trigger event-driven micro-certifications, so an owner's departure reaches the agents they were accountable for.

Step 5: Write the kill switch plan

Control means approve what it calls. In a freeze, it also means knowing exactly how to stop an agent.

A kill switch is a pre-approved action that removes an agent's ability to act by revoking its token, its credential or the identity it borrows.

Agent access should be controlled at the level of each call. Sensitive tool calls should wait for approval, and a kill switch should cut access without a deploy, which the freeze would block.

TriggerActionApproverRestore
Agent calls a sensitive tool it has never usedRevoke the session tokenAgent owner or backup ownerReissue after owner review
Agent writes to a high-sensitivity resource outside its patternRevoke the credentialSecurity on-callNew credential with trimmed scope
Borrowed human account shows unusual activityDisable the borrowed identityIAM on-callMove the agent to its own identity
Owner and backup both unreachablePause the agentIAM leadResume when an owner confirms

Write down who may pull each switch without waiting for anyone else. Then write down the restore path, because a revoked agent nobody can bring back becomes its own incident.

Approving or blocking sensitive tool calls, fixing agent access from the inventory, and risk issues for agents are next on Oak's roadmap. Until then, the table above is a process your on-call team runs, with audit logs as the record of what each agent did.

Step 6: Review what changed when the freeze lifts

On lift day, restore only what an agent used or a named owner can justify. Everything else stays removed.

Agent reviews are driven by each agent's own risk profile. An agent with write access to sensitive data gets reviewed first, and a read-only agent on low-sensitivity resources can wait.

Oak closes each risk through a Jira or ITSM ticket, or fixes it directly where you grant write access. Every change is explained, approved by your team, reversible and on record.

Route the remaining decisions through your access reviews and certifications.

Already running an IGA?

Oak connects to the IGA you already run and covers what it cannot reach, including the homegrown systems your agents call. ConnectAny reaches on-prem, homegrown and custom systems, so the agents and grants your IGA has never seen join the same plan.

Your IGA keeps running its campaigns and provisioning. The freeze plan adds agent ownership, usage evidence and right-sizing on top.

Conclusion

Code freeze access risk is an identity problem with a date on it. Treat it that way and the two quietest weeks of your year stop being the two least watched.

For the IAM or platform lead, every running agent now has an owner, a backup, trimmed access and a tested way to stop it. When the freeze lifts, you restore from evidence and keep the smaller footprint.

See how this works on your own agents and grants: Get a demo.

Frequently asked questions

Should we pause AI agents for the holidays instead of keeping them running?

Pause only the agents nobody needs during the window, and revoke their credentials when you do. A paused agent with live tokens keeps standing access that an attacker can still use, so treat pause and revoke as one action.

How should a hotfix during a code freeze handle agent access?

Run the hotfix through human elevation with an expiry, and leave agent grants unchanged, because rushed fixes are when access quietly widens. If an agent must help, scope a temporary grant to the hotfix ticket, name the approver, and remove it when the ticket closes.

What if an agent's owner is on leave and the backup is unreachable?

Escalate to a named IAM lead who holds pause authority for the whole freeze window, with phone contacts rather than chat handles. That lead may pause the agent but should never widen its access until an owner returns and confirms what the agent needs.

Does an access review count as a change during a freeze?

Removing unused access often counts as a change, so agree on its status with your change advisory board ahead of time. Many teams classify revocations as pre-approved standard changes and treat any new or widened grant as an exception, so reviewers can still reduce access.

Can we test the kill switch before the freeze starts?

Yes, run it on a low-risk agent in a non-production environment: revoke its token, confirm it stops acting, then restore it. Have the person who holds the switch during the freeze run the test alone, which proves they hold every permission the revoke and restore need.

How long should short-lived grants stay in place after the freeze?

Keep them as the new default, and restore standing access only where an agent's own usage proves the need. Oak's usage-based right-sizing keeps that baseline current after the freeze, so access stays matched to real activity instead of drifting back to the old grants.

Discover related posts