arXiv:2610.24483cs.CLOct 2026

Manuscript Offprint

arXiv:2610.24483

Write Once, Check Many: Reusable Ledgers for Post-Hoc Policy Compliance Auditing of Agent Trajectories

Ashwin Nagarajan, Gursimran Panesar, Alicia Yang, Mona T. Diab, Virginia Smith, Aashiq Muhamed

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

Abstract

Auditing LLM agents against policies is critical to ensure safety but requires rereading long trajectories once per policy. Can we instead record each trajectory once and reuse that record for policies not known in advance? We propose write once, check many, a framework in which a writer model converts each agent trajectory into a policy-independent ledger of the agent's actions and outcomes. A reader then checks each new policy against the ledger alone, without access to the original trajectory. On 900 trajectories from SHADE-Arena, τ\tau-bench, and τ2\tau^{2}-bench, we show that a 12B reader of narrative ledgers can either match or in fact achieve higher AUC than the same 12B model reading full trajectories. On SHADE-Arena policies that combine several facts, our approach outperforms a 31B model reading the trajectory (.777 vs. .713 AUC). When checking eight SHADE-Arena policies separately, ledgers use about 5×5 \times fewer tokens, including the cost of writing them. A deeper analysis shows that rule-based extraction performs better on some single-action policies, and ledgers can miss evidence in long tool outputs and message contents. Our results suggest that reusable, policy-independent records can make retrospective agent auditing more efficient and effective, and highlight important considerations in ledger design.

1 Introduction

LLM agents now carry out long tasks with many tool calls, such as managing email and calendars, booking travel, moving money, and editing records. An agent can finish its assigned task while also doing something it should not (Kutasov et al., 2025; Kale et al., 2026), so deployments use LLM monitors to review agent trajectories (Greenblatt et al., 2024). After an incident or a rule change, an organization may need to check trajectories it has already stored against a new rule, for example whether any agent emailed an address the user never mentioned. We call such a rule a policy, a natural-language statement of what an agent may do, checked after the fact (Wen et al., 2026).

Existing approaches are not built for this setting. Monitors in AI control and sabotage benchmarks read the full trajectory to answer one fixed question (Greenblatt et al., 2024; Kutasov et al., 2025), so applying them to a new policy means rereading every stored trajectory, often tens of thousands of tokens each. Policy-aware guardrails accept natural-language policies but check each one against the trajectory itself (Hoover et al., 2026; Jiang et al., 2026), and systems that compile policies into code or rules need policies that can be checked mechanically (Xiang et al., 2025; Wang et al., 2026a). Task-agnostic prompt compression shortens a trajectory before the question is known, but it is not designed to keep the recipients, amounts, and files that policy checks depend on (Pan et al., 2024).

We study a cheaper alternative, which we call write once, check many (Figure 1). A writer model reads each trajectory once, without seeing any policy, and writes a ledger (Yang et al., 2026), a factual record of what happened; the writer is instructed to include no judgments or overall verdict. Later, a reader model receives one policy and the stored ledger, but not the raw trajectory, and returns a verdict and a suspicion score from 1 to 10. We test when checking a ledger is more accurate than rereading the trajectory, what a ledger needs to record, and where the approach fails.

We evaluate on real trajectories from SHADE-Arena (Kutasov et al., 2025), τ\tau-bench (Yao et al., 2025), and τ2\tau^{2}-bench (Barres et al., 2026), with four kinds of policies: atomic policies that forbid one action, paraphrases of them without tool names, compositional policies that compare actions with the user's request or add amounts across actions, and contrastive pairs whose two versions have opposite correct verdicts for the same trajectory. We

Figure

Figure 1: Write once, check many. (1) An agent’s stored trajectory. (2) A writer model that never sees a policy turns it once into a short ledger of facts. (3) As new policies arrive, a reader model checks each against the ledger instead of rereading the trajectory. Checking eight SHADE-Arena policies separately, without caching, takes 4.9×4.9 \times fewer tokens than rereading (measured writer and reader costs, 12B models). Example text is shortened.

group the policies by benchmark and type into policy sets ( §3.4§3.4).

Our contributions include: 1^{1}

• A benchmark for checking stored trajectories against new policies ( §3.4§3.4). We build atomic, paraphrased, and compositional policy sets and contrastive policy pairs over real trajectories from three agent benchmarks, with labels computed by script and never shown to any writer.

• Evidence that a ledger written once can stand in for rereading ( §4.2§4.2). A 12B reader of narrative ledgers matches or exceeds the same 12B model reading the full trajectory on all eight policy sets and is significantly more accurate on four, while using far fewer tokens, since later checks read only the short ledger.

• An analysis of what a useful ledger records and where ledgers fail ( §4.3.1§4.3.1, §4.3.3§4.3.3). Useful ledgers keep each action with its recipients, amounts, and files while staying short; they fail on long computer-use outputs, on policies about message content, and when they do not record who took each action.

References (79)