Authors’ overview
Enterprise AI agent skills evolve as tool APIs, models, and specifications change, yet final-output evaluation can miss process-level behavioral drift. We present a continuous evaluation framework combining outcome-level and process-level checks, applied to Revenue and Productivity variants of a Business Value Determination skill in an enterprise Value Aware Resiliency system. The framework independently computes per-run ground truth, materializes reusable template tests, and evaluates tool selection, arguments, execution order, and database integrity through programmatic checks and a narrowly scoped LLM judge. We evaluate 240 trials across two skills, two specification variants, two agent harnesses, and three models. Of 175 trials passing all applicable final numerical checks, 162 (92.6 percent; Wilson 95 percent CI: 87.7-95.6 percent) contained another evaluator-detected deviation. Under a broader seven-check final-state definition, 151 of 164 passing runs (92.1 percent; 95 percent CI: 86.9-95.3 percent) still violated a trajectory check. Dependency attribution reduced a mean of 6.34 failed checks per run to 2.65 roots. Specification sensitivity varied by model and harness, with exploratory bootstrap interaction intervals excluding zero for all three Revenue comparisons and one of three Productivity comparisons. Runtime-resolved templates provided reusable regression coverage across the evaluated configurations; longitudinal validation under actual API evolution remains future work.
Introduction
Enterprise AI agent skills are continuously evolving systems. The skill that handles IT infrastructure cost apportionment today will be revised tomorrow when the observability API version changes, again next month when a new formula is agreed on with the finance team, and again when the underlying LLM is upgraded to the next model version. Each of these changes is an opportunity to introduce behavioral regressions—deviations from the intended process that the skill was designed to follow.
Existing evaluation practice addresses this challenge poorly. Standard evaluation checks whether the final output—a report, a database row, a dollar figure—matches the expected value. But an agent skill can produce a correct-looking final output while taking the wrong steps to get there: calling APIs with incorrect scope, skipping a required database readback, writing intermediate results to the wrong table. These process deviations are invisible to outcome-only checks yet represent genuine behavioral drift that can corrupt downstream agent steps, violate data integrity constraints, or produce correct-by-coincidence outputs that will fail when inputs change slightly. In a continual-adaptation setting—where skills are revised repeatedly in response to operational feedback—these failures compound across revisions, making process-level evaluation an essential component of any responsible deployment loop.
This paper studies the evaluation layer needed to support continual agent evolution safely, rather than proposing a continual-learning algorithm. We make the case that continuous process-level evaluation is an appropriate quality gate for enterprise agent skills as they evolve. We demonstrate the principle on the Business Value Determination (BVD) skill in an enterprise Value Aware Resiliency (VAR) system. Even when BVD produces the expected final allocation, its trace can violate required scope, persistence, or ordering constraints. A portfolio-total-only outcome check cannot detect these deviations, although finer-grained outcome and process checks can.
Tool API evolution
Observability platforms, databases, and business systems update their APIs continuously. An agent skill that correctly calls a tool with today’s argument schema may break silently when the tool’s parameter names or scoping semantics change in the next platform release.
Skill specification revision
As operations teams learn from skill behavior in production, they update the skill’s specification document to codify learned behaviors, close ambiguities, or change business logic. Each revision risks changing the agent’s planning strategy in ways not captured by the outcome metric.
LLM version change
When the underlying model is updated—even within a model family—the agent’s default planning choices for ambiguous steps can shift. A step that one model version resolved conservatively might be resolved aggressively by the next, changing which tools are called and in what order.
Harness change
Enterprise deployments may migrate between agent harnesses (e.g., Claude Code to Codex or vice versa) for cost, latency, or integration reasons. As we show, harnesses with similar outcome accuracy exhibit distinct process-level deviation patterns associated with different execution characteristics, and the same specification variant can be robust under one harness while causing significant accuracy drops under another.
Each evolution axis introduces risk that outcome-only evaluation cannot detect. A quality gate that checks only the final output approves skill revisions that are behaviorally regressed at the process level. We propose that process-level evaluation against persistent template test cases is the correct quality gate for this setting.
Behavioral drift and stability in agentic systems
Agents produce unstable outputs across repeated runs on identical inputs; aggregate task-completion metrics can mask tool-use, policy, verification, and memory-recall failures. In the multi-agent traces analyzed by, system-design and task-verification categories account for 63.1% of annotated failures (41.8% and 21.3%, respectively). This distribution identifies substantial system-level improvement opportunities, but does not rule out limitations of the underlying models.
Evaluation methodology for agents
A cited study proposes GroundEval, a deterministic alternative to LLM-as-judge for stateful tasks. GroundEval scores an observed trace and final answer against a human-reviewed, machine-checkable state contract covering evidence, time, access, and required searches, rather than against a canonical reference trajectory. Evaluation methods provide complementary signals: deterministic checks offer reproducibility, LLM judges accommodate semantic variation, and human review supports calibration and oversight. Accordingly, advocate combining outcome and process evaluation, whereas advocate combining capability-based and preference-based benchmarks.
LLM-as-judge limitations
Prior studies show that LLM-based evaluation can be sensitive to factors unrelated to response quality, including candidate-response order, verbosity, and model identity. Deterministic rules can instead miss semantically expressed failures; for example, AgentEval reports 0.58 failure-detection recall for 47 hand-crafted rules against human annotations. Our framework combines rule-based structural checks with LLM validation of selected semantically flexible arguments and optional failure-only rescue audits. Two authors manually reviewed 60 randomly sampled LLM-judged cases; 57 verdicts agreed with their assessment (95%). This targeted audit reduces, but does not eliminate, judge-validity risk.
Reference integrity
In LLM-generated tests for HumanEval, 88.89% of erroneous test cases studied by arose from incorrect generated output oracles rather than invalid test inputs; the corresponding oracle-error share ranged from 79.71% to 100% across their seven benchmarks. Our framework computes ground truth by calling the same real APIs the skill uses, independently of the agent execution trace, avoiding dependence on an LLM-generated oracle while retaining the separate risk that live state can change between execution and evaluation.
Process versus outcome evaluation
Grading only the final output can reward a correct-looking result reached through a noncompliant or unsupported process. Process evaluation has consequently been advocated for critical agent applications, while process supervision has outperformed outcome-only supervision in mathematical reasoning. Trajectory-level diagnosis of agent failures from execution traces is demonstrated by.
CI/CD-style regression evaluation
Automated regression testing and continuous monitoring in production ML provide a software-engineering precedent for continuous skill quality assurance. Cited researchers apply this idea to agentic tasks through AgentEval, which uses a dependency-modeled DAG to chain step-level checks and improve root-cause accuracy, making it closely related to our framework. We extend this direction with two additions absent from AgentEval: (i) runtime-resolved template test cases designed to be reused as skill specifications, tool APIs, and input portfolios evolve; and (ii) live-API ground truth computed independently of the agent execution, designed to avoid dependence on self-generated oracles—a failure mode illustrated by high generated-oracle error shares in automated test generation. Unlike AgentEval, whose evaluation DAG is instantiated around a specific workflow execution, our regression artifact resolves expected values from the current enterprise environment at evaluation time. Our experiments establish reuse across configurations, not yet longitudinal persistence under API change.
Value Aware Resiliency (VAR)
VAR is an enterprise resiliency agent system that measures application resilience against business-defined SLOs. It consists of a pipeline of LLM-powered agentic skills: Business Value Determination (BVD), Assess Attribution, Application Optimizer, Diagnosis, Recommendation Generation, Recommendation Impact Estimator, and Recommendation Optimizer. Skills are implemented as Claude Code or Codex sessions directed by a skill specification document and equipped with tools from two MCP servers: the VAR MCP Server (23 tools; stateless; fetches utilization data from Instana, Kubecost, and ServiceNow) and the VAR Data Access MCP Server (18 tools; manages persistent session state, result storage, and apportionment tables in SQLite).
Business Value Determination
BVD is Step 0 of VAR. Given an application portfolio, a date range, and an annual revenue figure, BVD queries observability APIs to retrieve per-application CPU, memory, and call-count utilization, then allocates business value proportionally (default weights: CPU 40%, memory 40%, calls 20%). Outputs are written to a persistent database read by all downstream skills. Errors in BVD therefore corrupt the entire remaining pipeline. We study two related but operationally different skills. Revenue Apportionment allocates prorated portfolio revenue across nine applications from CPU, memory, and call volume. It stages the complete monitoring response, reads it back, computes allocation, and writes separate host- and application-level revenue tables; its suite contains 104 checks. Productivity Apportionment additionally retrieves Kubernetes costs from Kubecost and EC2 unblended cost from Cloudability, requires EC2 resource identifiers, splits host cost among applications, computes revenue-to-cost productivity with explicit NULL semantics, and writes a different application table; its suite contains 80 checks. The skills therefore share resource-based revenue allocation but not the same tool set, persistence contract, or workflow depth.
Stage 1: Capture Input and Parse Tool-Call Trace
A single line appended to the skill specification’s first step directs the agent to record all parsed input parameters (portfolio, date range, revenue) to a structured log. The agent’s full tool-call trace—tool name, arguments, return value, and conversation turn index—is captured from the harness execution log.
Stage 2: Compute Ground Truth
A standalone Python script calls the same real APIs the skill uses via an independent execution path, and computes expected per-application apportionment values. This independence is critical: on HumanEval, 88.89% of the erroneous LLM-generated test cases analyzed by were caused by incorrect output oracles rather than invalid test inputs. Live calls make the reference responsive to current API state, but execution and evaluation can observe different snapshots; we treat this as a validity threat rather than evidence of correctness under API evolution.
Outcome and final-state checks
We distinguish three evaluation layers. Level 1 contains the pre-specified final numerical outcomes: application revenue for Revenue, and application revenue, total cost, and productivity for Productivity. Level 2 broadens this to seven final-state checks per skill: the Level 1 values plus other stored values and normalization sums, and required response structure. Level 3 contains the remaining trajectory checks described below. This separation tests whether trajectory evaluation adds detection even after a richer final state, rather than only after a deliberately narrow numerical baseline.
Why process checks matter for evolution
When a skill specification is condensed or a tool API changes, the model’s behavior at ambiguous steps shifts. Outcome checks approve the new behavior if the final number is still right. Process checks catch the behavioral shift itself—irrespective of whether it accidentally produces the correct final output—and surface it as a regression for human review before deployment.
Stage 5: Report Root Failures with Cascade Attribution
When a check fails, the framework traverses the authored dependency graph to distinguish designated root failures from cascaded failures. A cascaded failure is attributed to its root cause, preventing developers from spending time on each downstream symptom independently. The report lists roots with cascaded descendants to reduce the initial review set; these graph-derived roots are descriptive, not validated causal explanations.
Skills and test suites
We evaluate two related BVD-family skills with independently computed ground truth: Revenue Apportionment (104 template test cases) and Productivity Apportionment (80 template test cases). They share utilization retrieval and revenue allocation, but Productivity adds cost retrieval, cost allocation, NULL handling, and a different persistence contract (§4).
Process checks add detection beyond final numerical outcomes
Separating the narrow final numerical outcome defined in §6 from all additional checks, 175 of 240 trials pass every applicable final numerical check, 162 of those 175 (92.6%; Wilson 95% CI: 87.7–95.6%) have at least one additional evaluator-detected deviation. All 120 Revenue trials pass the final revenue check, and all 120 have at least one additional evaluator-detected deviation. Thus, final-value checks alone would miss deviations in 67.5% of all trials.
The conclusion is robust to two error filters. Of the 33 runs with external errors, 31 pass all applicable final numerical checks and all 31 retain an additional deviation. Excluding those runs gives 131/144 (91.0%; Wilson 95% CI: 85.2–94.6%). Separately, excluding every run with an unrecovered error gives 136/147 (92.5%; Wilson 95% CI: 87.1–95.8%). Across the complete suite, 227 of 240 runs (94.6%; Wilson 95% CI: 91.0–96.8%) fail at least one check.
Among the 162 outcome-correct but flagged trials, non-exclusive root families are data or numerical consistency (106), missing phase or required tool (66), allowlist violations (55), redundancy or call-count violations (43), scope/filter violations (13), response format (2), and tool execution (1). These counts distinguish the observed gap from a single evaluator artifact, but they do not assign severity and can sum beyond 162. Because many allowlist hits are harness utilities or schema operations, we also remove the no_irrelevant_tools check entirely as a sensitivity test; all 162 outcome-correct flagged runs still retain another failed check.
Trajectory checks add detection beyond a broader final state
Of 240 trials, 164 pass all seven skill-specific final-state checks defined in §6. Among these, 151 (92.1%; Wilson 95% CI: 86.9–95.3%) still violate at least one trajectory check; removing no_irrelevant_tools leaves this count unchanged. The skill-level rates are 109/109 for Revenue and 42/55 (76.4%) for Productivity. This secondary decomposition shows that the increment is not solely an artifact of comparing a large suite with one or three numerical values. It remains an authored-invariant analysis: a flagged trajectory is not necessarily a confirmed operational defect.
Dependency attribution descriptively compresses failures
A run contains a median of 4 failed checks (mean 6.34), but only 2 root failures (mean 2.65), a 58% reduction in items requiring initial diagnosis. This is graph-based descriptive compression; root labels were not independently validated as causal explanations. For Revenue, the leading roots are incorrect staged-utilization arguments (75/120), use of a tool outside the evaluator allowlist (42/120), and missing database readback (24/120). For Productivity, they are incorrect application inputs to the computation tool (73/120), incorrect total cost (40/120), application-filtered Kubernetes queries (38/120), and application-filtered EC2 queries (31/120). These are trial incidences, not mutually exclusive events.
Harness divergence
Beyond specification sensitivity, Claude Code consistently achieves higher TXT-variant accuracy on Revenue Apportionment across all models (CC TXT: 86.8–95.7% vs. Codex TXT: 82.1–92.6%). Productivity Apportionment shows greater parity between harnesses for MD, but Codex yields lower absolute accuracy for GPT-5.6-Sol (90.9% vs. 99.6%), indicating that harness behavior interacts with skill complexity. However, unrecovered errors are concentrated in Codex runs (38 versus 5 for Claude Code across the study; 11 versus 4 within Revenue), and all 20 Productivity Codex–Sonnet runs contain one. These contrasts may therefore partly reflect execution reliability rather than instruction following; detailed cell-level clean-run counts appear in Appendix A. Because no clean Productivity Codex–Sonnet run remains, clean-execution effects for that configuration are not estimable from these data.
Evaluation Surfaces Specification Gaps
Evaluator flags exposed implicit policy choices in EC2 memory and cost allocation, DB readback ordering, and EC2 call scope. Continuous evaluation can therefore act as a specification completeness tool as well as a regression detector. We reserve violation for a trace that breaks an authored invariant; domain review must distinguish confirmed defects, benign alternatives, and specification ambiguities. Appendix A details these cases.
Outcome Accuracy Does Not Establish Process Conformance
Computation tools are the system’s operational baseline in every reported condition; the experiment therefore estimates neither a tool-encapsulation effect nor arithmetic instability without tools. Its supported claim is observational: even among 175 runs with correct final numerical outcomes, 162 contain another evaluator-detected deviation. More conservatively, 151/164 runs that pass all seven broader final-state checks still violate a trajectory check. These deviations span multiple root families and persist when the allowlist check is removed. Process-level regression tests therefore add coverage beyond the chosen final state, while the operational severity of each deviation remains domain specific.
Conclusion
Across 240 trials, 162/175 runs with correct final numerical outcomes contained another evaluator-detected deviation; under the broader final-state baseline, 151/164 passing runs still violated a trajectory check. Dependency attribution reduced 6.34 failed checks to 2.65 roots per run on average. These results show that process-level regression tests complement final-state evaluation, while template reuse and harness-dependent sensitivity motivate re-evaluation as enterprise skills evolve.


