feat: 补充细分能力工具的 schema(reopen_feature/start_fix/fix_bug/verify_bug/close_bug)
This commit is contained in:
parent
6e82493c20
commit
be1fd06ef7
@ -66,6 +66,12 @@ TOOL_SCHEMAS = {
|
||||
"params": {"feature_id": "功能ID"},
|
||||
"required": ["feature_id"],
|
||||
},
|
||||
"reopen_feature": {
|
||||
"module": "feature_capability",
|
||||
"description": "重新打开功能:rejected/verified → proposed(回炉)",
|
||||
"params": {"feature_id": "功能ID", "comment": "重开原因(可选)"},
|
||||
"required": ["feature_id"],
|
||||
},
|
||||
# ── test_plan_capability ──
|
||||
"create_test_plan": {
|
||||
"module": "test_plan_capability",
|
||||
@ -133,6 +139,30 @@ TOOL_SCHEMAS = {
|
||||
"params": {"status": "状态(可选)", "severity": "严重度(可选)"},
|
||||
"required": [],
|
||||
},
|
||||
"start_fix": {
|
||||
"module": "bug_capability",
|
||||
"description": "开始修复 Bug:confirmed → fixing(记录处理人)",
|
||||
"params": {"bug_id": "Bug ID", "assignee_id": "处理人(可选)"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"fix_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "修复完成 Bug:fixing → fixed(附修复说明+提交)",
|
||||
"params": {"bug_id": "Bug ID", "fix_description": "修复说明", "fix_commit": "修复提交(可选)"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"verify_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "验证 Bug 修复:fixed → verified(记录验证人)",
|
||||
"params": {"bug_id": "Bug ID", "verified_by": "验证人(可选)"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
"close_bug": {
|
||||
"module": "bug_capability",
|
||||
"description": "关闭 Bug:verified → closed",
|
||||
"params": {"bug_id": "Bug ID"},
|
||||
"required": ["bug_id"],
|
||||
},
|
||||
# ── deploy_capability ──
|
||||
"configure_env": {
|
||||
"module": "deploy_capability",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user