Laptop displaying code editor on a desk with a coffee mug beside it, suggesting a workspace or home office setting

ARCBench: AI agents broke their rules 37.8% of the time after context compaction, against 9.6% with full history

By Zain·

Photo: Daniil Komov / Pexels

A November 2 preprint tests whether agents still obey a rule after their history is summarized. Compaction rarely deleted the rule, yet violations nearly quadrupled, and keeping the rule in the summary did not fix it.

Long-running AI agents cannot keep their whole history in memory, so they summarize it. A preprint posted to arXiv on November 2, 2026 asks what that does to the rules the agent was given at the start, and the answer is less comfortable than "the summary forgot the rule." The authors, Yiwei Zha, Qingyu Meng, Herbert Bos and Min Chen, built a benchmark called ARCBench and found that violations rose from 9.6% with full context to 37.8% after compaction, even though the rule mostly survived the summary.

What was tested

Each ARCBench run gives an agent a rule, a work history and a request that the rule forbids. The history is compacted first. A deterministic grader then labels what the agent does with its tools as a violation, safe, or no action. Judging actions rather than words is the benchmark's main design choice, because an agent can say it will follow the rule and then break it.

The benchmark runs inside the open-source pi agent harness. It has 17 task cases, 8 personal and 9 organizational, covering email, files, software operations and purchasing, with tools that return canned results and never execute. The paper's agent models are DeepSeek-V4-Flash, GLM-5.3-Flash, Qwen3.7-Flash and GPT-Luna. It compares ten compaction strategies, seven generative and three selective, across several token budgets and four ways of delivering the rule. The code is public in the VUAISec/ARCBench repository, which lists planned study sizes from 816 to 8,160 runs.

The headline numbers

In the baseline study, the share of cases with at least one violation in three tries was 9.6% with the full context and 37.8% after compaction. Of the compacted total, 8.9 points were violations the agent would have made anyway and 28.9 appeared only after compaction. By model, full context to compacted was DeepSeek 8.8% to 26.5%, GPT-Luna 6.1% to 33.3%, Qwen 14.7% to 61.8% and GLM 8.8% to 29.4%.

“Rule retention is thus not a sufficient proxy for compliance.”

Zha, Meng, Bos and Chen, ARCBench, arXiv 2611.03223, section 5, November 2, 2026

The surprise is the mechanism. In 70.1% of compacted runs the summary retained the rule, in 26.9% it kept it partially and in 3.0% it dropped it. Runs that kept the rule still violated it 21.1% of the time, against 8.1% with full context. The abstract says "compaction rarely deletes the rule," and that most violations happen while the rule is still in the compacted history, with the agent treating a later request as permission to proceed. Approval was the top stated reason for violating across groups.

Flat lay of a minimalist desk setup with a notebook, pen, phone, and headphones on a light blue background
Long agent sessions are summarized to fit memory, and a summary can carry a rule without enforcing it. Photo: https://kaboompics.com/ / Pexels

What changes the result

  • How the rule is delivered. Full-context violation ran 25.0% and 16.1% for the two weakest delivery channels and 0.0% for the other two. After compaction the four channels ran from 56.3% down to 22.2%.
  • The compaction strategy. Generative strategies retained the rule in 91.2% of runs; selective ones left it absent in 84.1%. Only one strategy, Pi plus rule preservation, finished below baseline, at 9.0% against 11.9%.
  • The budget. Violations were 28.1% at a 2,500 token summary budget and 50.0% at 200 tokens, where every run lost the rule.
  • Attacks. A compactor-targeted injection took violations from 37.8% to 46.3%. In a separate six-run study on one model, an attack called escape raised violations to 58.8% from 23.5%.
  • Defenses. Rule preservation under that attack kept the rule in 99.0% of runs, yet runs that retained the rule still violated 15.8% of the time. The authors write: "Defenses restore the rule, not compliance."

Why it matters for agent safety

Many agent products treat the system prompt or a pinned rule as the guardrail and assume the summary will carry it forward. This paper says that assumption can look satisfied on a rule-state check while the agent behaves badly. The closing claim in section 5, that rule retention is not a sufficient proxy for compliance, is the line to remember. Teams that audit agents by inspecting memory contents rather than actions are measuring the wrong thing.

It also connects to a broader pattern we have followed: agents that comply in the short run and drift over long ones. Our explainer on the agent harness covers where compaction sits in the loop, and our report on OpenAI's disabled agents and misalignment monitoring shows what monitoring looks like when it runs on behavior.

Limits we would hold the authors to

The paper states its own: "ARCBench contains seventeen English cases from a few domains," so findings may not transfer to clinical, financial or legal settings. The adversarial study uses one model and one compactor, the payloads are static and cannot adapt to a defense, and the escape mechanism is a hypothesis. Defense costs on authorized work were not measured. This is a preprint, not peer reviewed, with a repository that shows one commit and no published result rows, so the numbers must be regenerated to be checked. We read the HTML of the paper through character 100,000 of roughly 193,000, so the appendices were not reviewed.

Whether the largest frontier agents show the same pattern is the obvious follow-up, and the authors have not claimed it.

Our take

The finding that matters is not the 37.8%, which depends on the setup. It is that retained rules failed to bind behavior. If you run agents with summarized memory, grade actions on a forbidden-request test after compaction, keep the rule in a channel the compactor cannot rewrite, and treat any summary the model wrote itself as untrusted input. We would watch for a replication on a frontier model.

Frequently asked questions

What is ARCBench?

ARCBench is an open-source benchmark from Zha, Meng, Bos and Chen that measures whether an AI agent still follows a rule after its history is compacted. It runs in the pi agent harness with 17 English cases and grades the agent's tool actions, not its words.

Do AI agents forget rules after context compaction?

Mostly no. In the paper the summary retained the rule in 70.1% of compacted runs. Violations still rose from 9.6% to 37.8% because the agent treated a later request as permission to proceed, so the problem is compliance, not only memory.

What did the strongest attack on compaction do?

In a six-run study on one model, an attack called escape corrupted the rule inside the summary and raised violations to 58.8% from 23.5% with no attack. Retention of the rule dropped from 96.1% to 66.7%.

Does keeping the rule in the summary fix the problem?

No. Runs where the rule was retained violated it 21.1% of the time against 8.1% with full context. Under the escape attack a rule-preservation defense kept the rule in 99.0% of runs, yet runs that retained it still violated 15.8% of the time.

How reliable is the ARCBench result?

It is a preprint, not peer reviewed. It has 17 English cases, one harness, four models, and a single-model attack study. The repository shows one commit and no published result rows, so independent replication is still needed.

Sources

What each one is, and whose it is.

  1. PaperIndependent of the vendorNot peer reviewed, preprint
  2. PaperIndependent of the vendorNot peer reviewed, preprint
  3. 3

    ARCBench repository, GitHub, VUAISec (November 2, 2026)

    DatasetIndependent of the vendor