Repository navigation
Proposal: Intent-bound execution assurance for agentic AI systems #240
Replies: 3 comments 2 replies
|
Disclosure: I am the author of Agent Role Contracts (ARC). These are proposed synthetic assessment cases, not results from an executed test or claims about ARC's enforcement. A same-file example could make the distinction concrete without changing the agent's technical permissions: Authorised task: In settings.json, change display_name from “Preview” to “Release”; preserve all other values. The agent technically has write access to the whole file.
Would this work as a small assessment example under the existing controls? It would distinguish a known task violation, insufficient observation, and the harder question of whether the authorised task itself is sufficiently clear. |
|
Should take a look at Praxisidium and see what we have done there and see if it compliments your work. |
|
Strong proposal, and I’d keep it framed the way you have it: an evidence and assessment pattern under #OVERSIGHT and #LEAST MODEL PRIVILEGE, not a new control. Given the overlap with #156, #177, #188 and #202, it would help to converge these into one pattern with shared test cases rather than four parallel ones. Three things I’d add from incident response and red team work: The authoritative task record becomes a target. If an agent, or content it ingests, can propose and effectively approve a scope change, intent binding just notarizes a goal hijack. Write authority over the task record and over scope approvals needs to sit outside the agent’s own action path, and that separation should be an assessed condition. Happy to help draft the positive/negative/inconclusive test cases. suirindo’s settings.json example is a good starting point. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
I would like to propose an addition or cross-reference to the OWASP AI Exchange controls for limiting unwanted behaviour, addressing a distinction that becomes increasingly important in agentic systems: an agent can operate entirely within its authorised capabilities while performing work that was never authorised by the underlying task.
Identity, permissions, tool restrictions, sandboxing and runtime oversight are necessary controls. None, however, necessarily establishes whether the work performed was consistent with what the agent was actually instructed and authorised to accomplish.
I think there is a useful assurance distinction here between what an agent is authorised to do and whether its execution remains consistent with the task it was authorised to undertake.
The problem
Consider an agent authorised to analyse a repository, assess dependencies and produce a security report.
It has legitimate access to the repository, build tools, package registries and reporting systems. During execution, it modifies dependencies, changes test configuration or accesses resources unrelated to the authorised assessment, without those actions being required by the task or approved as changes in scope. Each action may nevertheless be technically permitted by its assigned capabilities.
Conventional access controls may record no violation. Tool invocation logs establish what was called, but not necessarily why the action was taken, whether it was relevant to the authorised objective, or whether it represented an approved change of scope.
The distinction becomes more difficult in long-running, multi-agent systems, where plans evolve, tasks are delegated, dependencies change and execution spans multiple environments.
We need to distinguish between an agent being permitted to perform an action and that action being justified by its authorised task.
Relationship to existing AI Exchange controls
The AI Exchange already recognises intended model behaviour and provides relevant controls, including:
The AI Exchange already recognises task-based privilege minimisation, contextual oversight and validation of model behaviour. I am not suggesting that these controls ignore task intent.
The proposed extension concerns the evidence required to establish conformance across the execution lifecycle: how the authorised task was defined, how material changes and delegations were approved, what actions actually occurred, and which independently verifiable records support the conclusion that execution remained consistent with that authority.
This would make the relationship between authorised intent and observed execution an explicit assurance consideration, rather than relying on permissions, oversight decisions and execution logs being interpreted independently after the event.
The OpenAI August 2026 Hugging Face incident postmortem illustrates a related architectural problem. During internal evaluations, agents exploited shared Artifactory infrastructure to communicate through unauthorised channels and obtain unintended internet access. Following remediation, agents found alternative mechanisms to re-establish those capabilities.
The incident demonstrates that agent security boundaries must account for reachable services, shared state and the behaviour of the broader execution environment. It also illustrates divergence from assigned tasks. However, the narrower concern raised here does not require a containment failure: an agent can remain within its technical permissions while undertaking actions unrelated to its authorised objective.
Proposed addition: Intent-bound execution assurance
I propose recognising intent-bound execution assurance as an explicit assurance objective, potentially implemented as a sub-control or evidence and assessment pattern under existing controls for limiting unwanted behaviour. I am not proposing a new standalone control framework.
The objective would be to establish a verifiable relationship between:
The record should be machine-checkable where practical, with integrity and provenance protections appropriate to the risk.
The proposed assurance objective is distinct from task-based privilege minimisation and cumulative action controls already described under #LEAST MODEL PRIVILEGE. Those mechanisms can constrain which actions are permitted and whether individually acceptable actions collectively violate a policy. They do not necessarily establish whether the actions were undertaken in furtherance of the authorised task.
For consequential actions, an implementation could bind the action and its resulting evidence to an identifiable version of the authorised task, its applicable constraints, and any approved changes in scope. The binding should refer to an authoritative task record rather than treating an agent's own description of its purpose as sufficient authorisation. This would support checks of mechanically enforceable conditions and later assessment of the relationship between declared intent and observed execution.
The distinction between structural and semantic conformance is important. Dependency relationships, permitted resources, required approvals and evidence completeness can often be checked mechanically. Whether an action was necessary, relevant or sufficient to achieve an intended outcome may require contextual assessment or human judgement. The control should record that limitation rather than treating a structurally valid plan or signed evidence record as proof of semantic correctness.
Assessment expectations should include at least four cases: an action that is both permitted and task-relevant; an individually permitted action unrelated to the authorised task; a material change of objective or scope without approval; and an action whose relevance cannot be determined reliably. The last case should yield an explicit unresolved or review-required result, not an unsupported pass. The assessment should also establish that the relevant control was active at the enforcement point, not merely documented.
The assurance process should operate throughout execution, not exclusively after completion. For consequential actions, this may include validating the action against the current authorised objective and constraints before execution, recording the decision, and retaining evidence of the resulting effects.
This is particularly relevant where agent execution is delegated, asynchronous or long-running. A task may begin under valid authority, but subsequent plan changes, delegated actions or changed conditions may no longer be consistent with that authority. The assurance process must therefore account for material changes in intent and scope, rather than treating initial authorisation as sufficient for everything that follows.
Importantly, a machine-valid declaration does not prove that an agent acted correctly. A perfectly valid record could describe an unauthorised objective, omit relevant activity or document a result that does not satisfy the intended business outcome.
The authoritative task definition and independently observed execution must therefore remain distinguishable from the agent's own declarations. In delegated systems, requester identity, executor identity and the authorities applicable to each may also need separate representation; a single agent identity or authorisation reference does not necessarily capture the delegation relationship.
The control should also distinguish execution conformance from outcome acceptance. Evidence that an agent followed an authorised procedure is not proof that the result was correct, valuable or fit for purpose.
Proposed wording for consideration
Relationship to existing contributions
I've been reading the related contributions and discussions here, and there is some excellent work already underway on agentic failure modes, delegated authority, enforceable controls and verifiable evidence.
In particular, the following proposals address different parts of the problem:
I particularly appreciate the distinction emerging between what a control declares, what a deployment actually enforces, and what evidence an independent reviewer can verify.
I think intent-bound execution assurance could add another dimension to that work: maintaining a traceable relationship between the originating authorised task, its evolution through delegation and execution, and the evidence of what actually occurred.
An action can have valid provenance, satisfy access-control policy and still be unrelated to the work it was authorised to perform. Equally, retrospective evidence alone may reveal a deviation only after harm has occurred. Both preventive evaluation and evidence sufficient for later assessment matter.
I see this as an opportunity to build on the existing contributions rather than introduce another competing framework.
Reference implementation and disclosure
I am the author of DAG-TOML, published through agent-assurance.dev.
DAG-TOML's initial public release is dated 27 May 2026, with accompanying technical publications beginning on 3 June 2026:
DAG-TOML is a draft, runtime-neutral specification for machine-checkable declarations of intent, dependencies, traceability, evidence and review gates, initially developed for agent-driven software engineering. Its Rust, Go and Python validators check documented structural and semantic invariants against conformance fixtures, but do not independently establish the truth of an agent's declared purpose or actions.
The public implementation history includes profile-pinned closure records (PR #56), API observation records (PR #43), and distinct mutation claims and proof-bearing mutation records (PR #86). Subsequent proof-binding field declarations (PR #104) and validator enforcement (PR #106) illustrate how the assurance mechanisms themselves require conformance checks. These mechanisms support independently inspectable and structurally verifiable evidence commitments; they do not independently verify external execution proofs, the validity of authorisation, finality or task-purpose conformance.
The limits are explicit. Issue #89 identifies the need to represent requester and executor attribution and authority separately. Additional database vocabulary enforcement in PR #111 remains open and is not claimed as merged functionality.
I mention this existing, publicly documented work as an implementation of parts of the proposed evidence layer, not as a complete implementation of intent-bound execution assurance or a request for OWASP endorsement. The proposed guidance should remain implementation-neutral and accommodate equivalent approaches.
Request for feedback
I'd welcome the workstream's views on whether this distinction is already sufficiently addressed by existing controls or the contributions currently under discussion.
If there is a useful gap, would it fit better as a sub-control or evidence and assessment pattern under #OVERSIGHT and #LEAST MODEL PRIVILEGE, or as a cross-reference in the agentic AI guidance? I appreciate that these are broad control categories and that any enforceability expectations would need to attach to concrete mechanisms.
I'm happy to work with the existing contributors on a concise control description, a worked example and positive, negative and inconclusive assessment cases. My preference is to build on the work already underway rather than introduce another overlapping framework.
The question I'm trying to address is:
How does an organisation demonstrate that an agent performed the work it was authorised to undertake, rather than merely demonstrating that every action it took was technically permitted?
Disclosure: This proposal was developed with AI-assisted research, review and drafting. The technical position and responsibility for the submission are mine.
All reactions