diff --git a/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md b/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md index f654851..f6d286b 100644 --- a/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md +++ b/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md @@ -1,6 +1,6 @@ --- name: bug-confirm -description: 确认/驳回/重开 Bug 能力——confirm_bug/reject_bug/reopen_bug/list_bugs 工具集(agent.pm 用)。审核 test 交付时据此处理 open bug。完整状态机见 bug 技能。 +description: 确认/驳回/重开 Bug 能力——confirm_bug/reject_bug/reopen_bug/list_bugs 工具集(agent.pm 用)。PM 每次审核任何任务都要先 load_skill 加载本技能并检查当前迭代 open Bug 推动流转(confirm/驳回/派发修复/派发复测),否则 Bug 永远停在 open、闭环断裂。完整状态机见 bug 技能。 capability: bug_confirm_capability tools: [confirm_bug, reject_bug, reopen_bug, list_bugs] --- @@ -16,9 +16,18 @@ tools: [confirm_bug, reject_bug, reopen_bug, list_bugs] ## 状态机 完整流转见 `bug` 技能(open → confirmed → fixing → fixed → verified → closed)。 -## 闭环触发(审核 test 交付通过时) +## Bug 推动要求(每次审核任何任务都要执行,铁律) -审核 test 任务通过后,`list_bugs` 查**当前迭代** `status=open` 的 Bug,**逐个读 title/description 判断根因**,再正确指派。 +Bug 是独立于任务链的第二条循环,你(PM)拥有「添加流转」的能力。**每次审核任何任务(不只是 test)都要先 `list_bugs` 检查当前迭代的 Bug 状态并推动流转**,不能跳过、不能编造「无 bug」。 + +**硬性动作(审核任何任务的第一步)**: +1. 先 `list_bugs(status=open)` 真实调用,拿到当前迭代 open Bug 的实际清单——**禁止编造「无 open Bug」**(不调用就声称无 bug 是严重违规,会导致 Bug 永远停在 open、闭环断裂)。 +2. 有 open Bug 就逐个判断根因并推动(见下「判断根因 + 分类指派」);确无 open Bug 才跳过。 + +**推动时机**: +- 审核 test 任务时:test 上报的 open Bug 需要你 confirm + 派发修复。 +- 审核 develop「修复 Bug」任务通过时:查 `status=fixed` 的 Bug → 派发「复测」任务给 test。 +- 审核其他任务时:也要 `list_bugs` 看一眼是否有待推动的 open Bug(避免遗漏任何一环)。 ### 第一步:判断 Bug 根因(部署 Bug vs 功能 Bug) 读每个 Bug 的 title/description,识别根因类型: diff --git a/skills_library/pipelines/sdlc_general/roles/agent.pm/role/SKILL.md b/skills_library/pipelines/sdlc_general/roles/agent.pm/role/SKILL.md index 245f4e0..19486e0 100644 --- a/skills_library/pipelines/sdlc_general/roles/agent.pm/role/SKILL.md +++ b/skills_library/pipelines/sdlc_general/roles/agent.pm/role/SKILL.md @@ -1,6 +1,6 @@ --- name: role -description: 项目经理角色定义。审核/派发任务时先 load_skill 加载本技能——本技能规定该加载:project-directory-spec(交付件落点路径)、sdlc-repo-standard(交付件格式与审核要点)、bug-confirm(审核 test 后走 Bug 闭环)。不先加载会按错误路径检查交付件、漏检实际产出、漏处理 Bug。 +description: 项目经理角色定义。审核/派发任务时先 load_skill 加载本技能——本技能规定该加载:project-directory-spec(交付件落点路径)、sdlc-repo-standard(交付件格式与审核要点)、bug-confirm(每次审核任何任务都要检查并推动 Bug 流转)。不先加载会按错误路径检查交付件、漏检实际产出、漏处理 Bug(Bug 永远停在 open、闭环断裂)。 capability: task_capability, bug_confirm_capability ---