Environment Engineering · Episode 05

Prove the Environment Is Working

Your job is not to watch every trace. Your job is to define what the evidence must prove — and what happens when it stops proving it.

Artifact · Environment Operating Contract Follows · Episode 04 — Contain the Compromise Next · Episode 06 — Decide What Runs Without You
Before you read

For six weeks, every dashboard was green.

The billing dispute agent completed its runs. Latency held steady. Tool errors were rare. Every refund stayed inside the ₹2,000 ceiling. No unauthorized destination was reached. No incident fired. No boundary was breached.

The agent was getting worse the entire time.

A later review found it had drifted from investigating ambiguous claims to resolving them with refunds. Nothing broke. Every action was authorized. Every control from Episodes 01 through 04 worked exactly as specified.

The environment was operational. The product was failing.

This is a product management failure, not an engineering one. Engineering can tell you the system ran. Security can tell you no boundary was crossed. An eval suite scores whatever it was told to score. Only the AI PM, working with whoever owns the business outcome, can say what working means — and what should happen when the answer changes.

The artifact this episode produces is the Environment Operating Contract.

Vocabulary for this episode

Word Meaning here
Saturation How full a system is relative to capacity — the fourth golden signal
Drift A distribution moved. Not a synonym for regression
Cohort A group of runs sharing a substrate version, treated as a unit
Golden set A fixed, labeled case set used as a stable reference point
Replay Running historical cases through a new version to isolate its effect
Error budget The permitted shortfall against an objective, used to gate change
Selective labels Outcomes observed only for cases the system acted on
Judge A model scoring another model's output

Coined here: Environment Operating Contract (the artifact). Three claims of health (execution, control integrity, decision quality — they fail independently). The four quiet failures, including compensatory degradation (the agent adapting around a plausible but weaker dependency answer). Six evidence classes. Instrument drift (the measurement changed, not the system). Trajectory invariants as an environment-conformance test. Durable resolution as a unit-economics denominator.

What you own

This is where the PM's role stops being advisory.

Not yours Yours
Writing OpenTelemetry instrumentation Which environment promises must produce evidence
Choosing a drift-detection statistic What a distribution change means for the product
Operating the trace pipeline What evidence is sensitive, and how long it lives
Staffing the human review queue What the review sample must represent
Building the judge harness Whether a judge's error rate is acceptable as a gate
Running the security interrupt What business consequence justifies interrupting
Validating statistical significance What magnitude of change is operationally significant
Migrating off a deprecated model Whether the successor has re-earned its evidence

Your team owns how it is measured. You own what must be known, and what decision follows.

Skip this division and one of two things happens: you become a junior data engineer with a PM title, or you accept a dashboard someone else designed and lose the ability to tell whether your product is working.

Where this sits in the body of work

This episode deliberately does not teach evaluation. The AI Evals & Observability series builds that discipline. Environment Engineering does something upstream.

ENVIRONMENT ENGINEERING (Ep 01-04)
Declares what must be true around the agent
  - Consequence is bounded
  - The world is as declared
  - Authority is attributable
  - Compromise is contained
                |
EPISODE 05 - THIS ONE
Converts each declaration into a testable operating
claim with an owner, an evidence standard, and a response
                |
AI EVALS & OBSERVABILITY
Builds the machinery that tests those claims
                |
THE AI PM DECISION
Ship - hold - degrade - roll back - expand autonomy

The Environment series states what must hold. The Evals series proves whether it does. Episode 05 is the contract between them.

Read The Quality Owner alongside this — it establishes why the PM defines "good." Read Production Watch for why release gates and production monitoring solve different problems.

01Two promises, and why teams confuse them

Every production agent makes two promises. Most teams instrument one.

The system promise. The environment will provide the declared tools, data, identity, limits, and degraded behavior.

The product promise. Operating inside that environment, the agent will do work that is useful, correct enough, and economically defensible.

Episodes 01–04 built the first. Keeping it does not keep the second.

Evidence presented What it proves What it does not prove
94% completion rate 94% of runs reached a terminal state That any decision was correct
Error rate under 0.3% Few exceptions were raised That nothing degraded silently
Refunds stayed under ₹2,000 The ceiling held That any refund should have happened
The grant was valid The action was authorized That the action was appropriate
The trace is complete Execution is inspectable That the outcome was good
Judge score is flat The evaluator output is stable That the evaluator is still valid
Escalations fell 40% Humans were involved less That autonomy improved

Completion proves termination, not correctness.

Every row on the right is a product question. Every row on the left is something a platform team can produce without you. Your first job is to stop accepting left-column evidence for right-column claims.

02Three claims of health

An environment is healthy only when three separate claims can be defended. They fail independently, have different owners, and no single score represents all three.

Claim The question Who answers Failure looks like
Execution health Did it run inside technical limits? Platform, engineering Crashes, timeouts, tool errors, saturation
Control integrity Did the environment enforce its boundaries? Security, platform, with product Denials that should have fired and did not
Decision quality Was the decision acceptable? Product and domain owner The opening incident

Hold them apart, because they move in opposite directions and still average to "fine." A system can complete every run while making progressively worse decisions. It can make excellent decisions while a permission boundary silently widened. It can refuse so much that control integrity looks perfect and the product becomes useless.

Reliability, control integrity, and decision quality are separate product claims. A green average can hide a red one.

Your operating rule: when a review presents one combined "agent health" number, ask which of the three failures has been averaged away. Asked consistently, that question is worth more than any dashboard you could commission.

