Compliance

Phase 1, Phase 2, then keep it running

A fixed-price gap analysis, remediation through to your audit, and upkeep after it. All in a workspace you keep.

All compliance
Security

Find it before a buyer does

Testing, assessments and security leadership, run by the researcher who found the Mirai botnet kill switch.

All security
Industries

Prove you are secure

To the people you sell to, raise from or answer to.

All industries
Resources

Learn the space

Original research, free tools and plain-language guides, from a published security researcher.

Read the blog
Compliance

Change Management for AI: Treating Prompt and Model Changes as Production Changes

On this page, 7 sections
  1. Why prompts and models count as production changes
  2. What usually exists before anyone asks
  3. What counts as an AI change
  4. Building the control
  5. Evidence the auditor will sample
  6. Connecting change management to logging and testing
  7. Common questions

Change management for AI means treating a prompt edit, a model version swap or a change to an agent's tools as a production change, with the same review, testing, approval and rollback you would apply to code. SOC 2 and ISO 27001 both require controlled change to production systems, and in an AI product the prompt and the model are part of the production system.

Why prompts and models count as production changes

In ordinary software, behaviour lives in code. Change the code and you change what the system does, so change management controls sit on the code pipeline. In an AI product, a large share of behaviour lives outside the code: in system prompts, in the model and its version, in retrieval configuration, and in the list of tools an agent is allowed to call. A one-line prompt edit can change what data an agent reads, what it writes and what it tells a customer.

That matters to an auditor for a simple reason. SOC 2 criterion CC8.1 requires that changes to infrastructure, data, software and procedures are authorized, designed, developed, configured, documented, tested, approved and implemented. ISO 27001:2022 Annex A has a control on change management and related controls on separating development, test and production environments. Neither framework was written with prompts in mind, but both cover anything that changes how the production system behaves. If a prompt lives in a database row that anyone on the team can edit live, that is an uncontrolled production change, however small it looks.

The question an auditor or a buyer's security team will put is direct: how do you know a prompt change did not alter what the agent can access?

What usually exists before anyone asks

Early teams rarely have change management at all, for code or for prompts. In a recent engagement, an agentic marketplace platform running SOC 2 and ISO 27001 readiness together, production workloads ran against development resources, and changes reached production with no review, no test run, no build artifact and no rollback path. A change ticketing system was being put in place when the gap reports went out. For an AI product that gap matters twice, because the same uncontrolled path that carries code changes usually carries prompt and model changes too, often with even less scrutiny.

The pattern is common because AI products are built by iterating on prompts quickly, and the habits of that phase carry into production. Fixing it does not mean slowing iteration down. It means separating where you experiment from where customers are.

What counts as an AI change

Start by listing the things in your product that change model behaviour. Each one needs a home in your change process.

  • System prompts and prompt templates. Including any instructions assembled at runtime from configuration.
  • Model selection and version. Moving to a new model, or a provider updating the model behind an alias you call, changes outputs even if you changed nothing.
  • Model parameters. Temperature, maximum tokens, stop sequences and similar settings.
  • Agent tools and permissions. Adding a tool, widening its scope or changing the credentials it runs with is the highest-risk AI change, because it changes what the agent can do rather than what it says.
  • Retrieval and context sources. Which documents, indexes or customer records get pulled into the context window, and with what filters.
  • Guardrails and output filters. Changes that loosen a filter deserve the same attention as changes that add capability.
  • Fine-tuned models and training data, where you train your own.

Free weekly email

Get The Compliance Brief every Tuesday

One email a week from Jacob Masse: the security and compliance stories that changed something that week, and what each one means if you sell software to enterprise buyers. Five stories, a take on each, five minutes to read.

Free. Unsubscribe in one click, and replies reach Jacob directly. Read the latest issue or browse the archive.

Building the control

Put prompts and model configuration in version control

Prompts belong in the repository, or in a configuration store with version history and access control, not in a free-text field in an admin panel. Once they are versioned, the rest of your change process applies naturally: a pull request, a diff, a reviewer, a merge record.

Separate development from production

