Specification · Controls · EAS-10

EAS-10 Evidence-Gated Change

Every Change that can alter an agent's behaviour passes through a gate, and the gate is evidence: an EvalSuite designed well enough to detect the regressions that matter, followed by shadow and canary exposure, with a kill switch behind all of them.

Rationale: Principle 10 essay · 10 controls · L1 2 · L2 5 · L3 3

IDControlLevelFix
EAS-10.01All behaviour-altering changes versionedL1local
EAS-10.02Kill switchL1local
EAS-10.03Deliberate, versioned eval datasetL2local
EAS-10.04Outcome and trajectory evaluationL2local
EAS-10.05Stated minimum detectable effectL2local
EAS-10.06Calibrated judgesL2local
EAS-10.07CI evaluation gateL2local
EAS-10.08Paired comparison designsL3local
EAS-10.09Shadow and canary with automatic rollbackL3structural
EAS-10.10Proxy validity checksL3structural

EAS-10.01 All behaviour-altering changes versioned L1

Applies to: All Workflows.

Every Change that can alter agent behaviour (prompt, model, tool description, retrieval configuration, Workflow code, policy, EvalSuite dataset) MUST be made through version control and MUST produce a new Workflow version. Behaviour MUST NOT be alterable through edits in a vendor console or runtime configuration store that bypass version control. Every Run MUST record the Workflow version it executed.

Why: Prompt edits, model swaps, reworded tool descriptions and tuned retrieval settings can alter behaviour as much as a code change, yet they are often made in a configuration file or vendor console, checked on a few examples, and shipped without any gate. Essay →

Declared
workflows[].version is set and changes whenever any behaviour-altering artefact changes.
Static
Prompts, tool descriptions, model identifiers, retrieval parameters and policies live in the repository (or in a registry that pins each Workflow version to an immutable revision) and are loaded from there at runtime. Not satisfied by: prompts fetched by name from a prompt-management service or vendor console without a pinned revision; a floating model alias (for example latest) whose target can change without a Change; retrieval settings held only in a mutable environment or admin UI.
Runtime
Every eas.run span carries eas.workflow.id and eas.workflow.version, and every observed eas.workflow.version resolves to a revision in version control.
Attested
Can anyone change a prompt, model, tool description or retrieval setting in production without a commit? Produce the list of behaviour-altering artefacts and where each is versioned.

Remediation local: Move prompts, tool descriptions and retrieval configuration into the repository, pin model snapshots explicitly, derive the Workflow version from the commit, and remove write access to any console that can change production behaviour.

Components: release-control · See also: EAS-10.07, EAS-09.08

EAS-10.02 Kill switch L1

Applies to: All Workflows in production.

It MUST be possible to disable a Workflow, a specific Workflow version, or a specific tenant’s use of a Workflow immediately, without a deploy. The switch MUST be checked before a Run is admitted and SHOULD be checked before each Step so that in-flight Runs stop at the next Step boundary.

Why: Behind every other gate sits the ability to stop a Workflow instantly. Most of the time it is never used; when it is needed, nothing else will do. Essay →

Static
A runtime flag or control-plane setting, keyed by Workflow, version and tenant, read at Run admission (a run.start hook or scheduler check). Not satisfied by: an environment variable or configuration file that takes effect only on redeploy; a switch that covers the whole Workflow but not individual versions or tenants.
Runtime
In a drill or real use, no new eas.run span with the disabled eas.workflow.id / eas.workflow.version / eas.tenant.id combination starts after the switch time.
Attested
Who can operate the kill switch, how long does it take to take effect, and when was it last exercised? Produce the runbook and the record of the most recent drill.

Remediation local: Add a flag lookup keyed by Workflow, version and tenant to Run admission and the Step loop; document the operating procedure and drill it.

Hooks: run.start, model.before · Components: release-control, scheduler, orchestrator · See also: EAS-05.13, EAS-10.09

EAS-10.03 Deliberate, versioned eval dataset L2

Applies to: All Workflows.

Each Workflow MUST have an EvalSuite whose dataset is assembled deliberately from: sampled production tasks with personal data removed; every incident and escalation converted into a case; adversarial cases; and synthetic cases for rare but important situations. The dataset MUST be stratified by the dimensions that matter (for example customer segment, task type, Workflow branch, difficulty) with results reported per stratum, and MUST be versioned so that comparisons between versions of the Workflow use the same dataset version.

Why: The evaluation must reflect the actual distribution of inputs rather than what engineers imagine; past failures should become permanent checks; and a regression on a rare stratum should show up as such rather than disappearing into an average. Essay →

