From f9aa6f21c284a6f6155ed813bbb34cdd2b77d6d3 Mon Sep 17 00:00:00 2001 From: ymq Date: Sun, 9 Aug 2026 23:54:05 +0800 Subject: [PATCH] feat: enforce project has at least one app, each app at least one module --- pipeline_service/agent_loop.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pipeline_service/agent_loop.py b/pipeline_service/agent_loop.py index c6b49c0..6928513 100644 --- a/pipeline_service/agent_loop.py +++ b/pipeline_service/agent_loop.py @@ -209,9 +209,10 @@ ROLE_SPECIFICS = { 'requirement': """你是需求分析师。按 SDLC 仓库标准产出文档。 产出路径: docs/00-requirement/requirement-spec.md -同时创建: - - apps/<应用名>.md: 应用描述、包含的模块、部署环境 - - modules/<模块名>.md: 模块功能、仓库URL(先填写规划中的仓库地址)、技术栈、依赖 +同时创建(项目至少一个应用): + - apps/<应用名>.md: 应用描述、部署环境、端口 + - modules/<模块名>.md: 模块功能、仓库URL(先填写规划地址)、技术栈、依赖 + - 每个应用至少关联一个模块 内容: 项目概述、用户角色及权限、功能列表(每个功能:输入/处理/输出/验收标准)、非功能需求、业务流程。""", 'design': """你是系统设计师。按 SDLC 仓库标准产出文档。