arXiv:2608.23282cs.SEAug 2026

Manuscript Offprint

arXiv:2608.23282

From Natural Language Policies to Executable Obligations: A Verification Harness for Dependable In-Car LLM Agents

Radouane Bouchekir, Damir Safin, Tomas Bueno Momcilovic

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

Abstract

Large Language Models (LLMs) agents deployed in vehicles must satisfy a written operating policy on every turn: a single hallucinated identifier, omitted mandatory side-effect, or premature completion claim fails the task. We present AgentGuardUtil, our entry to CAR-bench Track 1, which treats the AI planer (LLM) as a fallible proposer inside a grounded verify-and-revise loop. Its core novelty is a runtime policy compiler: the natural-language policy shipped with each conversation is compiled, once per policy, into typed machine-checkable rules, a subset of which receive an executable form. A deterministic obligation engine interprets these rules against live tool results and the simulated post-write state of the draft itself, emitting the exact remedial calls with computed arguments rather than natural-language reminders. Around this engine, 25 deterministic gates (identifier provenance, schema and enum validity, gather-before-act, confirmation and future-time protocols) and an LLM critic produce tiered findings that drive a bounded revision loop tuned for the Pass k^{k} metric.

1 Introduction

LLM-based agents are moving rapidly from research prototypes into products that act on the physical world. In-vehicle voice assistants are an exemplary setting: the agent controls windows, climate, lighting, navigation, charging, and communication on behalf of a driver whose attention is limited, under a manufacturer policy that encodes safety and interaction rules. Therefore, the most impactful scenario involving an unreliable agent is an autonomous action (e.g., a wrong interpretation of a speed limits) that leads to a safety incident (e.g., crash into another vehicle) - far more than a lower benchmark point.

The conditions under which current AI agents are evaluated differ substantially from those encountered in deployment. In operational settings, user requests are frequently incomplete or ambiguous, requiring agents to either infer missing information or request clarification. Necessary tools, parameters, or external resources may be unavailable, making it essential for agents to acknowledge these limitations rather than fabricate outcomes. In addition, deployment environments impose domain-specific policies that regulate how tasks may be performed, including preconditions, mandatory side effects, confirmation requirements, and disclosure obligations. CAR-bench [4] captures these deployment challenges in the in-car domain. The benchmark evaluates ambiguity resolution (disambiguation), admitting unavailable capabilities (hallucination), and policy-compliant execution (base), using conjunctive success criteria over environment state, tool execution, policy compliance, and task termination.

In this paper we present AgentGuardUtil, our submission to CAR-bench Track 1 1^{1}. The design rests on two complementary principles (see Fig. 1). First, a student–teacher decomposition separates proposal from approval: the LLM (student) only proposes actions, while a verification harness (teacher) reviews each draft, returns concrete findings, and re-verifies the revision before any action reaches the agent (simulated driver). Second, the interaction between the two follows an assume–guarantee discipline in the spirit of compositional verification [2]: the verification harness assumes only that the student is a capable but fallible proposer, and carries the guarantee (i.e. policy compliance, grounding in observed data, and policy adherence) through deterministic checks compiled from the conversation’s own artifacts (policy text, tool schemas, observations), independently of the student’s behavior. At the first turn, the natural-language policy is compiled into typed machine-checkable rules, part of which receive an executable form. On every draft action, a deterministic obligation engine evaluates these rules against live tool results and the simulated post-write state of the draft itself, computing the exact remedial calls the policy requires; 25 further deterministic gates enforce identifier provenance, schema validity, and interaction protocols, and an LLM critic adjudicates the uncertain findings. Surviving findings drive a bounded revise-and-recheck loop before anything reaches the simulated driver. The main contributions of this work are summarized as follows: (i) Runtime policy compiler producing typed rules with an executable sub-language, cached per policy hash (§2.2); (ii) Deterministic obligation engine that evaluates executable rules on a projection of the environment state, including simulation of the draft’s own writes, and emits exact remedial tool calls (§2.3); (iii) Tiered verification loop combining deterministic gates

1^{1}https://car-bench.github.io/car-bench/index.html

Agent under test

Figure

Figure 1: Overview of AgentGuardUtil architecture and one verified turn. A student LLM proposes; a deterministic teacher disposes. The policy is compiled once into executable rules (1). Each draft action (2) passes one verification step: deterministic gates, including the obligation engine, emit hard findings, and an LLM critic may only confirm or discard advisory candidates (3). If the tiered list F(a)F(a) is non-empty, the draft returns to the student for revision, ≤R\leq R rounds; if empty, verified writes reach the environment and the reply reaches the simulated drive. Under the assume–guarantee reading, the student is assumed only capable-but-fallible; every arrow leaving the teacher carries the guarantee.

with an LLM critic ( §2.4§2.4). The design composes chain-of-verification prompting [3] and self-consistency [1], but moves the decisive checks out of the model and into code that the model cannot hallucinate around;