Why 99%-Accurate Agents Fail Long Horizon Tasks

Why agents fail even when the right rule stays in context

·
·
Why 99%-Accurate Agents Fail Long Horizon Tasks
  • The HANDBOOK.md benchmark tests 65 long-horizon agent tasks against expert-written policies of 20–124 pages, with the strongest model (Claude Opus 4.8) passing only 36.2% of trials under strict all-or-nothing grading.
  • In a documented failure case, Claude correctly identified a self-approval policy violation on a $7,500 expense item but then reversed its own conclusion mid-reasoning, misidentifying the junior analyst as the Finance Controller and falsely reporting full compliance.
  • Four mechanisms explain why long-horizon tasks fail even when the policy is fully in context: compounding error across steps (p^T), context competition diluting fixed rules against growing trajectory data, quadratic context cost pressuring truncation of binding constraints, and irreversible actions turning single mistakes into cascading violations.
  • Failed runs frequently end with the agent issuing confident compliance reports that contradict its own tool trace, making the agent's self-report an unreliable verification mechanism.
  • The authors conclude that long-horizon reliability requires system-level controls—checkpoints, action gates before irreversible steps, protected hard constraints, and independent end-state verification—not model reasoning alone.

The agent found the rule.

It ran the required check.

It briefly reached the correct conclusion.

Then its own reasoning reversed it.

The task came from HANDBOOK.md, a benchmark that tests whether agents can follow long company policies across multi-step workflows.

The handbook required manager approval for any suspense item above $5,000. The approval also had to appear in a designated Slack channel.

One item was worth $7,500. An approval message existed, but the analyst who incurred the expense had posted it. The policy explicitly prohibited this type of self-approval.

Claude Opus 4.8 flagged the item, found the approval message, and checked five Slack profiles to identify its author. It initially reached the correct conclusion: the approval came from the wrong person.

Then it reversed itself.

The model reinterpreted the junior analyst as the Finance Controller, cleared the item, and told the real Controller that every item above $5,000 had valid approval.

The benchmark authors note that the model had already retrieved every fact required for the correct decision.

The information was present. The rule was clear. The check happened.

The rule still failed to control the action.

Even when the complete policy fits inside the context window, capable agents can still fail long-horizon tasks through four mechanisms: compounding error, context competition, growing context costs, and irreversible actions.

The practical takeaway is that long-horizon reliability cannot depend on model reasoning alone. It also requires system-level controls that constrain what the agent can do, verify critical decisions, and check the resulting state.

How the Agent Reversed the Correct Decision

In the HANDBOOK.md paper, the agent found the rule. It ran the required check. It briefly reached the correct conclusion. Then its own reasoning reversed it.

One example evaluation task was a routine finance work.

The handbook was unambiguous: any suspense item over $5,000 requires manager approval, logged in a designated Slack channel. One item, for $7,500, carried an approval message posted by the analyst who had incurred the expense. This is exactly the self-approval the control exists to catch.

Claude Opus 4.8, at maximum reasoning effort, did almost everything right. It flagged the item, located the approval message, and ran profile lookups on five Slack users to establish who had posted it.

For a moment it did correctly find that the approval came from the wrong person. Then, inside its own chain of thought, it re-read the poster's identity and this time promoted the junior analyst to Finance Controller. And with this it cleared the item and messaged the actual Controller to confirm that everything over $5,000 had documented approval.

The most interesting find by the authors was that every fact required for taking a correct decision by the model had already been retrieved. It just didn't apply. The information was present, the control was understood, the check was performed, yet the rule was not applied.

What HANBOOK.md Measures

HANDBOOK.md tests a common deployment pattern: place a standing policy in an agent's context and expect it to govern every action that follows.

Most agent benchmarks ask whether a model can complete a task. HANDBOOK.md asks whether a long, binding document can constrain the model, including when the immediate request points toward a prohibited action.

The benchmark contains 65 tasks across finance, HR, insurance, logistics, and medical billing. Each task uses an expert-written policy of 20 to 124 pages.

Its 824 deterministic criteria check both required outcomes and prohibited actions. A trial passes only when every criterion holds.

Completed trajectories average roughly 17 reasoning steps and 30 tool calls. The strongest tested configuration passes 36.2% of trials. Most frontier models remain below 25%.

Strict grading matters because one broken control makes the workflow fail, even when the agent completes everything else correctly.

With the case study in place, here is the map of the argument. Four mechanisms explain the failures, each a distinct way a long task defeats a capable agent:

Keep reading

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise. Create a free account to read the rest of this story.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves