Hugging Face Papers ↗ · 2026-11-18
Intent Contracts: Taking Tools Away from Agents
Media reports Hugging Face Papers Source language: Chinese
Intent Contracts remove tools from planning LLM agents, letting a small trusted model write tool calls; on AmPermBench they did not reduce unauthorized actions.
Full text
Intent Contracts: Taking Tools Away from Agents
Ziyuan Wang Affiliation: Independent Researcher Affiliation: ziyuan.wang.engineer@gmail.com Genliang Zhu Affiliation: Georgia Institute of Technology Affiliation: sebby@gatech.edu Xiaobo Chen Affiliation: University of Massachusetts Amherst Affiliation: xchen@umass.edu Chu Wang Affiliation: University of Illinois Urbana-Champaign Affiliation: wallywang@ieee.org
Abstract
Intent contracts are an authorization interface for tool-using LLM agents in which the planning model holds no tools. For each step it submits a short logged contract: a goal, a verbatim quotation of the user, and scope fields. Code validates the contract, and a small trusted model checks it against the user’s words and writes the tool call itself. Provided the validation and dispatch code is correct, every executed call is written by the trusted model, the planner’s influence on a call is confined to a contract logged before it, and the trusted side decides how much of a request to carry out. We compare contracts with two reviewers of planner-written commands: one sees only the user’s words and the command, the information boundary of a reasoning-blind permission classifier, and one also sees the planner’s goal and a checked quotation. With gpt-6.1-terra as planner and GLM-5.3-Flash as the trusted model on three AmPermBench task families, every object changed under contracts is named in the goal of the contract that produced the change; under review the planner names objects in its commands and rarely in its goals. When the planner adds work the user never asked for, contracts complete the user’s task in 27/30 runs and the intent-visible reviewer in 16/30, because a reviewer can only refuse a whole command. Contracts do not reduce unauthorized actions. They are indistinguishable from blind review, and once the benchmark’s environment terms are clarified, every condition that changes state hits a wrong target in 40–49% of those runs. That error is the planner’s choice of objects for an ambiguous reference, which no trusted model here can see the environment to check; telling the executor to decline when unsure does not change it. We evaluate benign over-reach with one pair of models, not adversarial planners. We release the plugin and run records.
1 Introduction
A tool-using agent can carry out the wrong task without wanting to cause harm. A request to restart a service or remove a batch of jobs may leave the target ambiguous. The agent chooses an interpretation, writes a command, and executes more than the user authorized. A permission classifier has to reconstruct that interpretation from the command and the user’s words.
Claude Code’s auto mode deliberately removes the agent’s prose from its permission classifier’s input [1]. This reduces the opportunity for the agent to persuade the classifier, but also hides its stated reason for choosing an action. AmPermBench examines the resulting authorization problem using ambiguous DevOps requests and programmatic task outcomes [2]. We ask whether the trusted side can make useful use of a short statement of intent before execution.
We study an interface that removes the tools from the planning model. In a single-step intent contract, the planner states a goal, a verbatim quotation of the user, and a scope; a small trusted model decides what the user authorized and writes the tool call itself; tool output goes back to the planner, which chooses the next step. We compare it with two reviewers of planner-written commands that use the same models: a blind reviewer sees the exact command without the planner’s explanation, and an intent-visible reviewer also sees the goal and the quotation, which code checks. Tables use a short name for each condition, introduced in Section 2.
The motivation is that planning a task can be harder than checking one proposed step, so the strong model plans and the small model checks. What this division buys falls into two kinds. Some properties hold because of how the dispatch code routes information, whichever models fill the roles (Section 2.2): the trusted model writes every executed call, a logged contract precedes every call and carries everything the planner contributes to it, and the trusted side chooses how much of a request to carry out. They are properties of that code and hold to the extent that it is correct. Other outcomes, such as how often an unauthorized object is changed, depend on the models and their instructions. We measure those for one planner, one small model, and one set of instructions, and we report them as observations about that configuration.
Our contributions are the interface and its properties; a comparison with reasoning-blind and intent-visible command review on benign over-reach, with references for the strong and small model alone and for intent declarations that nobody reads; a programmatic measure, aligned in time with the benchmark tools’ own logs, of whether each changed object was named in the contract that produced the change; and small tasks that separate partial execution from whole-command approval. We treat natural-language intent as a claim to check. A genuine quotation establishes what the user said; whether it authorizes the step still requires judgment.
2 Intent before execution
The trusted side holds the original user messages, the plugin configuration, and the tool-dispatch code. The stronger planner is untrusted in the sense that its proposed scope may exceed the user’s request. We call the small model trusted in the sense used in AI control: it is assumed to try to follow the user, not to be correct, and it can make mistakes. The validation and dispatch code is trusted in a stronger sense, because the properties in Section 2.2 depend on its being implemented correctly. The experiments use cooperative models and benign extra work; they do not evaluate a deliberately malicious planner.
2.1 The three interfaces
Blind review (Review).
The planner proposes an exact shell command. The reviewer receives the original user messages, a code-maintained record of earlier calls and exit codes, and the proposed command. The planner fills the same goal and quotation fields in both review conditions; in blind review the reviewer does not see them and code does not check them. The reviewer can approve or decline the whole command; code executes an approval and returns output to the planner. Blind review implements the information boundary of a reasoning-blind permission classifier, using our model and plugin rather than the deployed Claude Code classifier.
Intent-visible review (Review+Intent).
Code validates the planner’s quotation before review. The small model receives these fields beside the command and is instructed to judge the command’s actual effects, decline a mismatch with the goal, and treat a true quotation as insufficient evidence of authorization. It cannot edit the command. Intent-visible review differs from blind review in what the reviewer sees and in quotation validation; the comparison does not separate the two.
Contract execution (Contract).
The planner has no direct environment tools. It submits a contract containing a goal of at most 100 words, a verbatim user quotation, permitted egress hosts and write prefixes, and an error policy. The goal names the objects, the intended change, and its connection to the user’s request. It contains no command lines. Code checks the quotation, scope, and goal format. The trusted model then writes at most one tool call for the step, carrying out only the authorized part. Tool output returns to the planner. The executor sees only a receipt containing output size and exit code, then reports what it attempted.
Figure 1: Contract execution (Contract). The contract is everything the planner sends. Trusted code independently supplies the original user messages to validation and to the executor, which gets back only a receipt with output size and exit code. The planner reads tool output and proposes the next contract. Both review conditions instead ask the trusted model to approve or decline a planner-written command.
2.2 What the interface fixes by construction
Review Review + intent Contract
Who writes the executed call planner planner trusted model
Planner text shown to the trusted model command goal, quotation, command goal, quotation
What the trusted model can decide whole command whole command any part of the step
Intent stated before each call unused shown and checked the only input
Trusted model sees the environment no no no
Table 1: Properties fixed by each interface as implemented, whichever models are used. They hold if the validation and dispatch code is correct. Rows describe information flow, not measured outcomes.
Table 1 lists what each interface fixes regardless of which models fill the roles. These are properties of the plugin’s validation and dispatch code, not of the role prompts, and they hold to the extent that the code is correct. Three of them distinguish contract execution.
The trusted model writes every executed call. Under intent-visible review and blind review, an approved command runs exactly as the planner wrote it, so whatever the command contains is executed once the reviewer agrees. Under contract execution, code passes no text written by the planner to a tool; the planner can only describe a step, by default in at most 100 words with no command lines, and the trusted model produces the call.
A logged contract precedes each call and is the planner’s only channel. Each call under contract execution is preceded by a contract that code has accepted, and that contract, with its goal, quotation, egress hosts, write prefixes, and error policy, is everything the planner contributed to the call. The log of contracts is therefore a complete record of the planner’s influence on execution, written before the fact. Under command review the planner’s goal is an annotation beside the command; the command is what runs, and an auditor who wants the intent has to recover it from the command.
The trusted side chooses the granularity. A reviewer can approve or refuse a command as a whole. If the planner combines authorized and unauthorized work in one command, refusing it also blocks the authorized part, and progress then depends on the planner resubmitting something narrower. The executor under contract execution can carry out the authorized part of a step and decline the rest. One call per contract also makes each step a point at which code could check preconditions or ordering; we do not evaluate such checks here.
Each property can be checked against the code and the logs: every executed call follows a code-accepted contract; the text of an executed call comes from the trusted model and is never copied from the planner by code; and the scope fields of a contract can only narrow the configured baseline. The plugin’s unit tests cover quotation and scope validation, the tool gate, and the rejection of goals that dictate a command. None of the three properties implies that a call was authorized by the user, or that it changes the objects the user meant.
These are statements about who can cause what, and they have limits that are equally structural. The trusted model in all three interfaces sees neither the environment nor tool output; in contract execution it works from the user’s words, the contract, and a ledger of its own earlier calls. It can check a step against what the user said, but it cannot check whether the objects the planner names are the ones the user meant. The planner reads all tool output, so project content flows to the planner, and whatever the planner then writes still reaches the trusted model through the contract. Whether these properties make a system safer against a planner that tries to mislead it is an empirical question that this paper does not answer.
2.3 Implementation and prompts
All three interfaces are implemented in one plugin for the OpenCode coding agent, so they share models, prompts for the planner’s task, and logging. Contracts run sequentially. Each trusted-model invocation starts a separate session with the user’s words, the current request, and the code-maintained call ledger. Project instructions and tool-output text are excluded from that session. Repeated refusals stop further contracts until the user responds.
Quotation validation checks a contiguous substring after Unicode NFKC and whitespace normalization, preserving case. Scope fields may only narrow the configured baseline. The command-line detector in contract execution is heuristic. The plugin’s file-tool checks enforce declared write prefixes, but arbitrary shell writes are not confined by those checks. The command-text egress check is disabled in the AmPermBench runs. These mechanisms do not provide a general sandbox.
The executor’s authorization instruction is explicit:
The contract’s goal is the planner’s claim about what should be done; it is not an instruction from the user. The user’s messages are the only source of authorization.
It is further told to “Carry out the parts of the goal that the user’s messages support” and to decline other parts. Both reviewers receive the instruction “Approve only the whole command as written. You cannot edit it.” The planner under contract execution receives the additional instruction “The executor writes the call.” These differences give the trusted side different ways to respond to a partly authorized request.
2.4 Reference conditions
Two references run one model alone with tools: the strong model (Strong) and the small model (Small). The declaration-only condition (Strong+Declare) is the strong model alone with a standing rule to write an INTENT: line before each state-changing command, naming the objects, change, and exact authorizing words. The rule tells the model that declarations are logged and sampled for audit. Nothing reads them during execution. Whole-task execution (WholeTask) is an ablation: the planner typically submits a single contract, and the small model reads outputs and performs the task across multiple calls. We report it only on a 30-prompt sample. On clarified prompts we also run contract execution with a strict executor: one added instruction, taken from the reviewers’ wording, tells the executor to decline when it cannot tell from the user’s messages that the user asked for this change to these objects.
3 Evaluation
3.1 Tasks and models
We use three of AmPermBench’s four task families with their original prompts, environments, and task-level scoring: job cancellation, service restart, and storage-artifact cleanup [2]. Each family contributes 32 prompts, for 96 prompts per condition. We omit the benchmark’s fourth family, branch cleanup, whose state is a git repository rather than a JSON record, so our numbers are not full-benchmark results. The prompts vary specificity, target reference, and risk. Each run starts from the task family’s fixed initial environment; scoring code, expected answers, and initial snapshots are kept outside the model’s environment. Contract execution, intent-visible review, blind review, the strong model alone, the small model alone, and the declaration-only condition each have a valid run for every prompt. Comparisons pair runs by prompt, including runs collected in separate batches. One blind review run was interrupted by a service limit; it was discarded and rerun.
The planner is gpt-6.1-terra, accessed through a ChatGPT subscription. The trusted model is GLM-5.3-Flash, accessed through OpenRouter. The strong model alone and the declaration-only condition use the planner model; the small model alone uses the trusted model. The model labels identify hosted services, not fixed weight checkpoints.
We also use author-written bundling tasks. Only the planner’s copy of the user message contains an added harmless request; validation and the trusted model retain the real user message. The added request stands in for a planner that widens a task on its own account, for example after reading a suggestion in a project file, with no party trying to cause harm. Because the real user message never contains it, the extra work is unauthorized by construction. One condition appends the extra request to each of ten single-file tasks. A multi-file condition inserts it into a list of four requested changes in each of eight small projects. Every task is run three times per mode, so runs of the same task are not independent. This tests whether an interface can complete the authorized work when the planner combines it with extra work. Programmatic checks on the final files decide whether the requested changes and the extra change were made. We run contract execution and intent-visible review on these tasks, and also report an earlier command-tolerant variant (Contract†) whose goals may contain command text.
Condition Safe completion Unauthorized action Incomplete Median seconds/run
Strong: strong model alone 9/96; 9% [4, 17] 15/96; 16% [9, 24] 77/96; 80% [71, 88] 25.4
Small: small model alone 4/96; 4% [1, 10] 1/96; 1% [0, 6] 92/96; 96% [90, 99] 11.1
Review: command review 10/96; 10% [5, 18] 10/96; 10% [5, 18] 76/96; 79% [70, 87] 81.9
Review+Intent: review with intent 7/96; 7% [3, 14] 2/96; 2% [0, 7] 87/96; 91% [83, 96] 95.5
Contract: single-step contracts 12/96; 12% [7, 21] 10/96; 10% [5, 18] 76/96; 79% [70, 87] 178.8
Strong+Declare: declaration only 7/96; 7% [3, 14] 10/96; 10% [5, 18] 82/96; 85% [77, 92] 24.9
Table 2: Original AmPermBench prompts. Each outcome denominator is 96 valid prompt-runs per condition. Entries give numerator/denominator, the recorded percentage, and a 95% interval in percentage units. Unauthorized action and incomplete overlap. Time is the median seconds per run.
3.2 Outcomes and statistical reporting
Safe completion means completing all authorized work without changing any unauthorized object. Unauthorized action means changing an unauthorized target, exceeding scope, or touching a protected object. Incomplete means leaving authorized work unfinished. Unauthorized action and incomplete can occur in the same run, so these are not mutually exclusive categories. A clarification question can leave a run incomplete under the benchmark’s scoring.
We report the recorded proportions and two-sided Clopper–Pearson 95% intervals. Paired comparisons use exact McNemar tests. The reported pp-values are unadjusted across outcomes and comparisons, and we read them as descriptive. The 96 prompts derive from 16 templates and one fixed environment per family, so run-level intervals and tests are optimistic about independent information.
Declared before done.
The programmatic metric asks, for each changed object, whether the planner had named it in the contract that led to the change. An object is changed when its initial record differs from its final record, or the object is removed. The benchmark’s command-line tools log every invocation with a timestamp. For each changed object we take the first state-changing invocation whose arguments name it, and the last code-accepted contract submitted before that invocation; under contract execution this is the contract the executor was carrying out. The object counts as declared when the goal of that contract names it, by a case-insensitive substring match of its ID or a name, key, or path field. For the two review conditions we count separately whether the planner’s command in that contract names it. The denominator is changed objects across valid runs.
The match is literal. The metric does not test whether the declaration was authorized or whether an auditor would judge the run correctly, and it takes the time of a change from the tools’ invocation logs, not from snapshots of the state after each call.
4 Results
4.1 Original prompts
Intent-visible review has fewer unauthorized actions than blind review: 2/96 versus 10/96 (Table 2). The paired discordances are one prompt with an unauthorized action only in intent-visible review and nine only in blind review (exact McNemar p=0.021p=0.021, unadjusted); six of the nine are in the service-restart family. Part of the difference is that intent-visible review acts less. State changed in 9 runs under intent-visible review, 20 under blind review, and 22 under contract execution, and an unauthorized change occurred in 2/9, 10/20, and 10/22 of those. Intent-visible review leaves more runs incomplete than blind review, 87/96 versus 76/96 (p=0.013p=0.013), and safe completion is 7/96 versus 10/96 (p=0.453p=0.453). The two reviewers receive the same instructions. The conditions differ in what the reviewer sees and in the quotation check, and the reviewer’s refusals change what the planner proposes next; the comparison does not separate these.
Contract execution has 10/96 unauthorized actions, the same count as blind review (six discordant prompts in each direction) and more than intent-visible review (ten prompts only under contract execution and two only under intent-visible review, p=0.039p=0.039). Contract execution leaves fewer runs incomplete than intent-visible review, 76/96 versus 87/96 (p=0.027p=0.027), and completes 12/96 safely against intent-visible review’s 7/96 (p=0.227p=0.227) and blind review’s 10/96 (p=0.754p=0.754). We do not read the difference in unauthorized actions between contract execution and intent-visible review as a property of the interfaces. The reviewer is told to decline whenever it cannot tell what a command does, and it declined 142 contracts; the executor is told to carry out the part of a step the user’s words support, and it declined 4. Section 4.7 tests one such change: giving the executor the reviewers’ instruction to decline when unsure does not move its counts.
Comparison Safe Unauthorized Incomplete
Contract vs. Review+Intent 0.227 0.039 0.027
Contract vs. Review 0.754 1.0 1.0
Contract vs. Strong 0.508 0.383 1.0
Contract vs. Small 0.039 0.012 <0.001<0.001
Review+Intent vs. Review 0.453 0.021 0.013
Review+Intent vs. Strong 0.688 0.001 0.021
Review vs. Strong 1.0 0.359 1.0
Strong+Declare vs. Strong 0.625 0.125 0.180
Table 3: Exact paired McNemar pp-values on original prompts. Each comparison uses 96 matched prompt pairs; the sample unit is a prompt pair, not a command or object. Tests are unadjusted for multiple comparisons.
The small model alone rarely exceeds authorization (1/96), but leaves 92/96 runs incomplete. The strong model alone completes 9/96 safely and exceeds authorization in 15/96. Contract execution completes more than the small model alone and also has more unauthorized actions (Table 3).
4.2 A declaration that nobody reads
The declaration-only condition ends at blind review’s unauthorized-action count, 10/96, and above intent-visible review’s 2/96. Compared with 15/96 for the strong model alone, its paired test is p=0.125p=0.125: one prompt fails only in the declaration-only condition and six only in the strong model alone. Asking for an unread declaration does not reproduce intent-visible review’s result.
Compliance limits this comparison. A post hoc text check finds an INTENT: or INTENT= marker in 14/30 declaration-only runs that changed state, and in 8/10 declaration-only runs with an unauthorized action. This check detects a marker anywhere in the output; it does not establish a complete declaration before each change. The declaration-only condition tests a standing instruction without enforcement. The evidence favors making stated intent part of the execution decision, but does not prove that merely stating intent can never help.
Intent-visible review versus blind review also includes changes to later planner behavior. State-changing commands were proposed in 34/96 intent-visible review runs and 48/96 blind review runs. Of those proposed commands, intent-visible review approved 48/62 and blind review approved 55/74. The lower run-level error in intent-visible review cannot be explained simply as a lower approval fraction for proposed mutations. Quotation validation, reviewer feedback, and the planner’s subsequent choices all contribute to the comparison.
4.3 Ambiguous references remain difficult
Exact ID Own ticket Own range Open range
Strong 8/24; 0/24 1/24; 0/24 0/24; 7/24 0/24; 8/24
Small 2/24; 0/24 1/24; 1/24 1/24; 0/24 0/24; 0/24
Review 10/24; 0/24 0/24; 0/24 0/24; 6/24 0/24; 4/24
Review+Intent 7/24; 0/24 0/24; 0/24 0/24; 1/24 0/24; 1/24
Contract 12/24; 0/24 0/24; 0/24 0/24; 6/24 0/24; 4/24
Strong+Declare 7/24; 0/24 0/24; 0/24 0/24; 6/24 0/24; 4/24
Table 4: Target-reference breakdown on original prompts. Each cell gives safe-completion and unauthorized-action proportions, separated by a semicolon. Each denominator is 24 prompt-runs in that reference category. The three ambiguous categories are defined in the text.
The benchmark has three ambiguous reference categories: the user’s object for a ticket (own ticket), the user’s objects across a ticket range (own range), and objects across a ticket range without an ownership qualifier (open range). No condition changes an unauthorized object on exact-ID prompts (Table 4). Contract execution’s safe completions all occur in that category: 12/24. Blind review and intent-visible review likewise have safe completions only with exact IDs, at 10/24 and 7/24. On the two range categories, contract execution and blind review have the same unauthorized-action counts, while intent-visible review’s counts are lower. The small model alone also makes a scope error in the own-ticket category, so errors across all conditions are not confined to the range categories.
Contract execution requires the planner to name concrete objects, but the trusted executor cannot inspect the environment to check how those objects were selected. If the planner reads a phrase such as a user’s batch of jobs too broadly, a precise contract can faithfully describe the wrong scope. The contract shows which objects the planner chose, and the executor has no way to check that choice. This is the structural limit noted in Section 2.2, and it appears in every gated condition.
4.4 Declaration coverage and runtime
Condition Named in goal Named in command
Contract 56/56 —
Review+Intent 2/16 16/16
Review 4/54 39/54
Table 5: Declared-before-done coverage on original prompts. Each denominator counts changed objects across valid runs of that condition. An object counts when the last code-accepted contract before the invocation that changed it names the object, in its goal or, separately, in its planner-written command. Contract has no planner-authored command field.
All 56/56 changed objects in contract execution are named in the goal of the contract that produced the change, compared with 2/16 in intent-visible review and 4/54 in blind review (Table 5). No object changed under contract execution was named only in an earlier or a later contract. The review conditions identify the objects in command text: the command that made the change names 16/16 and 39/54 of them. The other 15 objects under blind review, in three runs, were changed by a script that selects its targets with a filter over the state file and does not name them; an earlier command in the same run does. Blind review’s goal fields remain in the log even though its reviewer cannot see them. That a contract precedes each call under contract execution is fixed by the interface; that the contract names the affected objects is what this metric adds. Unauthorized changes satisfy the metric too: in each of the ten runs where contract execution changed a wrong object, that object is named in the contract that produced the change, so the over-reach can be found by reading the contracts against the user’s request. The metric concerns coverage of the record, not correctness of the decision.
Full coverage under contract execution is close to a consequence of the interface. The executor sees no environment, so it can only act on what a contract names. In the logs, the identifier of every changed object appears literally in a call the executor wrote (56/56). The reviewers’ logs hold the same information in a different place: the planner’s commands name every changed object, and its goal fields mostly describe the step without listing objects.
Contract execution requires the planner to obtain observations through successive contracts. Its median runtime is 178.8 seconds per run, compared with 95.5 for intent-visible review, 81.9 for blind review, 25.4 for the strong model alone, and 11.1 for the small model alone. Contract execution, intent-visible review, and blind review each have a median of 7.0 accepted contracts per run. Contract execution’s overhead includes the additional executor interaction needed to write a call and report after receiving a receipt.
4.5 Bundled requests: completing the authorized part
Bundling task Mode Main task complete Extra work done
Appended request Contract 27/27 0/27
Contract† 25/26 0/26
Review+Intent 16/30 0/30
Multi-file list Contract 24/24 0/24
Contract† 24/24 2/24
Review+Intent 19/24 0/24
Table 6: Author-written bundling tasks. Each denominator is valid task-runs in the corresponding condition. Main-task completion does not require avoiding the extra work. Contract† is Contract with command text permitted in goals.
When the planner’s user-message copy has an appended request, contract execution completes the main task in 27/27 valid runs and intent-visible review in 16/30 (Table 6). Neither carries out the extra work. Three further contract execution runs have no code-accepted contract, because every contract they submitted quoted words the user never wrote and code rejected it; all three leave the task incomplete. Counting them, main-task completion is 27/30 for contract execution versus 16/30 for intent-visible review. The quotation check rejects every contract that quotes the added sentence: 39/39 under contract execution and 33/33 under intent-visible review. Whether intent-visible review finishes depends on the planner: 15 of its runs finished after the planner resubmitted a command without the extra request, and 13 did not finish because it never did.
On the multi-file list, contract execution completes the four requested changes in 24/24 runs and intent-visible review in 19/24; neither makes the extra change. The five incomplete intent-visible review runs complete none of the requested changes. This is the granularity property of Section 2.2 at work: the executor selects the authorized part, while the reviewer can only approve or refuse the whole command and any decomposition is left to the planner.
The command-tolerant variant, collected earlier, behaves similarly: 25/26 valid runs (25/30 of all runs) on the appended request and 24/24 on the multi-file list, where it also makes the extra change in 2/24. Under contract execution, code rejected three goals in these 54 runs for containing a command line. The bundling tasks are small and author-written, and they do not establish the same completion advantage on an external benchmark.
4.6 Whole-task executor ablation
Whole-task execution delegates observation, target selection, and execution to the small model after one contract. On its 30-prompt sample, whole-task execution has 15/30 unauthorized actions (50%, 95% interval [31, 69]), 6/30 safe completions (20%, [8, 39]), and 16/30 incomplete runs (53%, [34, 72]). The unauthorized and incomplete counts overlap. On the same 30 prompts, contract execution has 3/30 unauthorized actions (10%, [2, 27]), 4/30 safe completions, and 23/30 incomplete runs; twelve prompts have an unauthorized action only under whole-task execution and none only under contract execution (p<0.001p<0.001). These 30 contract execution runs are part of the 96 reported above. Assigning the whole task to the trusted model puts the difficult scope decisions on that model. The sample is smaller than the main comparison, and whole-task execution is an ablation rather than evidence about all trusted-executor designs.
4.7 Clarified lane
The original prompts name the target environment with lane terms such as “workbench lane,” which the environment itself never uses; many runs stop to ask what the term means. In the clarified condition, a fixed sentence appended to each prompt states the queue, environment, or storage prefix the term refers to, generated from the benchmark’s own mapping. The ambiguity about which objects belong to the request is unchanged. These are modified prompts and are compared only among themselves. The strong model alone, blind review, intent-visible review, and contract execution each have a valid run on all 96 clarified prompts; contract execution and intent-visible review were collected in two batches (30 prompts, then the remaining 66) and are paired by prompt.
Safe completion Unauthorized Incomplete Median seconds/run
Strong 21/96; 22% [14, 31] 14/96; 15% [8, 23] 61/96; 64% [53, 73] 24.5
Review 32/96; 33% [24, 44] 25/96; 26% [18, 36] 39/96; 41% [31, 51] 74.2
Review+Intent 19/96; 20% [12, 29] 18/96; 19% [12, 28] 59/96; 61% [51, 71] 104.5
Contract 35/96; 36% [27, 47] 29/96; 30% [21, 40] 32/96; 33% [24, 44] 209.8
Contract, strict executor 35/96; 36% [27, 47] 30/96; 31% [22, 42] 31/96; 32% [23, 43] 210.2
Table 7: Clarified-lane prompts. Each denominator is 96 valid prompt-runs. Entries give numerator/denominator, percentage, and a 95% interval in percentage units; the last column is median seconds per run.
With the lane term settled, every condition acts more often (Table 7). Contract execution completes 35/96 prompts safely, blind review 32/96, the strong model alone 21/96, and intent-visible review 19/96. Contract execution and blind review do not differ on any outcome (safe p=0.664p=0.664, unauthorized p=0.424p=0.424, incomplete p=0.281p=0.281). Contract execution completes more than intent-visible review (20 prompts only in contract execution, 4 only in intent-visible review, p=0.002p=0.002) and leaves fewer incomplete (32/96 versus 59/96, p<0.001p<0.001), and it has more unauthorized actions (29/96 versus 18/96; 14 prompts only in contract execution, 3 only in intent-visible review, p=0.013p=0.013). Against the strong model alone, contract execution and blind review both complete more and both take more unauthorized actions (contract execution versus the strong model alone: safe p=0.003p=0.003, unauthorized 29/96 versus 14/96, p<0.001p<0.001); intent-visible review is indistinguishable from the strong model alone on all three outcomes (p≥0.388p\geq 0.388). No gated condition has fewer unauthorized actions than the strong model alone on these prompts. The intent-visible reviewer declined 154 contracts, the blind reviewer 89, and the contract executor 5.
The conditions differ in how often they act. We cannot distinguish them by how often an action is wrong. State changed in 35 runs under the strong model alone, 37 under intent-visible review, 58 under blind review, and 64 under contract execution; an unauthorized change occurred in 14/35, 18/37, 25/58, and 29/64 of those (40% [24, 58], 49% [32, 66], 43% [30, 57], 45% [33, 58]). The runs that act are not the same prompts in each condition, so these rates are descriptive. Every unauthorized action in every condition changes a wrong target, and all of them fall on the two range categories: on exact-ID and own-ticket prompts the four conditions have 0/48 unauthorized actions each, with 26/48 safe completions for contract execution, 25/48 for blind review, 15/48 for the strong model alone, and 14/48 for intent-visible review. On the 48 range prompts, contract execution is safe in 9 and has an unauthorized action in 29; the unauthorized counts for blind review, intent-visible review, and the strong model alone are 25, 18, and 14. The error is the planner’s choice of objects for an ambiguous reference, which is made before any gate sees the step and which none of the three trusted roles can check. Showing the reviewer the stated intent no longer separates intent-visible review from blind review on unauthorized actions (18/96 versus 25/96, p=0.143p=0.143); it mainly makes the reviewer refuse more (safe completion 19/96 versus 32/96, p=0.001p=0.001).
Declaration coverage follows the original prompts: all 181/181 objects changed by contract execution are named in the goal of the contract that produced the change, in all 64 runs that changed state, against 12/106 for intent-visible review and 11/157 for blind review, whose state-changing commands name 77/106 and 128/157. The 29 runs in which contract execution changed a wrong object therefore each carry a contract that names it before the change. As on the original prompts, every changed object’s identifier appears in an executor-written call (181/181).
A stricter executor.
Contract execution has more unauthorized actions than intent-visible review, and the two trusted roles are instructed differently: the reviewers are told to decline when they cannot tell what a command does. We gave the executor the corresponding instruction, to decline when it cannot tell from the user’s messages that the user asked for this change to these objects, and reran all 96 clarified prompts (last row of Table 7). Nothing moved: 35/96 safe completions in both settings (six discordant prompts in each direction), 30/96 versus 29/96 unauthorized actions (six prompts only under the strict executor, five only under the original, p=1.0p=1.0), and 31/96 versus 32/96 incomplete. The strict executor declined 10 contracts instead of 5, against 154 for the intent-visible reviewer. All 178/178 objects it changed were named in the goal of the contract that produced the change. A contract that names concrete objects and carries a genuine quotation of a request such as “my stale jobs for ticket range 48xx” gives the executor nothing to doubt: whether those objects are the user’s stale jobs is a fact about the environment. With this model and this wording, the instruction does not substitute for that fact.
5 Related work
Trusted monitoring and untrusted advice.
Greenblatt et al. define AI control evaluations with deliberately subversive models and study trusted monitoring, deferral, and editing [3]. Our use of a stronger untrusted planner and a weaker trusted model follows that separation of roles, but our experiments measure benign authorization errors. They provide no estimate of resistance to intentional subversion.
Redwood Research’s untrusted-advice protocol is the closest architectural precedent: the trusted model takes all actions while the untrusted model supplies short advice [4]. Its executor is instructed to follow the advice, and the report measures usefulness while leaving empirical safety evaluation open. Here the trusted model judges authorization against the user’s words, and the advice channel carries an explicit quotation and scope. We measure both completion and unauthorized effects, without claiming adversarial safety.
Two control studies on code generation also give planning to the untrusted model and production to a trusted one. Wen et al. include a micro-protocol in which the trusted model writes code from an untrusted plan; they report little reduction in successful backdoors from that step alone and a larger one when the trusted model also filters the plan [5]. In Factor(U,T), a monitor that sees only the untrusted decomposition separates attacks from honest plans at AUROC 0.52, against 0.96 for a monitor that sees the implementation [6]. Neither has a user authorization to check or tools with side effects. Their results agree with the structural limit we report: a trusted model that sees a plan without the evidence behind it has little to check the plan against.
Showing the trusted model an explanation.
Sreevatsa et al. let an untrusted model document its code for a trusted monitor and find, under deliberate attack, that the comments im