Skip to content
PKResources
Course outline

The CTO's playbook for AI coding agents · Module 4: Guardrails and governance

An AI usage policy people actually follow

A policy nobody reads pushes AI use into the shadows. Write one page: approved tools, what data can go where, IP rules, vendor review, logging and a fast exceptions path.

Lesson 15 / 20 · ⏱ 8 min

The fastest way to create shadow AI is a twenty-page policy that says “no” by default. Engineers keep using the tools; they just stop telling you. A good policy is short, specific and quicker to follow than to work around.

Six sections, one page

Every usable policy I’ve seen answers six questions. If yours needs more than a page to answer them, the detail belongs in linked standards, not in the policy.

Section The question it answers Keep it to
Approved tools What can I use today, and on which tier? A list with owners, updated monthly
Data classification What can I paste, upload or let the agent read? Three or four classes, with examples
IP and licensing Who owns the output, and what about copied code? Ownership line plus license scanning rule
Vendor review What makes a tool approvable? Retention, training use, location, certifications
Audit logging What gets recorded, and who can see it? Prompts and actions for autonomous tiers
Exceptions I need something not on the list. Now what? A form, an owner and a turnaround time

A skeleton you can start from

AI CODING TOOLS POLICY  ·  owner: CTO  ·  review: quarterly

1. SCOPE
   Applies to any AI tool that reads, writes or runs code for us,
   including personal accounts used for company work.

2. APPROVED TOOLS
   See the approved-tools page. Each entry lists: allowed tiers,
   allowed data classes, owner. Anything not listed = not approved.

3. DATA
   Public / Internal   -> any approved tool
   Confidential        -> approved tools on enterprise terms only
   Restricted (PII, credentials, customer data, regulated)
                       -> never sent to a model; agents must not
                          have access in their environment

4. OUTPUT AND IP
   Code produced with AI is company work product. The engineer who
   merges it owns it. License scanning runs on every PR.

5. VENDORS
   Approval requires: no training on our data, defined retention,
   data location stated, admin controls, audit log export.

6. LOGGING
   Autonomous and CI agents log prompts, tool calls and outcomes.
   Logs retained 90 days, access limited to security and platform.

7. EXCEPTIONS
   Request via the exceptions form. Decision within 5 working days.
   Approved exceptions expire after 90 days unless renewed.

Data classes in practice

The data section is where policies fail, because “confidential” means nothing until someone sees an example. Train people on cases, not definitions.

🎮 Where can this go?

1 / 7 · Score: 0

Using the skeleton's data classes, decide what an engineer may do with each item.

Vendor review, without the six-month wait

Engineers will wait two weeks for a vendor decision. They won’t wait two quarters. Make the review a fixed checklist with a fixed owner, and you can approve most tools in days.

✅ Vendor review: approve only if all are yes

0 / 7 completed

The exceptions path is the policy

If the only answer to “can I use this new tool?” is silence, people will use it anyway. A visible exceptions process is what keeps usage inside the lines.

  1. RequestTool, use case, data class, tier
  2. TriageOwner applies the vendor checklist
  3. DecideWithin 5 working days
  4. Expire90 days, then renew or add to list
A fast, time-boxed exceptions path. Expiry forces each exception to become an approved tool or go away.

Before you move on

✅ Key takeaways

0 / 5 completed