02Chapter 2: The main risks: correctness, security, data, and licensingThis chapter assumes you know the basic Git and pull request workflow, have taken part in code reviews, have used an AI coding assistant or chat tool, and know roughly what a CI pipeline does. A team policy only works if it names the specific risks it is meant to control. This chapter lists those ri7 min read
03Chapter 3: Defining allowed, restricted, and prohibited usesThis chapter assumes you know the Git and pull request workflow, have taken part in code reviews, and have used an AI coding assistant or chat tool. You do not need to know how any particular tool works internally. The chapter covers how to sort uses of AI tools into three tiers, how to write the ru7 min read
04Chapter 4: What data may be shared with AI toolsThis chapter assumes you know the basic Git and pull request workflow, you have used an AI coding assistant or chat tool, and you have seen a CI pipeline run. By the end, you should be able to write a data-sharing rule your team can follow and check.7 min read
05Chapter 5: Licensing and intellectual property questionsThis chapter covers the licensing and intellectual property (IP) questions that AI-assisted code raises, and how a team policy can handle them. It assumes you know the Git and pull request workflow, have done code review in a team, have used an AI coding assistant, and know roughly what a CI pipelin8 min read
06Chapter 6: Approving tools and configuring them for the teamThis chapter covers how a team decides which AI coding tools its members may use and how it configures them. It assumes you know the Git and pull request workflow, have used a code review process, and have tried an AI coding assistant. You should also know what a CI pipeline is. The earlier chapters5 min read
07Chapter 7: The author owns the changeThis chapter assumes you know the pull request workflow, have taken part in code review, and have used an AI coding assistant. It covers one rule and how to make it work in practice: the person who submits a change is accountable for it, however the code was written.5 min read
08Chapter 8: Reviewing AI-assisted pull requestsThis chapter assumes you know the basic pull request workflow, have reviewed code in a team, and have used an AI coding assistant. It builds on the previous chapter, where the author owns the change. Here the focus is the reviewer's side: what changes when the code in front of you was partly or full6 min read
09Chapter 9: Disclosing AI assistanceThis chapter assumes you know the basic pull request workflow, have taken part in code review, and have used an AI coding assistant. It builds on the previous chapters on author accountability and review. It covers what disclosure is, what a team should ask authors to disclose, and how to make discl7 min read
10Chapter 10: Enforcing policy with CI checks and branch protectionA written policy only changes behavior if something makes it hard to ignore. This chapter covers the automated layer: CI checks, branch protection, and CODEOWNERS. Together they apply your team's rules to every pull request, whether a person or an AI tool wrote the code.7 min read
11Chapter 11: Limiting what agentic tools can doThis chapter assumes you know the basic Git and pull request workflow, have used an AI coding assistant, and understand what a CI pipeline does. It covers the permission limits a team should set for agentic tools.8 min read
12Chapter 12: Writing, rolling out, and revising the policyThis chapter assumes you have read the earlier chapters on risks, acceptable use, data rules, accountability, review, disclosure, and automated guardrails. It also assumes you can work with pull requests and CI. Here you turn those separate decisions into one policy document, put it in front of a te8 min read
13Chapter 13: Training and onboardingA written policy changes behavior only if people can find it, understand it, and practice it. This chapter covers how to teach the policy to current engineers, how to build it into onboarding for new hires, and how to keep that training current.6 min read
14Chapter 14: Handling incidents and exceptionsThis chapter covers what a team does when the AI-assisted code policy is broken, when a tool causes harm, and when someone has a good reason to step outside the rules. It assumes you have read the earlier chapters on acceptable use, data confidentiality, accountability, and automated guardrails. It 7 min read
15Chapter 15: Measuring whether the policy worksThis chapter assumes you have a written AI-assisted code policy that is already rolled out. It assumes you know the pull request workflow, have a CI pipeline, and have worked with a team that reviews code. The goal is to learn whether the policy changes behavior and reduces risk, and to decide what 6 min read