arXiv:2604.21744cs.SEcs.AI2026-04

用领域知识文档让AI编程自动遵守科学规范,提升代码可信度。

Agentic AI-assisted coding offers a unique opportunity to instill epistemic grounding during software development

  • 创建领域专属的权威性知识文档,约束AI生成内容
  • 嵌入硬性科学约束与社区共识参数,确保结果正确性
  • 适合非专家使用,助力科研软件自动化开发

AI辅助编程正快速发展,从聊天式编码演变为基于代理架构的全流程开发。当前趋势是利用项目和方法层面的文档超越单一计划文档。本文提出 GROUNDING.md,一个由社区维护、面向特定领域的知识根基文件,以质谱蛋白质组学为例进行示范。我们已创建 proteomics_GROUNDING.md 文件(见 https://github.com/OmicsGrounding/proteomics-grounding),展示其实际形态。该文件明确记录了硬性约束(确保科学正确的不可妥协的实证要求)和惯例参数(社区公认默认值),在所有上下文中优先生效,强制保障输出有效性。这使得非领域专家也能生成符合最佳实践的代码与工具,增强开发者及使用者的信心。相比人类,代理式AI更易遵循规则,此机制为组织在民主化软件生成时代中持续吸纳领域专家意见提供了可能。

原文摘要 · Abstract (English)

The capabilities of AI-assisted coding are progressing at breakneck speed. Chat-based vibe coding has evolved into fully fledged AI-assisted, agentic software development using agent scaffolds where the human developer creates a plan that agentic AIs implement. One current trend is utilizing documents beyond this plan document, such as project and method-scoped documents. Here we propose GROUNDING$.$md, a community-governed, field-scoped epistemic grounding document, using mass spectrometry-based proteomics as an example. We have drafted a file specific to proteomics: proteomics_GROUNDING$.$md (available at https://github.com/OmicsGrounding/proteomics-grounding) to demonstrate what a GROUNDING$.$md would look like. This explicit field-scoped grounding document encodes Hard Constraints (non-negotiable validity invariants empirically required for scientific correctness) and Convention Parameters (community-agreed defaults) that override all other contexts to enforce validity, regardless of what the user prompts. In practice, this will empower a non-domain expert to generate code, tools, and software that have best practices baked in at the ground level, providing confidence to the software developer but also to those reviewing or using the final product. Undoubtedly it is easier to have agentic AIs adhere to guidelines than humans, and this opportunity allows for organizations to develop epistemic grounding documents in such a way as to keep domain experts in the loop in a future of democratized generation of bespoke software solutions.

AI编程领域知识科学计算代码可信

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。