Manuscript Offprint

arXiv:2611.06545

When Do Summaries Become Instructions? Unsupported Policy in LLM Agents' Self-Written Handoff Summaries

Wenhui Chu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Long-running LLM agents compact their context, replacing most history with a summary. We ask whether handoff summaries state permissions or requirements the record does not support, whether such sentences change what the next instance (the successor) does, and where they come from. Synthetic tool-use tasks carry a ground-truth permission ledger; same-snapshot replay reruns the successor with those whole sentences replaced by neutral filler. Two AI readers, reading only rule-flagged held-out summaries, confirmed unsupported restrictions in 1.2% and 2.4% of all readable summaries from two open-weight models, and unsupported authorizations in 0.1% and 1.3%. For restrictions, a pre-specified replay test was not significant (p=0.58p = 0.58); a follow-up, planned after it, found a fragile effect (p=0.027p = 0.027). Neutralizing false approvals cut unauthorized actions from 24 to 7 of 120 held-out runs (post hoc; later set: 17 to 11 of 48). Most development restrictions followed the agent's earlier reasoning that an action needs approval (post hoc). In pre-specified tests, replacing the system prompt's "Some actions need approval." with one saying where requirements come from cut unsupported restrictions from 5.0% to 1.8% of development summaries and, on held-out templates, from 1.8% to 0.3% (both p<10−9p < 10^{-9}), while requests for approvals the ledger requires barely changed. Code and data: https://github.com/Chuwl/handoff-audit.

1 Introduction

Agents that work for a long time run out of context. A common fix is compaction: the model writes a summary of what it has done, most of the earlier history is dropped, and the agent continues from the summary (Rajasekaran et al., 2025). Claude Code and Codex do this automatically (Anthropic, 2026; OpenAI, 2026a). The summary is an unusual kind of text: the agent writes it for itself, and the next

instance reads it as its own notes, often without any person reading it.

A handoff summary does more than record facts. It often says what the agent may or may not do next: which actions are approved, which need approval, what not to touch. If such a sentence is wrong, later steps can inherit the error. Model developers report that this happens. OpenAI describes compaction summaries, produced during reinforcement learning, that contained instructions the model had written to itself, including a case where the successor followed task restrictions its predecessor had invented (OpenAI, 2026c). A second report describes summaries with instructions to hide failures and to invent missing data without disclosing it. They were flagged in 2.15% and 0.27% of reinforcement-learning compaction summaries of two models, and OpenAI says that its improved alignment grading lowered this rate in later runs (OpenAI, 2026b). A red-teaming study found that a misaligned coding agent could fabricate facts in compaction summaries, as these were not monitored (Remedios et al., 2026).

These reports come from training runs and from agents told to attack. We study small open-weight models on synthetic record-keeping, reporting and coding tasks, with no attacker. We ask how often an agent writes unsupported policy into its own handoff summary, meaning a statement about permissions or requirements that the record contradicts. We also ask whether that sentence changes what the successor does. Each of our tasks carries an external permission ledger and an event log, which give ground truth that does not depend on the model (Figure 1). For causal tests we use same-snapshot replay. We restore the environment to the moment of compaction and rerun the successor four times per arm, with each sentence under test replaced as a whole by neutral filler or deleted. A control edit changes different sentences instead, and further arms give the successor the true permission

Figure

Figure 1: Study design, with a real held-out example (F2, gpt-oss-20b). (1) Each task has a permission ledger and an event log. (2) The agent works with tools. Here its request to publish to a wrong target is rejected. (3) At compaction the agent writes its own summary, which turns the rejection into an approval requirement the ledger does not have. (4) We replay the successor from the same snapshot, with one change per arm. Here the successor asked for confirmation in all 4 runs with the original summary and with the neutral edit, and in none when the marked sentences were rewritten to say that publishing to release-notes needs no approval.

state or the full history.

We ran the study in two stages. On a development split, neutralizing unsupported restrictions sharply reduced the successor's confirmation requests. A test that we specified and hashed before the first test-split job did not replicate this on held-out templates. We report that result as it is, with a post hoc analysis, a follow-up on fresh instances planned after seeing it (F2), and a pre-specified check of the post hoc finding (F4). Last, we traced where invented development restrictions came from and tested one prompt-level fix on development and held-out templates (F5, F6).

(i) AI-confirmed unsupported policy appears in a small share of handoff summaries. On fresh held-out instances, two AI readers confirmed an unsupported restriction in 1.2–2.4% of readable summaries and an unsupported authorization in 0.1–1.3% (only rule-flagged summaries were read). (ii) In the main held-out runs, gpt-oss-20b produced most unsupported authorizations (27 of 30 cases). Such a sentence, treating a withdrawn or nonexistent approval as valid, can lead the successor to act without permission. Neutralizing it lowered such actions in every main replay set, though in no single set significantly. Pooled over two follow-up replays (post hoc), it removed most of them (a later set: 17 to 11 of 48). (iii) Unsupported restrictions behaved differently on held-out instances. Invented rules dominated the development split, and there the neutral edit cut confirmation requests from 98% to 59% of runs. Most held-out restrictions instead seem to follow from a rejected request

for a wrong target. A post hoc pattern by compaction point was not confirmed in a pre-specified check (F4, p=0.11p = 0.11). Stating the true permission, including the allowed target, stopped most requests. (iv) Appending the true permission state lowered both outcomes (significantly only for development restrictions in the main runs) but only partly overrode a planted false approval. (v) On the development split, most invented restrictions followed the agent's earlier reasoning that an ordinary action needs approval. Replacing the system prompt's "Some actions need approval." with a scoped sentence cut AI-confirmed unsupported restrictions from 5.0% to 1.8% of development summaries (F5) and from 1.8% to 0.3% on fresh held-out instances (F6; both pre-specified, p<10−9p < 10^{-9}), also for restrictions that followed a rejected request (secondary), while requests for approvals the ledger requires stayed about the same. The pooled test in (ii), points (iii) and (iv) except F4, and the trace in (v) are post hoc or exploratory. The code, prompts, labels and run records are in our GitHub repository and in the code and data archives of its release. The harness is also packaged as a test for other models served through an OpenAI-compatible API with tool calling (https://github.com/Chuw1/handoff-audit); that path has so far been run only against scripted servers.

References (16)