A GHOST in Long-Horizon Agents: Governance Hazard from Overlooked Safety Constraints across Turns
XinPeng Shen, Lan Zhang, Yixiao Huang, Haoran Cheng, Jiewei Lai, Leilei Chen, Haoxiang Deng
Abstract
Long-horizon agents are now playing an increasingly significant role in assisting humans with complex problem-solving. However, it is exactly their extended interaction history that introduces an underexplored execution-safety concern. Under benign interaction conditions, an agent may execute an action that violates a safety constraint specified many turns earlier. We term this failure mode Governance Hazard from Overlooked Safety Constraints across Turns (GHOST), which may cause irreversible damage. Our experiments reveal that GHOST events are not isolated cases: this failure mode, occurring precisely under benign interaction conditions, yields an occurrence rate of 11.5% on GPT-5.5. Furthermore, we theoretically show that if the residual conditional violation hazard along each safe prefix is bounded below by a non-summable sequence, the execution enters the hazard region almost surely. Leveraging this theoretical insight, we further propose STAR-Guard, a two-layer defense coupling historical semantic safety constraint restoration with pre-execution audit. STAR-Guard restores applicable safety constraints to reduce unsafe proposals, while its deterministic audit layer prevents residual violations from reaching the environment. Consistent with this two-layer design, we observe no GHOST events in our experiments under the GPT-5.5 setup.
Create a lesson
Related papers
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.
Runtime Authorization of Self-Generated Subgoals in Long-Horizon Tool-Using AI Agents
Shared title terminologycs.AIGenliang Zhu, Chu Wang
ForkPilot: Self-Evolving Policy for Retrospective Search in Long-Horizon Agents
Shared title terminologycs.AIXinyue Zeng, Shivam Shandilya, Guilherme Potje et al.
MemTrace: State-Consistent Memory for Long-Horizon Coding Agents
Shared title terminologycs.AIHongming Xu, Le Zhou, ZhongHe Jin et al.
Asynchrony Is Nearly Free for Evolution Strategies on Long-Horizon LLM Agentic Tasks
Shared title terminologycs.AIWilliam Hoy, Jingxuan Fan, Nurcin Celik et al.
E2SIM: Long-Horizon Simulation of Everyday Human Behavior with Evolving States
Shared title terminologycs.AIZiwei Gong, Xiangyang Yin, Thai Quoc On et al.