Add saturation to the reliability column

Most agent reliability reporting covers latency, throughput, and errors and stops. The SRE golden signals are latency, traffic, errors, and saturation — how full the system is relative to capacity.

Saturation matters disproportionately for agents, because the system can preserve completion by degrading the work. Context windows near their limit force truncation. Tool queues back up and trigger fallbacks. Rate limits push the agent onto a cheaper model. The human review queue saturates, and the control you depend on becomes unavailable.

That last one is a product signal, not a platform signal. If your high-consequence approval queue is forty hours deep, your approval control has stopped existing, regardless of what the policy says.

03Turn Episode 01–04 promises into evidence

The mechanical core, and the deliverable you personally produce.

If an environment promise produces no observable evidence, it is not an operating promise. It is a claim you are hoping is true.

Episode 01 — consequence is bounded

Evidence required Why
Value moved per action Proves the per-action ceiling holds
Value moved per run Proves the run envelope holds
Aggregate exposure by agent version Per-run ceilings do not aggregate on their own
Attempts denied by the ceiling Shows the boundary is live, not theoretical
Cost and resource use against budget Proves the budget works as containment

Episode 02 — the declared world existed

Evidence required Why
Manifest version active during the run Attributes behavior to a declared world
Dependency availability Baseline health
Data freshness and completeness Catches the failure in §06
Tool schema version Detects a change in the substrate
Degraded-mode activation Proves declared fallbacks actually fired

Episode 03 — authority was attributable

Evidence required Why
Technical actor and authority owner Who did this, on whose behalf
Grant scope, audience, expiry Proves the authority was narrow
Approval reference plus approver's own limit Links the action to a verified human
Correlation ID joining action to authoritative outcome Makes reconstruction possible

Episode 04 — compromise was contained

Evidence required Why
Structural denials by reason code Episode 04's primary detection signal
Egress blocks Proves the network boundary is enforcing
Parameter-provenance violations Proves untrusted content is not reaching parameters
Tool description hash matches pinned version Proves the supply chain held
Time from detection to interruption Proves the interrupt path works in practice
Recovery and reconciliation outcome Proves the system returned to a trustworthy state

Produce this mapping before you produce a dashboard. Two hours, and it will change what your team builds.

04Start from decisions, not metrics

The most common way an AI PM loses control of observability is starting with "what can the platform give us?" That produces a dashboard of available metrics, not a decision system.

Invert it. For every operating claim: what decision does this inform, who has authority to make it, how fast, what action follows, and how much uncertainty can that action tolerate?

Decision Evidence Owner Action
Is this version behaving differently? Decision distribution by version and segment AI PM, domain owner Investigate, roll back if confirmed
Is a dependency producing weaker data? Completeness and freshness joined to outcomes Platform, domain owner Degrade or disable the path
Is the agent optimizing against the ceiling? Refund distribution near ₹2,000 AI PM Review policy interpretation
Are escalations falling for the right reason? Escalation rate plus appropriateness review AI PM, operations Continue, correct, re-tighten
Is compromise still contained? Denials, bypass attempts, drills Security Episode 04 response path
Has the quality budget been exhausted? Audited conformity weighted by consequence AI PM, risk Freeze autonomy expansion
Is human control still available? Review queue depth and age AI PM, operations Reduce eligible autonomy

A signal with no attached decision is a number. A signal with a decision, an owner, and a response is a control.

Anything failing this test belongs in a diagnostic view, not an operating review.

05The four quiet failures

Security failures announce themselves. Product failures do not.

Judgment drift. The decision distribution shifts while every individual decision remains defensible and authorized. Approval rate moves from 34% to 61% over five weeks. No single approval is wrong. The aggregate is a different policy than the one your domain owner wrote. This was the opening incident. Inspecting one run at a time finds nothing, which is precisely why it survives six weeks.

Input drift. The population changes and the agent does not: new merchant categories, longer documents, a new fraud pattern, more ambiguity. The agent has not degraded. Its fitness has.

Substrate drift. Model version, prompt template, policy bundle, tool schema, retrieval corpus, or evaluator version changes underneath a stable product surface. Every quality signal must be attributable to the versioned substrate that produced it. Pinning a model version is not sufficient.

Compensatory degradation. The most dangerous, and the one your reliability dashboard is structurally incapable of catching. A dependency returns a plausible but weaker answer and the agent adapts without failing.

The customer-history endpoint still returns HTTP 200. Replication lag omits recent disputes. Tool success rate stays at 100%. The agent receives incomplete history, treats repeat disputants as first-time claimants, and approves more. Nothing errored. The environment simply has less truth in it.

The most dangerous dependency failure is not an error. It is a plausible answer with less truth in it.

Dependency health cannot be measured by availability alone. It must include the semantic properties your decisions depend on: freshness, completeness, provenance, consistency. That requirement comes from you, because only you know which properties the decision rests on.

Failure Agent changed? Inputs changed? Caught by Lag if untracked
Judgment drift Yes No Decision distribution, segmented Weeks
Input drift No Yes Input distribution vs golden set Weeks
Substrate drift Indirectly No Version and hash attribution Immediate if tracked
Compensatory degradation Behaviorally Semantically Data quality joined to decisions Months

06Drift is change, not harm

This correction matters more than it first appears, and getting it wrong costs organizational credibility. A distribution can move because the population improved, a policy changed intentionally, cases got easier, an intervention worked, a season shifted — or because the system regressed.