Experiment in a development environment with its own keys, its own data and ideally its own model endpoints. Production uses only configuration that came through the pipeline. This separation is also what both frameworks expect for code, so one fix serves both.

Review with the right questions

A prompt review is not a proofreading pass. The reviewer should ask whether the change affects what data the model sees, which tools it can call, what it can write or send, and whether it weakens any instruction that limits behaviour. Changes to tools and permissions should need a second approver.

Test before release

Maintain an evaluation set: representative inputs with expected behaviour, plus adversarial inputs that try to make the agent exceed its permissions or leak another customer's data. Run it on every AI change and keep the results with the change record. The evaluation does not need to be elaborate to be useful evidence. It needs to run every time.

Pin model versions

Call a specific model version rather than a moving alias where your provider allows it, and treat an upgrade as a change with its own ticket and evaluation run. If you cannot pin, monitor for provider-side changes and record when they happen.

Keep a rollback path

Every AI change should be reversible to the previous prompt, model and tool configuration in one step. Versioned configuration makes this straightforward. Without it, rollback means someone retyping last week's prompt from memory.

Emergency changes

Sometimes a prompt has to change in minutes because the agent is misbehaving in production. Define an emergency path: who can make the change, how it is recorded, and a retrospective review within a set number of days. Auditors accept emergency changes. They do not accept emergency changes that leave no trace.

Evidence the auditor will sample

For a SOC 2 Type II, the auditor samples changes from the observation period and checks each one followed your documented process. Include AI changes in that population. For each, keep:

  • The ticket or pull request describing the change and why it was made.
  • The diff of the prompt, model setting or tool configuration.
  • Reviewer and approver, with dates.
  • The evaluation run and its result.
  • The deployment record showing what went to production and when.

Write the scope into your change management policy explicitly: "changes to prompts, model versions, model parameters, agent tools and retrieval configuration are production changes." A policy that only mentions code invites the question of where AI changes go. The guide to SOC 2 for AI companies covers the other areas auditors are raising with AI products.

Connecting change management to logging and testing

Change control tells you what should be running. Logging tells you what actually ran. Record the prompt version, model version and tool set alongside each agent action, so that when a customer asks why the agent did something, you can trace it back to a specific approved change. The guide to logging and audit trails for compliance covers the general approach.

Independent testing closes the loop. A review of what your agent can actually be made to do, beyond what the prompt intends, is what the AI agent security assessment guide describes, and it is often the most persuasive evidence in a buyer's security review.

Common questions

Does SOC 2 require change management for prompts?

SOC 2 requires that changes to the production system are authorized, tested and approved. It does not mention prompts, but if a prompt changes how the production system behaves, it falls within that requirement. Auditors reviewing AI products increasingly ask about it directly.

Is a model provider's update a change we have to control?

You cannot approve a provider's change, but you can control your exposure to it: pin model versions where possible, treat moving to a new version as your own change, and monitor for behaviour shifts. Document how you handle provider changes in your change management policy.

How do we test a prompt change?

Run an evaluation set of representative and adversarial inputs before and after the change and compare results. Include cases that check the agent stays within its permissions and cannot reach other customers' data. Keep the results with the change record as evidence.

Does ISO 27001 treat this the same way as SOC 2?

Broadly yes. ISO 27001:2022 Annex A requires changes to information processing facilities and systems to be subject to change management, and expects development, test and production environments to be separated. One process, documented once, can serve both frameworks.

If you ship prompt and model changes straight to production and an audit or a buyer review is coming, book a free call. We will tell you what a change process for your AI product needs to show and what a Phase 1 would cover.

Shipping AI changes an auditor will ask about? SOC 2 readiness starts with a fixed-price gap analysis from $3,000, ISO 27001 from $3,500, and the rest is scoped from what it finds.

See readiness pricingOr book a free call

Before you go

Want the rest of this by email?

If this was useful, I send a few short notes on SOC 2. Unsubscribe in one click, and replies reach me directly.

From Jacob Masse, Principal of TrazTech: the files by email, then a few short notes over the next month. No spam, unsubscribe in one click.