arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13647cs.SE
收藏

A-SAW:智能体软件架构工作流

A-SAW: The Agentic Software Architecture Workflow

University of Liechtenstein(列支敦士登大学);University of St. Gallen(圣加仑大学)

Finn Klatt, Luca Di Grazia, Johannes Schneider

AI总结:

本文提出A-SAW工作流,在架构即代码基础上增加智能体层,经工业组织评估,该工作流可提升架构文档质量,需保留强制人工审核以保障文档可靠性。

摘要:

软件工程中的AI辅助聚焦于实现与验证阶段,而设计阶段,尤其是架构文档的维护,相对未得到充分服务。架构即代码(Architecture as Code)使架构制品具备版本可控、可差异对比及机器可读的特性,但并未减少其更新所需的工作量,因此设计文档最终仍会成为碎片化、依赖作者、仅部分可信的记录,无法完整说明系统为何呈现当前形态。本文提出智能体软件架构工作流(Agentic Software Architecture Workflow,A-SAW),这是一种流程级制品,它在架构即代码的基础上扩展了持久智能体层:集成于IDE的智能体从版本控制的C4模型、类型化元素目录及带工具的模板中起草架构文档,每份草稿需通过强制人工审核关卡后方可被接受。我们在一家大型工业组织中沿两个方向对其进行评估:对45份架构文档的评分标准评估,其中包含13对匹配的源-再生对;以及13项以任务为锚点的从业者访谈。结果显示,该工作流消除了导致质量不可预测的作者间差异,内在质量也有所提升,匹配对的中位数提升了19分。该团队拥有58%的平均水平,结合了模板、目录、智能体及更丰富的再生上下文,因此我们是从上方限定智能体的贡献,而非将其孤立。在智能体生成的文档中,完整性(100%)、一致性(93%)及机器可读性(99%)达到或接近评分标准的最大值,可追溯性达到79%。13名参与者中有11人拒绝未经过人工审核的智能体输出,另有1人警告称,打磨后的输出可能导致审核人员跳过审核。我们的研究支持将人工审核保持为强制要求,并将其集中于智能体必须从仓库之外进行推断的环节。

英文摘要:

AI assistance in software engineering focuses on implementation and verification, leaving the design phase, and in particular the maintenance of architecture documentation, comparatively underserved. Architecture as Code makes architectural artifacts versionable, diffable, and machine-readable, but it does not reduce the effort of keeping them updated, so design documentation still ends up as a fragmented, author-dependent, and only partially trusted record of why a system looks the way it does. In this paper we introduce the Agentic Software Architecture Workflow (A-SAW), a process-level artifact that extends Architecture as Code with a persistent agent layer: an IDE-integrated agent drafts architecture documents from a version-controlled C4 model, a typed element catalog, and instrumented templates. Every draft passes a mandatory human review gate before it is accepted. We evaluate it in a large industrial organization along two tracks: a rubric assessment of 45 architecture documents including 13 matched source-regeneration pairs, and 13 task-anchored practitioner interviews. Our results show that the workflow collapses the between-author variance that made quality unpredictable. Intrinsic quality also rises, by a median of +19 points across the matched pair. The cohort has a mean of 58% and 89% bundle templates, catalog, agent, and a richer regeneration context. So they bound the agent's contribution from above rather than isolating it. In the agent-generated documents, completeness (100%), consistency (93%), and machine-readability (99%) reach or approach the rubric maximum, while traceability reaches 79%. Eleven of the 13 participants rejected agent output that no human had reviewed, and one warned that polished output may lead reviewers to skip the review. Our work supports keeping human review mandatory and concentrating it where the agent must infer beyond the repository.

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

↑