01Chapter 1: Why a team needs an AI-assisted code policyThis chapter assumes you know the basic Git and pull request workflow. It also assumes you have taken part in code review on a team, have used an AI coding assistant or chat tool at least a few times, and know roughly what a CI pipeline does. You do not need to have written a policy before.3 min read
02Chapter 2: The main risks: correctness, security, data, and licensingThis chapter assumes you know the pull request workflow, have done code review, have used an AI coding assistant, and know what a CI pipeline does. It covers the four risk areas that a team policy has to address. Later chapters turn each risk into rules.2 min read
03Chapter 3: Defining allowed, restricted, and prohibited usesThis chapter assumes you know the basic Git and pull request workflow, have done code review in a team, and have used an AI coding assistant. It covers how to sort uses of AI tools into three tiers so that developers know what they can do without asking.2 min read
04Chapter 4: What data may be shared with AI toolsThis chapter assumes you know the basic Git and pull request workflow, have used an AI coding assistant, and have a rough idea of what a CI pipeline does. It covers how to write the data-sharing rules in a team policy so people can follow them without guessing.3 min read
05Chapter 5: Licensing and intellectual property questionsThis chapter assumes you know the basic pull request workflow, have used an AI coding assistant, and understand that open source code comes with license terms. It covers what a team policy should say about licensing and ownership. It is not legal advice. Your policy should be reviewed by someone qua3 min read
06Chapter 6: Approving tools and configuring them for the teamThis chapter assumes you know the Git pull request workflow, have used an AI coding assistant, and understand why a team policy needs rules on data and licensing. The earlier chapters on data confidentiality and licensing set the requirements. Here you turn them into a decision about which tools the2 min read
07Chapter 7: The author owns the changeThis chapter assumes you know the pull request workflow, have done code review on a team, and have used an AI coding assistant. It covers the accountability rule at the center of an AI-assisted code policy: the human who opens a change is responsible for it, whatever tool wrote the code.3 min read
08Chapter 8: Reviewing AI-assisted pull requestsThis chapter assumes you know the pull request workflow, have reviewed code in a team, and have used an AI coding assistant. It builds on the idea that the author owns the change. Review is where that rule gets tested.2 min read
09Chapter 9: Disclosing AI assistanceThis chapter assumes you know the pull request workflow, have done code review in a team, and have used an AI coding assistant. It covers why a team asks authors to disclose AI assistance, what a useful disclosure contains, and how to collect it without creating friction.3 min read
10Chapter 10: Enforcing policy with CI checks and branch protectionThis chapter assumes you know the pull request workflow, have used a CI pipeline such as GitHub Actions, and have read the earlier chapters on accountability and review. A written policy that nobody checks tends to fade. Automated guardrails turn the rules into checks that every change must pass, wh2 min read
11Chapter 11: Limiting what agentic tools can doThis chapter assumes you know the Git and pull request workflow, have used an AI coding assistant, and have a basic idea of what a CI pipeline does. Earlier chapters covered approved tools and automated guardrails. Here we set permission limits for tools that act on their own.3 min read
12Chapter 12: Writing, rolling out, and revising the policyThis chapter assumes you know the basic Git and pull request workflow, have taken part in code review, and have seen a CI pipeline. It also assumes you have read the earlier chapters on risks, acceptable use, data sharing, accountability, review, disclosure, and guardrails. Here you combine those pi3 min read
13Chapter 13: Training and onboardingA policy only changes behavior if people know it exists and can apply it. This chapter covers how to teach the policy to current engineers and new hires.3 min read
14Chapter 14: Handling incidents and exceptionsThis chapter assumes you know the basic pull request workflow, have used a code review process, and have seen a CI pipeline. It also assumes your team already has an AI-assisted code policy, covering acceptable use, data rules, accountability, and guardrails. No policy covers every case. This chapte3 min read
15Chapter 15: Measuring whether the policy worksThis chapter assumes you have a written AI-assisted code policy that has already been rolled out. It also assumes you know pull request workflows and basic CI. A policy that nobody measures tends to drift. Measurement tells you whether the rules reduce risk, and whether they cost more effort than th2 min read