From 8b0b1d71fae3a665daee2b3c8dc86c8433da419c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 23 Aug 2026 10:43:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bug-confirm=20=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E6=98=8E=E7=A1=AE=E3=80=8C=E5=8F=AA=E5=A4=84=E7=90=86=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E8=BF=AD=E4=BB=A3=E7=9A=84=20Bug=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E8=B7=A8=E8=BF=AD=E4=BB=A3/=E8=B7=A8=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 必须有 iteration_id 归属,闭环时 list_bugs 按当前迭代 id 过滤, 其他项目/其他迭代的 Bug 不 confirm/不修复/不关闭。 --- .../pipelines/sdlc_general/common/bug-confirm/SKILL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 64d0a61..1c86f90 100644 --- a/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md +++ b/skills_library/pipelines/sdlc_general/common/bug-confirm/SKILL.md @@ -17,9 +17,11 @@ tools: [confirm_bug, reject_bug, reopen_bug, list_bugs] 完整流转见 `bug` 技能(open → confirmed → fixing → fixed → verified → closed)。 ## 闭环触发(审核 test 交付通过时) -审核 test 任务通过后,`list_bugs` 查该迭代 `status=open` 的 Bug,分类处理: +审核 test 任务通过后,`list_bugs` 查**当前迭代** `status=open` 的 Bug,分类处理: - **零散 Bug**(单点缺陷,不影响整体)→ 逐个 `confirm_bug` 确认,然后 `create_tasks` 派发一个「修复 Bug」任务给 develop(description 列出 bug id + 标题 + 描述),让 develop 逐个修复。Bug 闭环不打断任务链。 - **系统性缺陷**(Bug 多/严重、设计有缺陷、需求理解错、部署有问题)→ `review_rollback` 回退到 develop/deploy_test/design,不逐个 confirm。 +> ⚠️ **铁律:只处理当前迭代的 Bug**。list_bugs 已按当前迭代的 iteration_id 强制过滤,其他项目/其他迭代的 Bug 不会查到、也一律不碰(不 confirm/不修复/不关闭)。Bug 必须有 iteration_id 归属,跨迭代/跨项目乱处理是错的。 + ## 审核 develop「修复 Bug」任务通过时 -修复任务通过后,`list_bugs` 查该迭代 `status=fixed` 的 Bug,`create_tasks` 派发一个「复测」任务给 test(description 列出已修复 bug 清单),让 test 验证后关闭。 +修复任务通过后,`list_bugs` 查**当前迭代** `status=fixed` 的 Bug,`create_tasks` 派发一个「复测」任务给 test(description 列出已修复 bug 清单),让 test 验证后关闭。同样只处理当前迭代的 Bug,不跨迭代。