超越Greenfield:面向Brownfield工程的D3框架:AI驱动的生产力框架
Beyond Greenfield: The D3 Framework for AI-Driven Productivity in Brownfield Engineering
AI总结:
本文提出D3框架,通过双代理提示架构提升Brownfield工程中LLM的应用效果,实验证明在遗留系统探索、文档重建等任务中,AI辅助显著提升生产力和减少认知负荷。
摘要:
在涉及遗留系统、不完整文档和碎片化架构知识的Brownfield工程工作中,有效利用大型语言模型(LLMs)面临独特挑战。以往研究大多集中在Greenfield或合成任务上,留下在复杂、上下文密集环境中结构化工作流的空白。本文介绍了Discover-Define-Deliver(D3)框架,一种纪律化的LLM辅助工作流,结合了角色分离的提示策略与应用于导航Brownfield系统中模糊性的最佳实践。该框架采用双代理提示架构,在其中Builder模型生成候选输出,Reviewer模型提供结构化批评以提高可靠性。我进行了一个探索性调查研究,涉及52名软件从业者,他们将D3工作流应用于现实世界工程任务,如遗留系统探索、文档重建和架构重构。受访者报告了在任务清晰度、文档质量和认知负荷方面的感知改进,以及自我估计的生产力提升。在本次探索性研究中,参与者报告了26.9%的加权平均生产力提升,约77%的参与者报告了认知负荷的减少,83%的参与者由于更好的初始规划使用AI,减少了修复或重写代码的时间。由于这些发现是自我报告的,而非来自受控实验,因此应被视为从业者感受的初步证据,而非因果效应。结果突显了结构化LLM工作流在遗留工程系统中的潜力和局限性,并促使未来受控评估。
英文摘要:
Brownfield engineering work involving legacy systems, incomplete documentation, and fragmented architectural knowledge poses unique challenges for the effective use of large language models (LLMs). Prior research has largely focused on greenfield or synthetic tasks, leaving a gap in structured workflows for complex, context-heavy environments. This paper introduces the Discover-Define-Deliver (D3) Framework, a disciplined LLM-assisted workflow that combines role-separated prompting strategies with applied best practices for navigating ambiguity in brownfield systems. The framework incorporates a dual-agent prompting architecture in which a Builder model generates candidate outputs and a Reviewer model provides structured critique to improve reliability. I conducted an exploratory survey study with 52 software practitioners who applied the D3 workflow to real-world engineering tasks such as legacy system exploration, documentation reconstruction, and architectural refactoring. Respondents reported perceived improvements in task clarity, documentation quality, and cognitive load, along with self-estimated productivity gains. In this exploratory study, participants reported a weighted average productivity improvement of 26.9%, reduced cognitive load for approximately 77% of participants, and 83% of participants spent less time fixing or rewriting code due to better initial planning with AI. As these findings are self-reported and not derived from controlled experiments, they should be interpreted as preliminary evidence of practitioner sentiment rather than causal effects. The results highlight both the potential and limitations of structured LLM workflows for legacy engineering systems and motivate future controlled evaluations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。