跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2611.40368 (cs)
[提交于 2026年11月30日]

标题:Everything Is a Commit: git-harness, a Git-Native Coding Agent Harness

作者:Hejian Sang
查看论文《Everything Is a Commit: git-harness, a Git-Native Coding Agent Harness》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Production coding agent harnesses routinely reinvent five subsets of version control: session trees, file snapshots, context compaction, subagent worktrees, and memory folders. Because these subsystems live in separate logs and mutable directories, rewinding files desynchronizes conversation history and rewriting prefixes invalidates KV-caches. We present git-harness, an open-source, zero-dependency coding agent harness that builds directly on Git's object model and plumbing. Every turn, workspace snapshot, offloaded tool output, and subagent branch becomes an immutable Git object in an isolated namespace, so the host repository stays untouched. This single store provides atomic conversation-and-code rewind, append-only prompt prefixes, exact recall of compacted history, and single-file Git bundle reproducibility. On the 89-task Terminal-Bench v2.1 sweep, git-harness matches Pi ($79/89$ vs.\ $76/89$, $p = 0.549$), runs at $68.5\,\mathrm{s}$ vs.\ $72.9\,\mathrm{s}$ median duration, and lowers mean API cost by $16\%$ (\$0.238 vs.\ \$0.282; median \$0.150 vs.\ \$0.141). It adds only $0.55\%$ median Git overhead and exports valid forensic bundles on all 89 runs. Across 240 cross-harness trials spanning four frontier models, git-harness remains competitive (up to $14/15$ on Opus 5.5 with the updated runtime) with zero Anthropic timeouts and shows where harness designs differ in cost, latency, and failure modes. Code is available at https://github.com/HJSang/git-harness.
主题: 软件工程 (cs.SE)
引用方式: arXiv:2611.40368 [cs.SE]
  (或者 arXiv:2611.40368v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.40368

提交历史

来自:Hejian Sang
[v1] 2026年11月30日 星期一 03:57:19 UTC (336 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站