跳到正文
arXiv cs.AI· Thomas Bartz-Beielstein, Marcel Samuel Klimm, Alexander Hinterleitner·· 3 小时前AI 评分42

Vibe Coding 3.0:删除代码而不丢失知识

Vibe Coding 3.0: Deleting Code Without Losing Knowledge

AI 导读

一篇 arXiv 探索性单案例研究测试了开源包 spotregen 0.15.0 的再生成软件方案:模块被删除后,一个本地开源权重模型仅凭记录依赖声明的 regeneration bundle 重建模块,13 次运行中 4 次通过验收。

正文 · 原文

View PDF HTML (experimental)

Abstract:When an agent can rewrite a program in minutes, code as the sole source of truth becomes questionable. Fowler proposed seven primitives of regenerative software, so that a module can be deleted and rebuilt without losing its knowledge. The open-source package spotregen implements them as records, a static check, and commands. For each unit it builds a regeneration bundle that holds everything but the implementation. This article is an exploratory single-case study on release 0.15.0 of spotregen itself. An earlier study on four large units accepted none of 39 runs, a floor effect that left the records untested. The present study climbs a ladder from boring to scary: three small units with characterisation tests and provenance written by hand, and the smallest earlier unit as a bridge. One local open-weight model rebuilt each deleted module from its bundle alone, under a protocol fixed in the release tag. The acceptance rule accepted 4 of 13 runs: all three of the smallest unit and one of a second unit. Two agent coders traced 4 of the 9 rejections to two gaps in the declared dependencies, which neither the static check nor the human review had found. At a gate with blind first ratings and a sealed seeded wrong proposal, the maintainer's final verdicts followed every proposal, the wrong one included, although his blind rating of it had been right. A worked example in the appendix takes a package of two functions through all seven primitives, from an empty directory to a module that a local model rebuilt from its bundle.
Comments: Version 2, 61 pages, spotregen v0.15.0
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
MSC classes: 68-04
ACM classes: D.2.0
Cite as: arXiv:2610.17197 [cs.SE]
  (or arXiv:2610.17197v2 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2610.17197

arXiv-issued DOI via DataCite

Submission history

From: Thomas Bartz-Beielstein [view email]
[v1] Mon, 12 Oct 2026 17:57:40 UTC (4,695 KB)
[v2] Fri, 27 Nov 2026 18:16:07 UTC (274 KB)

来源:arXiv cs.AI · arxiv.org