An AI acceptable use policy is a short internal document that says which AI tools staff may use, with which data, and who answers for the result. Most templates stop at tools and data. For an engineering team that is not enough, because the team does not only use AI: it ships what the AI produces to a client. A policy that works for developers defines three things instead of a list of banned tools: what must be declared on every change, what must be verified before the merge, and what must stay on record afterwards. Those three rules can be checked at the one point every change already passes through, the merge, so they hold even when nobody knows which assistant was open on a given afternoon. Below you find why generic policies fail for a development team, the shape of the policy that works, and a short version to copy and adapt with your legal adviser.
Why do generic AI policies not survive contact with a dev team?
Search for a template and the results are policies written for the whole company: which chat tools are approved, which categories of data must never be pasted into them, a reminder to check outputs for accuracy. They answer a real question, which is what leaves the company. They do not answer the question a software house or an in-house engineering team has to answer: what arrives in the product.
For a developer, AI is not a tool used next to the work. It produces the deliverable. The risk is not only a customer list pasted into a chat window; it is a function that no human read, merged under deadline, and later impossible to attribute. A generic policy has no vocabulary for that, and a rule with no way to be checked is only a line in a document. The same gap is described from the problem side in shadow AI in your codebase; this page is the operational answer.
| Question | Generic company policy | Policy for a team that ships code | | --- | --- | --- | | Main concern | Data leaving the company | Code entering the product | | Unit of control | The tool | The change (the merge) | | Typical rule | "Use only approved tools" | "Declare, verify, record" | | Can it be checked? | Rarely, for local tools and CLIs | Yes, at the merge |
What are three rules that can actually be enforced?
A rule is enforceable when someone other than its author can check it after the fact, without asking around. Three rules meet that test for code:
- Every merged change states whether an AI agent or assistant touched it, even when the answer is "none".
- Something other than the same model grading its own work confirms the change before it ships: a test suite, a build, a human review, a diff-level check.
- The declaration and the verification result are stored somewhere that survives the person and the session that produced them.
None of these requires a list of forbidden tools, and none depends on catching a browser tab before the code exists.
Declare, verify, record: what is the shape of the policy?
The policy has the same three parts, each tied to a place in the pipeline.
- Declare belongs in the pull request. A field in the template, one line, filled in by the author. It states the tool class (assistant, agent, none) and the scope (draft, refactor, full change).
- Verify belongs in CI and in review. The command that checks the change is run by the pipeline, not reported by the agent, and a named reviewer confirms what automated checks cannot. This is the part the governance frameworks usually leave open: they cover the model, not the change.
- Record belongs in the repository history and the pipeline logs: declaration, check result, reviewer, commit. If it exists only in a chat, it does not exist.
What does a short policy you can copy today look like?
This is a starting draft. Adapt names and thresholds, and have your legal adviser read it before it becomes a contractual commitment.
- Scope. This policy applies to everyone who writes, reviews or merges code for the company or for its clients, including contractors.
- Tools. AI assistants and agents may be used for development work. Tools that process client source code or client data require the approval of the delivery lead, and the approval is written down.
- Data. Credentials, secrets, personal data and client material covered by a confidentiality clause are never entered into a tool that has not been approved for that class of data.
- Declaration. Every pull request states whether AI assistance was used and in what role. A missing declaration blocks the merge.
- Verification. No AI-assisted change is merged without passing the project's automated checks and a review by a person who did not author it.
- Responsibility. The person who merges answers for the change, whatever tool produced it. "The agent wrote it" is not a defence and not an exemption.
- Record. Declarations, check results and approvals are kept with the commit history for the retention period agreed with the client.
- Exceptions. Any exception is requested in writing from the delivery lead and recorded with a date and a reason.
Detent, the end-to-end delivery line (detent-ai.com), puts these steps in the pipeline itself, from request to production, so declaration, verification and signature come out as a by-product of the work and are not a form to fill in afterwards. See the bench for how that is measured.
What should you review after the first month?
Do not review the policy as a document. Review whether it was followed, with three checks on real merges:
- How many merged changes carry a declaration? The gaps show where the process is bypassed, not where people are careless.
- On how many of them did the verification run before the merge, and who confirmed it?
- Can you rebuild, for one random change, who authorized it and what was checked, in under ten minutes?
If the third answer is no, tighten the record before adding any new rule. A policy is as strong as the question it lets you answer when a client asks: who approved this, and what was checked?
