Managing Specification. Not code: A feasibility study of Graph -> Contract -> Code Deployment and Maintenance
Version control is built on source diffs, but a line diff does not say which logic changed or what it affects. We test, at feasibility scale, an agentic-AI development method in which the managed unit is the specification, not the code: a rulebook plus a few human rulings is turned into a typed knowledge graph; per-module contracts are generated from the graph mechanically, with zero model tokens; independent coder agents write code from the contracts only; and the result is judged by rule tests. A change request becomes a graph and contract diff rather than a line diff. We compare against ordinary AI-assisted development (same model, same rules, same tests, no graph or contract). On the rules engine of a commercial board game (374 rules, 116 tests), cloud coders pass 113/116 tests with interface nodes in the graph (86/116 without); an open-weight model (DeepSeek V4 Flash) passes 94/116 in one shot and 103/116 after a no-test repair loop, for under US$0.11, while a conventional coder passes 0/116 without interface names and 87/116 with them. Patching from the contract diff reproduced the reference pass/fail set in 4/4 changes using 7k-22k input tokens, against about 126k for…
- arXiv
- 2612.01657
- Authors
- Henry Yeung
- Categories
- cs.SE · cs.AI