Official AI tool policy
An official AI tool policy is the organization's first structured governance response to AI in the delivery pipeline, and at L2 its sharpest edge is a declarative deny/ask ruleset - reviewed, version-controlled and enforced before any classifier runs - rather than a human clicking approve.
- Official AI tool policy exists and is communicated to all developers
- The organization can list which developers use which AI tools
- The regulatory obligations that apply to this organisation's jurisdiction and sector are written down, with a named owner
- AI tool policy is reviewed at least annually
- Approved tool list is maintained and accessible
- Published AI tool policy document with distribution records
- AI tool usage tracking dashboard or report
What It Is
An official AI tool policy is the organization's first structured governance response to AI in the delivery pipeline. It replaces the L1 state - either nothing (everyone uses whatever they want) or a blanket ban (nobody uses anything officially) - with a written policy that specifies which AI tools are approved, under what conditions they can be used, what data handling rules apply, and what disclosure is required.
At L2 (Delegated), the policy is primarily document-based: a policy document, a list of approved tools, and a disclosure requirement in PR templates. It's not yet enforced by automation - compliance depends on developers reading and following the policy. That's a real limitation, but it's dramatically better than L1. A documented policy creates a shared reference point, gives compliant developers explicit protection, and gives the organization something concrete to show auditors.
The critical design decision in an official AI policy is scope. Too narrow (only covers code generation in IDE) and developers legitimately use AI tools that fall outside the scope without any governance. Too broad (covers any AI assistance including reading documentation) and the policy becomes unenforceable and developers ignore it entirely. The right scope is the set of AI use cases where the data handling and auditability requirements are materially different from traditional development - primarily: code generation, code review assistance, AI-driven debugging, and AI agents acting autonomously in the codebase.
The most important change of 2026 is where agent autonomy is decided. For a while the industry's answer was the permission prompt: the agent asks, a human reads it, the human decides. That answer is now empirically dead. Developers approve 97% of permission prompts. In an Anthropic study of 1,053 participants, humans caught 13.6% of dangerous commands while a classifier caught 89%. Across 40,000 runs, human approval accuracy was 66.3%, and npm run - which can execute arbitrary code from a package script - was waved through 52.5% of the time. A control that is exercised correctly two times in three, on a decision the operator has already stopped reading, is not a control.
The correct conclusion is not "let the classifier decide" either. It is that autonomy belongs in a declarative ruleset that is written down, reviewed and version-controlled like any other configuration, and evaluated before any classifier is consulted. In Claude Code the two layers are concrete: permissions.deny blocks a command outright, and neither the classifier nor a stated intent can override it; permissions.ask forces a prompt, and because an explicit ask rule counts as your stated intent, the classifier cannot auto-approve past it. Everything the ruleset does not speak to is where the classifier operates. Write the rules first, and the classifier only ever gets the residue.
This is why auto mode becoming the default on 2026-08-14 for Pro, Max and Team accounts - announced a week earlier - is not the return of YOLO mode that it was reported as. It ships with a circuit breaker at three consecutive or twenty total blocks and scored 0% success across 720 simulated prompt injections, and it remains opt-in on Claude Enterprise, the Claude API, Bedrock, Google Cloud and Microsoft Foundry. Existing user-set defaults move only through a one-time prompt, and org-managed defaults do not move at all. If your policy has anything to say here, it should say which deny and ask rules are mandatory in every repository, and who reviews changes to them.
For the tightest cases there is now a blunt instrument worth naming in policy: Claude Code's --restricted flag and CLAUDE_CODE_RESTRICTED=1, shipped in 2.1.248 on 2026-08-27, which removes command and code-execution tools and WebFetch, keeps file tools inside the working directory, refuses bypassPermissions, and ignores user, project and local settings files entirely. Version 2.1.251 the following day fixed a TOCTOU symlink swap inside the working directory after the permission check, and Grep and Glob ignoring Read() deny rules through symlinked paths - a reminder that a deny rule is only as good as the version of the tool enforcing it, so pin and patch deliberately.
A well-designed official policy does four things: it specifies approved tools with enterprise data handling agreements (not consumer-grade tools), it defines what data can be sent to AI systems (code: yes; customer PII: no; secrets: never), it requires disclosure of AI use in pull requests, and it identifies who is accountable for each tool's governance. A fifth has joined them at L2: it states the baseline autonomy ruleset - the deny and ask rules every repository inherits - along with per-session spend caps, short-lived keys, and a kill switch. Everything else is detail that can be added later.
Why It Matters
- Creates a defensible compliance position - an organization with a documented AI tool policy, even an imperfect one, is in a fundamentally better position in a SOC2 audit than one with no policy. "Here is our policy and here is evidence we follow it" is an audit response; "we don't have a policy" is a finding
- Reduces shadow AI - approved tools with enterprise data handling agreements, made available through official procurement, give developers a better alternative to personal subscriptions. The policy legitimizes official use and delegitimizes shadow use
- Establishes the data handling baseline - specifying which data can and cannot be sent to AI systems is the most important risk control in an AI policy. This prevents the most common high-risk AI misuse: developers sending customer data or secrets to consumer AI interfaces
- Gives developers clear guidance and protection - developers who want to use AI tools appropriately need to know what's allowed. A policy gives them permission, guidance, and organizational cover. Without it, every developer makes their own risk assessment, which leads to inconsistent behavior
- The permission prompt is not a control and your auditors will eventually know it - 97% approval, 13.6% detection of dangerous commands, 66.3% accuracy over 40,000 runs; a policy that rests on the human click is resting on a number that does not support it
- Short-lived keys are now an incident-response measure, not hygiene - Unit 42's August "Token Jacking" research describes stolen AI API keys resold through gray-market proxies and used within minutes of exposure, with one incident-response case reaching roughly $1M in charges before containment
- Creates the foundation for L3 automation - policy-as-code (L3) requires a policy to automate. An organization that skips L2 and tries to jump to L3 will automate ad-hoc rules rather than a coherent policy
Getting Started
- Draft a one-page policy first - resist the temptation to build a comprehensive policy from the start. Write one page: approved tools list, data classification rules, disclosure requirement, who to contact with questions. Circulate it for comment, improve it, publish it. One page that gets read is better than ten pages that don't.
- Start the approved tools list with what developers already use - identify the AI tools with the highest existing adoption through the shadow AI census (or through developer surveys) and get enterprise agreements for those tools first. Starting with tools developers already use maximizes adoption of the official policy immediately.
- Create the data classification section carefully - this is the highest-risk section. Work with security to define: what repository content can go to AI tools (generally: yes), what data from databases can go to AI tools (generally: no without review), whether any production access is permitted for AI tools (generally: read-only, no secrets). Get explicit sign-off from the CISO on this section.
- Build the PR disclosure requirement into the template - update the pull request template in your repositories to include an AI disclosure section: "AI tools used (if any): [list tools and purpose]." This is your earliest form of audit trail and requires no new tooling. Make it a required field, not optional.
- Identify a policy owner - a policy without an owner becomes stale. Assign someone (typically a security architect or engineering manager) to own the policy with a quarterly review responsibility. The policy owner's name and contact should be in the document.
- Write the baseline deny/ask ruleset and put it in version control - deny is for things no stated intent should unlock: writes outside the working tree, credential paths, production endpoints, destructive VCS operations. Ask is for the narrower set where a human genuinely adds signal. Review changes to this file the way you review changes to production infrastructure, because that is what it is. Do not rely on the classifier for anything you can state as a rule, and do not rely on the prompt for anything at all.
- Set per-session spend caps, short-lived keys and a kill switch at the harness level - caps enforced by the harness rather than monitored after the fact, credentials with a lifetime measured in hours rather than quarters, and one documented action that stops every agent in the organisation. Keys leaked in agent contexts are used within minutes, so rotation windows measured in months are decorative.
- Publish the policy with a grace period - announce the policy, give developers 30 days to review it, and communicate what happens at the end of the grace period (PR template changes take effect, shadow AI use is expected to migrate to official tools). Don't enforce against developers who were using approved tools before the policy existed.
The fastest way to get developer buy-in for an AI policy is to make it visibly better than the status quo. If the policy comes with access to Claude Enterprise or GitHub Copilot Enterprise that developers didn't have before, it will be welcomed. If it only restricts without enabling, expect resistance.
Common Pitfalls
Writing a policy that prohibits more than it enables. An AI policy that says "you may not use AI tools except in the following narrow circumstances" will not be followed because it's more restrictive than what developers need. Policies that succeed describe what's allowed broadly and what's prohibited specifically, with the approved list being expansive enough to cover real use cases.
Not getting the data handling section right. The most important part of the policy is what data can go to AI systems. If this section is vague or missing, developers will make their own judgments, and some of those judgments will be wrong in ways that create real risk. "Code files from non-regulated repositories: OK; files containing secrets or tokens: never; customer data: requires security review" is the right level of specificity.
Forgetting about agentic AI. Most first-generation AI policies were written for copilot-style tools where a developer explicitly queries the AI. As teams adopt agent tools (Claude Code, Cursor with agent mode, GitHub Copilot Workspace), the policy needs explicit rules for AI systems that take autonomous actions: what actions can agents take without approval, what requires human confirmation, what is prohibited entirely.
Writing "a human must approve each action" into the policy. It reads well in a control matrix and it does not survive contact with the data: 97% of prompts are approved, and human approval accuracy across 40,000 runs was 66.3%. Worse, it displaces effort from the control that does work. If your policy names the prompt as the safeguard, replace that clause with the deny/ask ruleset and name the file it lives in.
Delegating the whole decision to the classifier instead. The opposite error, and equally wrong. The classifier is good - 89% detection against the humans' 13.6% - but it is probabilistic, and probabilistic controls are not what you want standing alone in front of your production credentials. The deny layer exists precisely so that some decisions are never delegated to a judgement call of any kind.
No exceptions process. A policy with no exceptions process will either be ignored (when the exceptions are obvious and the stakes are low) or create blockers (when legitimate use cases are excluded and there's no path to approval). Build a lightweight exceptions process: a specific person to contact, a target response time of 48 hours, and a list of what information is needed for an exception request.
Treating publication as completion. Publishing the policy is the start of governance, not the end. You need to communicate it, train developers on it, answer questions about it, and update it as tools and practices evolve. Schedule the first policy review at the time of publication, not when a problem forces your hand.
How Different Roles See It
Bob needs to deliver an AI governance framework to the CISO within 30 days as a condition of getting budget for official AI tool procurement. He has done a shadow AI census and knows what tools developers are using and what data handling risks exist. Now he needs to turn that knowledge into a policy document.
What Bob should do: Bob should start with the one-page draft approach. In a single document: approved tools list (those with enterprise DPAs that address the CISO's concerns), data classification table (what can and cannot go to AI systems), PR disclosure requirement (text for the PR template), and policy owner designation. Bob should review this draft with the CISO and the legal team before publishing - one round of feedback with a one-week turnaround. The output of that review is the v1 policy. Bob should publish it with a 30-day grace period and use the grace period to get enterprise licenses procured and deployed. Policy without tooling is ineffective; they need to ship together.
Sarah needs to start measuring AI adoption and productivity impact, but she can't measure reliably until there's an official policy that defines what AI use is legitimate. Right now, any measurement she does captures only the fraction of AI use that happens through official tools, which dramatically understates real adoption.
What Sarah should do: Sarah should treat the official policy publication as a measurement milestone. On day one of the official policy, she sets a baseline: here is the current state of official AI tool adoption, here are the disclosure rates in PR templates, here is the current throughput baseline. She then tracks these metrics over 90 days: how did adoption change, did throughput change, what's the quality trajectory? The policy creates the measurement infrastructure she needs - every PR with an AI disclosure field gives her a data point she didn't have before. Sarah should use the first policy review meeting to present these first 90 days of data, which gives the policy review a quantitative foundation rather than being a purely process conversation.
Victor wants the policy to enable the advanced workflows he's using - multiple parallel agents, MCP server integrations, autonomous code generation - but he worries that a conservative first policy will prohibit these patterns and create friction for the team's most sophisticated AI use.
What Victor should do: Victor should participate actively in the policy drafting, not just the review. He should bring specific use cases that need to be explicitly in scope: "AI agents that can run CLI tools in sandboxed environments," "MCP servers that provide codebase context to AI tools," "AI-generated PRs that are reviewed and merged by human developers." For each use case, he should also bring a proposed governance control: what approval is needed, what gets logged, what's off-limits. Victor as policy co-author rather than policy critic produces a document that actually enables sophisticated use rather than inadvertently prohibiting it. The single most useful artefact he can contribute is the baseline deny/ask ruleset itself: a reviewed, version-controlled file that lets his parallel agents run without a prompt in front of every command, precisely because the small set of things they must never do is stated rather than adjudicated. That file buys autonomy for the team and gives the CISO something more durable than an assurance that engineers read their prompts.
Further Reading
How This Guide Changed
What each edition changed in this guide, newest first.
- V1.6September 2026LATEST
The item moved the locus of autonomy control this month, and the guide moved with it: away from the human approval prompt and onto a declarative deny/ask ruleset that is reviewed and version-controlled like any other production configuration. The evidence against the prompt is now impossible to argue with - developers approve 97% of them, humans caught 13.6% of dangerous commands where a classifier caught 89%, and approval accuracy across 40,000 runs was 66.3% - but the guide is equally firm that handing the decision to the classifier alone is the opposite error, since deny rules exist to put certain actions beyond any judgement call. Claude Code's auto mode becoming the default on 2026-08-14, its circuit breaker, and the new
--restrictedmode were all added as the concrete shape of that argument, along with short-lived keys, which Unit 42's Token Jacking research turned from hygiene into incident response. - V1.5August 2026
The maturity ladder was renamed this edition and L2 became Delegated rather than Guided, which is the rung this policy sits on. The standing May guidance on spend caps, capability-restricted licensing and a bad-day protocol also moved out of the body and into this history, where a dated note belongs, leaving the guide to describe the policy rather than the month it was written in.
- V1.3June 2026
The two authorities this policy leans on, NIST's risk management framework and the joint CISA guidance on secure AI system development, had both settled at canonical homes and the citations were followed there. The month's louder governance news - vendor pricing restructuring turning into a procurement risk, agent configuration files turning into an attack surface - was absorbed by the governance and sandboxing guides rather than this one.
- V1.2May 2026
Three governance items now belong in any L2+ policy:
- Per-session spend caps + kill switches. The community documented multiple "agentic fork bomb" incidents in April, including a $3,800 overnight bill from a runaway subagent loop. Caps must be enforced at the harness level, not just monitored.
- Capability-restricted licensing as a permitted vendor pattern. Claude Mythos Preview (Apr 7, 93.9% SWE-bench Verified) is restricted under "Project Glasswing" to defensive cybersecurity workloads only. Expect this licensing model to spread to other high-capability releases. Your policy needs language for it.
- Bad-day protocol. Anthropic's April 23 postmortem confirmed that harness/system-prompt changes silently degrade vendor models. Policy should require: documented rollback path, telemetry threshold for "switch to backup model", and a vendor-postmortem subscription.
- V1.0March 2026
The original entry for governance's second rung, describing the moment an organisation stops oscillating between a free-for-all and a blanket ban and writes something down. At launch the hardest advice in it was about scope: narrow enough that developers do not simply route around it, broad enough to cover the uses where data handling and auditability genuinely differ from ordinary development.
Where does your team actually sit on this?
This guide describes one level of one area. Run the assessment to place your team across all 16 areas, see which gates you have passed, and get a report you can take to your stakeholders.
Governance & Compliance