返回全部动态

规范优先AI编码代理:无测试预言与人工审查下的大规模架构重构案例研究

原标题:Specification-first convergence with an AI coding agent: a case study of dismantling a core architectural invariant across 189 files in a 717k-line codebase with no test oracle and no human code review

arXiv cs.SE一手来源研究质量 87

AI 摘要

本文报告了一项大规模架构重构案例研究,作者使用AI编码代理在规范优先协议下,成功拆除了一个717,725行TypeScript代码库中的核心生命周期不变量,涉及189个文件,且无人工代码审查和测试预言。通过14轮规范细化、17轮验证循环和31次审计,修正了201个缺陷,最终在三天内完成,成本为2,430美元,软件行为符合规范且无错误。该研究挑战了传统代码审查的瓶颈,提出通过前置规范审计替代事后代码审查。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

[Page 1] Specification-first convergence with an AI coding agent: a case study of dismantling a core architectural invariant across 189 files in a 717k-line codebase with no test oracle and no human code review Joël Abenhaïm AI Sovereign Labs, Paris, France joel@aisovereignlabs.ai 31 July 2026 Abstract This paper reports a singl


发布时间:2026-08-14 12:00
抓取时间:2026-08-14 15:07
来源机构:arXiv
阅读原文arxiv.org