Drift is evidence of change, not evidence of harm.

Concept Meaning Correct response
Drift A distribution moved Investigate and attribute
Regression A target metric worsened Confirm, then remediate
Policy shift Behavior diverged from intended policy Domain owner review
Harm A consequential outcome worsened Intervene
Instrument drift The measurement changed Recalibrate before trusting readings

The last row is the one teams miss. A judge-model upgrade changes the instrument, not the system. React to instrument drift as regression and you will roll back a healthy version.

Attribution requires more than correlation

Saying a prompt change "shifted the agent's posture" is a story, not a finding.

Evidence What it establishes
Temporal alignment The change and drift co-occurred — a suspect
Segmented comparison Drift concentrated in one version across stable segments
Canary or concurrent control Two versions differed under simultaneous traffic
Offline replay The same cases produce different outcomes per version
Rollback recovery The metric returned toward baseline

A correlated version is a suspect. A replay or a concurrent control makes it evidence.

Enforce this personally. The pressure in an incident room always runs toward the first plausible story.

07The substrate has an expiry date

§05 treats substrate drift as something that happens to you. A large part of it is scheduled, announced in advance, and ignored until it becomes urgent.

Model providers publish deprecation notice periods. OpenAI commits to at least six months for generally available models, at least three months for specialized variants, and as little as two weeks for preview models — while explicitly recommending against preview models for business-critical workloads unless you can migrate on short notice . Google's model deprecation works the same way: a deprecation date starts a window during which the endpoint keeps working for existing workloads but receives no updates, followed by a retirement date . Internal API decommissioning conventions are typically shorter, at 30 to 90 days .

Read those numbers as a planning constraint. Six months sounds generous until you count what a model migration actually requires under this contract.

Why migration is not a swap

Step Why it takes real time
Replay the golden set Establishes the successor's behavior on known cases
Recalibrate the judge The judge may have been tuned against the incumbent's style
Re-baseline decision distribution The successor's distribution is not the incumbent's
Re-verify trajectory invariants Different reasoning may take different legitimate paths
Run as a distinct cohort §14's rule — no pooling with the incumbent baseline
Accumulate downstream evidence Appeals and reversals arrive on their own schedule

The last row is the binding constraint. If your durable-resolution window is 60 days, you cannot demonstrate the successor is equivalent in less than 60 days of production traffic — regardless of how good the offline replay looks.

A six-month deprecation notice is not six months of runway. It is six months minus your evidence-accumulation window, minus your migration engineering, and the evidence window cannot be compressed by adding people.

What the contract must record

Field Question
Substrate inventory Every model, tool schema, policy bundle, judge, and retrieval corpus with a version
Provider notice period What each provider commits to, per tier
Preview dependencies Anything on a preview or unstable tier — and whether that is acceptable
Evidence window How long the successor must run before promotion
Effective runway Notice period minus evidence window minus engineering
Migration owner Named, per substrate
Forced-migration behavior What ships if the deadline arrives before evidence does

The last row is the honest one. Sometimes the deadline wins. The decision then is not whether to migrate but which gate to re-tighten while the evidence catches up — narrower autonomy, higher review coverage, or a lower consequence ceiling until the successor has earned its baseline back.

What you own: knowing what is on a preview tier, and refusing to build a release gate on an instrument that can be retired with two weeks' notice.

The question: "Which of our substrate dependencies has the shortest notice period, and what is our effective runway on it?" If nobody knows, you have an unscheduled migration in your future.

08Specify trajectory invariants, not one correct path

The Agent Evals chapter covers trajectory evaluation. Episode 05 uses it narrowly: verifying that the environment's required operating sequence actually occurred.

The trap is demanding one canonical path. Adaptive agents have multiple legitimate routes, and forcing imitation destroys the value you deployed an agent to get. Specify invariants — properties holding across every valid path.

Invariant type Refund agent example
Required event The payment ledger is consulted before the amount is determined
Forbidden event No transaction ID, amount, or recipient originates in free text
Ordering Policy evaluation precedes the grant request
Cardinality At most one payment attempt per approved intent
Failure rule A missing authoritative amount blocks execution
Recovery rule State of uncertain integrity is never resumed
Optional branch Additional merchant verification may occur for ambiguous cases

Evaluate trajectories by invariants, not by imitation of one preferred path.

Every invariant traces to an earlier episode: provenance from 04, authority sequence from 03, idempotency from 01. Trajectory invariants are how Episodes 01–04 become testable.

One constraint on what you can observe

Do not build invariants on the model's stated reasoning. Generated rationale is output, not a faithful account of internal computation, and storing it carries privacy and security cost. Build on observable execution: tool calls, arguments, results, state transitions, retrieved sources, policy decisions, authoritative outcomes.

09Not all evidence is equal

Your most common failure in an operating review will be accepting weak evidence for a strong claim.

Evidence class Example What it supports Where it misleads
Authoritative fact The ledger shows ₹1,847 transferred What occurred Assumes the ledger is correct
Control evidence The gateway rejected an out-of-case grant Whether a boundary held Silent when telemetry is missing
Behavioral signal Approval rate rose 12 points That behavior changed Confounded by input mix
Policy label A reviewer judged the decision nonconforming Whether policy was followed Reviewers disagree
Downstream outcome Appeal upheld; refund reversed Whether the result endured Selective and delayed
Proxy evaluation An LLM judge score A population-level estimate Systematic bias; drifts silently