Declared
evaluation.suite and evaluation.dataset_version are set for the Workflow.
Static
An eval dataset directory or registry entry with version history, case metadata recording source (production_sample, incident, escalation, adversarial, synthetic) and stratum, and a documented sampling and redaction procedure. Not satisfied by: a hand-written list of examples with no production sample; a dataset edited in place without a version; incidents fixed without a corresponding case.
Attested
How are production tasks sampled into the suite, and what is the process that turns an incident or escalation into a case? Produce the last three incident-derived cases and their dataset version.

Remediation local: Start a versioned dataset from a redacted production sample, add one case per historical incident and escalation, tag every case with source and stratum, and make incident review produce a case as a required output.

Components: eval-platform · See also: EAS-07.08, EAS-12.11

EAS-10.04 Outcome and trajectory evaluation L2

Applies to: All Workflows at rung fixed_workflow and above.

The EvalSuite MUST evaluate both outcomes (correctness, groundedness, policy compliance, well-formedness) and trajectories (Tools chosen, arguments passed, unnecessary calls, forbidden actions). It MUST report at least: task success rate, tool-call precision, groundedness and citation accuracy, policy violation rate, Steps and cost per task, latency to first useful action, and unrecoverable failure rate.

Why: The final answer is not the only thing worth checking: an agent that reaches the right answer with thirty tool calls where four would do has regressed, because it costs more, takes longer and has more chances to go wrong. Essay →

Declared
evaluation.gates[] names metrics covering both outcome and trajectory.
Static
Evaluators in the suite that inspect recorded tool calls and Step counts as well as final output. Not satisfied by: a suite that scores only the final response.
Attested
Produce the most recent evaluation report showing each listed metric for the current and previous Workflow version.

Remediation local: Record the trajectory of each eval Run from its Trace, and add evaluators for tool choice, argument correctness, call count and forbidden actions alongside the outcome checks.

Components: eval-platform, telemetry-pipeline

EAS-10.05 Stated minimum detectable effect L2

Applies to: All Workflows with an EvalSuite.

Each EvalSuite MUST state its minimum detectable effect on each primary metric, computed from its size, design (independent or paired), the baseline rate, and stated false-alarm and power settings. Release decisions MUST NOT claim the absence of a regression smaller than the stated minimum detectable effect.

Why: Every suite has a smallest regression it can see; a fifty-case golden set can detect a collapse but not a five-point drop. Knowing the figure turns “did the evaluation pass?” into an honest statement of what the gate can catch. Essay →

Declared
evaluation.mde is set per primary metric.
Static
The calculation (or the script that produces it) is stored with the suite, including significance level, power, baseline rate and design. Not satisfied by: a suite size chosen without a calculation.
Attested
What is the smallest drop in task success your release gate will reliably detect, and how was that figure derived?

Remediation local: Compute the minimum detectable effect from the current suite size; if it is larger than the regression you care about, enlarge the suite or move to a paired design (EAS-10.08).

Components: eval-platform · See also: EAS-10.08

EAS-10.06 Calibrated judges L2

Applies to: All EvalSuites that use a model as a judge.

Criteria that code can check (schema conformance, cited source exists and supports the claim, recipient on an allowed list, required disclosure present) MUST be checked deterministically, not by a judge. Each model judge MUST be calibrated against human labels per criterion using a chance-corrected agreement statistic (for example Cohen’s kappa), with verdicts on criteria of low agreement not used for gating. Known biases MUST be controlled: presentation order randomised in pairwise comparison, and length and same-family preference measured. A change to the judge model MUST trigger recalibration.

Why: A judge is a measuring instrument, not an oracle: it may agree with humans on accuracy and disagree badly on tone, it favours first positions, longer answers and its own model family, and a new judge is a new instrument. Essay →

Static
Stored human-labelled calibration set, per-criterion agreement results tied to the judge model and prompt version, order randomisation in pairwise judge code, and deterministic evaluators for checkable criteria. Not satisfied by: a single overall agreement figure; a judge used for schema or citation existence checks.
Attested
For each judged criterion, what is the current agreement with human labels, and when was the judge last recalibrated? Produce the calibration report.

Remediation local: Replace judge checks for anything code can verify; label a sample per criterion, compute kappa, and pin the judge model so that changing it is a Change that requires recalibration.

Components: eval-platform · See also: EAS-04.03

EAS-10.07 CI evaluation gate L2

Applies to: All Workflows.

Every Change to a prompt, model, tool description or Workflow MUST run the EvalSuite in continuous integration. A statistically significant regression beyond a set threshold on a primary metric MUST block the Change. A regression on a secondary metric MUST require a written justification and a named person’s sign-off. Suites SHOULD be tiered: a smoke suite on every Change, the full suite before merge to the main branch and before release, and an extended multi-sample suite on a schedule.

