feat: TOOL_SCHEMAS 补 confirm_bug/reject_bug/reopen_bug 三个工具 schema
bug_capability.py 已有这三个函数,但 TOOL_SCHEMAS 缺 schema,导致 PM 无法确认/驳回/重开 Bug, bug 闭环断在 open→confirmed 第一步。补 schema 后 PM 可通过 bug_confirm_capability 拿到工具。
This commit is contained in:
parent
8bd1b45cba
commit
1e3bd9835d
@ -163,6 +163,24 @@ TOOL_SCHEMAS = {
|
||||
"params": {"bug_id": "Bug ID"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"confirm_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "确认 Bug:open → confirmed(确认缺陷有效,准备派发修复)",
|
||||
"params": {"bug_id": "Bug ID"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"reject_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "驳回 Bug:open/confirmed → rejected(附驳回原因,如误报/重复/非缺陷)",
|
||||
"params": {"bug_id": "Bug ID", "comment": "驳回原因"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"reopen_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "重开 Bug:closed/rejected → open(复测未通过或驳回后重新处理)",
|
||||
"params": {"bug_id": "Bug ID", "comment": "重开原因(可选)"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
# ── deploy_capability ──
|
||||
"configure_env": {
|
||||
"module": "deploy_capability",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user