Correctness is not one label. It is an evidence claim assembled from facts, policy judgments, and consequences.

Never promote a class. A stable approval rate is not proof of correctness. A reviewer label is not proof the customer outcome was good. A low appeal rate is not proof of satisfaction, because only some people appeal. A judge score is not a fact about the world.

The timing problem you cannot engineer away

The evidence you trust most arrives too late to prevent the loss. The evidence that arrives fastest is the evidence you trust least.

A behavioral signal is available in minutes and proves almost nothing. A chargeback is nearly conclusive and arrives in sixty days. The resolution is not to pick one: use fast internal signals to detect and slow external outcomes to calibrate, treating every confirmed downstream failure as a test of whether your leading indicators flagged it.

The maturity of your quality program is measured by how reliably its fast signals predicted its slow ones.

10Evaluators are instruments, including the human ones

The evals series develops judge validation and human review in depth. Smarter Judges for calibration, Human-in-the-Loop for sampling and routing. Episode 05 needs the operating rule those chapters produce, applied evenly.

Every evaluator — model or human — is an instrument. Trust begins when its error is measured.

Teams apply appropriate skepticism to LLM judges and none to human reviewers. For ambiguous policy decisions that asymmetry is not defensible.

For machine judges. The literature documents position bias, verbosity or length bias, and self-enhancement bias, along with mitigations. Treat those as known instrument faults to test for, not reasons to abandon judges. Calibrate against domain-reviewed cases from your population, not a generic benchmark. Test for position, verbosity, self-preference, and same-family effects. Recalibrate on every judge-version or rubric change. Use scores for triage and population trends, not per-case verdicts. Route disagreement to human review.

For human reviewers. Use a versioned policy rubric, not general judgment. Dual-label a calibration sample and measure agreement. Adjudicate disagreements and track the overturn rate. Track agreement by policy clause — low agreement localizes an ambiguous rule. Keep the original approver out of the post-action audit for the same case. Periodically relabel a stable anchor set to detect reviewer drift. Mature ML operating guidance says the same: sample randomly, oversample high-risk cases, route ambiguous ones to experts, measure agreement.

What you own is not the statistics. It is the acceptance criterion — what evaluator error rate is tolerable before that evaluator's output becomes a release gate. Task-specific. Do not import a number from a vendor blog.

Reviewer capacity is a control, not a resource

§02 flagged review queue depth as saturation. The stronger statement: human review is a control in Episodes 03 and 04, and controls have availability.

Episode 03 made approval a boundary for exception refunds. Episode 04 qualified it — a boundary only when reviewers are not flooded into rubber-stamping. This episode has to measure that.

Signal What it detects
Queue depth and oldest item age The control is unavailable
Median time-to-decision Whether approval is real or a formality
Approval rate by reviewer Rubber-stamping concentrated in one person
Approval rate by hour and day Fatigue and end-of-shift effects
Time spent per case Whether the authoritative view is actually being read
Overturn rate on audited approvals Whether approvals hold up
Reviewer agreement trend Instrument drift in the human instrument

The rows that matter most are approval rate by reviewer and time spent per case. A reviewer approving 99% of cases in eleven seconds is not a control. They are a latency cost with a compliance signature attached, and the audit trail will say a human approved it.

A control that is always saturated is not a slow control. It is an absent control that still appears in the design document.

The response when capacity is exceeded is not to hire faster. It is to reduce what requires review — narrow the eligible population, raise the threshold that triggers escalation, or lower the autonomy ceiling until capacity recovers. All three are product decisions.

Selective evidence

Feedback is not evenly distributed. Approved refunds generate outcomes. Denied claims often never reveal whether approval would have been better. Escalated cases get more scrutiny. Complaints come only from customers who complain.

A random audit gives an unbiased estimate of reviewer-labeled policy conformity across the sampled population. It does not manufacture counterfactuals for actions the system did not take. This is the selective labels problem, named in the ML literature: when outcomes are observed only for cases a decision-maker acted on, the unobserved cases cannot be scored after the fact.

Question Answerable?
Did the decision conform to policy? Yes, from available evidence
Did the outcome hold up? Yes, after a delay
Would the other decision have been better? Often not, without experimentation

State this limit out loud in reviews. It protects you from claims your evidence cannot support.

11Your evidence system is a second production system

This episode asks the team to record prompts, tool results, customer messages, rationales, authoritative parameters, and full traces. That creates a second store of highly sensitive data — and it belongs in Environment Engineering, because the evidence system is part of the world around the agent.

OpenTelemetry's GenAI semantic conventions give a vendor-neutral vocabulary for agent and tool spans, but content capture is opt-in and requires governance. Plan for churn: the conventions live in a dedicated repository and remained at Development status through 2026 with no committed stabilization timeline, while HTTP and database conventions have long been stable.

One boundary worth stating plainly for anyone reading a vendor pitch: OpenTelemetry standardises how a run is recorded. It does not score whether the decision inside that run was any good.

Data Default posture
Correlation and version identifiers Always capture
Structured decision and outcome class Always capture
Tool name, status, timing Always capture
Read-access records Always capture — Episode 04's disclosure requirement
Sensitive parameters Redact or tokenize
Full prompts and completions Sample, purpose-limit, access-control
Customer free text Minimize
Credentials and secrets Never
Judge and eval inputs Govern as production data

