用途:为任意 CawPlan Ticket(anchor)+ Version 生成并 upsert 工单级 QA 报告,类型为 PROGRESS(进度)或 COMPLETION(完成/sign-off)。
主要能力与流程:硬门禁要求 anchor + version_id。先做上下文与 tickets get,展平子单(depth≤3,depth≥4 静默裁剪;有 sub_issue_count 但无 children 记为 SUBTREE_TRUNCATED),生成 anchor_detail_cache;再经 Relation 确认闸;用 list-version 按 ticket_id==anchor 判断 0→POST、1→PUT、>1 停步。执行阶段串行跑 execution summary --refresh 并聚合 coverage(Σexecuted/Σtotal,不去重,Coverage% 仅出现在 Test Summary)。Step 5 组装 details 后必须运行 node scripts/validate_report_details.js --body-file …,失败则禁止预览与落库。Step 6 预览(双确认闸),Step 7 落库发布,Step 8 输出结果。Republish 命中 Step 3 后走 Step 7 PUT;PROGRESS→COMPLETION 为同条 PUT 并重跑 4–7。
使用方式与约束:命令限于 products list、versions list、config env、versions get、tickets get、tickets search --display_ids(仅 Step 0)、qa-insights 相关 get/list、qa-reports list-version|create|update、execution summary --ticket-id --refresh、tickets history(可选)及上述校验脚本。禁止 tickets list、tickets relate list、直连 TestRail、cawplan api 落库、qa-insights 写、A5 写入与跳闸。不得用 A5 作最终 Release Readiness。Labels 延后至 V2,分组仅用 type+priority。Verification Status 仅统计子单 D1–D3 并排除 anchor。报告编号与报告工单须超链接,隐藏 UUID。按用户主语言回复,禁止同段双语。
限制:资料未提供具体收费、价格、平台范围与效果数据,暂未提供。