Structuring a Judge Rubric That Grades Agent Traces Against Goals Not Just Actions
Measure whether agents accomplish their assignment, not just whether each step is technically valid.

Intent-aware auditing for AI agents grades the full execution trace against the agent’s original instructions. A goal-grounded judge rubric must measure intent fulfillment, detect partial completion, and identify goal drift. It must also score outcomes and process independently, so a plausible answer or valid tool sequence cannot conceal a failed assignment.
Why action-level scoring is structurally blind to goal-level failures
A judge that checks whether each tool call was formally valid, or whether each step followed from the previous one, evaluates a sequence of actions. Every action can be valid while the overall plan pursues the wrong objective.
Goal drift, partial completion disguised as success, and locally coherent but globally wrong plans require a reference point outside the actions themselves. That reference point is the agent’s assignment. Without it, the judge cannot distinguish a well-executed task from a well-executed departure from the task. The rubric reflects the broader mistake of treating the LLM as the product, rather than treating context, validation, and observability as part of the product being evaluated.
What the failure taxonomy reveals about which failures require goal-awareness to catch
The Microsoft AI Red Team’s April 2025 taxonomy set new agentic failure modes apart from failures already seen in earlier AI systems and grouped them into security and safety pillars. Its June 2026 update expanded the catalog from 27 to 34 failure modes after a year of red-teaming live agents. The update responded to growth in open-source agentic frameworks, the MCP ecosystem, and computer-use agents. The relevant distinction is what detection requires.
Goal Hijacking and Agentic Supply Chain Compromise cannot be ruled out by checking whether individual actions were well-formed. Goal Hijacking makes the rubric requirement especially clear. Instructions appear to belong to the legitimate task but quietly redirect what the agent is trying to achieve. To spot that redirection, the judge must compare the stated objective with what the agent did across steps. A judge needs to examine whether a tool response preceded a change in the plan.
How silent failures in multi-agent pipelines make the gap between action scores and goal scores dangerous at production scale
In a chained system, Agent A can pass incomplete or irrelevant context to Agent B, which then produces a confident but wrong response. No exception is required. The monitoring dashboard can stay green because the handoff and response both completed. A related failure occurs when a tool returns an error string and the model treats it as valid data. That error becomes visible only when tool inputs and outputs are recorded and compared against expectations.
An upstream mistake can propagate through handoffs, amplify at each step, and produce a confident wrong final output while individual action scores remain clean. A sub-agent’s fallback to a stale cached result can likewise make incomplete work look finished. At production scale, a fintech agent that sends incorrect promotional rates to thousands of users shows how far an execution that looks successful can reach. A bad first agent session can hurt retention while error dashboards still record success, so product outcomes reveal what action monitoring missed.
The two orthogonal axes every goal-grounded rubric must evaluate simultaneously
The outcome axis asks whether the task met the stated goal. The process axis asks whether the path was coherent, efficient, and consistent with the agent’s instructions. These scores must be kept separate because they answer different questions.
An agent that reaches the right result through a wasteful or brittle path needs a different fix from one that follows an appropriate process but fails to complete the assignment. Blending their scores erases that distinction. It can also conceal deteriorating process quality while current outcome scores remain stable. For multi-step tasks, the outcome axis therefore needs graded completion, while the process axis retains evidence about intermediate choices, plan coherence, and adaptation to unexpected results.
The six trajectory dimensions that operationalize goal-grounded scoring
Tool selection, argument extraction, result utilization, error recovery, plan coherence, and task completion turn the two-axis frame into judge criteria. Each catches a different failure mechanism. Tool selection asks whether the agent chose a tool that was available and right for the objective, catching wrong-tool choices and hallucinated tools. Argument extraction distinguishes those planning errors from a correct tool choice supplied with malformed arguments or values drawn from the wrong context.
Result utilization asks whether the agent read what the tool returned in the right way. It catches error strings promoted into evidence. Error recovery then evaluates what happened after a mistake or unexpected output, including whether the agent adapted or terminated prematurely. Together, these criteria distinguish a tool’s failure from the agent’s failure to recognize and respond to it.
Plan coherence asks whether the steps made sense as a path toward the stated objective as well as in relation to the steps next to them. Task completion supplies the outcome score and should be graded where the task has meaningful subgoals. For a compact judge prompt, these checks can be consolidated into factual grounding, privacy and safety, instruction adherence, and optimal plan execution, scored on a consistent scale by the same judge. When the checks are combined, the outcome and process findings must still be kept separate.
Handling partial completion: why binary pass/fail corrupts goal-level signal
The common failure is an agent completing most of the assignment and presenting the remainder with unwarranted confidence. An answer that looks right can hide a sub-agent’s stale cached result, so a binary judge that looks only at the final response records a pass.
Even when binary scoring correctly records failure, it loses useful distinctions. Completing four of five subgoals is not equivalent to completing zero. The rubric should therefore decompose the assignment into named subgoals, score them independently, and calculate completion as the fraction achieved. This makes a repeated loss on one subgoal visible before it changes the aggregate task success rate.
The main objection is the cost of defining subgoals. That cost does not require exhaustive manual specification of every task variant, because the rubric can derive subgoals from the agent’s own instructions. If the system prompt specifies what the agent should accomplish, the judge already has a basis for decomposition. The requirement is access to that specification, rather than reliance on the answer’s appearance of completeness.
Goal drift detection: comparing stated intent against executed behavior across steps
The judge walks the full span tree and compares the goal state in the plan span with the tool sequence that follows. A change in behavior after a tool response is evidence to examine for plan-layer drift. The comparison must distinguish a justified adaptation to new information from a change in the objective itself.
A final response cannot reveal that distinction reliably. Drift may occur midway through a trace and later self-correct, or it may end in a plausible answer to a different question. The plan coherence criterion should explicitly compare the initial goal with tool selection and argument choices at each subsequent step, flagging divergence not explained by new information. Goal Hijacking is the adversarial variant of this same redirection problem, so the same comparison supports detection without requiring a separate response-only rubric. Evaluation and tracing must both have the full execution record.
Credit assignment in multi-agent traces: scoring handoffs and inter-agent contribution
Multi-agent scoring extends the same goal-grounded framework to handoffs. A flat trace score cannot show that one agent succeeded only because another compensated for its error. Nor can it distinguish an orchestrator’s planning mistake from a specialist’s downstream tool error. Credit assignment must connect the outcome to the agents whose actions were necessary for it, so the rubric can identify both the failure and the recovery.
The handoff criterion evaluates whether the sender chose the right receiver, scoped the handoff prompt appropriately, and correctly chose between dispatching and answering inline. These judgments require the receiver catalog. The judge needs to know what each receiving agent can do and which tools it is allowed to use to judge whether delegation helped with the assignment.
Inter-agent trust escalation exposes the same need at a handoff. A compromised agent can claim a false identity or higher permissions to an orchestrator that does not verify the claim, making receiver selection a point for evaluation. Attribution also depends on complete instrumentation. If only the orchestrator is traced, missing specialist actions and tool calls prevent the judge from locating the contribution that caused the final failure.
How goal-grounded rubric scores feed regression detection and CI gates
Task success rate is a lagging indicator of reliability. Tool selection, plan coherence, error recovery, and subgoal completion can expose component regressions before aggregate outcomes decline. A stable overall score may hide poorer tool selection, particularly when other behavior compensates for it. Tracking dimensions independently preserves the signal needed to route a fix and decide whether a deployment should proceed.
Repeated success also needs the right metric. The pass@k metric measures the probability that at least one of k attempts succeeds, while pass^k measures the probability that all k attempts succeed. Goal-grounded scores make that distinction useful by defining success as fulfillment of the assignment.
Decisions on deployment should use CI gates for each dimension along with thresholds for overall success. A plan coherence score below threshold should block deployment even if overall task success has not declined. Shadow evaluation is also a required complement to synthetic golden sets, because curated cases can underrepresent the long tail of phrasing and mid-conversation context. A prompt change may raise the golden-set score while making the agent do worse on shadow traffic, where drift and incomplete fulfillment can stay hidden.
How do you audit AI agents against their original instructions in practice?
The judge needs the agent’s system prompt, the stated objective for the session, and the full span tree. That record includes plan spans, tool inputs and outputs, retrieval spans, LLM rewrite spans, and the final response. For multi-agent traces, it also needs the receiver catalog and the handoff call, including its target, scope prompt, and allowed tools. The final answer alone is not enough.
The practical procedure is a sequential span walk. The judge scores the input, plan, retrieval, tool arguments, tool output, LLM rewrite, and final answer against the assignment, locating the first divergence. Downstream errors that inherit that divergence should route the fix to its origin. The output should preserve independent outcome and process scores, subgoal completion, dimension-level findings, and attribution where several agents contributed.
The agent’s own instructions supply the standard, and underspecified instructions become a finding when they prevent reliable scoring. Platforms that integrate with the instruction layer can reduce implementation work by automatically comparing traces against those instructions, grouping deviations into actionable issues, and surfacing results in the developer’s workflow. The operational test for such a platform is whether its judge can connect an observed deviation to what the agent was actually supposed to accomplish.