Why: Inspecting a handful of examples catches catastrophes and almost nothing else; a change that makes the agent slightly worse on a tenth of cases is invisible in a dozen hand-checked outputs and very visible in production a week later. Essay →

Declared
evaluation.gates[] lists primary and secondary metrics with thresholds.
Static
A CI workflow (for example under .github/workflows/) triggered by changes to prompts, model configuration, tool definitions and Workflow code that runs the suite and fails the build on a primary regression; a required status check on the main branch; a recorded sign-off mechanism for secondary regressions. Not satisfied by: an eval job that reports but cannot fail; path filters that exclude prompt or configuration files; a gate that compares against a threshold without a significance test.
Attested
Produce the most recent blocked Change and the most recent secondary-metric sign-off, with the named approver.

Remediation local: Add a CI job that runs the smoke suite on every relevant path, the full suite on merge, and fails on a significant primary regression; make it a required check.

Components: eval-platform, release-control · See also: EAS-10.01, EAS-10.05

EAS-10.08 Paired comparison designs L3

Applies to: Workflows at risk tier T3 or where the suite’s minimum detectable effect is larger than the regression of concern.

Comparisons between Workflow versions MUST run both versions on the same cases and compare them case by case, using a paired test (McNemar’s test for pass/fail outcomes). For tasks with high run-to-run variance, each case MUST be sampled several times per version.

Why: Pairing removes the variation that comes from cases differing from one another and detects the same difference with considerably fewer cases; repeated sampling further reduces noise on variable tasks. Essay →

Static
Evaluation code that executes baseline and candidate on an identical case set and dataset version, applies a paired test, and supports a samples-per-case setting. Not satisfied by: comparing a candidate’s score against a historical baseline score from an earlier run.
Attested
Produce the paired comparison output for the last release, including the test used and samples per case.

Remediation local: Re-run the current production version alongside every candidate on the same dataset version and replace unpaired threshold checks with McNemar’s test.

Components: eval-platform · See also: EAS-10.05

EAS-10.09 Shadow and canary with automatic rollback L3

Applies to: All Workflows at risk tier T3.

Before full release, a new Workflow version MUST run in shadow on real traffic with side effects disabled, with its Decisions compared with the current version’s and divergence reviewed. It MUST then receive a small share of real traffic as a canary, with errors, policy rejections, escalation rate and cost per Run monitored against thresholds, and an automatic rollback when any threshold is breached.

Why: Offline suites cannot capture everything real traffic does; shadow exposes divergence without consequence, and a canary limits the blast radius of what remains while a rollback acts faster than a person. Essay →

Static
Shadow mode in which the executor is disabled or replaced (no ActionIntent is executed); traffic-splitting configuration by Workflow version; rollback automation wired to canary alert rules. Not satisfied by: a canary watched manually with no automated rollback; shadow runs that can execute effects.
Runtime
Metrics by eas.workflow.version (eas.run.status, eas.policy.decision = deny, escalate decisions, eas.cost.usd) are available for the canary version; no eas.execute span exists for a Run executing in shadow.
Attested
Produce the shadow divergence review and canary record for the last release, and the most recent automatic rollback.

Remediation structural: Introduce version-aware traffic routing in release control, a shadow mode that disables the executor, and alert-driven rollback to the previous pinned version.

Components: release-control, executor, telemetry-pipeline · See also: EAS-03.10, EAS-10.02, EAS-12.03, EAS-12.04

EAS-10.10 Proxy validity checks L3

Applies to: All Workflows whose release gates rely on offline proxies.

The offline metrics used as release gates MUST be validated periodically against online business outcomes, by checking whether versions that score better on the proxies also produce better OutcomeEvents. A proxy that stops predicting the outcome MUST be removed from gating and the EvalSuite revised.

Why: An evaluation suite measures proxies; its value rests on the assumption that better proxy scores mean better outcomes, and that assumption breaks when the product, user behaviour or optimisation pressure changes. Essay →

Static
A scheduled job or analysis joining evaluation results by Workflow version to outcome metrics from the outcome store.
Attested
When were offline scores last compared with online outcomes per Workflow version, and with what result? Produce the analysis and any resulting suite revision.

Remediation structural: Join per-version evaluation scores with per-version outcome rates (EAS-11.05) on a fixed schedule and record the correlation; retire proxies that stop tracking.

Components: eval-platform, outcome-store · See also: EAS-11.03, EAS-11.05