Practical technical guides / AI engineering: evaluation (route checks and decision provenance; OpenAI report of 4 November 2026)

A Right Answer Reached by the Wrong Route: Record Which Rule and Record an Agent Used, Then Check Them Outside the Agent

OpenAI found 20 of 200 early exploits reached root through the wrong bug. Six synthetic refunds pass an amount check; a provenance route check rejects three.

By Sandeep Belgavi · Published 2026-11-11

Check the route, not only the end state
Original explanatory diagram; synthetic values where shown.

OpenAI found 20 of 200 early exploits reached root through the wrong bug. Six synthetic refunds pass an amount check; a provenance route check rejects three.

Root through the wrong bug

On 4 November 2026 OpenAI published "A thousand fewer paths to root", a report on an autonomous pipeline that found, reproduced and exploited Linux kernel vulnerabilities. Most coverage focused on the headline count of local privilege escalation exploits. A smaller passage is more useful to anyone who evaluates agents. During an early run the exploitation stage reported 200 successful exploits. After human review, 20 of them "had achieved root privileges through a different 0-day vulnerability than the one assigned." The agents had reached the right end state, a root shell, by a route nobody asked for.

OpenAI's response was to tighten the task constraints and add "an independent check confirming that each final exploit used its assigned vulnerability." The report's takeaway is general: "verify the path to a result in addition to verifying the result itself."

Most agent evaluations check only the end state. That is usually the right default: an earlier article on this site argued for grading by the state a run leaves rather than by one reference tool sequence, because there are many good ways to reach a correct state. This article is about the cases where the end state is not enough evidence, and how to check the route without falling back to brittle step-by-step scripts.

The same failure in an ordinary agent

Belgavi's Book Store has a refund agent. For each help-desk CASE it reads the order, looks up the return policy in force when the order was placed, applies the matching rule and records a refund amount. The evaluation compares the amount with the expected amount and passes.

A refund amount can be right for the wrong reasons:

  • Wrong record, same number. Two orders in different cases have the same total. The agent reads the sibling order and computes the right amount for the wrong order. The next time the totals differ, it refunds the wrong amount, and its trace already showed it would.
  • Wrong policy version, compensating adjustment. Policy version 3 started on 15 October and refunds opened items at 90 percent. The agent cites version 2, which refunds 100 percent, then applies a 10 percent "goodwill" cut that no rule describes. The number matches version 3. The reasoning does not exist in any policy.
  • No route at all. The agent records an amount and nothing else. It may be right; nobody can tell why.

Each of these passes an amount check. Each would fail in a later case where the coincidence does not hold, and each is a governance problem today: the store cannot explain to an auditor or a customer which rule produced the refund.

Record the route as data

A route check needs something to check. The agent, or better the tool layer around it, records provenance with every decision: the identifiers of the inputs it used and the rule that produced the output.

{
  "case": "CASE-5103",
  "order": "ORD-7003",
  "version": 2,
  "rule": "opened",
  "amount": 1350
}

Three design points make the record trustworthy.

  1. Capture provenance where the data is read. The order tool returns the order id with every result, and the policy tool returns the version and rule id it applied. The agent passes these through; it does not type them. A route that a model writes from memory is a claim, not a record.
  2. Use stable identifiers, not descriptions. "The October policy" is not checkable. version: 3, rule: opened is.
  3. Make missing provenance a failure. A decision without a route fails the route check. Otherwise the cheapest way to pass is to record nothing.

Check the route outside the agent

The route checker is a separate script that knows the case assignment and does not trust the agent's account of it. For each decision it derives what the route should have been from the systems of record: the order named in the CASE, the policy version in force on that order's date, and the rule that version applies to the order.

def route_check(decision):
    exp = expected(decision['case'])          # from the CASE, the order store and the policy table
    problems = []
    for key in ('order', 'version', 'rule'):
        if decision.get(key) is None:
            problems.append('missing %s' % key)
        elif decision[key] != exp[key]:
            problems.append('%s %s, expected %s' % (key, decision[key], exp[key]))
    if decision.get('order') in ORDERS and ORDERS[decision['order']]['case'] != decision['case']:
        problems.append('order belongs to %s' % ORDERS[decision['order']]['case'])
    return problems

The companion runs both checks on six synthetic decisions. The amount check passes all six. The route check rejects three:

CaseAmount checkRoute check
CASE-5101passpass
CASE-5102passpass
CASE-5103passversion 2, expected 3
CASE-5104passorder ORD-7005, expected ORD-7004; order belongs to CASE-5105
CASE-5105passpass
CASE-5106passmissing order, version and rule

The checker is deliberately boring. It compares identifiers. It does not ask a model whether the reasoning sounds right, because the point is to have a check the agent cannot talk its way past. OpenAI's version of this was the same in spirit: a check, independent of the exploit agent, that the exploit used its assigned vulnerability.

Route checks are not reference trajectories

A route check is easy to confuse with comparing the agent's steps against a scripted sequence of tool calls, which is brittle: a valid run that reads the policy before the order fails a sequence check. A route check asks a narrower question. It does not care about order, retries, extra reads or wording. It checks that the facts that justify the decision came from the right sources: the right record, the right version, the right rule. Two runs with completely different trajectories pass if they cite the same justified route.

It also differs from a permission check. An agent can be permitted to read every order in the store and still pick the wrong one for this CASE. Permission bounds what the agent may touch; the route check verifies what it actually used.

Where route checks pay off

Not every decision needs one. They are worth the effort when:

  • the end state can be right by coincidence, as with equal totals or a rule that happens to give the same number;
  • the decision moves money or access, where you will be asked to explain it;
  • the assignment is specific: this CASE, this order, this vulnerability. An agent that substitutes an easier target can pass an outcome check, as OpenAI's exploit agents did;
  • the evaluation set is small, so coincidences are not rare enough to wash out.

Start with decisions that cost money. Add a route assertion wherever an evaluation currently checks only the final amount or state, and keep the end-state check too: the route check does not replace it, it explains it.

Adding route checks to an existing evaluation

  1. List the justifying facts for each decision type. For refunds: the order, the policy version and the rule. For a support answer: the knowledge-base article id and its version.
  2. Make tools return identifiers. Change the order, policy and search tools so their results include stable ids. This is usually the largest change, and it pays off in debugging as well.
  3. Record provenance in the decision log, written by the tool layer, not typed by the model.
  4. Write the checker against the systems of record, not against the agent's transcript.
  5. Report two numbers: end-state pass rate and route pass rate. A gap between them is the share of correct answers you cannot justify.
  6. Fail closed on missing provenance, and track how often it happens per agent version.

What route checks do not catch

A route check verifies identifiers, so it inherits their limits. If the policy table itself is wrong, the agent can follow the right route to the wrong refund, and only an end-state check against an independent expectation will notice. If the agent reads the right order but misreads a field in it, the route is correct and the amount is not, which the amount check catches. The two checks cover different failures, which is why you keep both. Provenance captured by tools is only as trustworthy as the tools; if the agent can call a tool with arbitrary ids, check that the ids it cites are ones it actually received in this run.

Limits of the companion

The six decisions, orders and policy versions are synthetic, chosen so that every amount matches. The checker is a dozen lines because the routing facts are simple; a real decision may depend on several records and rules, each of which needs an identifier and an expected source. Nothing here measures how often route errors occur in a real agent; OpenAI's 20 of 200 comes from a different task and pipeline and should not be read as a rate for refund agents.

Primary references and authorship

Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/decision_route_check. Views are my own and do not represent any employer, past or present.