The read-access row is where Episodes 04 and 05 collide productively. Episode 04 needs read logging to scope a 72-hour disclosure assessment. Data minimization pushes the other way. Resolve it deliberately in this contract, not by whichever team configured the pipeline last.

Observability that reproduces the production data boundary has created a second production system. Govern it accordingly.

More visibility is not automatically better. You are trading evidentiary value against data exposure, and that trade is a product decision.

12Read the metrics like a PM

Every operational metric has a direction that feels good and a reading that is wrong. Name both before it goes on a dashboard.

Completion rose. Fewer crashes — or the agent is resolving cases it should escalate. Did completion rise because the product improved, or because judgment got less conservative?

Refusals rose. An attack, input drift, or boundaries correctly rejecting what they were built to reject. A falling refusal rate deserves more scrutiny than a rising one. Which refusal reasons changed, in which segments, after which version?

Escalations fell 40%. Genuine capability growth — or decisions beyond the agent's competence. Did escalation fall while independently reviewed escalation appropriateness held steady?

Latency fell. Efficiency — or skipped verification steps. Which trajectory invariants changed alongside it?

Cost per run fell. Efficiency — or less evidence retrieval and weaker deliberation. What happened to fully loaded cost per durable resolution?

A durable resolution conforms to policy, reconciles correctly, requires no reversal, produces no repeat contact inside the observation window, and carries its share of model, tool, review, rework, and incident cost. Cost per run falling while cost per durable resolution rises means the agent got cheaper at being wrong.

The AI PM's job is not to celebrate metric movement. It is to identify the alternative explanation.

13Quality objectives under uncertainty

SRE gives the mechanism: an SLO sets a target, the error budget defines acceptable shortfall, and the remaining budget gates releases. The budget is also why a freeze is a product decision rather than an engineering one — it makes the trade between shipping speed and accepted risk explicit.

Agent quality needs one adaptation. Correctness is sampled, delayed, and consequence-weighted, so the budget is an estimate with error bars.

Field Refund agent definition
Eligible population Resolved disputes with authoritative reconciliation
Quality event A policy-nonconforming decision confirmed by adjudicated review
Weight Episode 01 consequence class and realized exposure
Estimate Sampling-weighted across review strata
Delay Preliminary weekly; final after the downstream window
Known uncertainty Sampling error, reviewer disagreement, delayed consequences
Gate Freeze on crossing the policy threshold

A quality budget estimated from a sample is a distribution, not a balance.

Do not present the estimate as exact. Equally, do not let uncertainty become the reason you have no gate.

What "freeze" actually means

The naive version — all changes freeze — is unworkable and will be ignored the first time it fires. When the budget is exhausted: freeze autonomy expansion and non-remedial prompt, model, and policy changes; permit controlled rollback; permit safety and remediation changes; increase review coverage where the failure concentrated; require re-established evidence before expanding; handle new versions as cohorts.

A related trap: exempting a new version's output from quality objectives while it is "being re-baselined" hides regressions during the window of maximum uncertainty. Every substrate change starts as a distinct cohort. Its outputs count toward total exposure immediately but are not pooled with the incumbent baseline. Promotion requires a predeclared comparison against the incumbent with no safety or quality breach.

14Bound the fleet, not just the run

Every control in Episodes 01–04 bounds a single run. Product exposure is a fleet property. A 2% error rate sounds tolerable. At 40,000 monthly decisions it is 800 wrong outcomes. Whether that is a rounding error or a regulatory event depends on which cases failed and how severe they were.

Every operating review needs: per-run rate; monthly affected volume; consequence-weighted exposure; version concentration; cohort concentration; trend and evidence delay.

A tolerable per-run error rate can still produce an intolerable monthly exposure.

A stable global average routinely hides one failing cohort, one bad prompt version, or a small high-consequence category driving most of the loss. Aggregate reporting without segmentation is how concentrated harm survives quarterly review.

15Close the loop with the people affected

Everything above is the system evaluating itself. Closed loops drift together.

The NIST AI Risk Management Framework is explicit that post-deployment monitoring plans should include mechanisms for capturing and evaluating input from users and other AI actors, appeal and override, decommissioning, incident response, recovery, and change management. The MANAGE playbook sets out each in implementable detail. Read it as monitoring design guidance, not a certification checklist.

Appeal and override are the parts teams skip, and they are the cheapest external evidence available.

Signal What it tells you How it misleads
Customer appeal rate Direct dissatisfaction Self-selecting; access is unequal
Appeal upheld rate Stronger correctness evidence Only covers appealed cases
Human override rate Human–agent disagreement May reflect conservative human policy
Override reason Builds your failure taxonomy Free-text quality varies
Repeat contact rate The resolution did not hold Confounded by unrelated issues
Manual rework minutes Externalized operating cost Often uninstrumented

A low appeal rate does not prove quality. A high override rate does not prove the agent is wrong. Read them as external anchors, not verdicts.

16Someone may require this by law

Everything above is framed as good practice. For a growing set of deployments it is a legal obligation, and the obligation shapes the design.

EU AI Act Article 72 requires providers of high-risk AI systems to establish and document a post-market monitoring system proportionate to the technology and its risks, actively and systematically collecting, documenting, and analysing relevant data — which may come from deployers or other sources — on performance throughout the system's lifetime, sufficient to evaluate continuous compliance . Where relevant it must include analysis of interaction with other AI systems .

Two structural details matter for how you build this.

