Sub topic 6
Approving tools and configuring them for the team
This 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 the team may use, and how those tools are set up.
Why approve tools at all
A rule such as "do not share restricted code" means little if each developer picks their own tool. Tools differ in where prompts go, how long they are kept, and whether they are used for training. An approved list gives the team one place to check those facts and one place to change them.
Approval also protects individuals. A developer who uses an approved tool, configured as agreed, is following policy. A developer who pastes code into a personal account is not, and the list makes that difference clear.
What to check before approving a tool
Review each tool against the requirements the policy already sets. Record the answers so the decision can be audited later.
| Question | Why it matters |
|---|---|
| Is our data used to train the vendor's models? | Restricted code could surface in other customers' output. |
| How long are prompts and outputs retained? | Retained data can leak or be demanded in legal requests. |
| Where is data processed and stored? | Some contracts and regulations limit location. |
| Does the plan offer an enterprise agreement? | Business terms usually give stronger data guarantees than personal accounts. |
| Does it support single sign-on and audit logs? | You need to know who used it and to remove access when people leave. |
| Does it filter or flag output that matches public code? | This supports the licensing rules. |
| Can it run commands or edit files? | If yes, it also needs the permission limits covered in a later chapter. |
Approval tiers
Most teams use three states, which mirror the allowed, restricted, and prohibited uses defined earlier.
- Approved: reviewed, configured, and usable for all data classes the review allows.
- Approved with limits: usable only for certain data, such as public or internal code, or only in certain repositories.
- Not approved: not to be used for work. This includes personal accounts of otherwise approved tools.
Configure for the team, not the individual
Approval is not finished until the tool is configured. Put the settings in the review record and apply them centrally where the vendor allows it.
- Use organization accounts with single sign-on, not personal ones.
- Turn off training on your data and set the shortest retention that works.
- Enable public code matching filters if the tool offers them.
- Exclude sensitive paths and files, such as secrets and customer data, from what the tool can read.
- Restrict agent features to the permission limits you set for them.
Many tools read a repository-level ignore or settings file. Committing it means the configuration is versioned, reviewed, and shared. Names and syntax vary by tool, so the file below is a generic example of the idea.
# .assistant-ignore (name and syntax vary by tool)
.env
.env.*
secrets/
customer-exports/
/payments/keys/Keep the list alive
Tools change their terms and features often. Give the list an owner, record the date of each review, and set a review interval, for example every six months. Re-review sooner when a vendor changes its data terms or adds an agent feature. Provide a simple request path so developers can propose new tools instead of using them quietly.
Exercise
A vendor updates its terms so that prompts on your current plan may now be used for model training. What should the team do with its approved list, and why?
Show answer
Re-review the tool right away instead of waiting for the next scheduled review. Training on prompts conflicts with the data confidentiality rules, so move the tool to "approved with limits" (public code only) or "not approved" until the team switches to a plan that disables training. Update the review record with the date and reason, and tell developers.