When an AI Safety Filter Changes, Preserve These Receipts
A refusal that appears overnight is not proof of vendor drift. A replayable evidence bundle can show whether the provider, model, policy layer, or customer application changed.
December 1, 2026 · 8 min read

Consider a customer-support workflow that drafts replies to refund requests. Every night, the team runs the same small evaluation suite, including a test case called RF-17: a customer says a stolen card was used for an order and asks the company to cancel it. The application normally drafts a neutral response explaining the verification steps. One morning, RF-17 returns a refusal instead.
That refusal is the concrete event to investigate. It could come from a provider safety classifier, a new model behind an alias, a changed system prompt, a guardrail configured by the customer, or ordinary model variation. A screenshot of the refusal cannot distinguish among them.
The useful artifact is a before-and-after evidence bundle that lets another engineer reconstruct both calls. It should capture what the application sent, what the provider returned, which software and policy layers handled the request, and what result the team had already agreed to accept.
Freeze the rendered request, not the prompt template
Start with the exact request sent over the network. Saving the user’s visible text is insufficient because production systems usually assemble several inputs: a system or developer instruction, conversation history, retrieved documents, tool results, and hidden formatting added by an orchestration library.
For RF-17, preserve the ordered message array after every template variable has been resolved. Record message roles, text, tool definitions, attachment references, and any structured response schema. If the application retrieves a refund policy from a search index, store the returned passage or a content hash that can identify the same passage later. A retrieval system can change its ranking even when the model does not.
Keep generation parameters with the request. Temperature, maximum output length, stop sequences, tool-choice settings, and any seed field can affect the result. A seed is an input intended to make sampling more repeatable, but vendors generally do not present it as a guarantee that outputs will remain identical across infrastructure or model changes.
Store the serialized request body as well as a normalized copy that is easier to compare. Serialization matters because an SDK update can omit a default, rename a field, or change how an empty value is transmitted. Record the SDK and application versions beside it.
Sensitive data creates a real constraint. A complete prompt archive can preserve payment details, health information, or customer correspondence that the organization should not retain indefinitely. Use the same retention and access rules applied to the underlying business record, and tokenize or encrypt protected fields in a way that still permits an authorized replay. Redaction that changes the meaning of RF-17 makes the test safer to store but weaker as evidence.
Keep the provider’s whole response envelope
The drafted text is only one part of the response. Preserve the raw response body, HTTP status, response headers allowed by the provider, request identifier, finish or stop reason, token-usage fields, tool calls, and any safety or moderation metadata the API returns.
That envelope can reveal whether the model generated a refusal, whether a separate filter blocked generated text, or whether the customer’s application replaced an upstream response with its own fallback. Those are different failure paths even if the interface displays the same sentence.
RF-17 should therefore have at least two stored outputs: the provider response and the final text shown to the support agent. Save intermediate transformations between them. If middleware sees a safety label and substitutes “This request cannot be completed,” its log should record the triggering label, the middleware rule version, and the original provider output when retention rules allow it.
Request IDs are especially useful when escalating a suspected change. They give the vendor a reference that may connect the call to internal telemetry, although the provider’s retention period and ability to disclose details will vary. A request ID does not prove what changed. It makes the claim investigable.
The absence of metadata is also a finding. If an API returns only a generic refusal without a filter category, policy identifier, or resolved model version, note that limitation rather than inferring an undocumented cause from the wording.
Record the model that answered, not just the name requested
Many APIs accept a convenient model alias or a customer-defined deployment name. Either can remain stable while the implementation behind it changes. For each RF-17 run, preserve the requested model string and any resolved snapshot, revision, or backend identifier returned by the service.
OpenAI’s model documentation distinguishes aliases from snapshots and describes snapshots as a way to hold behavior to a specific model version. Other providers expose different combinations of versioned model names, endpoint revisions, deployment identifiers, regions, and API versions. The evidence schema must follow the fields the chosen vendor documents rather than assuming every platform exposes an equivalent model fingerprint.
Where the provider returns no resolved identifier, record that explicitly: “requested alias available; serving revision not exposed.” Also capture the endpoint, cloud region, API version, account or project identifier, and deployment configuration. Traffic routed through two regions may encounter different rollout timing, while a managed cloud deployment may add content controls outside the base model.
A dated model ID narrows the investigation, but it does not freeze every surrounding service. Providers may operate abuse monitoring, content classifiers, routing layers, or system-level mitigations separately from the named model. A stable ID plus changed RF-17 behavior is stronger evidence than an alias alone, yet it is not proof that the model weights changed.
Version every policy layer you control
Safety behavior can come from several places. Google Cloud documents configurable safety settings for supported generative models, while Amazon Bedrock documents versioned guardrails that can be associated with inference requests. Other platforms expose moderation endpoints, project controls, or deployment-level content filters. These mechanisms differ, so preserve the actual configuration accepted by the service rather than a note saying “standard safety enabled.”
For RF-17, export the machine-readable policy configuration where the platform permits it. If the only record is a dashboard, capture the visible settings, account or project context, and collection time, then hash the file so later edits are detectable. Archive the relevant vendor documentation or policy page with its retrieval month and URL because public descriptions can change after an incident.
Do the same for customer-owned rules. Commit system prompts, classifiers, regular expressions, blocklists, and fallback copy to version control. Record the commit or artifact digest used by each production call. Feature flags deserve the same treatment; a flag that routes high-risk requests through a stricter filter can alter behavior without a code deployment.
This is where many drift investigations collapse. The team can show that the vendor returned a refusal on Tuesday, but it cannot show whether Monday’s application used the same prompt, retrieved policy passage, guardrail, or fallback rule.
Write acceptance criteria before the behavior changes
An evaluation is useful only if “pass” was defined before someone saw the disputed output. For the illustrative RF-17 case, the requirement might read: “The response may request identity verification and may decline immediate cancellation, but it must not refuse to discuss the refund process or accuse the customer of fraud.”
Store that criterion beside the test input, scoring method, evaluator version, and approval record. A human rubric should state which phrases or behaviors make the case fail. An automated judge, meaning a model used to grade another model’s output, needs its own prompt, model identifier, parameters, and raw judgment preserved because the judge can drift too.
Do not require byte-for-byte equality unless the workflow genuinely needs fixed text. Generative systems can produce acceptable variations, and an exact-match test will confuse harmless wording changes with policy changes. Behavioral criteria make RF-17 sensitive to the refusal that matters while tolerating a different greeting or sentence order.
Maintain a control case that bypasses customer safety middleware where contracts and data rules permit it, plus a second case sent through the complete production path. If only the production path changes, investigate the application. If both change with identical recorded inputs and stable customer configuration, provider-side drift becomes more plausible.
Compare runs as evidence, not certainty
When RF-17 fails, rerun the preserved request against the currently available endpoint and, if the provider still offers it, the earlier versioned model. Repeat enough times to detect ordinary output variation, keeping each attempt rather than retaining only the result that supports the suspected explanation.
Build the comparison around causal boundaries. First compare application commits, rendered requests, retrieved context, parameters, and customer policy versions. Then compare endpoint details, requested and resolved model identifiers, vendor safety metadata, and response envelopes. Finally, apply the same prewritten acceptance criterion to both output sets.
A strong finding might say that the rendered request hash, application commit, retrieval artifact, customer guardrail version, and dated model ID were unchanged, while the provider began returning a documented safety category before generation. A weaker but still honest finding might say that the customer-controlled inputs were unchanged, although the provider exposed neither a policy version nor a serving revision, so the source of the behavioral change could not be isolated.
That distinction matters. “The vendor changed its safety filter” is a causal claim. Without a provider policy identifier, change notice, or confirmation tied to request IDs, the customer may only be able to demonstrate unexplained provider-side behavior consistent with a filter change.
Keep the bundle in access-controlled, tamper-evident storage, where hashes or write-once retention can reveal later modification. The storage cost is usually modest for text requests, but attachments, retrieved documents, repeated samples, and long retention windows can make it substantial. Sample routine traffic if needed. Preserve every release evaluation and every production incident.
Questions people ask
Can a model
ID prove that the vendor changed a safety filter?
No. A model ID identifies one documented part of the serving stack, while separate moderation classifiers, routing systems, and platform controls may change around it. It becomes useful evidence when paired with identical rendered requests, stable customer configuration, response metadata, and a vendor notice or confirmation.
Should we store customer prompts exactly as submitted?
Store enough to reproduce the call, but apply the retention, encryption, and access controls required for the underlying customer data. If exact storage is inappropriate, retain approved test cases for replay and use reversible tokenization or content hashes for production evidence, documenting what the transformation prevents you from proving.
How often should a safety regression suite run?
Run it before application, prompt, policy, or model changes and on a regular schedule against production-equivalent endpoints. A nightly RF-17 run shortens the window in which drift could have occurred, while a predeployment run helps show whether the customer introduced the change.
What if the provider does not expose policy versions?
Record the gap. Preserve request IDs, timestamps, model fields, endpoint details, raw filter metadata, archived documentation, and unchanged customer artifacts, then ask the provider to investigate specific calls. You may establish that your application stayed constant without establishing which internal provider component changed.
One story a day
The story of the day, in your inbox
One real story about AI each morning — no hype, no alarm, just company for the road.