The plan is part of the technical documentation, not an operational afterthought — it belongs in Annex IV documentation . The Commission was to adopt an implementing act laying down a template and the list of required elements .

Existing regimes can absorb it. Where a post-market monitoring system already exists under other Union harmonisation legislation, providers may integrate the Article 72 elements into it, provided equivalent protection is achieved — and this explicitly extends to financial institutions already subject to internal governance requirements under Union financial services law .

That second point is directly relevant to a billing dispute agent. If your organization already runs model risk management or operational risk monitoring, the correct move is integration, not a parallel system. Two monitoring systems disagreeing in an audit is worse than one.

What "continuous compliance" changes

The phrase does real work. It is not "was it compliant at conformity assessment." It is a standing obligation across the lifetime of the system.

Practice in this episode What the obligation adds
Evidence register Must be documented, not tribal knowledge
Segmentation rule Concentrated harm in one cohort is a compliance finding
Substrate versioning Lifetime monitoring means tracking every substrate change
Deployer feedback Data may come from deployers, not just your own telemetry
Interaction analysis Multi-agent interaction is explicitly in scope where relevant
Declared limits What you cannot observe should be stated, not omitted

What you own: determining whether your system is in scope, and if so ensuring the operating contract is written to be the monitoring plan rather than something that has to be translated into one later. Retrofitting documentation to a monitoring system built without it is substantially more expensive than designing them together.

The question: "If a regulator asked for our post-market monitoring plan tomorrow, would we hand them this document, or would we write a new one?" If the answer is a new one, the contract is not yet doing its job.

17The first ninety days

The contract in §18 describes a mature state. Teams reading this at launch need a sequence, because attempting all of it at once produces a dashboard nobody trusts and a review nobody attends.

Days 1–14 · Attribution before measurement. Nothing else works without it. Every run must carry a correlation ID, model version, prompt template hash, policy bundle version, manifest version, and cohort label. If you can only do one thing in the first two weeks, do this. Retrofitting attribution is expensive; its absence makes every later signal ambiguous.

Days 15–30 · Control evidence. Structural denials by reason code, egress blocks, provenance violations, invariant conformance. This comes second because it is largely mechanical, it is Episode 04's detection layer, and it produces value immediately without requiring a labeled dataset.

Days 31–60 · Decision distribution and the golden set. Segmented decision distribution, plus a fixed labeled case set. The golden set is the reference point everything later compares against. Build it before you need it — a golden set assembled during an incident is contaminated by the incident.

Days 61–90 · Human review and the first budget estimate. Calibrated rubric, dual-labeled sample, measured agreement, first quality budget with stated error bars. This is last because it is the most expensive and depends on everything above.

After 90 days. Judge calibration against the human-labeled set. Downstream outcome joins. Fully loaded cost per durable resolution.

Sequencing error What it produces
Judge before human labels A judge calibrated against nothing
Quality budget before segmentation A number that hides its own cause
Dashboard before decisions Metrics nobody acts on
Golden set during an incident A baseline contaminated by the failure
Downstream joins before attribution An outcome you cannot trace to a version

Attribution first, control evidence second, distribution third, human labels fourth. Every other order produces evidence you cannot interpret.

18Translating this to your product

Coding agent Support agent Ops agent Research agent
Quiet failure to fear Judgment drift — larger, less reviewed diffs Judgment drift — resolving what it should escalate Compensatory degradation — acting on stale telemetry Compensatory degradation — thinner retrieval
Durable resolution Merged and not reverted in 30 days Resolved with no repeat contact Remediated with no recurrence Cited and not corrected
Fastest honest signal Review comment density Escalation appropriateness Recurrence rate Source-grounding rate
Slowest conclusive signal Defect traced to the change Chargeback or appeal Post-incident review Downstream correction
Instrument at most risk Test suite as proxy for correctness Reviewer consistency Alert thresholds Judge grounding rubric
Metric that lies most Lines merged Completion rate Mean time to resolve Volume of output
Regulatory exposure Low Often high Sector-dependent Depends on data

Five questions, whatever you build: Which of the three health claims does this dashboard cover? What is your durable-resolution denominator? Which instrument has never had its error measured? What is your effective runway on the shortest-notice substrate? Would a regulator accept this document as your monitoring plan?

19The artifact

Field artifact 05
Environment Operating Contract
Billing dispute resolution · v1.0 · effective 2026-08-01

States which claims about the environment and the product must remain true in production, what evidence supports each, how uncertain that evidence is, who decides whether the claim still holds, and what happens when it does not.

Contract eoc-billing-dispute v1.0 · Envelope ce v2.1 · Manifest env v4.2 · Matrix am v3.2 · Containment cm v1.0 · Product owner: AI PM, Billing · Domain owner: Billing Operations · Platform owner: AI Platform · Quality owner: AI PM with Billing Operations

Part A · Operating claims

Claim Evidence Eval dependency Decision owner Failure response
Consequence remains bounded Per-action, per-run, fleet exposure Ceiling and replay evals AI PM, Payments Halt or tighten
The declared world existed Manifest version, freshness, completeness, tool versions Environment-fidelity evals Platform, AI PM Degrade or disable
Authority was valid Grant scope, actor, audience, approval, correlation ID Authorization evals Identity, AI PM Deny and investigate
Compromise stayed contained Denials, egress blocks, interruption outcome Adversarial evals Security Episode 04 response path
Decisions remained acceptable Audited conformity, outcomes, appeals Quality eval suite AI PM, Billing Ops Freeze autonomy expansion
Human control remained available Queue depth, age, per-reviewer approval rate Operational monitoring AI PM, Operations Reduce eligible autonomy
Unit economics remained defensible Fully loaded cost per durable resolution Economic evaluation AI PM, Finance Review before scaling
Substrate runway is adequate Notice periods, evidence window, migration status Migration replay AI PM, Platform Re-tighten gates during migration

