# Compositional Safety Failures in Harness Evolution: Identification and Runtime Monitoring

DevFeed: [Compositional Safety Failures in Harness Evolution: Identification and Runtime Monitoring](<https://devfeed.tech/articles/compositional-safety-failures-in-harness-evolution-identification-and-runtime-monitoring-96629.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.33123>)

Author: Zhixiang Zhang, Zesen Liu, Wai Ip Lai, Hongxu chen, Dongdong She

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Responsibility & Safety](<https://devfeed.tech/topics/responsibility-safety.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [computational complexity](<https://devfeed.tech/topics/computational-complexity.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [composition](<https://devfeed.tech/tags/composition.md>), [cost](<https://devfeed.tech/tags/cost.md>), [costs](<https://devfeed.tech/tags/costs.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [develop](<https://devfeed.tech/tags/develop.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [gap](<https://devfeed.tech/tags/gap.md>), [harness](<https://devfeed.tech/tags/harness.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtime-monitoring](<https://devfeed.tech/tags/runtime-monitoring.md>), [safety](<https://devfeed.tech/tags/safety.md>)

## AI overview

The abstract reports that individually safe, utility-preserving updates to agent harness components can interact to cause unsafe behavior. Across three safety-related benchmarks, the authors identify 43 pairwise and 18 irreducible three-way failures. To avoid the combinatorial cost of rechecking every combination as harnesses evolve, their method represents component states and higher-order interactions in a typed hypergraph, updating only the interaction neighborhood of changed states. Hypergraph-guided runtime monitoring reportedly mitigates these risks while preserving task utility and reducing checking costs; experiments also show a trade-off among safety, utility, and cost across safety mechanisms.

## Source excerpt

arXiv:2609.33123v3 Announce Type: replace-cross Abstract: Self-evolving agent harnesses continually update persistent components such as memory, prompts, skills, and tools. We call this process harness evolution. However, such evolution could introduce unexpected safety risks. Existing work studies harness misevolution and validates candidate harnesses or attributed individual component updates, leaving safety analysis of cross-component update interactions largely unexamined. To address this gap, we study compositional safety failures in harness evolution, where interactions among individually safe and utility-preserving component updates can produce undesirable or unsafe agent behavior, revealing a safety risk intrinsic to harness evolution. Across three safety-related benchmarks, we identify 43 pairwise and 18 irreducible 3-way compositional safety failures. Conventional solution incurs combinatorial complexity in validating cross-component interactions, leaving the safety checking impractical as the harness evolves. To solve this, we introduced a typed hypergraph that represents component states as nodes and safety-relevant higher-order interactions as hyperedges. When the harness changes, the hypergraph updates only the interaction neighborhood of the changed states rather than reconstructing the global composition space. Building on that, we develop a hypergraph-guided runtime monitoring mechanism. Experiments show that our method effectively mitigates compositional safety risks while preserving task utility and reducing interaction-checking costs, and further reveal an empirical safety-utility-cost trade-off across different safety mechanisms.