Specification Fidelity as a First-Class Governance Metric: A Pre-Registered, Blinded Cross-Vendor Audit of Agentic AI Coding Tools

Agentic AI coding tools accept a specification-level brief and autonomously produce a working codebase. Enterprise adoption is outpacing the evidence needed to govern them, because procurement rests on vendor benchmarks that measure functional success (does the code pass tests?) while remaining silent on the quality and governance properties that determine cost of ownership: security exposure, structural complexity, redundancy, and, most consequentially, fidelity to the specification actually requested. We design, build, and apply a reusable, vendor-agnostic instrument that quantifies five metrics (security-vulnerability density, cyclomatic complexity, code duplication, specification-hallucination count, and keystroke-correction frequency) across four commercial tools (Anthropic Claude Code, Cursor Agent, Replit Agent, and Google Antigravity) and a human control against three fixed specifications spanning distinct task domains for 600 agentic observations. The design is pre-registered and blinded by construction: one capture contract forces every condition into a comparable shape, and analysts never see condition labels. Analysis is stratified by what the design supports. Between the two conditions captured live with genuine replication, Claude Code produces significantly less duplicated code (p = 0.0028) and significantly more control-flow-dense code (p = 0.0047) than Cursor Agent at a pre-registered Bonferroni threshold, though only the complexity difference rests on run-to-run variation in both tools. The four-condition comparison is reported as descriptive, not inferential. The most consequential finding is a measured architectural-prior dominance: given a CLI specification under a contamination-checked workspace with pipeline output explicitly prohibited, Replit Agent shipped a data-pipeline application rather than the specified CLI. We argue for specification fidelity as a first-class governance metric and a fidelity gate in procurement and CI. This preprint derives from the author's MSc dissertation (Aston University, 2026). The instrument, the frozen 600-row dataset, the rater labels, the statistical notebook, and the pre-registration and errata are all public.

Authors

Publication Details

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

Specification Fidelity as a First-Class Governance Metric: A Pre-Registered, Blinded Cross-Vendor Audit of Agentic AI Coding Tools

Orume Dominic Uririe
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

Specification Fidelity as a First-Class Governance Metric: A Pre-Registered, Blinded Cross-Vendor Audit of Agentic AI Coding Tools

Orume Dominic Uririe
preprint en

Abstract

Agentic AI coding tools accept a specification-level brief and autonomously produce a working codebase. Enterprise adoption is outpacing the evidence needed to govern them, because procurement rests on vendor benchmarks that measure functional success (does the code pass tests?) while remaining silent on the quality and governance properties that determine cost of ownership: security exposure, structural complexity, redundancy, and, most consequentially, fidelity to the specification actually requested. We design, build, and apply a reusable, vendor-agnostic instrument that quantifies five metrics (security-vulnerability density, cyclomatic complexity, code duplication, specification-hallucination count, and keystroke-correction frequency) across four commercial tools (Anthropic Claude Code, Cursor Agent, Replit Agent, and Google Antigravity) and a human control against three fixed specifications spanning distinct task domains for 600 agentic observations. The design is pre-registered and blinded by construction: one capture contract forces every condition into a comparable shape, and analysts never see condition labels. Analysis is stratified by what the design supports. Between the two conditions captured live with genuine replication, Claude Code produces significantly less duplicated code (p = 0.0028) and significantly more control-flow-dense code (p = 0.0047) than Cursor Agent at a pre-registered Bonferroni threshold, though only the complexity difference rests on run-to-run variation in both tools. The four-condition comparison is reported as descriptive, not inferential. The most consequential finding is a measured architectural-prior dominance: given a CLI specification under a contamination-checked workspace with pipeline output explicitly prohibited, Replit Agent shipped a data-pipeline application rather than the specified CLI. We argue for specification fidelity as a first-class governance metric and a fidelity gate in procurement and CI. This preprint derives from the author's MSc dissertation (Aston University, 2026). The instrument, the frozen 600-row dataset, the rater labels, the statistical notebook, and the pre-registration and errata are all public.

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
Specification Fidelity as a First-Class Governance Metric: A Pre-Registered, Blinded Cross-Vendor Audit of Agentic AI Coding Tools — Orume Dominic Uririe · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS