Topic 4 of 4 · 4 min read
Onboarding engineers and preventing configuration drift
Goal: Write an onboarding and change process for the team's agent setup and identify the signs that configurations have drifted.
Treat the team's agent setup as a product with owners: change it through reviewed pull requests, give new engineers a checklist, and look for drift on a schedule instead of waiting for something to break.
Check yourself · 1 of 3
Why should changes to the shared agent setup go through pull requests?
Why it matters
Agent configuration decides what a tool can read, run and send. Yet it often changes by accident: one person adds an allow rule, another edits a hook, a third installs a plugin from an unknown source. After six months no two machines behave alike. A bug appears for one engineer and not another, and nobody can tell why.
The change process
- Put it in git. Shared setup lives in committed files: the project settings, the shared instructions file, and the plugin list.
- Assign owners. A
CODEOWNERSfile can require review from named people for the agent folder and the instructions file, so a hook or server cannot arrive unseen. - Review like code. The reviewer reads three things: what new thing can the agent now do, what new thing can it reach, and who else is affected.
- Announce. One line in the team channel: what changed, why, what to do. If it needs a restart or a plugin update, say so.
- Keep a changelog next to the config so a fresh session or a new hire can see why a rule exists.
Onboarding checklist
For a new engineer, on day one:
- Clone the repository and trust the folder, so project rules and the team plugin list apply.
- Sign in with the company account, so managed policy applies.
- Install the team plugins from the team marketplace.
- Run a short check: ask the agent to list its active settings, plugins and servers, and compare with the list in the docs.
- Read the shared instructions file and the rules for what needs a human approval.
Spotting drift
Signs that setups have drifted:
- Two engineers get different results for the same task in the same commit.
- Someone has an allow rule or server in their local files that nobody has seen in a review.
- A plugin is two versions behind on some machines.
- Old behaviour that the team fixed long ago still appears for one person.
A monthly check helps: each engineer exports their effective settings and plugin versions, and someone compares them with the committed baseline.
Before and after
Weak: "Ask Sam, Sam has the good config." Sam leaves, and nobody knows what was installed.
Fixed: onboarding steps in the repository's docs, config changes through pull requests with owners, a monthly drift check, and a changelog.
What goes wrong
- Config pull requests are treated as chores and approved without reading.
- The checklist exists but nobody tests it with a real new hire.
- Local-only fixes pile up, so the committed setup stops matching what people actually use.
Examples
A one-page change and onboarding process
Change: edits to the agent folder and the instructions file need review from two code owners. The pull request template asks: what can the agent now do, what can it reach, who is affected?
Announce: post one line in the team channel when a change merges.
Onboard: clone and trust the repo, sign in, install team plugins, run the settings check, read the instructions file.
Drift: first Monday of each month, everyone compares plugin versions and local rules with the baseline and files differences as issues.
Reading a drift report
Report: Ana has plugin 1.0.2 and everyone else has 1.2.0. Ben has an allow rule for curl in his local file. Chen's agent connects to a server that is not in the project file. Actions: Ana updates. Ben proposes the rule in a pull request or removes it. Chen removes the server or asks for it to be reviewed and added.
Key points
- Shared agent setup belongs in committed files with named owners, not in one person's home folder.
- Config changes go through pull requests, and the reviewer asks what the agent can now do, what it can reach, and who is affected.
- A written onboarding checklist gets a new engineer to the same setup as the rest of the team on day one.
- Drift shows up as different results for the same task, local-only rules nobody reviewed, and plugins on old versions.
- A recurring drift check compares each machine's effective setup with the committed baseline.
Common mistakes
- Letting one engineer's home folder be the only copy of the working setup.
- Approving config pull requests without asking what new access they give the agent.
- Writing an onboarding checklist and never testing it on a new hire.
- Never checking for drift, so local-only exceptions accumulate quietly.
Check yourself · 2 of 3
Two engineers on the same commit get different results from the same agent task. What is a likely cause to check first?
Check yourself · 3 of 3
Which item belongs in a new engineer's day-one checklist for agent setup?
Practice items, not counted towards your mastery.
Start here
- Claude Code settings (opens in a new tab)DocsFree
Lists the settings files, where each lives, and the precedence order from managed down to user.
- Plugins overview (Claude Code docs) (opens in a new tab)DocsFree
What a plugin can hold (skills, agents, hooks, MCP servers) and when to use one.
- Configure server-managed settings (Claude Code docs) (opens in a new tab)DocsFree
How an admin delivers policy from the console, how it is cached, and what a failed fetch does.
More for this topic
- About code owners (GitHub Docs) (opens in a new tab)DocsFree
How a CODEOWNERS file forces review by named people on chosen paths, such as agent config.
- How Claude remembers your project (Claude Code docs) (opens in a new tab)DocsFree
Where shared project instructions live and how they load, the file a team reviews together.