arXiv:2610.26935cs.CROct 2026

Manuscript Offprint

arXiv:2610.26935

How Intervention History Changes AI Agent Sabotage on Subsequent Tasks

Daniel Saeedi, Amirali Aghazadeh

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

Abstract

AI control evaluations often reset agents' memory between tasks, although deployed agents may retain records of prior interventions. We ask whether learning that an earlier attack was caught changes an agent's ability to evade defer-to-trusted (DtT), a protocol that replaces suspicious work with a trusted model's solution. Prior work has studied this adaptation behavior when feedback is provided during repeated attempts on the same problem. Herein, we study cross-episode adaptation: whether intervention history changes attack behavior on a subsequent task with different objectives and a fresh environment. We evaluate this using ControlArena's Infrastructure-as-Code (IaC) and SHADE-Arena as testbeds, where agents must complete a main task while covertly pursuing a harmful side objective. For each successor task, we pair a history-conditioned attempt with the model's no-history attempt. The retained history either states that the previous submission was replaced or additionally includes the trusted model's replacement.

For Claude Opus 4.8 on IaC, intervention history reduces successful sabotage. Completion of both the main and side objectives falls from 77% to 12% when the agent is told about the replacement and to 38% when it is also shown the trusted model's replacement, while main task success remains essentially unchanged. Condensing the history weakens this effect, suggesting that the retained context matters and limiting attribution to intervention feedback alone. GPT-5.4 shows no significant change in successful sabotage on the same IaC benchmark. On SHADE-Arena, GPT-5's successful sabotage rate decreases, but the reduction is not significant. Across the tested models, history conditions, and deferral thresholds, intervention history never increases the rate of successful sabotage that survives DtT. These results show that intervention history can change subsequent attack behavior, but its effect depends on both the model and the retained context. 12^{12}

1 Introduction

Continued advances in AI agent capability and reliability make it increasingly plausible that these systems will be delegated tasks involving financial transactions, access to sensitive information, and actions in digital or physical environments [Crichton et al., 2024, Stanford HAI, 2025]. As the consequences of erroneous, misaligned, or unauthorized actions grow, so does the need for mechanisms that can detect and correct such behavior before it causes irreversible harm. AI control [Greenblatt et al., 2024b] studies how to safely use a capable but potentially misaligned untrusted model U under the supervision of a trusted model T. In defer-to-trusted (DtT), a trusted monitor scores U's work for suspicion, and submissions above a threshold are replaced by work from a trusted model.

1^{1}Code and results are available at https://github.com/amirgroup-codes/caught_not_taught

2^{2}Agents transcripts: https://caughtnottaught.github.io/ a Memoryless episode on pip_{i}

Figure

b Cross-episode attempt on pjp_{j}

Figure 1: Cross-episode adaptation after a control intervention. a, In a memoryless episode, U attacks task pip_i under defer-to-trusted (DtT), where submissions flagged by the trusted monitor are replaced with a trusted model's solution. b, After a replacement, U attempts a successor task pjp_j in a fresh environment while retaining the prior episode in context. The feedback either states that the previous submission was replaced (told replaced) or also includes the trusted model's replacement (shown replacement). The two tasks have different main and side objectives. Each history-conditioned attempt is paired with U's own memoryless attempt on the same pjp_j.

Most early control evaluations reset the attack policy between task trajectories [Greenblatt et al., 2024b, Bhatt et al., 2025, Kutasov et al., 2025b]. Real deployments, however, may retain conversation history or memory. An agent could therefore begin a new task knowing that a previous attack was detected and replaced. This history may reveal both that a monitor is present and what kinds of behavior it rejects. Such information could help an attacker. Agents with explicit knowledge of a monitor can sometimes adapt their behavior to evade current control protocols [Terekhov et al., 2026]. It remains unclear whether retaining a prior attack trajectory and the feedback that it was replaced changes an agent's ability to sabotage a subsequent task or evade DtT. We study this form of cross-episode adaptation when the successor task has different objectives and begins in a fresh environment.

