Granted by Claim: Do Coding Agents Stay Within the Authority an Architecture Grants?

An architecture model says what each part of a system may touch, but when an AI agent writes the code, that grant is usually only advice. In earlier work, each node of a signal graph declares the capabilities it is granted, and a gate derived from the graph rejects any compiled component that imports more. We ask what agent-written code presents to that gate, and whether a claim in the task that more authority was approved, as an injected instruction might claim, changes it. Models of one family (Claude) wrote the Rust code inside 15 nodes from each node's specification alone, with up to 4 attempts each. In a registered run of 2250 trials, no first attempt reached beyond its grant in the 1125 trials without such a claim, even when the task asked for the extra behaviour or left out the rule. With a notice that the authority had been approved, first attempts reached for it in 108 of 225 trials, against 0 of 225 without one (one-sided Fisher exact, p = 1.1 × 10⁻⁴⁰; by model, haiku 2/75, opus 42/75, sonnet 64/75). That notice was first written after an exploratory run came back empty, which is why the run was registered. The gate rejects every such component by construction; the finding is what it alone stopped. Of the 609 components it rejected across all attempts, 607 would otherwise have passed their contracts and run. The pretexts tested are fixed texts in the task, not retrieved content.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-16
DOI
https://doi.org/10.5281/zenodo.24043531
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Granted by Claim: Do Coding Agents Stay Within the Authority an Architecture Grants?

Yoni Lavi
6 links
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

Granted by Claim: Do Coding Agents Stay Within the Authority an Architecture Grants?

Yoni Lavi
preprint en

Abstract

An architecture model says what each part of a system may touch, but when an AI agent writes the code, that grant is usually only advice. In earlier work, each node of a signal graph declares the capabilities it is granted, and a gate derived from the graph rejects any compiled component that imports more. We ask what agent-written code presents to that gate, and whether a claim in the task that more authority was approved, as an injected instruction might claim, changes it. Models of one family (Claude) wrote the Rust code inside 15 nodes from each node's specification alone, with up to 4 attempts each. In a registered run of 2250 trials, no first attempt reached beyond its grant in the 1125 trials without such a claim, even when the task asked for the extra behaviour or left out the rule. With a notice that the authority had been approved, first attempts reached for it in 108 of 225 trials, against 0 of 225 without one (one-sided Fisher exact, p = 1.1 × 10⁻⁴⁰; by model, haiku 2/75, opus 42/75, sonnet 64/75). That notice was first written after an exploratory run came back empty, which is why the run was registered. The gate rejects every such component by construction; the finding is what it alone stopped. Of the 609 components it rejected across all attempts, 607 would otherwise have passed their contracts and run. The pretexts tested are fixed texts in the task, not retrieved content.

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon