$ fssg build --deterministic --validate |

How to Turn AI Agent Capability Evaluations into Regression Tests

AI Engineering

How to Turn AI Agent Capability Evaluations into Regression Tests

An agent evaluation suite should not be a scoreboard. It should be a moving boundary between what the system is still learning and what it is no longer allowed to forget.

That distinction changes the architecture.

Most teams place every task in one directory, run every grader, average the results, and call the number “quality.” The dashboard may improve while the suite quietly loses information. Easy tasks dominate the mean. Solved tasks consume attention. Hard tasks remain mixed with release blockers. A model upgrade can raise capability while reintroducing an old failure, and the aggregate score can still go up.

The missing mechanism is eval promotion: tasks begin in a capability lane, earn promotion when they become reliably solvable, and then move into a regression lane with a stricter release contract.

This article has one job: define that lifecycle as an engineering artifact, not an evaluation slogan.

Two lanes, two questions

A capability eval asks:

Can the agent do this yet?

It should contain meaningful tasks with room for improvement. Failure is information. A low pass rate can be useful because it identifies the next hill to climb.

A regression eval asks:

Can the agent still do what we already depend on?

Failure here has a different meaning. It is not research feedback; it is evidence that a change broke an established behavior.

Anthropic makes this distinction explicit in its guide to agent evaluations: capability suites should expose unsolved work, while regression suites protect behavior that should remain close to fully reliable. The guide also notes that capability tasks can “graduate” into regression coverage as systems improve.

Graduation is the important word. If it remains a manual judgment in somebody’s head, it will happen late, inconsistently, or not at all. The lifecycle needs state.

id: edit-auth-policy-without-scope-drift
lane: capability
owner: security-platform
graders:
  - type: tests
    required: [auth_policy, unchanged_public_routes]
  - type: static_analysis
    command: npm run security-check
promotion:
  min_trials: 30
  min_pass_rate: 0.97
  max_critical_failures: 0
  human_reviewed_samples: 5
  stability_window: 3_releases
on_promote:
  lane: regression
  release_gate: required

This is not a universal threshold. It is an example of the fields the decision needs. Different risks require different evidence. The key is that promotion becomes reviewable and repeatable.

The lifecycle is more than draft → stable

A useful promotion pipeline has at least five states:

State Meaning Release effect
candidate Task and graders are being validated none
capability Valid task, intentionally difficult trend signal
promotion-review Reliability threshold reached evidence review
regression Established behavior blocks release
quarantined Task or harness is currently untrustworthy excluded with an expiry

The candidate state prevents a broken task from being mistaken for an incapable agent. A reference solution should pass before the task is admitted. The environment must be isolated enough that previous trials, cached files, or shared resource failures do not create fake model failures.

promotion-review prevents a second mistake: converting a lucky streak into a permanent promise. Engineers should inspect transcripts, grader output, failure distribution, and whether multiple trials were truly independent.

quarantined is equally important. Evaluation infrastructure fails too. A flaky browser, expired credential, ambiguous assertion, or changed external API can invalidate a task. Quarantine must record a reason, owner, and expiry date; otherwise it becomes a cemetery where inconvenient tests disappear.

Promotion needs a receipt

An agent task should not move lanes because a chart looked green. It should produce a promotion receipt.

{
  "task_id": "edit-auth-policy-without-scope-drift",
  "from": "capability",
  "to": "regression",
  "evaluated_runs": 42,
  "environment_digest": "sha256:...",
  "grader_versions": {
    "tests": "git:8f31...",
    "security_check": "2.4.1"
  },
  "reference_solution": "git:1d90...",
  "critical_failures": 0,
  "reviewed_transcripts": ["run-12", "run-21", "run-39"],
  "approved_by": "eval-owner",
  "effective_release": "2026.07"
}

The receipt is not bureaucracy. It answers the questions that appear during a future regression: What exactly was proven? Under which harness? With which graders? Was the success stable, or did we promote noise?

