arXiv study tests managing specifications instead of code with AI agents
A feasibility study proposes a development method where AI coders work from generated contracts rather than source diffs, reporting mixed results on two test beds.
In plain words
Researchers tested managing software by its written specification instead of its code. A rulebook is turned into a knowledge graph, contracts are generated from it, and AI coders write code using only those contracts. Changes are then described as specification differences rather than line-by-line code edits.
What was announced
The preprint, a cross-listed arXiv abstract, describes an agentic pipeline in which a rulebook plus a few human rulings becomes a typed knowledge graph. Per-module contracts are generated mechanically from the graph with zero model tokens, independent coder agents write code from the contracts alone, and rule tests judge the result. A change request becomes a graph and contract diff rather than a line diff. The authors compare this with ordinary AI-assisted development using the same model, rules and tests but no graph or contract.
On a commercial board game rules engine with 374 rules and 116 tests, cloud coders passed 113 of 116 tests when interface nodes were in the graph, and 86 without. An open-weight model, DeepSeek V4 Flash, passed 94 in one shot and 103 after a no-test repair loop, for under US$0.11; a conventional coder passed 0 without interface names and 87 with them. Contract-diff patching reproduced the reference pass/fail set in 4 of 4 changes using 7k-22k input tokens versus about 126k for uploading all source, and uploaded no source code. On a second test bed, the D&D 5e SRD 5.1 combat rules with 299 tests, the pipeline passed 288 against 243 for a conventional build, but the token advantage shrank to about 3x with no accuracy gain. The authors state contract diffs are longer than source diffs, claiming addressability rather than brevity.
What it does not show
- The evidence is an abstract only; full methods, code and peer review are not available in the supplied passage.
- The authors list what is not shown: fewer defects, easier debugging, lower CI/CD cost, local-model feasibility, and any benefit of a proposed hyperbolic layer.
- Results come from two test beds (a board game engine and D&D 5e SRD combat rules), so generalisation to other software is not established.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.