arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.11552

Safe, Persistent, and Evolving Agent Harness for Understanding Partially Observable Worlds

Yisen Gao, Yue Guo, Qing Zong, Yiwen Guo, Yangqiu Song

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

ABSTRACT

Large language model agents can invoke tools fluently, but enterprise workflows demand more than selecting the right tools: actions must strictly comply with organizational policies, tool feedback often conceals hidden side effects under partial observability, and long-horizon tasks require persistent state tracking across multiple records. To address these challenges, we introduce E-Ledger, a multi-agent harness for safe and persistent execution. E-Ledger employs a code approval layer that checks every proposed action against policy before execution, and maintains a world ledger of verified hidden rules alongside evidence-backed dynamic state. Because hidden rules are typically unknown a priori, we further propose WorldAbduct, an abductive, world-model-driven harness evolution framework. WorldAbduct diagnoses execution trajectories across four complementary views (state consistency, world-observation gap, policy-gate correctness, and goal judgment) to hypothesize latent rules, and verifies them through targeted abductive interactions before integrating them into the ledger. On the enterprise benchmark World of Workflows, E-Ledger with WorldAbduct improves safe task completion across four LLM backbones, outperforming the strongest evolution baseline by 5–15 percentage points. Experiments in ScienceWorld and DiscoveryWorld further show that abductive harness evolution carries over to scientific environments. Our code is available at https://github.com/HKUST-KnowComp/E-LEDGER-WorldAbduct.

1 INTRODUCTION

Large language model (LLM) agents increasingly complete multi-step tasks through tool use (Li et al., 2026; Xiao et al., 2026; Fan et al., 2025). By invoking APIs, databases, and software interfaces, they retrieve information, update records, and coordinate workflows (Zhang et al., 2025; Du et al., 2024; Bai et al., 2025). Enterprise applications (Nisar, 2025; Prabhakar et al., 2025) extend these capabilities to incident management, employee administration, asset operations, and knowledge-base maintenance.

Enterprise workflows pose three interrelated challenges. First, actions are governed by strict policies, permissions, and approval requirements, so a locally plausible action may still be impermissible. Whether an action is safe depends on record states, user permissions, and approval prerequisites. Second, the environment is only partially observable: tool responses reveal an interaction surface rather than the full transition dynamics, including hidden, cross-record, or delayed effects. Thus, a successful response does not necessarily confirm the resulting state, nor does an omitted field imply that it is absent or unchanged. Third, tasks require long-horizon state tracking across multiple objects, reads, and writes. Losing confirmed facts or outstanding subgoals can lead to repeated queries, incorrect actions, or premature termination. These challenges interact: in Fig. 1, a hidden priority change after assigning an asset to Alice makes a subsequent transfer violate policy. Safe execution therefore requires both persistent state tracking and knowledge of hidden transitions.

∗^{*}Yiwen Guo is the corresponding author.

Figure

Figure 1: An enterprise workflow illustrating how hidden asset-priority changes can make an otherwise plausible transfer violate policy.

Directly deploying an agent in such enterprise environments remains unreliable. Previous work (Gupta et al., 2026) finds that agents often achieve low task-completion and safe-execution rates in enterprise environments: they not only fail to reach the requested end state, but can also violate constraints while attempting to do so. At the same time, agent harnesses (Lee et al., 2026; Yao et al., 2026; Meng et al., 2026) have emerged as a promising way to augment a base agent with structured guidance, persistent state maintenance, verification, and control around its tool calls. Code-based harnesses (Bai et al., 2026; Lin et al., 2026; Ning et al., 2026) further make environment reasoning and execution control explicit and executable, so that constraints are enforced by code rather than by the model's own reasoning. For enterprise agents, this suggests combining policy checks with persistent state maintenance. However, even a correctly implemented check is only as good as the state it receives: an unobserved side effect can make that state stale and an apparently compliant action unsafe. A harness must therefore also learn the world that lies behind the tool interface.

We introduce E-LEDGER, a safe and persistent harness that separates runtime control from environment-specific knowledge. It compiles known organizational policies into code and routes every proposed action through pre-execution approval. The code can permit an action, request evidence or an approval prerequisite, or block execution, so the model cannot bypass a known policy through its own reasoning. A complementary world ledger maintains static world knowledge of hidden rules and side effects, alongside dynamic world state recording evidence-backed changes to task-relevant entities and goals. Together, these layers make constraints, learned dynamics, and execution progress available throughout the workflow.

Much of this static knowledge, however, is unknown in advance. An action’s hidden effect may only become visible several steps later, when the observed state or outcome contradicts expectations. The agent must then identify the earlier trigger and decide whether the effect reflects a stable rule or an isolated event. Reliable attribution is essential for turning trajectories into reusable knowledge, especially when several actions could explain the same outcome.

To address these challenges, we propose WorldAbduct, a world-model-driven evolution strategy that uses abductive reasoning to recover hidden environment rules and improve E-LEDGER. The evolution process diagnoses execution trajectories from four complementary perspectives. State consistency keeps state predictions and the dynamic ledger aligned with observable tool feedback, helping the agent fit the part of the world it can directly observe. World-observation-gap analysis then focuses on the unobservable part of the world and seeks to recover hidden effects that are absent from the tool interface. Policy-gate correctness improves the enforcement of known constraints, while goal judgment helps the agent distinguish successful completion from premature termination.

The outputs of these four perspectives are then divided into two types: direct modifications to the harness, and hypotheses about hidden rules that require further validation. A dedicated abduction agent receives the latter hypotheses and designs targeted interactions to verify or revise them; only supported rules enter the static world layer. Our method achieves the highest safe task completion rate on the enterprise workflow benchmark WOW (Gupta et al., 2026) across four LLM backbones, and also performs strongly in the scientific discovery environments ScienceWorld (Wang et al., 2022) and DiscoveryWorld (Jansen et al., 2024). Our contributions can be summarized as:

• We introduce E-LEDGER, a safe and persistent enterprise agent harness that combines code-based policy enforcement with a world ledger layer that maintains static knowledge of hidden rules and dynamic state for task-relevant information.

• We propose WorldAbduct, a world-model-driven evolution method that uses four diagnostic views to fit the observable world and hypothesize unobservable hidden rules, then validates these hypotheses through abductive interaction to build a reusable world model.

• Experiments on the enterprise benchmark WOW show substantial improvements in both task completion and safety, and results on ScienceWorld and DiscoveryWorld show that the approach extends beyond enterprise workflows.

References (7)

  • Do not switch credentials or invent privileges
  • Select state_tracking_agent_prompt and specify the paths and value formats downstream policy requires
  • Never reuse an ID from the source trajectory or proposal
  • A convenience read that omits the value is unknown, never false or unchanged
  • create or establish the target state, read the field before, apply the trigger, then read the field after
  • Prefer a small control/treatment comparison and consider transient causes such as delayed processing or stale read-back before claiming a stable rule
  • A ThinkStation S20 submitted at 12000 is stored as 14300