arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.13357cs.SEcs.AI
收藏

AIHarness工程:一种用于基础模型软件代理的运行时基质

AI Harness Engineering: A Runtime Substrate for Foundation-Model Software Agents

Hong Kong Baptist University(香港 Baptist大学);Beijin Normal University(北京师范大学)

Hailin Zhong, Shengxin Zhu

AI总结:

本文提出AIHarness工程,通过运行时基质提升软件代理的工程能力,定义了十一项核心职责,并提出四层 ladder 框架和基于追踪的评估协议,以验证模型-基质-环境系统生成可验证、可归因和可维护的变更。

摘要:

基础模型已改变了自动化代码生成,但自主软件工程代理在现实开发环境中仍不可靠。主流解释将这一差距归因于模型能力不足。我们提出另一种解释:软件工程能力源于模型-Harness-环境系统,其中运行时基质(Harness)调解基础模型代理如何观察项目、执行操作、接收反馈并确定变更完成。我们正式化此基质为AIHarness工程,并确定十一项组件职责:任务规范、上下文选择、工具访问、项目记忆、任务状态、可观测性、失败归因、验证、权限、熵审计和干预记录。我们通过四层 ladder(H0-H3)将Harness具体化,逐步向代理暴露运行时支持,并提出基于追踪的评估协议,将每个代理运行转换为可审计的事件包。应用于受控验证任务,该框架产生证据结构随Harness级别系统变化的事件包:低级别仅产生最终补丁,高级别产生重现日志、失败归因、确定性需求检查和结构化验证报告。该框架将自主软件工程的核心问题从基础模型能否生成补丁转变为模型-基质-环境系统能否生成可验证、可归因和可维护的变更。我们提出了基础模型软件代理所需运行时系统的研究计划。

英文摘要:

Foundation models have transformed automated code generation, yet autonomous software-engineering agents remain unreliable in realistic development settings. The dominant explanation locates this gap in model capability. We propose a different locus: software-engineering capability emerges from a model-harness-environment system, in which a runtime substrate -- the harness -- mediates how a foundation-model agent observes a project, acts on it, receives feedback, and establishes that a change is complete. We formalize this substrate as an AI Harness Engineering and identify eleven component responsibilities: task specification, context selection, tool access, project memory, task state, observability, failure attribution, verification, permissions, entropy auditing, and intervention recording. We operationalize the harness through a four-level ladder (H0-H3) that progressively exposes runtime support to the agent, and we propose a trace-based evaluation protocol that converts each agent run into an auditable episode package. Applied to a controlled validation task, the framework yields episode packages whose evidence structure varies systematically with harness level: lower levels produce only a final patch, higher levels produce reproduction logs, failure attributions, deterministic requirement checks, and structured verification reports. The framework reframes the central question of autonomous software engineering from whether a foundation model can produce a patch to whether the model-harness-environment system can produce a verifiably correct, attributed, and maintainable change. We outline a research program for the runtime systems that foundation-model software agents will require.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