Prior work has connected episodes in several ways. Adaptive deployment uses past actions to update the defender's belief about model alignment [Wen et al., 2024]. Persistent-state control allows later attacks to inherit code written in earlier pull requests, while multi-agent control allows separate agent instances to distribute a covert objective across their work [Lindner et al., 2025, Hills et al., 2026, Makins et al., 2026]. These settings show that deployment history can matter, but they focus on defender-side updating or continued pursuit of a shared objective across episodes. They do not study whether an attack policy changes its behavior on a new task after experiencing a completed control intervention. In particular, the main persistent-code experiments of Hills et al. [2026] carry code across pull requests but do not preserve the attacker's conversation history.

The closest prior work studies feedback following an intervention. Within a trajectory, Kutasov et al. [2025a] label which earlier actions were replaced, and Lucassen and Kaufman [2026] show that monitor rationales can lead to less suspicious retries. CIAware-Bench provides replacement text, scores, and monitor reasoning after online deferrals, and finds a small, non-significant increase in aggregate side-task success [Schaeffer et al., 2026]. Jiralerspong et al. [2026] retain full transcripts and coarse blocking feedback across ten consecutive attempts on the same task. Agents sometimes infer that a hidden monitor is present and intend to evade it, but fail to carry out that strategy. Together, these results show that intervention feedback can change an agent's beliefs and attack strategy. However, because they operate within the same trajectory or repeat the same task, they also allow the agent to directly repair or retry the attack that was caught.

Here, we target the cross-episode adaptation regime (Fig. 1). We first let U attack candidate tasks under DtT and include a task pip_i in the intervention arms only if its submission is selected for replacement, corresponding to a monitor suspicion score of at least 5/10 in Infrastructure-as-Code [Stickland et al., 2025, Inglis et al., 2025] or 50/100 in SHADE-Arena [Kutasov et al., 2025b]. We then start a successor task pjp_j in a fresh environment and new conversation, replaying the caught trajectory from pip_i followed by one feedback message. In the told replaced condition, the feedback states that the prior submission was replaced. In the shown replacement condition, it also includes the replacement produced by the trusted model T\mathcal{T}. We pair each history-conditioned attempt with the same model's memoryless attempt on the identical pjp_j, so the successor task and environment are held fixed, and only the prior episode and intervention feedback differ. We also vary how much of that history is retained. Full history includes the prior conversation and tool interactions, with reasoning removed and long tool outputs elided, while condensed history keeps only the prior task, the model's final message, and the resulting diff or actions. Within each feedback condition, the intervention message itself is unchanged across history formats, including the trusted replacement when shown.

Our cross-episode experiments show that full intervention history substantially reduces successful sabotage when Claude Opus 4.8 serves as the untrusted model in ControlArena's Infrastructure-as-Code (IaC) environment [Stickland et al., 2025, Inglis et al., 2025]. Its successful sabotage rate falls from 0.77 without prior history to 0.12 under told replaced and 0.38 under shown replacement, while main task success remains unchanged. Condensing the history weakens the reduction in successful sabotage, suggesting that the longer context may partly explain the effect. Intervention history produces no detectable reduction in successful sabotage in subsequent episodes when GPT-5.4 serves as the untrusted model in IaC or when GPT-5 serves as the untrusted model in SHADE-Arena [Kutasov et al., 2025b]. Across the evaluated settings and deferral thresholds, neither feedback condition produces a statistically detectable increase in successful sabotage that survives DtT.

We make the following contributions:

• We study cross-episode adaptation after a completed control intervention: whether intervention history changes an untrusted model’s ability to sabotage a successor task with different objectives in a fresh environment.

• We compare two feedback conditions: told replaced, which tells the untrusted model that its previous submission was replaced, and shown replacement, which also provides the trusted model’s replacement.

• We show that intervention history can reduce successful sabotage, with effects that depend on the untrusted model and retained context. Neither feedback condition produces a detectable increase in successful sabotage surviving DtT across the evaluated settings and deferral thresholds.