SuperAPI AI 工具集

cawplan-risk-assessment

通用与其它

查看项目

更新于 10-15 20:11

技能介绍

用途:面向 CawPlan 的 A5 发版风险评估,调用 QA Insights 规则引擎计算风险等级,输出结构化原因、建议行动,并在确认后保存评估结论。

主要能力:解析 product/version 上下文;区分仅查历史、重算、保存三种意图;可选读取风险阈值规则与历史评估;执行 risk-assessment compute 计算等级;按 reason 条件触发只读富化(versions track、tickets search、execution failures);生成分层报告与建议行动;经确认闸后保存。

必要用法:辅助命令 products list、versions list;只读富化 versions track <product_id> <version_id>、tickets search --unique_ids <id1,id2,...>、qa-insights testrail execution failures <product_id> <version_id> [--run-id] [--limit];阈值 qa-insights risk-rules get <product_id>;历史 qa-insights risk-assessment get <product_id> <version_id>;计算 qa-insights risk-assessment compute <product_id> <version_id> [--ticket-id] [--plan-mapping-ids] [--no-refresh-execution];保存 qa-insights risk-assessment save <product_id> <version_id> --body-file <path> [--dry-run] --confirm。

限制:risk_level 以 compute 响应为准,Agent 不得自行重算或静默降级 CRITICAL;保存须先展示结果、用户确认,再经 --body-file 与 --dry-run 提交闸后加 --confirm 执行;禁止将 A3 执行进度或 cawplan-plan-track 的排期风险当作 A5 结论,也不得声称等同 A8 Ticket Report 的 Release Readiness;禁止 cawplan api、直连 TestRail 及 A1/A2/A4/A8 写操作;展示时隐藏 product_id/version_id/UUID;富化数据须标注不参与规则计算。Reference 按阶段加载 compute-rules.md、ux.md、save-rules.md,禁止开场一次性全部读取。

适用场景:CawPlan 版本发布前的风险评审、历史评估查询与结论保存。其他细节资料未提供。