Everyone is using AI. Few businesses have rules for it.
Your staff already use AI to write emails, summarise documents and analyse spreadsheets. Your developers ship code that AI assistants and agents wrote. Most of the time nobody has decided which tools are approved, what data may go into them, or how AI-written work is checked.
That creates four kinds of risk:
- Data leaving the business. Customer records, contracts, financials or source code pasted into personal AI accounts, outside your control and possibly outside Australia.
- AI tools that can see too much. An assistant connected to your files can find anything the user can open, including documents that were shared too widely years ago.
- Agents acting on their own. AI agents and automations connected to email, files or cloud accounts, with more access than the job needs.
- Bugs that look like working code. Invented dependencies, tests that prove nothing, and confident edge-case mistakes that reviewers skim past.
We build with AI every day at DevOpsPlant, and we govern it. The answer isn’t to ban the tools. It is to choose them deliberately, set a few clear rules, enforce them where possible, and keep humans on the decisions that matter.
Rules for how your staff use AI
A short, written policy your staff can follow, backed by settings that enforce it:
- Approved tools on business accounts. A list of the AI tools staff may use, on business plans where your data isn’t used to train the vendor’s models, with sign-in through your identity provider and MFA.
- What never goes in a prompt. Clear examples by data type: customer personal information, health or financial records, passwords and keys, and anything a contract says must stay in Australia.
- Where prompts are stored. We check where each tool keeps prompts, files and outputs, and how long, and choose the settings and regions that fit your obligations.
- Fix sharing before you switch on an assistant. Tools like Microsoft 365 Copilot can find anything a user has access to. We find overshared sites and folders first, so the assistant doesn’t surface them.
- Unapproved tools. Sign-in and network logs show which AI services staff actually use, so the policy covers reality, not just the approved list.
- Access that ends when people leave. AI accounts are managed through your identity provider, so leavers lose access with everything else.
AI agents and automations get least privilege
An AI agent that can read email, change files or call your cloud accounts is a new kind of user. We treat it like one:
- Its own identity. Every agent or automation has its own account or role, never a person’s login or a shared key.
- Only the access the job needs. Read-only where possible, limited to the sites, mailboxes or accounts it works on, and no production credentials for coding agents.
- Approved connections only. A list of the integrations and plugins agents may use, reviewed before anything new is connected.
- A record of what it did. Agent actions are logged, so you can see what changed and why.
The checks every pull request must pass
For teams that build software, these run on every pull request, however the code was written. A developer gets the result in minutes, before a reviewer spends any time on it.
| Check | What it catches | Blocks the merge when |
|---|---|---|
| Tests on changed lines | New code with no tests, or tests that don’t exercise it | Coverage of the changed lines is below the agreed minimum |
| Security scan | Injection, unsafe deserialisation and other common flaws | A new finding at high severity or above |
| Dependency check | Packages that don’t exist, look-alike names, known vulnerabilities, unapproved licences | A new package isn’t on the approved list |
| Secret scanning | Keys, tokens and passwords in the diff | Any secret is found |
| Change size | Pull requests too large to review properly | The diff passes an agreed size, unless a lead approves the exception |
Coverage of the changed lines matters more than overall coverage. A codebase can sit at 70% while the new, AI-written code has no tests at all.
# Fail the pull request if the lines it changes are under 80% covered - name: Coverage of changed lines run: | pip install diff-cover diff-cover coverage.xml --compare-branch=origin/main --fail-under=80
Humans still approve
AI review tools are useful as a first pass, flagging obvious problems before a person looks. They don’t approve changes.
- Every merge needs a human approval. Branch protection enforces it, including for changes an agent opens.
- Sensitive code has named owners. Payments, authentication, infrastructure and the pipeline itself need a reviewer from the owning team.
- Small pull requests by default. A reviewer can properly check a few hundred lines, not a few thousand.
# Changes here always need a reviewer from the owning team, however the code was written
/src/payments/ @acme/payments-leads
/src/auth/ @acme/security
/infra/ @acme/platform
/.github/ @acme/platformAssume some bugs will still get through
No set of checks catches everything, so releases are built to limit the damage:
- Feature flags. New features ship switched off, then turn on for a small group first.
- Canary releases with automatic rollback. A new version takes a small share of traffic, and rolls back by itself if error rates rise.
- Fast rollback. Going back is one step, practised, and faster than debugging in production.
The release side is covered in detail in From commit to production in minutes.
Rules for AI coding tools
- Approved tools. A list of the assistants and agents developers may use, on business accounts with training on your code turned off.
- What never goes in a prompt. Secrets, customer data and anything under a data residency obligation. This matters most if your data must stay in Australia.
- Least privilege for coding agents. Agents work in a sandbox or on a branch, with no production credentials, and only the tools and integrations you have approved.
- A record. Pull requests note when AI did most of the work, so you can see where problems come from.
How we prove it’s working
We measure before we change anything, then again after:
| Metric | What it tells you |
|---|---|
| AI services in use that aren’t approved | Whether staff are using tools outside your control |
| Overshared sites and folders | What an AI assistant could surface to the wrong person |
| Change failure rate | What share of releases need a fix or a rollback |
| Bugs found in production | How many problems got past every check |
| Time from pull request to merge | Whether the checks are slowing the team down |
How we deliver it
| Stage | What happens | You get |
|---|---|---|
| Assess | We find which AI tools are in use, what data they can reach, and, for software teams, how recent production bugs got through | A short list of risks and fixes, in order of impact, with a price |
| Build | The AI use policy, tool settings, sharing clean-up, agent permissions and, where you build software, pipeline checks and review rules | Guardrails that are enforced, not just written down |
| Tune | Rules and thresholds adjusted so they stop real problems without blocking good work | Before and after measurements |
| Hand over | Runbooks, a staff briefing and a walkthrough for your developers | A policy your team owns, with settings as code where the tools allow |
Common questions
We don’t build software. Is this still for us?
Yes. The policy, approved tools, prompt rules, sharing clean-up and agent permissions apply to any business whose staff use AI. The pipeline checks only apply if you build software.
Do you stop staff or developers using AI?
No. We help you choose approved tools and set clear rules for them. The goal is to keep the speed and remove the avoidable risk.
We’re about to roll out Microsoft 365 Copilot. Where do we start?
With sharing. Copilot can find anything a user can open, so we find and fix overshared sites, folders and teams first, then switch it on for a pilot group.
Will this slow our developers down?
Not in practice. Checks run automatically in minutes, before anyone reviews the change. We tune thresholds so they block real problems, and we measure time to merge before and after to prove it.
Which AI tools does this work with?
All of them. The policy covers whichever tools you approve, such as Microsoft 365 Copilot, ChatGPT, Claude or Gemini, and the pipeline checks run on the code itself, whether it came from GitHub Copilot, Claude Code, Cursor or a person.
We use GitLab or Azure DevOps. Does that matter?
No. The same checks and review rules work in GitLab CI and Azure Pipelines, using their own branch protection and required-reviewer rules (code owners in GitLab, path-based reviewer policies in Azure Repos).
Start with an assessment
About two weeks, fixed at $3,000 + GST.
We find which AI tools are in use and what data they can reach, and, for software teams, trace how recent production bugs got through.
You get a short list of risks and fixes, in order of impact, and a fixed price to put them in place.
If you go ahead, the assessment fee comes off the build price.
Next step
Tell us which AI tools your team uses
On a 30-minute call we’ll tell you where the biggest risk is, and the first two rules we would put in place.
