Loading...
Loading...
Generate and upsert a Ticket-scoped QA Report (PROGRESS or COMPLETION) for any CawPlan Ticket (anchor) + Version: collect anchor-relative subtree/relation/execution data, apply result rules, render ticket-qa-report.1 template, and persist via existing Portal qa_report POST/PUT. Use when: SQA asks for a test progress or completion QA report for a ticket and version (Story, requirement sub-ticket, or BUGFIX); republish/update an existing linked report; include related/blocking tickets in report scope. NOT for: Version Quality Report or AQA automation rollup; release risk assessment (use A5 separately); importing cases (A1), plan layout (A2), or defect filing (A4). V1 zero-BE: Agent-side upsert; approximate coverage; anchor-relative subtree depth ≤ 3.
npx skill4agent add cawcut/skill-cawplan cawplan-ticket-report-generatecawplan skill checkreferences/UNTRUSTED_CONTENT.mdPROGRESSCOMPLETIONstatus=approvedversion_idqa_reportpublish §Upsertlist-versionticket_id==anchortickets getchildrensub_issue_count>0childrenSUBTREE_TRUNCATEDtickets listexecution summary --refreshpass_qualitypass_rateΣexecuted/Σtotaltypeprioritytickets listcollect §ModeMatrix§IssueSummary§Bucketspublish §Audience§HTMLhtml-example.mdscope_idsdata.parentget(parent_id)node scripts/validate_report_details.js --body-file …publish §Gateshtml-example.mdpublish §Linksanchor_detail_cache## §| Step | Read |
|---|---|
| 0–2 | |
| 3, 7–8 | |
| 4 | |
| 5 | |
| 6 | |
products listversions listconfig envversions gettickets gettickets search --display_idsqa-insights module-tree getqa-insights requirements getqa-insights testpoints listapi GET .../qa/requirementsqa-reports list-version|create|updateqa-insights testrail execution summary --ticket-id --refreshtickets historycollect §IssueSummarynode scripts/validate_report_details.jstickets listtickets relate listcawplan apiqa-insights| Step | 动作 | Detail |
|---|---|---|
| 0 | 上下文; | |
| 1 | | |
| 2 | Relation 确认闸(读缓存;排除跨 version) | |
| 3 | | |
| 4 | 串行 execution;聚合 coverage | |
| 5 | feature_name、Issue Summary、分桶、R1–R8、compact HTML+payload; | |
| 6 | 预览 + 正文预览闸(须 Step 5 校验已通过) | |
| 7 | 落库发布闸 → | |
| 8 | 落库结果 | |