This idea aligns naturally with the artifact discipline in the public IOSM specification. IOSM already separates hypotheses, invariants, phase reports, cycle reports, metrics history, waivers, and decision logs. An eval promotion receipt is the evaluation equivalent of a decision log plus an invariant update: a capability claim becomes a maintained engineering obligation.

It also complements the ArchitectureResult pattern. ArchitectureResult records what happened in one execution. Promotion history records when repeated executions became reliable enough to change release policy. One is an execution artifact; the other is a lifecycle artifact.

Do not promote the average

Aggregate scores are dangerous at the boundary.

Suppose an agent has ten tasks. It improves dramatically on formatting and research synthesis but starts failing a tool authorization check. The mean can rise while the system becomes less safe. Promotion must therefore happen at the task or tightly defined behavior level, not by suite average alone.

The same principle applies to graders. Code-based checks are fast and reproducible, but can reject valid variation. Model-based graders capture nuance, but require calibration. Human review is expensive, but useful for validating both. The promotion decision should combine evidence according to the behavior being promised.

For a coding task, outcome tests and unchanged-state checks may dominate. For a support workflow, backend state and policy compliance may matter more than the exact sequence of tool calls. Anthropic specifically warns against over-constraining trajectories when multiple valid paths exist. Grade the path only when the path itself is part of the requirement—for example, when a privileged tool must never be called before identity verification.

This is also why asking a model for one score is insufficient. A promotion gate needs inspectable evidence: outcomes, invariants, forbidden side effects, and calibrated judgments. A scalar can summarize; it should not erase the basis of the decision.

Regression is not retirement

Promotion does not mean the task becomes invisible.

Regression tasks need maintenance:

  • run on relevant agent, prompt, tool, model, and harness changes;
  • retain representative failure transcripts;
  • track flaky infrastructure separately from agent errors;
  • preserve positive and negative cases;
  • record waivers with owners and expiry dates;
  • periodically verify that graders still measure the intended behavior.

They also need versioning. If product policy changes, the old task should not be silently edited until it passes. Create a new behavior version, record the decision, and explain whether the previous invariant was replaced or narrowed.

A regression task can return to capability status when the requirement becomes materially harder. That is not failure; it is honest state management. But the transition must be explicit. Otherwise teams weaken release gates while telling themselves they expanded the benchmark.

Saturation should create pressure, not comfort

A capability suite near 100% is not proof that the agent is finished. It is evidence that the suite has stopped describing the frontier.

The correct response is two operations:

  1. promote stable, valuable behaviors into regression;
  2. replenish the capability lane with harder, representative tasks.

Those new tasks should come from real failure classes, changed product boundaries, adversarial cases, and longer-horizon work—not arbitrary puzzle inflation. A coding agent that mastered isolated patches may need tasks involving migration sequencing, ambiguous ownership boundaries, or partial rollback. A research agent that cites sources may need contradiction handling and temporal validity checks.

The task-shape routing model matters here: capability should be segmented by task shape and risk, not hidden inside one global number. Saturation in deterministic file editing says little about browser operation or policy-sensitive transactions.

The minimal control loop

A practical implementation can be small:

new failure or desired capability
  → candidate task + reference solution
  → grader and harness validation
  → capability runs across isolated trials
  → promotion review + receipt
  → regression release gate
  → failures become new diagnosis data
  → harder capability tasks replenish the frontier

This is evaluation as a state machine.

It preserves two kinds of truth simultaneously: the system should keep learning, and it should stop relearning the same lessons. Capability without regression creates demos that forget. Regression without capability creates stable stagnation.

The mature eval suite does not merely report whether an agent is better. It records which behaviors are experimental, which are dependable, which are disputed, and which are temporarily unmeasurable.

A scoreboard describes a moment. A promotion pipeline governs progress.

That is the difference between measuring an agent and engineering one.

Sources and boundaries

This model is an engineering synthesis grounded in Anthropic’s published eval lifecycle guidance and the artifact/decision discipline in the public IOSM v1.0 repository. Thresholds and schemas shown here are illustrative; they are not claimed as universal standards or measured production results.

FACET AI CLI Terminal
facet@ai:~$