feat: PM bug 推动要求强化到技能——每次审核任何任务都检查并推动 Bug 流转
用户定:在 PM 的技能里加 bug 推动要求(而非 system_prompt 硬编码)。 bug-confirm 技能: - 标题「闭环触发(审核 test 交付通过时)」→「Bug 推动要求(每次审核任何 任务都要执行,铁律)」 - 加「硬性动作」:先 list_bugs 真实调用,禁止编造「无 open Bug」 - description 三段式强化:每次审核都要 load_skill 本技能 PM 角色技能 description 同步:bug-confirm 的触发从「审核 test 后」改为「每次审核任何任务」
This commit is contained in:
parent
26e1e0269d
commit
b6eadecbe6
@ -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,识别根因类型:
|
||||
|
||||
@ -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
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user