A Governance Methodology Layer for AI-Assisted Software Development: Defect Taxonomy, Controlled Ablation, and a Test of Process-Over-Capability
Abstract
Autonomous coding agents produce output that passes syntactic checks -- compilation, type safety, CI -- at high velocity. Yet syntactic correctness does not imply semantic correctness: design boundaries, security invariants, and maintainability contracts remain structurally invisible to automated pipelines. This paper makes four contributions. First, we present a defect-class taxonomy grounded in five AI agent permission and governance modules, separating defects structurally detectable by static analysis from those requiring semantic review. Second, we describe a runtime-decoupled governance gate -- a file-based protocol that reads generator output and emits a structured verdict without API coupling, hence portable across generators. Third, we formalize methodology-as-code: expressing a verification protocol as a version-controlled, executable artifact whose two layers separate portable methodology from host automation. Fourth, we report a controlled ablation experiment (E-ablation, N=5 artifacts, 8-item independent ground truth) comparing harness-structured review against a token-matched unstructured prompt. The structured condition records 62% lenient recall against 50%, with 25% strict against 0%. A severity-grade differential reported earlier does not survive blind re-grading and is withdrawn (Sec. 6.6). An independent-session re-test with blind scoring does not replicate that contrast: the conditions differ by one strict hit in 24 (6/24 against 5/24), the structured aggregate again 25% and the unstructured 0% not recurring (Sec. 6.7). Both conditions miss document-quality defects identified by a human QA reviewer, indicating complementarity between structured AI review and human process inspection. A later pre-registered test varying model tier (184 runs) did not support process design as the dominant factor: under strict scoring the tier effect was larger (Sec. 6.8).
Create a lesson
Metadata
- Comments
- v4: reports the outcome of the pre-registered test of C4 (Sec. 6.8); corrects references. 25 pages
Related papers
The Hidden Methodological Layer: Uncovering Threats to Validity in LLM-Assisted Empirical Software Engineering
Shared title terminologycs.SEVictória Gomes, Fabio Palomba, Robert Feldt et al.
The Comprehension Gap in LLM-Assisted Software Development: An Experiment
Shared title terminologycs.SEJulian Oertel, Jil Klünder, Regina Hebig
AGL-1: The Enterprise AI Governance Layer as a Control Plane for Trusted Enterprise Intelligence
Shared title terminologycs.SERoopam W. Sure
"So Am I Dr. Frankenstein? Or Were You a Monster the Whole Time?": Mitigating Software Project Failure With Loss-Aversion-Aware Development Methodologies
Shared title terminologycs.SEJunade Ali
Perceived Differences in Activity and Experience Between Developing Software With and Without AI
Shared title terminologycs.SERubash Mali, Juho Leinonen, John Edwards
From 6G Capabilities to Software-Business Value: A Multivocal Review of Characteristics, Opportunities, Challenges
Shared title terminologycs.SEMuhammad Zohaib, Azeem Akbar, Sami Hyrynsalmi et al.