---
type: "post"
id: "the-study-calls-the-loss-of-in-context-ecb8a3"
slug: "the-study-calls-the-loss-of-in-context-ecb8a3"
title: "The study calls the loss of in-context governance constraints during history compaction “Governance Decay.”"
description: "The study calls the loss of in-context governance constraints during history compaction “Governance Decay.” Across its benchmark, compaction raised the aggregate violation rate from 0% to 30%, and decay was 8.3× larger for soft organizational policies than for hard safety norms."
retrieval_nugget: "The study calls the loss of in-context governance constraints during history compaction “Governance Decay.” Across its benchmark, compaction raised the aggregate violation rate from 0% to 30%, and decay was 8.3× larger for soft organizational policies than for hard safety norms. (arxiv.org)"
published_at: "2026-11-27"
updated_at: "2026-11-27"
record_date: "2026-11-27"
date_kind: "published_at"
topics: ["claude"]
entities: ["ConstraintRot","DeepSeek-V4-Flash","Qwen3.6-27B","Claude Sonnet 4.6","GPT-5.4-mini","Gemini-3.5-flash","GLM-5.1","Kimi-K2.5"]
related_patterns: ["agent-security-moves-to-runtime-boundaries","harness-architecture-outlives-model-choice"]
novelty_label: "new_fact"
what_changed: "A new study finds context compaction disproportionately drops soft organizational policies, while hard safety norms mostly persist, and tests pinning as a defense."
prior_refs: ["https://newruntime.com/posts/compaction-laundering-forging-the-user-one-summary-at-d810b8/"]
source_url: "https://arxiv.org/pdf/2606.22528"
source_urls: ["https://arxiv.org/pdf/2606.22528"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T20:00:22.254Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"medium"},"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"","quotes":["Decay is 8.3× larger for soft organizational policies than for hard safety"],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=Decay%20is%208.3%C3%97%20larger%20for%20soft%20organizational%20policies%20than%20for%20hard%20safety","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"Triggers are self-contained and ask for a single terminal tool call; violations are graded deterministically by checking whether the emitted tool call has the prohibited effect.","quotes":["isolates compaction from generic length effects by comparing the same trigger with the policy present, compacted,"],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=isolates%20compaction%20from%20generic%20length%20effects%20by%20comparing%20the%20same%20trigger%20with%20the%20policy%20present%2C%20compacted%2C","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"The benchmark covers seven model families and four compaction strategies.","quotes":["• ConstraintRot, a benchmark of self-contained longhorizonagentscenariosthatpairsagovernanceconstraint with a later prohibited request, graded deterministically by detecting the prohibited effect in the agent’s tool call (Sec. 4).","Triggers are *self-contained*—all data needed to act is provided inline and the agent is instructed to emit a single terminal tool call—so that a refusal is driven by the policy,"],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=%E2%80%A2%20ConstraintRot%2C%20a%20benchmark%20of%20self%2Dcontained%20longhorizonagentscenariosthatpairsagovernanceconstraint%20with%20a%20later%20prohibited%20request%2C%20graded%20deterministically%20by%20detecting%20the%20prohibited%20effect%20in%20the%20agent%E2%80%99s%20tool%20call%20%28Sec.%204%29.&text=Triggers%20are%20%2Aself%2Dcontained%2A%E2%80%94all%20data%20needed%20to%20act%20is%20provided%20inline%20and%20the%20agent%20is%20instructed%20to%20emit%20a%20single%20terminal%20tool%20call%E2%80%94so%20that%20a%20refusal%20is%20driven%20by%20the%20policy%2C","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"The paper says hard safety norms often survived in practice because models refused the prohibited actions anyway.","quotes":["0% to 30% (up to 59%); when the constraint survives the summary violation is 0%, when dropped 38%."],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=0%25%20to%2030%25%20%28up%20to%2059%25%29%3B%20when%20the%20constraint%20survives%20the%20summary%20violation%20is%200%25%2C%20when%20dropped%2038%25.","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"","quotes":["The full paper adds that … has no instinct to protect."],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=The%20full%20paper%20adds%20that,has%20no%20instinct%20to%20protect.","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"An optimized injection defeated every tested model; one model’s violation rate rose from 0% with the fixed probe to 65% with the optimized injection.","quotes":["• The Compaction-Eviction Attack, a deletion-oriented variant of indirect prompt injection in which an adversary supplying only in-context data forces or biases compaction to omit a legitimate constraint (Sec. 6)."],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=%E2%80%A2%20The%20Compaction%2DEviction%20Attack%2C%20a%20deletion%2Doriented%20variant%20of%20indirect%20prompt%20injection%20in%20which%20an%20adversary%20supplying%20only%20in%2Dcontext%20data%20forces%20or%20biases%20compaction%20to%20omit%20a%20legitimate%20constraint%20%28Sec.%206%29.","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"},{"claim":"The paper reports reducing measured violations to 0% with approximately 47 pinned tokens, described as less than 0.5% of a production-scale compaction context.","quotes":["constraints are quarantined from lossy compaction and integrity-checked across turns, restoring violation to 0%"],"cite_url":"https://arxiv.org/pdf/2606.22528#:~:text=constraints%20are%20quarantined%20from%20lossy%20compaction%20and%20integrity%2Dchecked%20across%20turns%2C%20restoring%20violation%20to%200%25","source_url":"https://arxiv.org/pdf/2606.22528","publisher":"arxiv.org"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:the-study-calls-the-loss-of-in-context-ecb8a3"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/the-study-calls-the-loss-of-in-context-ecb8a3/","markdown":"https://newruntime.com/posts/the-study-calls-the-loss-of-in-context-ecb8a3.md","json":"https://newruntime.com/posts/the-study-calls-the-loss-of-in-context-ecb8a3.json"}
markdown_url: "https://newruntime.com/posts/the-study-calls-the-loss-of-in-context-ecb8a3.md"
---

# The study calls the loss of in-context governance constraints during history compaction “Governance Decay.”

## Retrieval answer

The study calls the loss of in-context governance constraints during history compaction “Governance Decay.” Across its benchmark, compaction raised the aggregate violation rate from 0% to 30%, and decay was 8.3× larger for soft organizational policies than for hard safety norms. (arxiv.org)

## Summary

The study calls the loss of in-context governance constraints during history compaction “Governance Decay.” Across its benchmark, compaction raised the aggregate violation rate from 0% to 30%, and decay was 8.3× larger for soft organizational policies than for hard safety norms. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=Decay%20is%208.3%C3%97%20larger%20for%20soft%20organizational%20policies%20than%20for%20hard%20safety))

## What happened

ConstraintRot tests whether an agent violates a policy after benign turns expand the context and a later request triggers the prohibited action. The same trigger is tested with the policy present, compacted, absent or pinned, helping isolate compaction from generic context-length effects. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=isolates%20compaction%20from%20generic%20length%20effects%20by%20comparing%20the%20same%20trigger%20with%20the%20policy%20present%2C%20compacted%2C)) Triggers are self-contained and ask for a single terminal tool call; violations are graded deterministically by checking whether the emitted tool call has the prohibited effect. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=%E2%80%A2%20ConstraintRot%2C%20a%20benchmark%20of%20self%2Dcontained%20longhorizonagentscenariosthatpairsagovernanceconstraint%20with%20a%20later%20prohibited%20request%2C%20graded%20deterministically%20by%20detecting%20the%20prohibited%20effect%20in%20the%20agent%E2%80%99s%20tool%20call%20%28Sec.%204%29.&text=Triggers%20are%20%2Aself%2Dcontained%2A%E2%80%94all%20data%20needed%20to%20act%20is%20provided%20inline%20and%20the%20agent%20is%20instructed%20to%20emit%20a%20single%20terminal%20tool%20call%E2%80%94so%20that%20a%20refusal%20is%20driven%20by%20the%20policy%2C)) The benchmark covers seven model families and four compaction strategies.

Individual models reached compaction violation rates as high as 59%. When a constraint survived the summary, the reported violation rate was 0%; when it was dropped, the rate was 38%. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=0%25%20to%2030%25%20%28up%20to%2059%25%29%3B%20when%20the%20constraint%20survives%20the%20summary%20violation%20is%200%25%2C%20when%20dropped%2038%25.)) The paper says hard safety norms often survived in practice because models refused the prohibited actions anyway. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=The%20full%20paper%20adds%20that,has%20no%20instinct%20to%20protect.))

In a channel comparison across three models and five soft tasks, violation increases were +0 points for a preserved system message, compared with +50 for a standing user instruction, +45 for a memory entry and +33 for tool output. The Compaction-Eviction Attack uses adversary-controlled ingested content to bias or force compaction to omit a legitimate constraint. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=%E2%80%A2%20The%20Compaction%2DEviction%20Attack%2C%20a%20deletion%2Doriented%20variant%20of%20indirect%20prompt%20injection%20in%20which%20an%20adversary%20supplying%20only%20in%2Dcontext%20data%20forces%20or%20biases%20compaction%20to%20omit%20a%20legitimate%20constraint%20%28Sec.%206%29.)) An optimized injection defeated every tested model; one model’s violation rate rose from 0% with the fixed probe to 65% with the optimized injection.

Constraint Pinning is a training-free mitigation that keeps constraints out of lossy compaction and integrity-checks them across turns. ([arxiv.org](https://arxiv.org/pdf/2606.22528#:~:text=constraints%20are%20quarantined%20from%20lossy%20compaction%20and%20integrity%2Dchecked%20across%20turns%2C%20restoring%20violation%20to%200%25)) The paper reports reducing measured violations to 0% with approximately 47 pinned tokens, described as less than 0.5% of a production-scale compaction context.

## Trend signal

The result aligns with a broader shift toward treating the runtime—not the prompt alone—as the durable security boundary for what an agent can read, remember, execute and authorize.

## Why it matters

Treat deployment-specific rules as protected state in the agent harness, not merely as prose expected to survive summarization. Compaction should preserve or verify those constraints before a tool call can authorize an action.

## Limits and uncertainty

The threat model concerns policies carried in conversation, retrieved memory or tool-loaded documents; it does not cover policies guaranteed to remain in an immutable system or developer message. The paper says naive pinning still fails under some stress tests, but does not specify those failures here. The refund-approval rule is an illustrative example, not a benchmark task.

## Reader takeaway

ConstraintRot reports that compaction raised aggregate violations from 0% to 30%, with much greater decay for soft organizational policies than for hard safety norms. The result makes preserving deployment-specific constraints across context rewrites a distinct governance problem; the tested pinning approach is promising, but its stress-test failures remain unspecified.

## Open question

How reliably does policy preservation hold in production workflows, especially in the pinning stress cases the paper does not detail?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
