2025-09-28 23:17:07 -05:00
<!-- Powered by BMAD - CORE™ -->
2025-09-29 16:43:20 -05:00
# Risk & Test Design v3.0 (Slim)
2025-09-28 23:17:07 -05:00
```xml
2025-09-29 16:43:20 -05:00
< task id = "bmad/bmm/testarch/test-design" name = "Risk & Test Design" >
2025-09-28 23:17:07 -05:00
< llm critical = "true" >
< i > Set command_key="*test-design"< / i >
< i > Load {project-root}/bmad/bmm/testarch/tea-commands.csv and parse the matching row< / i >
2025-09-29 16:43:20 -05:00
< i > Load {project-root}/bmad/bmm/testarch/tea-knowledge.md for risk-model and coverage heuristics< / i >
< i > Use CSV columns preflight, flow_cues, deliverables, halt_rules, notes, knowledge_tags as the execution blueprint< / i >
< i > Split pipe-delimited values into actionable checklists< / i >
< i > Stay evidence-based—link risks and scenarios directly to PRD/architecture/story artifacts< / i >
2025-09-28 23:17:07 -05:00
< / llm >
< flow >
< step n = "1" title = "Preflight" >
2025-09-29 16:43:20 -05:00
< action > Confirm story markdown, acceptance criteria, and architecture/PRD access.< / action >
< action > Stop immediately if halt_rules trigger (missing inputs or unclear requirements).< / action >
2025-09-28 23:17:07 -05:00
< / step >
2025-09-29 16:43:20 -05:00
< step n = "2" title = "Assess Risks" >
< action > Follow flow_cues to filter genuine risks, classify them (TECH/SEC/PERF/DATA/BUS/OPS), and score probability × impact.< / action >
< action > Document mitigations with owners, timelines, and residual risk expectations.< / action >
2025-09-28 23:17:07 -05:00
< / step >
2025-09-29 16:43:20 -05:00
< step n = "3" title = "Design Coverage" >
< action > Break acceptance criteria into atomic scenarios mapped to mitigations.< / action >
< action > Choose test levels using test-levels-framework.md, assign priorities via test-priorities-matrix.md, and note tooling/data prerequisites.< / action >
< / step >
< step n = "4" title = "Deliverables" >
< action > Generate the combined risk report and test design artifacts described in deliverables.< / action >
< action > Summarize key risks, mitigations, coverage plan, and recommended execution order.< / action >
2025-09-28 23:17:07 -05:00
< / step >
< / flow >
< halt >
2025-09-29 16:43:20 -05:00
< i > Apply halt_rules from the CSV row verbatim.< / i >
2025-09-28 23:17:07 -05:00
< / halt >
< notes >
2025-09-29 16:43:20 -05:00
< i > Use notes column for calibration reminders and coverage heuristics.< / i >
2025-09-28 23:17:07 -05:00
< / notes >
< output >
2025-09-29 16:43:20 -05:00
< i > Unified risk assessment plus coverage strategy ready for implementation.< / i >
2025-09-28 23:17:07 -05:00
< / output >
< / task >
```