Part B · Evidence register

Evidence Class Population Delay Known bias Decision it supports
Ledger reconciliation Authoritative fact All executed refunds Immediate Ledger assumed correct Verify the outcome
Structural denial by reason Control All attempted actions Immediate Missing telemetry is silent Interrupt
Decision distribution Behavioral All runs, segmented Immediate Input-mix confounding Detect change
Data completeness and freshness Control All dependency calls Immediate Semantic gaps, not schema gaps Degrade
Trajectory invariant conformance Control All runs Immediate Only covers declared invariants Investigate
Reviewer capacity and per-reviewer rate Control All escalated cases Immediate Small per-reviewer samples Reduce autonomy
Human policy review Policy label Sampling-weighted Weekly Reviewer disagreement Quality budget
Reviewer agreement Instrument health Calibration sample Weekly Small sample Trust or suspend labels
Judge–human divergence Instrument health Scored sample Weekly Domain non-transfer Recalibrate the judge
Appeal upheld rate Downstream Appealed cases Delayed Self-selection Identify durable failure
Fully loaded cost per durable resolution Economic Resolved disputes Delayed Allocation assumptions Scale decision

Part C · Trajectory invariants

Type Invariant Source
Required The ledger is consulted before the amount is determined 04
Forbidden Free text supplies a transaction ID, amount, or recipient 04
Forbidden A tool executes whose description hash differs from pinned 04
Ordering Policy evaluation precedes the grant request 03
Cardinality One payment attempt per approved intent 01
Failure A missing authoritative amount blocks execution 04
Recovery State of uncertain integrity is never resumed 04

Product and the domain owner define these. Engineering instruments them. The eval suite scores them.

Part D · Segmentation

Every quality signal is reported by prompt template hash, model version, policy bundle version, dispute category, merchant category, and customer tenure band.

Rule. No quality decision is made on an unsegmented aggregate. Aggregate movement is ambiguous between an agent change and a population change.

Part E · Substrate register

Substrate Version Provider notice tier Evidence window Effective runway Migration owner
Primary model Pinned GA — 6 months 60 days ~4 months AI Platform
Judge model Pinned GA — 6 months 30 days recalibration ~5 months Quality owner
Tool schemas Pinned by digest Internal — 30–90 days 14 days ~1–2 months Tool owners
Policy bundle v11 Internal change control Immediate Billing Ops
Retrieval corpus Versioned Internal 30 days AI Platform

Rule. No release gate depends on a preview-tier substrate.

Part F · The operating review

Eight questions, asked with the domain owner present.

  1. Which operating claim changed?
  2. What evidence supports that conclusion, and of which class?
  3. What alternative explanation would produce the same signal?
  4. How uncertain, delayed, or selective is that evidence?
  5. Which version and cohort carry the change?
  6. What is the monthly consequence-weighted exposure?
  7. What decision follows, and who owns it?
  8. What evidence permits normal operation to resume?

Part G · Declared limits

  • Human review estimates policy conformity. It does not create counterfactuals for untaken actions.
  • Downstream outcomes are selective and delayed by up to one quarter.
  • Judge output is proxy evidence with a measured, drifting error rate.
  • Complete observability conflicts with data minimization; capture is deliberately partial, and the read-access exception is documented in Part B.
  • Aggregate stability can conceal cohort-level harm.
  • No signal establishes causation without replay, a concurrent control, or rollback recovery.
  • Substrate migration may be forced by a provider deadline before equivalence evidence is complete; Part E states the compensating gate.

Part H · Regulatory alignment

Field Value
Risk classification Assessed per deployment jurisdiction
Monitoring plan status This contract serves as the post-market monitoring plan
Integration Aligned with existing operational risk monitoring, not parallel to it
Documentation location Filed with technical documentation
Deployer feedback channel Defined where the system is deployed by third parties
Serious incident path Routed through Episode 04 Part G decision rights

Operating statement

For every material claim — consequence, world fidelity, authority, containment, decision quality, human control availability, substrate runway, and economics — this contract names the required evidence, its source and uncertainty, the owner of the resulting decision, and the action taken when the claim no longer holds.

An environment is not healthy because it is available. It is healthy only while its declared conditions remain true, its boundaries continue to hold, and the outcomes produced inside those boundaries remain acceptable.

If either paragraph cannot be stated truthfully, the contract is incomplete.

20Anti-patterns

21What product owns

  1. Which promises must produce evidence — the Episode 01–04 mapping in §03.
  2. What decision each signal informs, with an owner and a response.
  3. Which semantic dependency properties the decision rests on.
  4. Trajectory invariants — what must hold across every valid path.
  5. Acceptance criteria for instruments — machine and human.
  6. Reviewer capacity as a control, and what happens when it saturates.
  7. The quality budget definition and what freeze actually means.
  8. Segmentation — no quality decision on an unsegmented aggregate.
  9. Evidence governance — what is captured, retained, and why.
  10. Substrate runway — notice periods, evidence windows, forced-migration behavior.
  11. Regulatory alignment — whether this contract is the monitoring plan.

