Sub topic 13
Training and onboarding
A 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.
This chapter assumes you know the pull request workflow, you have used an AI coding assistant, and you have read the earlier chapters on acceptable use, data confidentiality, author accountability, and review practices. Training is where those rules turn into habits.
Why reading the policy is not enough
Most engineers skim a policy document once and never open it again. Three problems follow from that.
- Rules are remembered as slogans. "Don't paste secrets" is easy to recall. "A stack trace from production may contain customer email addresses" is not, until someone has seen an example.
- Judgment calls go untested. The policy's restricted category depends on context. People only learn the boundary by working through cases.
- Tools change faster than documents. A new editor plugin or agent mode appears, and people use it without knowing whether the policy covers it.
Training closes these gaps. It gives people the reasoning behind each rule, so they can handle cases the document did not anticipate.
What to teach
Teach the policy by outcome, not by section number. The table maps each topic to the skill a learner should leave with.
| Topic | Skill the learner should have | Format that works |
|---|---|---|
| Acceptable use | Sort a task into allowed, restricted, or prohibited | Short case-sorting exercise |
| Data sharing | Spot restricted data in a prompt, log, or file before sending it | Redaction exercise with real-looking samples |
| Accountability | Explain a change line by line without the tool | Pair walkthrough of a pull request |
| Review | Check AI-assisted code for invented APIs, weak tests, and unneeded dependencies | Review a prepared pull request with planted flaws |
| Disclosure | Fill out the pull request template correctly | Live demonstration |
| Agent permissions | Configure an agentic tool with the approved limits | Hands-on setup in a sandbox |
| Incidents | Know whom to tell and what to preserve | Walkthrough of the incident steps |
Keep each topic tied to a specific scenario. "You paste a failing integration test log into a chat tool. The log contains an API key and two customer IDs. What do you do next?" teaches more than a restatement of the confidentiality rule.
Build onboarding around the first week
New hires are the best audience. They have no habits to unlearn, and they will copy what they see in their first pull requests. Put the policy into the first week, in the order they will meet it.
Day 1: a one-page summary
Write a single page that states what is allowed, what needs approval, and what is never allowed. Link to the full policy for detail. New hires will read one page. They will not read twelve.
Days 1 to 2: set up the tools correctly
Do not hand people a list of settings. Give them the approved tool, the team configuration file, and a way to confirm it works. Whatever the earlier chapters on tool approval and agent permissions require, such as disabling training on your prompts or limiting which commands an agent may run, should already be in a shared configuration. The new hire's job is to apply it and verify it.
Days 2 to 3: the sandbox exercise
Create a small practice repository. Plant problems in it that the policy exists to catch:
- a fake secret in a configuration file
- a function the assistant is likely to get subtly wrong
- a dependency that the policy requires approval for
- a test that passes without checking anything
Ask the new hire to complete a small task using the assistant, then open a pull request that follows the template. A mentor reviews it and discusses what was caught and what was missed. Mistakes here cost nothing, and the mentor can explain the reasoning right when the mistake happens.
Week 1: a first real pull request with a buddy
Pair each new hire with an experienced reviewer for their first pull requests. The buddy checks the disclosure section, asks the author to explain the riskiest part of the change, and models what a good review looks like. This reinforces the rule that the author owns the change.
Day 30: a check-in
Ask three questions. Which rule was unclear? Which rule got in the way of real work? Did you see anyone do something the policy does not cover? The answers feed the revision cycle described in the chapter on rollout.
A reusable onboarding checklist
Keep the checklist in the repository so it is versioned with the policy. A new hire or their buddy can copy it into an issue.
## AI policy onboarding
- [ ] Read the one-page AI-assisted code summary
- [ ] Installed the approved assistant and applied the team configuration
- [ ] Confirmed that prompt data is not used for model training (per team settings)
- [ ] Completed the sandbox exercise and discussed results with the mentor
- [ ] Submitted a first pull request with the AI assistance section filled in
- [ ] Knows where to report a suspected data leak: ____
- [ ] 30-day check-in scheduledTreat the checklist as the record of completion. It also answers an auditor's question about how the team trains people.
Train existing engineers too
Rolling out the policy is a one-time event for current staff. Plan for it.
- Run a live session of 45 to 60 minutes. Spend about ten minutes on the rules and the rest on cases. Use real, anonymized examples from your own codebase when you can.
- Record it and keep a written summary. Late joiners and people on leave need the same content.
- Give team leads a short extra briefing. They handle exception requests and coach reviewers, so they need to know the exception process and the escalation path.
- Schedule refreshers. Review the policy with each team when it changes materially, and at least once a year. Use a recent incident or near miss as the opening case, with names removed.
Tailor content by role
Different roles face different risks.
- Application engineers need the most practice with review and testing.
- Platform and infrastructure engineers need depth on agent permissions, since agents there can run commands against real systems.
- Data and machine learning engineers need extra detail on datasets and what counts as customer data.
- Reviewers and team leads need guidance on challenging a change the author cannot explain.
- Contractors and interns need the same baseline as employees, plus clarity on whose tools and accounts they may use.
Common errors
- A long slide deck with no practice. People nod through slides and then repeat the old behavior. Replace slides with exercises.
- Training only on prohibitions. If the session is only about what not to do, people conclude the tools are discouraged and hide their usage. Show good workflows too, such as writing tests first and asking the assistant to explain unfamiliar code.
- Teaching one tool's interface. Interfaces change. Teach the principles, and keep tool-specific steps in a short guide that you update.
- Skipping managers. If a manager praises speed and ignores the review rules, the training loses.
- No update path. A training deck written at launch is out of date within months. Assign an owner and a review date.
- Punishing honest questions. If asking "can I use this tool for this?" draws criticism, people stop asking and start guessing. Make asking safe and answer quickly.
Check that training works
You do not need elaborate measurement here, since a later chapter covers metrics. Two simple signals are enough for now. First, whether new hires complete the checklist in their first week. Second, whether the disclosure and review sections of their first pull requests are filled in correctly. If those are weak across several new hires, the onboarding needs fixing, not the people.
Exercise
A new engineer joins on Monday. List four onboarding steps in order, and name one thing the sandbox exercise should contain and why.
Show answer
Order: (1) read the one-page policy summary, (2) set up the approved tool with the shared team configuration and verify it, (3) complete the sandbox exercise with a mentor, (4) submit a first pull request with the AI assistance section filled in and a buddy reviewer. A 30-day check-in follows. The sandbox should contain planted problems such as a fake secret in a config file, a test that passes without asserting anything, or an unapproved dependency. These let the new hire practice catching the exact issues the policy targets, with no real risk, and give the mentor a concrete moment to explain the reasoning.
Exercise
Your team's training session on the AI policy was a 60-minute slide presentation, and three weeks later reviewers still see empty AI assistance sections in pull requests. Give two changes you would make.
Show answer
Replace most of the slides with practice, for example a live exercise where each engineer fills in the pull request template for a sample change and reviews a pull request with planted flaws. Also brief team leads so they enforce the template during review, and add a short recorded walkthrough of the template. Optionally, make the template section required by a CI check so the gap is caught automatically.