The Environment artifact states what must hold. The eval system proves whether it does. The contract between them is yours.

The line

Completion proves termination, not correctness.

Reliability, control integrity, and decision quality are separate claims. A green average can hide a red one.

The most dangerous dependency failure is not an error. It is a plausible answer with less truth in it.

Drift is evidence of change, not evidence of harm.

The evidence you trust most arrives too late. The evidence that arrives fastest is the evidence you trust least.

A control that is always saturated is not a slow control. It is an absent one.

The AI PM does not own every signal. The AI PM owns the argument those signals must support.

22The AI PM page

Print this. Bring it to the room.

Decisions you own

Decision Who must be there
Which promises produce evidence Platform, security
Semantic dependency properties Domain owner, data owner
Trajectory invariants Domain owner, engineering
Instrument acceptance criteria Quality owner, data science
Reviewer capacity thresholds Operations
Quality budget and freeze scope Risk, domain owner
Evidence governance Privacy, security
Substrate runway AI Platform
Regulatory alignment Compliance, legal

Ten questions

  1. Which of the three health claims does this dashboard actually cover?
  2. What alternative explanation produces the same signal?
  3. Is this evidence being promoted above its class?
  4. Which version and cohort carry the change?
  5. What is the monthly consequence-weighted exposure?
  6. Which instrument has never had its error measured?
  7. How deep is the review queue, and what is the per-reviewer approval rate?
  8. What is your durable-resolution denominator?
  9. What is the effective runway on the shortest-notice substrate?
  10. Would a regulator accept this document as the monitoring plan?

Red flags

What you leave with

An Episode 01–04 evidence mapping. A decision table with owners. A trajectory invariant list. A substrate register with effective runways. An instrument acceptance criterion. A quality budget with stated error bars. A declared-limits section you are willing to read aloud.

One line to carry out: Completion proves termination, not correctness.

Continue in AI Evals

Episode 05 defines the operating claims. The AI Evals & Observability series builds the machinery.

Next · Decide What Runs Without You

Five artifacts now govern the environment. The Consequence Envelope bounds what one run can cost. The Environment Manifest defines the world. The Authority Matrix establishes authority. The Containment Model states what survives compromise. The Environment Operating Contract establishes how you know all four still hold.

Only now can the autonomy conversation happen honestly.

Not because the model seems capable. Not because completion improved. Not because human review is expensive and the queue is backing up.

Autonomy expands when a defined category of work has accumulated enough evidence — across world fidelity, control integrity, decision quality, and consequence — to justify removing one specific gate, with a predefined condition that puts it back.

That is not a platform decision or a security decision. It is yours. For the interrupt, freeze, and kill-switch mechanics underneath it, read Agent Governance; for why the evaluation is itself the requirement, read Evals as Strategy; and for the honest ceiling on all of it — evidence, not proof — read The Limits.

You now hold
Artifact 05 The Environment Operating Contract — operating claims, an evidence register, trajectory invariants, substrate runways, and declared limits.
The next question
Which gate has your evidence earned the right to remove — and what puts it back?
Continue
Environment 06 Decide What Runs Without You — artifact: the Autonomy Ladder.
Back one step
Environment 04 Contain the Compromise — the containment this contract keeps proving.
Sources
  1. Google SRE — Monitoring Distributed Systems: latency, traffic, errors, saturation. sre.google
  2. OpenTelemetry — GenAI semantic conventions; content capture opt-in; Development status. opentelemetry.io
  3. Google SRE Workbook — implementing SLOs; error budgets gating change. sre.google
  4. NIST AI 100-1 — AI RMF: post-deployment monitoring covering feedback, appeal and override, decommissioning, incident response, recovery, change management. nvlpubs.nist.gov
  5. Google SRE — Service Level Objectives. sre.google
  6. Google SRE — Embracing Risk: the error budget as an explicit trade. sre.google
  7. NIST AI RMF Playbook — MANAGE. airc.nist.gov
  8. OpenTelemetry — GenAI semantic conventions repository. github.com
  9. Gu, J., et al. (2024). A survey on LLM-as-a-judge: position, length, and self-enhancement bias, with mitigations. arxiv.org/abs/2411.15594
  10. Lakkaraju et al. (2017). The selective labels problem. kdd.org
  11. AWS Well-Architected ML Lens — human-in-the-loop monitoring: random sampling, high-risk oversampling, SME routing, reviewer agreement. docs.aws.amazon.com
  12. EU AI Act Article 72 — post-market monitoring by providers; continuous compliance; plan as part of technical documentation; integration with existing regimes including financial services . ai-act-service-desk.ec.europa.eu · artificialintelligenceact.eu
  13. OpenAI — model deprecation notice periods: 6 months GA, 3 months specialized variants, as little as 2 weeks for preview . developers.openai.com
  14. Google Cloud — model deprecation and retirement dates; endpoints functional during the deprecation window with no new features . docs.cloud.google.com
  15. API lifecycle management — typical decommissioning notice of 6–12 months for public APIs, 30–90 days for internal . getknit.dev

Coined for this series: the Environment Operating Contract, the three claims of health, the four quiet failures including compensatory degradation, the six evidence classes, instrument drift as distinct from regression, trajectory invariants as an environment-conformance test, durable resolution as a unit-economics denominator, effective runway, and the cohort rule for substrate changes. Not established industry terms.