agentic-qe 3.7.9 → 3.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/.claude/skills/.validation/README.md +111 -111
  2. package/.claude/skills/.validation/examples/chaos-engineering-output.example.json +530 -530
  3. package/.claude/skills/.validation/examples/performance-testing-output.example.json +252 -252
  4. package/.claude/skills/.validation/examples/security-testing-output.example.json +413 -413
  5. package/.claude/skills/.validation/examples/testability-scoring-output.example.json +350 -350
  6. package/.claude/skills/.validation/schemas/skill-eval.schema.json +462 -462
  7. package/.claude/skills/.validation/schemas/skill-frontmatter.schema.json +341 -341
  8. package/.claude/skills/.validation/schemas/skill-output-meta.schema.json +199 -199
  9. package/.claude/skills/.validation/schemas/skill-output.template.json +610 -610
  10. package/.claude/skills/.validation/skill-validation-mcp-integration.md +250 -250
  11. package/.claude/skills/.validation/templates/eval.template.yaml +366 -366
  12. package/.claude/skills/.validation/templates/schemas/output.json +145 -145
  13. package/.claude/skills/.validation/templates/security-testing-eval.template.yaml +725 -725
  14. package/.claude/skills/.validation/templates/skill-frontmatter.example.yaml +225 -225
  15. package/.claude/skills/.validation/test-data/invalid-output.json +5 -5
  16. package/.claude/skills/.validation/test-data/minimal-output.json +9 -9
  17. package/.claude/skills/.validation/test-data/sample-output.json +73 -73
  18. package/.claude/skills/a11y-ally/evals/a11y-ally.yaml +376 -376
  19. package/.claude/skills/a11y-ally/schemas/output.json +549 -549
  20. package/.claude/skills/accessibility-testing/evals/accessibility-testing.yaml +719 -719
  21. package/.claude/skills/accessibility-testing/schemas/output.json +776 -776
  22. package/.claude/skills/accessibility-testing/test-data/sample-output.json +191 -191
  23. package/.claude/skills/agentic-quality-engineering/schemas/output.json +577 -577
  24. package/.claude/skills/api-testing-patterns/evals/api-testing-patterns.yaml +696 -696
  25. package/.claude/skills/api-testing-patterns/schemas/output.json +845 -845
  26. package/.claude/skills/aqe-v2-v3-migration/schemas/output.json +513 -513
  27. package/.claude/skills/brutal-honesty-review/schemas/output.json +291 -291
  28. package/.claude/skills/bug-reporting-excellence/schemas/output.json +288 -288
  29. package/.claude/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +761 -761
  30. package/.claude/skills/chaos-engineering-resilience/schemas/output.json +1205 -1205
  31. package/.claude/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +157 -157
  32. package/.claude/skills/cicd-pipeline-qe-orchestrator/schemas/output.json +542 -542
  33. package/.claude/skills/code-review-quality/schemas/output.json +264 -264
  34. package/.claude/skills/compatibility-testing/evals/compatibility-testing.yaml +410 -410
  35. package/.claude/skills/compatibility-testing/schemas/output.json +551 -551
  36. package/.claude/skills/compliance-testing/evals/compliance-testing.yaml +1107 -1107
  37. package/.claude/skills/compliance-testing/schemas/output.json +845 -845
  38. package/.claude/skills/consultancy-practices/schemas/output.json +282 -282
  39. package/.claude/skills/contract-testing/evals/contract-testing.yaml +748 -748
  40. package/.claude/skills/contract-testing/schemas/output.json +638 -638
  41. package/.claude/skills/database-testing/evals/database-testing.yaml +968 -968
  42. package/.claude/skills/database-testing/schemas/output.json +1446 -1446
  43. package/.claude/skills/debug-loop/SKILL.md +61 -61
  44. package/.claude/skills/enterprise-integration-testing/SKILL.md +735 -735
  45. package/.claude/skills/enterprise-integration-testing/evals/enterprise-integration-testing.yaml +158 -158
  46. package/.claude/skills/enterprise-integration-testing/schemas/output.json +74 -74
  47. package/.claude/skills/enterprise-integration-testing/scripts/validate-config.json +25 -25
  48. package/.claude/skills/iterative-loop/SKILL.md +371 -371
  49. package/.claude/skills/localization-testing/evals/localization-testing.yaml +544 -544
  50. package/.claude/skills/localization-testing/schemas/output.json +325 -325
  51. package/.claude/skills/middleware-testing-patterns/SKILL.md +798 -798
  52. package/.claude/skills/middleware-testing-patterns/evals/middleware-testing-patterns.yaml +153 -153
  53. package/.claude/skills/middleware-testing-patterns/schemas/output.json +58 -58
  54. package/.claude/skills/middleware-testing-patterns/scripts/validate-config.json +25 -25
  55. package/.claude/skills/mobile-testing/evals/mobile-testing.yaml +537 -537
  56. package/.claude/skills/mobile-testing/schemas/output.json +318 -318
  57. package/.claude/skills/mutation-testing/evals/mutation-testing.yaml +652 -652
  58. package/.claude/skills/mutation-testing/schemas/output.json +707 -707
  59. package/.claude/skills/mutation-testing/test-data/sample-output.json +295 -295
  60. package/.claude/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +450 -450
  61. package/.claude/skills/n8n-expression-testing/schemas/output.json +369 -369
  62. package/.claude/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +522 -522
  63. package/.claude/skills/n8n-integration-testing-patterns/schemas/output.json +291 -291
  64. package/.claude/skills/n8n-security-testing/evals/n8n-security-testing.yaml +493 -493
  65. package/.claude/skills/n8n-security-testing/schemas/output.json +293 -293
  66. package/.claude/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +500 -500
  67. package/.claude/skills/n8n-trigger-testing-strategies/schemas/output.json +295 -295
  68. package/.claude/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +497 -497
  69. package/.claude/skills/n8n-workflow-testing-fundamentals/schemas/output.json +254 -254
  70. package/.claude/skills/observability-testing-patterns/SKILL.md +930 -930
  71. package/.claude/skills/observability-testing-patterns/evals/observability-testing-patterns.yaml +157 -157
  72. package/.claude/skills/observability-testing-patterns/schemas/output.json +58 -58
  73. package/.claude/skills/observability-testing-patterns/scripts/validate-config.json +25 -25
  74. package/.claude/skills/pentest-validation/SKILL.md +268 -268
  75. package/.claude/skills/pentest-validation/evals/pentest-validation.yaml +708 -708
  76. package/.claude/skills/pentest-validation/schemas/output.json +281 -281
  77. package/.claude/skills/performance-analysis/evals/performance-analysis.yaml +144 -144
  78. package/.claude/skills/performance-analysis/schemas/output.json +588 -588
  79. package/.claude/skills/performance-testing/evals/performance-testing.yaml +772 -772
  80. package/.claude/skills/performance-testing/schemas/output.json +1184 -1184
  81. package/.claude/skills/pr-review/SKILL.md +61 -61
  82. package/.claude/skills/qcsd-cicd-swarm/SKILL.md +2206 -2206
  83. package/.claude/skills/qcsd-cicd-swarm/evals/qcsd-cicd-swarm.yaml +211 -211
  84. package/.claude/skills/qcsd-cicd-swarm/schemas/output.json +86 -86
  85. package/.claude/skills/qcsd-cicd-swarm/scripts/validate-config.json +30 -30
  86. package/.claude/skills/qcsd-development-swarm/SKILL.md +2154 -2154
  87. package/.claude/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +162 -162
  88. package/.claude/skills/qcsd-development-swarm/schemas/output.json +72 -72
  89. package/.claude/skills/qcsd-development-swarm/scripts/validate-config.json +25 -25
  90. package/.claude/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +138 -138
  91. package/.claude/skills/qcsd-ideation-swarm/schemas/output.json +568 -568
  92. package/.claude/skills/qcsd-production-swarm/SKILL.md +2781 -2781
  93. package/.claude/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +246 -246
  94. package/.claude/skills/qcsd-production-swarm/schemas/output.json +505 -505
  95. package/.claude/skills/qcsd-production-swarm/scripts/validate-config.json +25 -25
  96. package/.claude/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +443 -443
  97. package/.claude/skills/qe-chaos-resilience/schemas/output.json +314 -314
  98. package/.claude/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +459 -459
  99. package/.claude/skills/qe-code-intelligence/schemas/output.json +315 -315
  100. package/.claude/skills/qe-contract-testing/evals/qe-contract-testing.yaml +513 -513
  101. package/.claude/skills/qe-contract-testing/schemas/output.json +295 -295
  102. package/.claude/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -494
  103. package/.claude/skills/qe-coverage-analysis/schemas/output.json +286 -286
  104. package/.claude/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +511 -511
  105. package/.claude/skills/qe-defect-intelligence/schemas/output.json +283 -283
  106. package/.claude/skills/qe-iterative-loop/schemas/output.json +264 -264
  107. package/.claude/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +144 -144
  108. package/.claude/skills/qe-learning-optimization/schemas/output.json +288 -288
  109. package/.claude/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +506 -506
  110. package/.claude/skills/qe-quality-assessment/schemas/output.json +550 -550
  111. package/.claude/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -598
  112. package/.claude/skills/qe-requirements-validation/schemas/output.json +587 -587
  113. package/.claude/skills/qe-security-compliance/evals/qe-security-compliance.yaml +595 -595
  114. package/.claude/skills/qe-security-compliance/schemas/output.json +498 -498
  115. package/.claude/skills/qe-test-execution/evals/qe-test-execution.yaml +607 -607
  116. package/.claude/skills/qe-test-execution/schemas/output.json +529 -529
  117. package/.claude/skills/qe-test-generation/evals/qe-test-generation.yaml +148 -148
  118. package/.claude/skills/qe-test-generation/schemas/output.json +439 -439
  119. package/.claude/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +142 -142
  120. package/.claude/skills/qe-visual-accessibility/schemas/output.json +491 -491
  121. package/.claude/skills/quality-metrics/evals/quality-metrics.yaml +494 -494
  122. package/.claude/skills/quality-metrics/schemas/output.json +403 -403
  123. package/.claude/skills/refactoring-patterns/schemas/output.json +475 -475
  124. package/.claude/skills/regression-testing/evals/regression-testing.yaml +504 -504
  125. package/.claude/skills/regression-testing/schemas/output.json +311 -311
  126. package/.claude/skills/release/SKILL.md +347 -347
  127. package/.claude/skills/risk-based-testing/evals/risk-based-testing.yaml +141 -141
  128. package/.claude/skills/risk-based-testing/schemas/output.json +480 -480
  129. package/.claude/skills/security-testing/evals/security-testing.yaml +789 -789
  130. package/.claude/skills/security-testing/schemas/output.json +879 -879
  131. package/.claude/skills/security-visual-testing/evals/security-visual-testing.yaml +163 -163
  132. package/.claude/skills/security-visual-testing/schemas/output.json +486 -486
  133. package/.claude/skills/sfdipot-product-factors/SKILL.md +239 -239
  134. package/.claude/skills/sherlock-review/schemas/output.json +297 -297
  135. package/.claude/skills/shift-left-testing/evals/shift-left-testing.yaml +145 -145
  136. package/.claude/skills/shift-left-testing/schemas/output.json +459 -459
  137. package/.claude/skills/shift-right-testing/evals/shift-right-testing.yaml +147 -147
  138. package/.claude/skills/shift-right-testing/schemas/output.json +418 -418
  139. package/.claude/skills/skills-manifest.json +1 -1
  140. package/.claude/skills/tdd-london-chicago/schemas/output.json +444 -444
  141. package/.claude/skills/technical-writing/schemas/output.json +268 -268
  142. package/.claude/skills/test-automation-strategy/evals/test-automation-strategy.yaml +148 -148
  143. package/.claude/skills/test-automation-strategy/schemas/output.json +444 -444
  144. package/.claude/skills/test-data-management/evals/test-data-management.yaml +504 -504
  145. package/.claude/skills/test-data-management/schemas/output.json +284 -284
  146. package/.claude/skills/test-design-techniques/evals/test-design-techniques.yaml +142 -142
  147. package/.claude/skills/test-design-techniques/schemas/output.json +295 -295
  148. package/.claude/skills/test-environment-management/schemas/output.json +310 -310
  149. package/.claude/skills/test-idea-rewriting/SKILL.md +229 -229
  150. package/.claude/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +155 -155
  151. package/.claude/skills/test-reporting-analytics/schemas/output.json +329 -329
  152. package/.claude/skills/testability-scoring/evals/testability-scoring.yaml +814 -814
  153. package/.claude/skills/testability-scoring/resources/templates/config.template.js +84 -84
  154. package/.claude/skills/testability-scoring/schemas/output.json +606 -606
  155. package/.claude/skills/testability-scoring/scripts/generate-html-report.js +1007 -1007
  156. package/.claude/skills/verification-quality/evals/verification-quality.yaml +150 -150
  157. package/.claude/skills/verification-quality/schemas/output.json +432 -432
  158. package/.claude/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -154
  159. package/.claude/skills/visual-testing-advanced/schemas/output.json +294 -294
  160. package/.claude/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +165 -165
  161. package/.claude/skills/wms-testing-patterns/schemas/output.json +150 -150
  162. package/.claude/skills/wms-testing-patterns/scripts/validate-config.json +51 -51
  163. package/CHANGELOG.md +36 -0
  164. package/README.md +171 -901
  165. package/assets/agents/v3/helpers/quality-criteria/evidence-classification.md +116 -116
  166. package/assets/agents/v3/helpers/quality-criteria/htsm-categories.md +139 -139
  167. package/assets/governance/constitution.md +202 -202
  168. package/assets/governance/shards/chaos-resilience.shard.md +221 -221
  169. package/assets/governance/shards/code-intelligence.shard.md +178 -178
  170. package/assets/governance/shards/contract-testing.shard.md +206 -206
  171. package/assets/governance/shards/coverage-analysis.shard.md +146 -146
  172. package/assets/governance/shards/defect-intelligence.shard.md +182 -182
  173. package/assets/governance/shards/learning-optimization.shard.md +248 -248
  174. package/assets/governance/shards/quality-assessment.shard.md +165 -165
  175. package/assets/governance/shards/requirements-validation.shard.md +177 -177
  176. package/assets/governance/shards/security-compliance.shard.md +196 -196
  177. package/assets/governance/shards/test-execution.shard.md +156 -156
  178. package/assets/governance/shards/test-generation.shard.md +128 -128
  179. package/assets/governance/shards/visual-accessibility.shard.md +209 -209
  180. package/assets/hooks/cross-phase-memory.yaml +253 -253
  181. package/assets/patterns/adr-051-booster-patterns.json +78 -78
  182. package/assets/patterns/adr-051-embedding-patterns.json +147 -147
  183. package/assets/patterns/adr-051-integration-summary.json +62 -62
  184. package/assets/patterns/adr-051-reasoning-patterns.json +166 -166
  185. package/assets/patterns/adr-051-router-patterns.json +113 -113
  186. package/assets/patterns/index.json +136 -136
  187. package/assets/skills/.validation/README.md +111 -111
  188. package/assets/skills/.validation/examples/chaos-engineering-output.example.json +530 -530
  189. package/assets/skills/.validation/examples/performance-testing-output.example.json +252 -252
  190. package/assets/skills/.validation/examples/security-testing-output.example.json +413 -413
  191. package/assets/skills/.validation/examples/testability-scoring-output.example.json +350 -350
  192. package/assets/skills/.validation/schemas/skill-eval.schema.json +462 -462
  193. package/assets/skills/.validation/schemas/skill-frontmatter.schema.json +341 -341
  194. package/assets/skills/.validation/schemas/skill-output-meta.schema.json +199 -199
  195. package/assets/skills/.validation/schemas/skill-output.template.json +610 -610
  196. package/assets/skills/.validation/skill-validation-mcp-integration.md +250 -250
  197. package/assets/skills/.validation/templates/eval.template.yaml +366 -366
  198. package/assets/skills/.validation/templates/schemas/output.json +145 -145
  199. package/assets/skills/.validation/templates/security-testing-eval.template.yaml +725 -725
  200. package/assets/skills/.validation/templates/skill-frontmatter.example.yaml +225 -225
  201. package/assets/skills/.validation/test-data/invalid-output.json +5 -5
  202. package/assets/skills/.validation/test-data/minimal-output.json +9 -9
  203. package/assets/skills/.validation/test-data/sample-output.json +73 -73
  204. package/assets/skills/a11y-ally/evals/a11y-ally.yaml +376 -376
  205. package/assets/skills/a11y-ally/schemas/output.json +549 -549
  206. package/assets/skills/accessibility-testing/evals/accessibility-testing.yaml +719 -719
  207. package/assets/skills/accessibility-testing/schemas/output.json +776 -776
  208. package/assets/skills/accessibility-testing/test-data/sample-output.json +191 -191
  209. package/assets/skills/agentic-quality-engineering/schemas/output.json +577 -577
  210. package/assets/skills/api-testing-patterns/evals/api-testing-patterns.yaml +696 -696
  211. package/assets/skills/api-testing-patterns/schemas/output.json +845 -845
  212. package/assets/skills/aqe-v2-v3-migration/schemas/output.json +513 -513
  213. package/assets/skills/brutal-honesty-review/schemas/output.json +291 -291
  214. package/assets/skills/bug-reporting-excellence/schemas/output.json +288 -288
  215. package/assets/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +761 -761
  216. package/assets/skills/chaos-engineering-resilience/schemas/output.json +1205 -1205
  217. package/assets/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +157 -157
  218. package/assets/skills/cicd-pipeline-qe-orchestrator/schemas/output.json +542 -542
  219. package/assets/skills/code-review-quality/schemas/output.json +264 -264
  220. package/assets/skills/compatibility-testing/evals/compatibility-testing.yaml +410 -410
  221. package/assets/skills/compatibility-testing/schemas/output.json +551 -551
  222. package/assets/skills/compliance-testing/evals/compliance-testing.yaml +1107 -1107
  223. package/assets/skills/compliance-testing/schemas/output.json +845 -845
  224. package/assets/skills/consultancy-practices/schemas/output.json +282 -282
  225. package/assets/skills/contract-testing/evals/contract-testing.yaml +748 -748
  226. package/assets/skills/contract-testing/schemas/output.json +638 -638
  227. package/assets/skills/database-testing/evals/database-testing.yaml +968 -968
  228. package/assets/skills/database-testing/schemas/output.json +1446 -1446
  229. package/assets/skills/debug-loop/SKILL.md +61 -61
  230. package/assets/skills/enterprise-integration-testing/SKILL.md +735 -735
  231. package/assets/skills/enterprise-integration-testing/evals/enterprise-integration-testing.yaml +158 -158
  232. package/assets/skills/enterprise-integration-testing/schemas/output.json +74 -74
  233. package/assets/skills/enterprise-integration-testing/scripts/validate-config.json +25 -25
  234. package/assets/skills/localization-testing/evals/localization-testing.yaml +544 -544
  235. package/assets/skills/localization-testing/schemas/output.json +325 -325
  236. package/assets/skills/middleware-testing-patterns/SKILL.md +798 -798
  237. package/assets/skills/middleware-testing-patterns/evals/middleware-testing-patterns.yaml +153 -153
  238. package/assets/skills/middleware-testing-patterns/schemas/output.json +58 -58
  239. package/assets/skills/middleware-testing-patterns/scripts/validate-config.json +25 -25
  240. package/assets/skills/mobile-testing/evals/mobile-testing.yaml +537 -537
  241. package/assets/skills/mobile-testing/schemas/output.json +318 -318
  242. package/assets/skills/mutation-testing/evals/mutation-testing.yaml +652 -652
  243. package/assets/skills/mutation-testing/schemas/output.json +707 -707
  244. package/assets/skills/mutation-testing/test-data/sample-output.json +295 -295
  245. package/assets/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +450 -450
  246. package/assets/skills/n8n-expression-testing/schemas/output.json +369 -369
  247. package/assets/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +522 -522
  248. package/assets/skills/n8n-integration-testing-patterns/schemas/output.json +291 -291
  249. package/assets/skills/n8n-security-testing/evals/n8n-security-testing.yaml +493 -493
  250. package/assets/skills/n8n-security-testing/schemas/output.json +293 -293
  251. package/assets/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +500 -500
  252. package/assets/skills/n8n-trigger-testing-strategies/schemas/output.json +295 -295
  253. package/assets/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +497 -497
  254. package/assets/skills/n8n-workflow-testing-fundamentals/schemas/output.json +254 -254
  255. package/assets/skills/observability-testing-patterns/SKILL.md +930 -930
  256. package/assets/skills/observability-testing-patterns/evals/observability-testing-patterns.yaml +157 -157
  257. package/assets/skills/observability-testing-patterns/schemas/output.json +58 -58
  258. package/assets/skills/observability-testing-patterns/scripts/validate-config.json +25 -25
  259. package/assets/skills/pentest-validation/SKILL.md +268 -268
  260. package/assets/skills/pentest-validation/evals/pentest-validation.yaml +708 -708
  261. package/assets/skills/pentest-validation/schemas/output.json +281 -281
  262. package/assets/skills/performance-testing/evals/performance-testing.yaml +772 -772
  263. package/assets/skills/performance-testing/schemas/output.json +1184 -1184
  264. package/assets/skills/pr-review/SKILL.md +61 -61
  265. package/assets/skills/qcsd-cicd-swarm/SKILL.md +2206 -2206
  266. package/assets/skills/qcsd-cicd-swarm/evals/qcsd-cicd-swarm.yaml +211 -211
  267. package/assets/skills/qcsd-cicd-swarm/schemas/output.json +86 -86
  268. package/assets/skills/qcsd-cicd-swarm/scripts/validate-config.json +30 -30
  269. package/assets/skills/qcsd-development-swarm/SKILL.md +2154 -2154
  270. package/assets/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +162 -162
  271. package/assets/skills/qcsd-development-swarm/schemas/output.json +72 -72
  272. package/assets/skills/qcsd-development-swarm/scripts/validate-config.json +25 -25
  273. package/assets/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +138 -138
  274. package/assets/skills/qcsd-ideation-swarm/schemas/output.json +568 -568
  275. package/assets/skills/qcsd-production-swarm/SKILL.md +2781 -2781
  276. package/assets/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +246 -246
  277. package/assets/skills/qcsd-production-swarm/schemas/output.json +505 -505
  278. package/assets/skills/qcsd-production-swarm/scripts/validate-config.json +25 -25
  279. package/assets/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +443 -443
  280. package/assets/skills/qe-chaos-resilience/schemas/output.json +314 -314
  281. package/assets/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +459 -459
  282. package/assets/skills/qe-code-intelligence/schemas/output.json +315 -315
  283. package/assets/skills/qe-contract-testing/evals/qe-contract-testing.yaml +513 -513
  284. package/assets/skills/qe-contract-testing/schemas/output.json +295 -295
  285. package/assets/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -494
  286. package/assets/skills/qe-coverage-analysis/schemas/output.json +286 -286
  287. package/assets/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +511 -511
  288. package/assets/skills/qe-defect-intelligence/schemas/output.json +283 -283
  289. package/assets/skills/qe-iterative-loop/schemas/output.json +264 -264
  290. package/assets/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +144 -144
  291. package/assets/skills/qe-learning-optimization/schemas/output.json +288 -288
  292. package/assets/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +506 -506
  293. package/assets/skills/qe-quality-assessment/schemas/output.json +550 -550
  294. package/assets/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -598
  295. package/assets/skills/qe-requirements-validation/schemas/output.json +587 -587
  296. package/assets/skills/qe-security-compliance/evals/qe-security-compliance.yaml +595 -595
  297. package/assets/skills/qe-security-compliance/schemas/output.json +498 -498
  298. package/assets/skills/qe-test-execution/evals/qe-test-execution.yaml +607 -607
  299. package/assets/skills/qe-test-execution/schemas/output.json +529 -529
  300. package/assets/skills/qe-test-generation/evals/qe-test-generation.yaml +148 -148
  301. package/assets/skills/qe-test-generation/schemas/output.json +439 -439
  302. package/assets/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +142 -142
  303. package/assets/skills/qe-visual-accessibility/schemas/output.json +491 -491
  304. package/assets/skills/quality-metrics/evals/quality-metrics.yaml +494 -494
  305. package/assets/skills/quality-metrics/schemas/output.json +403 -403
  306. package/assets/skills/refactoring-patterns/schemas/output.json +475 -475
  307. package/assets/skills/regression-testing/evals/regression-testing.yaml +504 -504
  308. package/assets/skills/regression-testing/schemas/output.json +311 -311
  309. package/assets/skills/risk-based-testing/evals/risk-based-testing.yaml +141 -141
  310. package/assets/skills/risk-based-testing/schemas/output.json +480 -480
  311. package/assets/skills/security-testing/evals/security-testing.yaml +789 -789
  312. package/assets/skills/security-testing/schemas/output.json +879 -879
  313. package/assets/skills/security-visual-testing/evals/security-visual-testing.yaml +163 -163
  314. package/assets/skills/security-visual-testing/schemas/output.json +486 -486
  315. package/assets/skills/sfdipot-product-factors/SKILL.md +239 -239
  316. package/assets/skills/sherlock-review/schemas/output.json +297 -297
  317. package/assets/skills/shift-left-testing/evals/shift-left-testing.yaml +145 -145
  318. package/assets/skills/shift-left-testing/schemas/output.json +459 -459
  319. package/assets/skills/shift-right-testing/evals/shift-right-testing.yaml +147 -147
  320. package/assets/skills/shift-right-testing/schemas/output.json +418 -418
  321. package/assets/skills/tdd-london-chicago/schemas/output.json +444 -444
  322. package/assets/skills/technical-writing/schemas/output.json +268 -268
  323. package/assets/skills/test-automation-strategy/evals/test-automation-strategy.yaml +148 -148
  324. package/assets/skills/test-automation-strategy/schemas/output.json +444 -444
  325. package/assets/skills/test-data-management/evals/test-data-management.yaml +504 -504
  326. package/assets/skills/test-data-management/schemas/output.json +284 -284
  327. package/assets/skills/test-design-techniques/evals/test-design-techniques.yaml +142 -142
  328. package/assets/skills/test-design-techniques/schemas/output.json +295 -295
  329. package/assets/skills/test-environment-management/schemas/output.json +310 -310
  330. package/assets/skills/test-idea-rewriting/SKILL.md +229 -229
  331. package/assets/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +155 -155
  332. package/assets/skills/test-reporting-analytics/schemas/output.json +329 -329
  333. package/assets/skills/testability-scoring/evals/testability-scoring.yaml +814 -814
  334. package/assets/skills/testability-scoring/resources/templates/config.template.js +84 -84
  335. package/assets/skills/testability-scoring/schemas/output.json +606 -606
  336. package/assets/skills/testability-scoring/scripts/generate-html-report.js +1007 -1007
  337. package/assets/skills/verification-quality/evals/verification-quality.yaml +150 -150
  338. package/assets/skills/verification-quality/schemas/output.json +432 -432
  339. package/assets/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -154
  340. package/assets/skills/visual-testing-advanced/schemas/output.json +294 -294
  341. package/assets/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +165 -165
  342. package/assets/skills/wms-testing-patterns/schemas/output.json +150 -150
  343. package/assets/skills/wms-testing-patterns/scripts/validate-config.json +51 -51
  344. package/assets/templates/validation-summary.json +56 -56
  345. package/dist/agents/claim-verifier/verifiers/output-verifier.d.ts +1 -0
  346. package/dist/agents/claim-verifier/verifiers/output-verifier.d.ts.map +1 -1
  347. package/dist/agents/claim-verifier/verifiers/output-verifier.js +16 -3
  348. package/dist/agents/claim-verifier/verifiers/output-verifier.js.map +1 -1
  349. package/dist/cli/bundle.js +488 -75
  350. package/dist/cli/commands/mcp.d.ts.map +1 -1
  351. package/dist/cli/commands/mcp.js +11 -9
  352. package/dist/cli/commands/mcp.js.map +1 -1
  353. package/dist/governance/adversarial-defense-integration.d.ts +29 -0
  354. package/dist/governance/adversarial-defense-integration.d.ts.map +1 -1
  355. package/dist/governance/adversarial-defense-integration.js +85 -1
  356. package/dist/governance/adversarial-defense-integration.js.map +1 -1
  357. package/dist/governance/continue-gate-integration.d.ts +7 -5
  358. package/dist/governance/continue-gate-integration.d.ts.map +1 -1
  359. package/dist/governance/continue-gate-integration.js +72 -15
  360. package/dist/governance/continue-gate-integration.js.map +1 -1
  361. package/dist/governance/deterministic-gateway-integration.d.ts +5 -0
  362. package/dist/governance/deterministic-gateway-integration.d.ts.map +1 -1
  363. package/dist/governance/deterministic-gateway-integration.js +35 -1
  364. package/dist/governance/deterministic-gateway-integration.js.map +1 -1
  365. package/dist/governance/evolution-pipeline-integration.d.ts +5 -0
  366. package/dist/governance/evolution-pipeline-integration.d.ts.map +1 -1
  367. package/dist/governance/evolution-pipeline-integration.js +57 -1
  368. package/dist/governance/evolution-pipeline-integration.js.map +1 -1
  369. package/dist/governance/memory-write-gate-integration.d.ts +6 -3
  370. package/dist/governance/memory-write-gate-integration.d.ts.map +1 -1
  371. package/dist/governance/memory-write-gate-integration.js +48 -10
  372. package/dist/governance/memory-write-gate-integration.js.map +1 -1
  373. package/dist/governance/proof-envelope-integration.d.ts +1 -0
  374. package/dist/governance/proof-envelope-integration.d.ts.map +1 -1
  375. package/dist/governance/proof-envelope-integration.js +37 -0
  376. package/dist/governance/proof-envelope-integration.js.map +1 -1
  377. package/dist/governance/shard-retriever-integration.d.ts +10 -0
  378. package/dist/governance/shard-retriever-integration.d.ts.map +1 -1
  379. package/dist/governance/shard-retriever-integration.js +50 -1
  380. package/dist/governance/shard-retriever-integration.js.map +1 -1
  381. package/dist/governance/trust-accumulator-integration.d.ts +5 -0
  382. package/dist/governance/trust-accumulator-integration.d.ts.map +1 -1
  383. package/dist/governance/trust-accumulator-integration.js +35 -2
  384. package/dist/governance/trust-accumulator-integration.js.map +1 -1
  385. package/dist/init/phases/10-workers.js +2 -2
  386. package/dist/init/phases/10-workers.js.map +1 -1
  387. package/dist/mcp/bundle.js +478 -62
  388. package/dist/mcp/protocol-server.js +2 -2
  389. package/dist/mcp/tool-registry.d.ts.map +1 -1
  390. package/dist/mcp/tool-registry.js +1 -0
  391. package/dist/mcp/tool-registry.js.map +1 -1
  392. package/dist/shared/language-detector.js +1 -1
  393. package/dist/shared/language-detector.js.map +1 -1
  394. package/dist/shared/parsers/multi-language-parser.d.ts.map +1 -1
  395. package/dist/shared/parsers/multi-language-parser.js +55 -16
  396. package/dist/shared/parsers/multi-language-parser.js.map +1 -1
  397. package/dist/shared/sql-safety.d.ts.map +1 -1
  398. package/dist/shared/sql-safety.js +7 -1
  399. package/dist/shared/sql-safety.js.map +1 -1
  400. package/package.json +6 -2
  401. package/scripts/prepare-assets.sh +8 -0
@@ -1,814 +1,814 @@
1
- # =============================================================================
2
- # Testability Scoring Skill Evaluation Suite v2.2.0
3
- # Tests the 10 principles of intrinsic testability assessment
4
- # =============================================================================
5
- #
6
- # This evaluation suite validates:
7
- # - All 10 testability dimensions (Bach & Bolton framework)
8
- # - Score calculation accuracy and grade mapping
9
- # - Recommendation quality and actionability
10
- # - Code complexity analysis for testability
11
- # - Multi-model consistency across Claude/GPT models
12
- #
13
- # Schema: .claude/skills/.validation/schemas/skill-eval.schema.json
14
- # Runner: scripts/run-skill-eval.ts
15
- #
16
- # =============================================================================
17
-
18
- skill: testability-scoring
19
- version: 2.2.0
20
- description: >
21
- Comprehensive evaluation suite for the testability-scoring skill.
22
- Tests all 10 principles of intrinsic testability (Observability, Controllability,
23
- Algorithmic Simplicity, Algorithmic Transparency, Algorithmic Stability,
24
- Explainability, Unbugginess, Smallness, Decomposability, Similarity).
25
- Ensures consistent scoring across models and validates recommendations.
26
-
27
- # =============================================================================
28
- # Multi-Model Configuration
29
- # =============================================================================
30
-
31
- models_to_test:
32
- - claude-sonnet-4-20250514 # Primary model (high accuracy expected)
33
- - claude-3-haiku # Fast model (minimum quality threshold)
34
- - gpt-4o # Cross-vendor validation
35
-
36
- # =============================================================================
37
- # MCP Integration Configuration
38
- # =============================================================================
39
-
40
- mcp_integration:
41
- enabled: true
42
- namespace: skill-validation/testability-scoring
43
-
44
- # Query existing patterns before running evals
45
- query_patterns: true
46
-
47
- # Track each test outcome for learning feedback loop
48
- track_outcomes: true
49
-
50
- # Store successful patterns after evals complete
51
- store_patterns: true
52
-
53
- # Share learning with fleet coordinator agents
54
- share_learning: true
55
-
56
- # Update quality gate with validation metrics
57
- update_quality_gate: true
58
-
59
- # Agents to share learning with
60
- target_agents:
61
- - qe-learning-coordinator
62
- - qe-queen-coordinator
63
- - qe-quality-analyzer
64
-
65
- # =============================================================================
66
- # ReasoningBank Learning Configuration
67
- # =============================================================================
68
-
69
- learning:
70
- store_success_patterns: true
71
- store_failure_patterns: true
72
- pattern_ttl_days: 90
73
- min_confidence_to_store: 0.7
74
- cross_model_comparison: true
75
-
76
- # =============================================================================
77
- # Result Format Configuration
78
- # =============================================================================
79
-
80
- result_format:
81
- json_output: true
82
- markdown_report: true
83
- include_raw_output: false
84
- include_timing: true
85
- include_token_usage: true
86
-
87
- # =============================================================================
88
- # Environment Setup
89
- # =============================================================================
90
-
91
- setup:
92
- required_tools:
93
- - playwright
94
- - jq
95
- environment_variables:
96
- TEST_TIMEOUT_MS: "30000"
97
- HEADLESS: "true"
98
- fixtures:
99
- - name: high_testability_page
100
- path: fixtures/high-testability-sample.html
101
- content: |
102
- <!DOCTYPE html>
103
- <html lang="en">
104
- <head><title>High Testability Sample</title></head>
105
- <body>
106
- <main data-testid="main-content">
107
- <h1 data-testid="page-title">Welcome</h1>
108
- <form data-testid="contact-form">
109
- <label for="name">Name</label>
110
- <input id="name" data-testid="name-input" type="text" />
111
- <button data-testid="submit-btn" type="submit">Submit</button>
112
- </form>
113
- </main>
114
- </body>
115
- </html>
116
-
117
- - name: low_testability_page
118
- path: fixtures/low-testability-sample.html
119
- content: |
120
- <!DOCTYPE html>
121
- <html>
122
- <head><title>Low Testability Sample</title></head>
123
- <body>
124
- <div class="x1" onclick="doStuff()">
125
- <div class="x2"><div class="x3">Click me</div></div>
126
- </div>
127
- <script>
128
- console.error('Intentional error for testing');
129
- var globalState = {};
130
- </script>
131
- </body>
132
- </html>
133
-
134
- # =============================================================================
135
- # Test Cases - 10 Testability Dimensions
136
- # =============================================================================
137
-
138
- test_cases:
139
- # -------------------------------------------------------------------------
140
- # OBSERVABILITY (15% weight) - Can we see what's happening?
141
- # -------------------------------------------------------------------------
142
-
143
- - id: tc001_observability_high
144
- description: "Correctly identifies high observability in well-instrumented page"
145
- category: observability
146
- priority: critical
147
-
148
- input:
149
- url: "fixtures/high-testability-sample.html"
150
- focus_dimension: observability
151
- context:
152
- has_logging: true
153
- has_devtools_support: true
154
- has_network_visibility: true
155
-
156
- expected_output:
157
- must_contain:
158
- - "observability"
159
- - "score"
160
- dimension_score:
161
- dimension: observability
162
- min: 75
163
- max: 100
164
-
165
- validation:
166
- schema_check: true
167
- keyword_match_threshold: 0.8
168
- reasoning_quality_min: 0.7
169
-
170
- - id: tc002_observability_console_errors
171
- description: "Detects console errors as observability risk"
172
- category: observability
173
- priority: high
174
-
175
- input:
176
- code: |
177
- // Application with hidden errors
178
- try {
179
- processData(input);
180
- } catch (e) {
181
- // Silent fail - no logging
182
- }
183
- context:
184
- console_errors: 5
185
- has_error_tracking: false
186
-
187
- expected_output:
188
- must_contain:
189
- - "console"
190
- - "error"
191
- - "observability"
192
- severity_classification: medium
193
-
194
- validation:
195
- schema_check: true
196
- finding_count:
197
- min: 1
198
-
199
- # -------------------------------------------------------------------------
200
- # CONTROLLABILITY (15% weight) - Can we control the application?
201
- # -------------------------------------------------------------------------
202
-
203
- - id: tc003_controllability_testid
204
- description: "Identifies data-testid coverage for controllability"
205
- category: controllability
206
- priority: critical
207
-
208
- input:
209
- code: |
210
- <button data-testid="submit-btn" onClick={handleSubmit}>Submit</button>
211
- <button onClick={handleCancel}>Cancel</button>
212
- <input data-testid="email-input" type="email" />
213
- <input type="text" />
214
- context:
215
- framework: react
216
- has_test_ids: "partial"
217
-
218
- expected_output:
219
- must_contain:
220
- - "data-testid"
221
- - "controllability"
222
- must_not_contain:
223
- - "excellent controllability"
224
-
225
- validation:
226
- schema_check: true
227
- keyword_match_threshold: 0.8
228
-
229
- - id: tc004_controllability_api_access
230
- description: "Evaluates API controllability for test data injection"
231
- category: controllability
232
- priority: high
233
-
234
- input:
235
- code: |
236
- // API with test hooks
237
- class UserService {
238
- constructor(private db: Database, private cache?: Cache) {}
239
-
240
- // Test hook
241
- static setTestDatabase(testDb: Database) {
242
- this.testDb = testDb;
243
- }
244
-
245
- async getUser(id: string) {
246
- return this.db.findUser(id);
247
- }
248
- }
249
- context:
250
- has_dependency_injection: true
251
- has_test_hooks: true
252
-
253
- expected_output:
254
- must_contain:
255
- - "controllability"
256
- - "injection"
257
- dimension_score:
258
- dimension: controllability
259
- min: 70
260
-
261
- validation:
262
- schema_check: true
263
-
264
- # -------------------------------------------------------------------------
265
- # ALGORITHMIC SIMPLICITY (10% weight) - Are behaviors predictable?
266
- # -------------------------------------------------------------------------
267
-
268
- - id: tc005_simplicity_deterministic
269
- description: "Identifies deterministic behavior as high simplicity"
270
- category: algorithmicSimplicity
271
- priority: high
272
-
273
- input:
274
- code: |
275
- function calculateTotal(items: Item[]): number {
276
- return items.reduce((sum, item) => sum + item.price * item.quantity, 0);
277
- }
278
- context:
279
- has_side_effects: false
280
- is_pure_function: true
281
-
282
- expected_output:
283
- must_contain:
284
- - "simplicity"
285
- - "predictable"
286
- dimension_score:
287
- dimension: algorithmicSimplicity
288
- min: 80
289
-
290
- validation:
291
- schema_check: true
292
-
293
- - id: tc006_simplicity_non_deterministic
294
- description: "Flags non-deterministic behavior as simplicity risk"
295
- category: algorithmicSimplicity
296
- priority: high
297
-
298
- input:
299
- code: |
300
- function getRecommendations(userId: string): Product[] {
301
- const random = Math.random();
302
- const products = fetchProducts();
303
- if (random > 0.5) {
304
- return shuffle(products);
305
- }
306
- return products.slice(0, random * products.length);
307
- }
308
- context:
309
- has_randomness: true
310
- is_deterministic: false
311
-
312
- expected_output:
313
- must_contain:
314
- - "random"
315
- - "non-deterministic"
316
- - "simplicity"
317
- severity_classification: medium
318
-
319
- validation:
320
- schema_check: true
321
- finding_count:
322
- min: 1
323
-
324
- # -------------------------------------------------------------------------
325
- # ALGORITHMIC TRANSPARENCY (10% weight) - Can we understand what it does?
326
- # -------------------------------------------------------------------------
327
-
328
- - id: tc007_transparency_clear_logic
329
- description: "Identifies clear, readable code as high transparency"
330
- category: algorithmicTransparency
331
- priority: medium
332
-
333
- input:
334
- code: |
335
- /**
336
- * Validates user registration data
337
- * @param user - User registration form data
338
- * @returns Validation result with errors if any
339
- */
340
- function validateRegistration(user: RegistrationData): ValidationResult {
341
- const errors: string[] = [];
342
-
343
- if (!user.email || !isValidEmail(user.email)) {
344
- errors.push('Valid email is required');
345
- }
346
-
347
- if (!user.password || user.password.length < 8) {
348
- errors.push('Password must be at least 8 characters');
349
- }
350
-
351
- return { isValid: errors.length === 0, errors };
352
- }
353
- context:
354
- has_documentation: true
355
- cyclomatic_complexity: "low"
356
-
357
- expected_output:
358
- must_contain:
359
- - "transparency"
360
- - "readable"
361
- dimension_score:
362
- dimension: algorithmicTransparency
363
- min: 75
364
-
365
- validation:
366
- schema_check: true
367
-
368
- # -------------------------------------------------------------------------
369
- # ALGORITHMIC STABILITY (10% weight) - Does behavior remain consistent?
370
- # -------------------------------------------------------------------------
371
-
372
- - id: tc008_stability_async_handling
373
- description: "Evaluates async operation stability"
374
- category: algorithmicStability
375
- priority: high
376
-
377
- input:
378
- code: |
379
- async function loadDashboard() {
380
- const [users, orders, products] = await Promise.all([
381
- fetchUsers(),
382
- fetchOrders(),
383
- fetchProducts()
384
- ]);
385
- // No loading state management
386
- renderDashboard({ users, orders, products });
387
- }
388
- context:
389
- has_loading_states: false
390
- has_error_boundaries: false
391
-
392
- expected_output:
393
- must_contain:
394
- - "stability"
395
- - "async"
396
- - "loading"
397
-
398
- validation:
399
- schema_check: true
400
-
401
- # -------------------------------------------------------------------------
402
- # EXPLAINABILITY (10% weight) - Is the interface understandable?
403
- # -------------------------------------------------------------------------
404
-
405
- - id: tc009_explainability_semantic_html
406
- description: "Evaluates semantic HTML usage for explainability"
407
- category: explainability
408
- priority: medium
409
-
410
- input:
411
- code: |
412
- <nav role="navigation" aria-label="Main menu">
413
- <ul>
414
- <li><a href="/home">Home</a></li>
415
- <li><a href="/about">About</a></li>
416
- </ul>
417
- </nav>
418
- <main>
419
- <article>
420
- <h1>Page Title</h1>
421
- <p>Content here</p>
422
- </article>
423
- </main>
424
- context:
425
- has_aria_labels: true
426
- has_semantic_html: true
427
-
428
- expected_output:
429
- must_contain:
430
- - "explainability"
431
- - "semantic"
432
- dimension_score:
433
- dimension: explainability
434
- min: 80
435
-
436
- validation:
437
- schema_check: true
438
-
439
- # -------------------------------------------------------------------------
440
- # UNBUGGINESS (10% weight) - How error-free is it?
441
- # -------------------------------------------------------------------------
442
-
443
- - id: tc010_unbugginess_clean
444
- description: "Identifies error-free code as high unbugginess"
445
- category: unbugginess
446
- priority: critical
447
-
448
- input:
449
- context:
450
- console_errors: 0
451
- console_warnings: 0
452
- runtime_exceptions: 0
453
-
454
- expected_output:
455
- must_contain:
456
- - "unbugginess"
457
- dimension_score:
458
- dimension: unbugginess
459
- min: 85
460
-
461
- validation:
462
- schema_check: true
463
-
464
- - id: tc011_unbugginess_errors
465
- description: "Flags console errors as unbugginess risk"
466
- category: unbugginess
467
- priority: high
468
-
469
- input:
470
- context:
471
- console_errors: 5
472
- console_warnings: 10
473
- runtime_exceptions: 2
474
- error_details:
475
- - "TypeError: Cannot read property 'map' of undefined"
476
- - "NetworkError: Failed to fetch"
477
-
478
- expected_output:
479
- must_contain:
480
- - "error"
481
- - "unbugginess"
482
- severity_classification: high
483
-
484
- validation:
485
- schema_check: true
486
- finding_count:
487
- min: 1
488
-
489
- # -------------------------------------------------------------------------
490
- # SMALLNESS (10% weight) - Are components appropriately sized?
491
- # -------------------------------------------------------------------------
492
-
493
- - id: tc012_smallness_dom_complexity
494
- description: "Evaluates DOM element count for smallness"
495
- category: smallness
496
- priority: medium
497
-
498
- input:
499
- context:
500
- dom_element_count: 3500
501
- script_bundle_size_kb: 2048
502
- third_party_scripts: 25
503
-
504
- expected_output:
505
- must_contain:
506
- - "smallness"
507
- - "DOM"
508
- - "element"
509
- severity_classification: high
510
-
511
- validation:
512
- schema_check: true
513
- finding_count:
514
- min: 1
515
-
516
- - id: tc013_smallness_optimal
517
- description: "Identifies well-sized components as high smallness"
518
- category: smallness
519
- priority: medium
520
-
521
- input:
522
- context:
523
- dom_element_count: 500
524
- script_bundle_size_kb: 256
525
- third_party_scripts: 3
526
-
527
- expected_output:
528
- must_contain:
529
- - "smallness"
530
- dimension_score:
531
- dimension: smallness
532
- min: 80
533
-
534
- validation:
535
- schema_check: true
536
-
537
- # -------------------------------------------------------------------------
538
- # DECOMPOSABILITY (5% weight) - Can we test parts in isolation?
539
- # -------------------------------------------------------------------------
540
-
541
- - id: tc014_decomposability_modular
542
- description: "Identifies modular architecture as high decomposability"
543
- category: decomposability
544
- priority: medium
545
-
546
- input:
547
- code: |
548
- // Modular component with clear boundaries
549
- export function UserCard({ user, onEdit, onDelete }: UserCardProps) {
550
- return (
551
- <div data-testid="user-card">
552
- <Avatar user={user} />
553
- <UserInfo user={user} />
554
- <ActionButtons onEdit={onEdit} onDelete={onDelete} />
555
- </div>
556
- );
557
- }
558
- context:
559
- has_component_isolation: true
560
- has_dependency_injection: true
561
-
562
- expected_output:
563
- must_contain:
564
- - "decomposability"
565
- - "modular"
566
- dimension_score:
567
- dimension: decomposability
568
- min: 75
569
-
570
- validation:
571
- schema_check: true
572
-
573
- # -------------------------------------------------------------------------
574
- # SIMILARITY (5% weight) - Is the tech stack familiar?
575
- # -------------------------------------------------------------------------
576
-
577
- - id: tc015_similarity_standard_stack
578
- description: "Identifies standard frameworks as high similarity"
579
- category: similarity
580
- priority: low
581
-
582
- input:
583
- context:
584
- framework: "React"
585
- language: "TypeScript"
586
- testing_framework: "Jest"
587
- build_tool: "Vite"
588
-
589
- expected_output:
590
- must_contain:
591
- - "similarity"
592
- - "React"
593
- dimension_score:
594
- dimension: similarity
595
- min: 80
596
-
597
- validation:
598
- schema_check: true
599
-
600
- # -------------------------------------------------------------------------
601
- # Overall Score Calculation
602
- # -------------------------------------------------------------------------
603
-
604
- - id: tc016_overall_score_calculation
605
- description: "Validates overall score is weighted average of dimensions"
606
- category: scoring
607
- priority: critical
608
-
609
- input:
610
- context:
611
- validate_score_calculation: true
612
- expected_weights:
613
- observability: 0.15
614
- controllability: 0.15
615
- algorithmicSimplicity: 0.10
616
- algorithmicTransparency: 0.10
617
- algorithmicStability: 0.10
618
- explainability: 0.10
619
- unbugginess: 0.10
620
- smallness: 0.10
621
- decomposability: 0.05
622
- similarity: 0.05
623
-
624
- expected_output:
625
- must_contain:
626
- - "score"
627
- - "grade"
628
- overall_score:
629
- min: 0
630
- max: 100
631
-
632
- validation:
633
- schema_check: true
634
- validate_weights_sum: true
635
-
636
- # -------------------------------------------------------------------------
637
- # Grade Mapping
638
- # -------------------------------------------------------------------------
639
-
640
- - id: tc017_grade_mapping_excellent
641
- description: "Validates A grade for scores 90-100"
642
- category: scoring
643
- priority: high
644
-
645
- input:
646
- context:
647
- expected_score: 92
648
- expected_grade: "A"
649
-
650
- expected_output:
651
- must_contain:
652
- - "grade"
653
- - "A"
654
- overall_score:
655
- min: 90
656
- max: 100
657
-
658
- validation:
659
- schema_check: true
660
-
661
- - id: tc018_grade_mapping_poor
662
- description: "Validates F grade for scores below 60"
663
- category: scoring
664
- priority: high
665
-
666
- input:
667
- context:
668
- expected_score: 45
669
- expected_grade: "F"
670
-
671
- expected_output:
672
- must_contain:
673
- - "grade"
674
- - "F"
675
- overall_score:
676
- min: 0
677
- max: 59
678
-
679
- validation:
680
- schema_check: true
681
-
682
- # -------------------------------------------------------------------------
683
- # Recommendation Quality
684
- # -------------------------------------------------------------------------
685
-
686
- - id: tc019_recommendations_actionable
687
- description: "Validates recommendations are actionable with code examples"
688
- category: recommendations
689
- priority: high
690
-
691
- input:
692
- context:
693
- finding_type: "missing_testid"
694
- require_code_example: true
695
- require_impact_score: true
696
-
697
- expected_output:
698
- must_contain:
699
- - "recommendation"
700
- - "data-testid"
701
- must_not_contain:
702
- - "TODO"
703
- - "placeholder"
704
-
705
- validation:
706
- schema_check: true
707
- recommendation_has_code: true
708
- recommendation_has_impact: true
709
-
710
- - id: tc020_recommendations_prioritized
711
- description: "Validates recommendations are sorted by priority/impact"
712
- category: recommendations
713
- priority: medium
714
-
715
- input:
716
- context:
717
- multiple_issues: true
718
- require_prioritization: true
719
-
720
- expected_output:
721
- must_contain:
722
- - "priority"
723
- - "impact"
724
-
725
- validation:
726
- schema_check: true
727
- recommendations_sorted: true
728
-
729
- # -------------------------------------------------------------------------
730
- # Edge Cases
731
- # -------------------------------------------------------------------------
732
-
733
- - id: tc021_empty_page
734
- description: "Handles empty/blank page gracefully"
735
- category: edge_cases
736
- priority: medium
737
-
738
- input:
739
- code: |
740
- <!DOCTYPE html>
741
- <html><head></head><body></body></html>
742
- context:
743
- page_type: "empty"
744
-
745
- expected_output:
746
- must_not_contain:
747
- - "exception"
748
- - "crash"
749
- - "error"
750
-
751
- validation:
752
- schema_check: true
753
- allow_partial: true
754
-
755
- - id: tc022_spa_dynamic_content
756
- description: "Handles SPA with dynamic content loading"
757
- category: edge_cases
758
- priority: medium
759
-
760
- input:
761
- context:
762
- spa: true
763
- lazy_loading: true
764
- async_content: true
765
- wait_time_ms: 5000
766
-
767
- expected_output:
768
- must_contain:
769
- - "dynamic"
770
- - "loading"
771
-
772
- validation:
773
- schema_check: true
774
- timeout_ms: 60000
775
-
776
- # =============================================================================
777
- # Success Criteria
778
- # =============================================================================
779
-
780
- success_criteria:
781
- # Minimum percentage of tests that must pass
782
- pass_rate: 0.90
783
-
784
- # Critical tests must have 100% pass rate
785
- critical_pass_rate: 1.0
786
-
787
- # Average reasoning quality across all tests
788
- avg_reasoning_quality: 0.7
789
-
790
- # Maximum time for entire suite (10 minutes)
791
- max_execution_time_ms: 600000
792
-
793
- # Maximum variance between different models (15%)
794
- cross_model_variance: 0.15
795
-
796
- # Testability-specific criteria
797
- dimension_coverage: 1.0 # All 10 dimensions must be tested
798
- score_range_validation: true # All scores must be 0-100
799
- weight_sum_validation: true # Weights must sum to 1.0
800
-
801
- # =============================================================================
802
- # Metadata
803
- # =============================================================================
804
-
805
- metadata:
806
- author: "@agentic-qe"
807
- created: "2026-02-02"
808
- last_updated: "2026-02-02"
809
- coverage_target: "All 10 testability principles with scoring validation"
810
- framework_reference: "James Bach & Michael Bolton - Heuristics for Software Testability"
811
- related_skills:
812
- - accessibility-testing
813
- - visual-testing-advanced
814
- - performance-testing
1
+ # =============================================================================
2
+ # Testability Scoring Skill Evaluation Suite v2.2.0
3
+ # Tests the 10 principles of intrinsic testability assessment
4
+ # =============================================================================
5
+ #
6
+ # This evaluation suite validates:
7
+ # - All 10 testability dimensions (Bach & Bolton framework)
8
+ # - Score calculation accuracy and grade mapping
9
+ # - Recommendation quality and actionability
10
+ # - Code complexity analysis for testability
11
+ # - Multi-model consistency across Claude/GPT models
12
+ #
13
+ # Schema: .claude/skills/.validation/schemas/skill-eval.schema.json
14
+ # Runner: scripts/run-skill-eval.ts
15
+ #
16
+ # =============================================================================
17
+
18
+ skill: testability-scoring
19
+ version: 2.2.0
20
+ description: >
21
+ Comprehensive evaluation suite for the testability-scoring skill.
22
+ Tests all 10 principles of intrinsic testability (Observability, Controllability,
23
+ Algorithmic Simplicity, Algorithmic Transparency, Algorithmic Stability,
24
+ Explainability, Unbugginess, Smallness, Decomposability, Similarity).
25
+ Ensures consistent scoring across models and validates recommendations.
26
+
27
+ # =============================================================================
28
+ # Multi-Model Configuration
29
+ # =============================================================================
30
+
31
+ models_to_test:
32
+ - claude-sonnet-4-20250514 # Primary model (high accuracy expected)
33
+ - claude-3-haiku # Fast model (minimum quality threshold)
34
+ - gpt-4o # Cross-vendor validation
35
+
36
+ # =============================================================================
37
+ # MCP Integration Configuration
38
+ # =============================================================================
39
+
40
+ mcp_integration:
41
+ enabled: true
42
+ namespace: skill-validation/testability-scoring
43
+
44
+ # Query existing patterns before running evals
45
+ query_patterns: true
46
+
47
+ # Track each test outcome for learning feedback loop
48
+ track_outcomes: true
49
+
50
+ # Store successful patterns after evals complete
51
+ store_patterns: true
52
+
53
+ # Share learning with fleet coordinator agents
54
+ share_learning: true
55
+
56
+ # Update quality gate with validation metrics
57
+ update_quality_gate: true
58
+
59
+ # Agents to share learning with
60
+ target_agents:
61
+ - qe-learning-coordinator
62
+ - qe-queen-coordinator
63
+ - qe-quality-analyzer
64
+
65
+ # =============================================================================
66
+ # ReasoningBank Learning Configuration
67
+ # =============================================================================
68
+
69
+ learning:
70
+ store_success_patterns: true
71
+ store_failure_patterns: true
72
+ pattern_ttl_days: 90
73
+ min_confidence_to_store: 0.7
74
+ cross_model_comparison: true
75
+
76
+ # =============================================================================
77
+ # Result Format Configuration
78
+ # =============================================================================
79
+
80
+ result_format:
81
+ json_output: true
82
+ markdown_report: true
83
+ include_raw_output: false
84
+ include_timing: true
85
+ include_token_usage: true
86
+
87
+ # =============================================================================
88
+ # Environment Setup
89
+ # =============================================================================
90
+
91
+ setup:
92
+ required_tools:
93
+ - playwright
94
+ - jq
95
+ environment_variables:
96
+ TEST_TIMEOUT_MS: "30000"
97
+ HEADLESS: "true"
98
+ fixtures:
99
+ - name: high_testability_page
100
+ path: fixtures/high-testability-sample.html
101
+ content: |
102
+ <!DOCTYPE html>
103
+ <html lang="en">
104
+ <head><title>High Testability Sample</title></head>
105
+ <body>
106
+ <main data-testid="main-content">
107
+ <h1 data-testid="page-title">Welcome</h1>
108
+ <form data-testid="contact-form">
109
+ <label for="name">Name</label>
110
+ <input id="name" data-testid="name-input" type="text" />
111
+ <button data-testid="submit-btn" type="submit">Submit</button>
112
+ </form>
113
+ </main>
114
+ </body>
115
+ </html>
116
+
117
+ - name: low_testability_page
118
+ path: fixtures/low-testability-sample.html
119
+ content: |
120
+ <!DOCTYPE html>
121
+ <html>
122
+ <head><title>Low Testability Sample</title></head>
123
+ <body>
124
+ <div class="x1" onclick="doStuff()">
125
+ <div class="x2"><div class="x3">Click me</div></div>
126
+ </div>
127
+ <script>
128
+ console.error('Intentional error for testing');
129
+ var globalState = {};
130
+ </script>
131
+ </body>
132
+ </html>
133
+
134
+ # =============================================================================
135
+ # Test Cases - 10 Testability Dimensions
136
+ # =============================================================================
137
+
138
+ test_cases:
139
+ # -------------------------------------------------------------------------
140
+ # OBSERVABILITY (15% weight) - Can we see what's happening?
141
+ # -------------------------------------------------------------------------
142
+
143
+ - id: tc001_observability_high
144
+ description: "Correctly identifies high observability in well-instrumented page"
145
+ category: observability
146
+ priority: critical
147
+
148
+ input:
149
+ url: "fixtures/high-testability-sample.html"
150
+ focus_dimension: observability
151
+ context:
152
+ has_logging: true
153
+ has_devtools_support: true
154
+ has_network_visibility: true
155
+
156
+ expected_output:
157
+ must_contain:
158
+ - "observability"
159
+ - "score"
160
+ dimension_score:
161
+ dimension: observability
162
+ min: 75
163
+ max: 100
164
+
165
+ validation:
166
+ schema_check: true
167
+ keyword_match_threshold: 0.8
168
+ reasoning_quality_min: 0.7
169
+
170
+ - id: tc002_observability_console_errors
171
+ description: "Detects console errors as observability risk"
172
+ category: observability
173
+ priority: high
174
+
175
+ input:
176
+ code: |
177
+ // Application with hidden errors
178
+ try {
179
+ processData(input);
180
+ } catch (e) {
181
+ // Silent fail - no logging
182
+ }
183
+ context:
184
+ console_errors: 5
185
+ has_error_tracking: false
186
+
187
+ expected_output:
188
+ must_contain:
189
+ - "console"
190
+ - "error"
191
+ - "observability"
192
+ severity_classification: medium
193
+
194
+ validation:
195
+ schema_check: true
196
+ finding_count:
197
+ min: 1
198
+
199
+ # -------------------------------------------------------------------------
200
+ # CONTROLLABILITY (15% weight) - Can we control the application?
201
+ # -------------------------------------------------------------------------
202
+
203
+ - id: tc003_controllability_testid
204
+ description: "Identifies data-testid coverage for controllability"
205
+ category: controllability
206
+ priority: critical
207
+
208
+ input:
209
+ code: |
210
+ <button data-testid="submit-btn" onClick={handleSubmit}>Submit</button>
211
+ <button onClick={handleCancel}>Cancel</button>
212
+ <input data-testid="email-input" type="email" />
213
+ <input type="text" />
214
+ context:
215
+ framework: react
216
+ has_test_ids: "partial"
217
+
218
+ expected_output:
219
+ must_contain:
220
+ - "data-testid"
221
+ - "controllability"
222
+ must_not_contain:
223
+ - "excellent controllability"
224
+
225
+ validation:
226
+ schema_check: true
227
+ keyword_match_threshold: 0.8
228
+
229
+ - id: tc004_controllability_api_access
230
+ description: "Evaluates API controllability for test data injection"
231
+ category: controllability
232
+ priority: high
233
+
234
+ input:
235
+ code: |
236
+ // API with test hooks
237
+ class UserService {
238
+ constructor(private db: Database, private cache?: Cache) {}
239
+
240
+ // Test hook
241
+ static setTestDatabase(testDb: Database) {
242
+ this.testDb = testDb;
243
+ }
244
+
245
+ async getUser(id: string) {
246
+ return this.db.findUser(id);
247
+ }
248
+ }
249
+ context:
250
+ has_dependency_injection: true
251
+ has_test_hooks: true
252
+
253
+ expected_output:
254
+ must_contain:
255
+ - "controllability"
256
+ - "injection"
257
+ dimension_score:
258
+ dimension: controllability
259
+ min: 70
260
+
261
+ validation:
262
+ schema_check: true
263
+
264
+ # -------------------------------------------------------------------------
265
+ # ALGORITHMIC SIMPLICITY (10% weight) - Are behaviors predictable?
266
+ # -------------------------------------------------------------------------
267
+
268
+ - id: tc005_simplicity_deterministic
269
+ description: "Identifies deterministic behavior as high simplicity"
270
+ category: algorithmicSimplicity
271
+ priority: high
272
+
273
+ input:
274
+ code: |
275
+ function calculateTotal(items: Item[]): number {
276
+ return items.reduce((sum, item) => sum + item.price * item.quantity, 0);
277
+ }
278
+ context:
279
+ has_side_effects: false
280
+ is_pure_function: true
281
+
282
+ expected_output:
283
+ must_contain:
284
+ - "simplicity"
285
+ - "predictable"
286
+ dimension_score:
287
+ dimension: algorithmicSimplicity
288
+ min: 80
289
+
290
+ validation:
291
+ schema_check: true
292
+
293
+ - id: tc006_simplicity_non_deterministic
294
+ description: "Flags non-deterministic behavior as simplicity risk"
295
+ category: algorithmicSimplicity
296
+ priority: high
297
+
298
+ input:
299
+ code: |
300
+ function getRecommendations(userId: string): Product[] {
301
+ const random = Math.random();
302
+ const products = fetchProducts();
303
+ if (random > 0.5) {
304
+ return shuffle(products);
305
+ }
306
+ return products.slice(0, random * products.length);
307
+ }
308
+ context:
309
+ has_randomness: true
310
+ is_deterministic: false
311
+
312
+ expected_output:
313
+ must_contain:
314
+ - "random"
315
+ - "non-deterministic"
316
+ - "simplicity"
317
+ severity_classification: medium
318
+
319
+ validation:
320
+ schema_check: true
321
+ finding_count:
322
+ min: 1
323
+
324
+ # -------------------------------------------------------------------------
325
+ # ALGORITHMIC TRANSPARENCY (10% weight) - Can we understand what it does?
326
+ # -------------------------------------------------------------------------
327
+
328
+ - id: tc007_transparency_clear_logic
329
+ description: "Identifies clear, readable code as high transparency"
330
+ category: algorithmicTransparency
331
+ priority: medium
332
+
333
+ input:
334
+ code: |
335
+ /**
336
+ * Validates user registration data
337
+ * @param user - User registration form data
338
+ * @returns Validation result with errors if any
339
+ */
340
+ function validateRegistration(user: RegistrationData): ValidationResult {
341
+ const errors: string[] = [];
342
+
343
+ if (!user.email || !isValidEmail(user.email)) {
344
+ errors.push('Valid email is required');
345
+ }
346
+
347
+ if (!user.password || user.password.length < 8) {
348
+ errors.push('Password must be at least 8 characters');
349
+ }
350
+
351
+ return { isValid: errors.length === 0, errors };
352
+ }
353
+ context:
354
+ has_documentation: true
355
+ cyclomatic_complexity: "low"
356
+
357
+ expected_output:
358
+ must_contain:
359
+ - "transparency"
360
+ - "readable"
361
+ dimension_score:
362
+ dimension: algorithmicTransparency
363
+ min: 75
364
+
365
+ validation:
366
+ schema_check: true
367
+
368
+ # -------------------------------------------------------------------------
369
+ # ALGORITHMIC STABILITY (10% weight) - Does behavior remain consistent?
370
+ # -------------------------------------------------------------------------
371
+
372
+ - id: tc008_stability_async_handling
373
+ description: "Evaluates async operation stability"
374
+ category: algorithmicStability
375
+ priority: high
376
+
377
+ input:
378
+ code: |
379
+ async function loadDashboard() {
380
+ const [users, orders, products] = await Promise.all([
381
+ fetchUsers(),
382
+ fetchOrders(),
383
+ fetchProducts()
384
+ ]);
385
+ // No loading state management
386
+ renderDashboard({ users, orders, products });
387
+ }
388
+ context:
389
+ has_loading_states: false
390
+ has_error_boundaries: false
391
+
392
+ expected_output:
393
+ must_contain:
394
+ - "stability"
395
+ - "async"
396
+ - "loading"
397
+
398
+ validation:
399
+ schema_check: true
400
+
401
+ # -------------------------------------------------------------------------
402
+ # EXPLAINABILITY (10% weight) - Is the interface understandable?
403
+ # -------------------------------------------------------------------------
404
+
405
+ - id: tc009_explainability_semantic_html
406
+ description: "Evaluates semantic HTML usage for explainability"
407
+ category: explainability
408
+ priority: medium
409
+
410
+ input:
411
+ code: |
412
+ <nav role="navigation" aria-label="Main menu">
413
+ <ul>
414
+ <li><a href="/home">Home</a></li>
415
+ <li><a href="/about">About</a></li>
416
+ </ul>
417
+ </nav>
418
+ <main>
419
+ <article>
420
+ <h1>Page Title</h1>
421
+ <p>Content here</p>
422
+ </article>
423
+ </main>
424
+ context:
425
+ has_aria_labels: true
426
+ has_semantic_html: true
427
+
428
+ expected_output:
429
+ must_contain:
430
+ - "explainability"
431
+ - "semantic"
432
+ dimension_score:
433
+ dimension: explainability
434
+ min: 80
435
+
436
+ validation:
437
+ schema_check: true
438
+
439
+ # -------------------------------------------------------------------------
440
+ # UNBUGGINESS (10% weight) - How error-free is it?
441
+ # -------------------------------------------------------------------------
442
+
443
+ - id: tc010_unbugginess_clean
444
+ description: "Identifies error-free code as high unbugginess"
445
+ category: unbugginess
446
+ priority: critical
447
+
448
+ input:
449
+ context:
450
+ console_errors: 0
451
+ console_warnings: 0
452
+ runtime_exceptions: 0
453
+
454
+ expected_output:
455
+ must_contain:
456
+ - "unbugginess"
457
+ dimension_score:
458
+ dimension: unbugginess
459
+ min: 85
460
+
461
+ validation:
462
+ schema_check: true
463
+
464
+ - id: tc011_unbugginess_errors
465
+ description: "Flags console errors as unbugginess risk"
466
+ category: unbugginess
467
+ priority: high
468
+
469
+ input:
470
+ context:
471
+ console_errors: 5
472
+ console_warnings: 10
473
+ runtime_exceptions: 2
474
+ error_details:
475
+ - "TypeError: Cannot read property 'map' of undefined"
476
+ - "NetworkError: Failed to fetch"
477
+
478
+ expected_output:
479
+ must_contain:
480
+ - "error"
481
+ - "unbugginess"
482
+ severity_classification: high
483
+
484
+ validation:
485
+ schema_check: true
486
+ finding_count:
487
+ min: 1
488
+
489
+ # -------------------------------------------------------------------------
490
+ # SMALLNESS (10% weight) - Are components appropriately sized?
491
+ # -------------------------------------------------------------------------
492
+
493
+ - id: tc012_smallness_dom_complexity
494
+ description: "Evaluates DOM element count for smallness"
495
+ category: smallness
496
+ priority: medium
497
+
498
+ input:
499
+ context:
500
+ dom_element_count: 3500
501
+ script_bundle_size_kb: 2048
502
+ third_party_scripts: 25
503
+
504
+ expected_output:
505
+ must_contain:
506
+ - "smallness"
507
+ - "DOM"
508
+ - "element"
509
+ severity_classification: high
510
+
511
+ validation:
512
+ schema_check: true
513
+ finding_count:
514
+ min: 1
515
+
516
+ - id: tc013_smallness_optimal
517
+ description: "Identifies well-sized components as high smallness"
518
+ category: smallness
519
+ priority: medium
520
+
521
+ input:
522
+ context:
523
+ dom_element_count: 500
524
+ script_bundle_size_kb: 256
525
+ third_party_scripts: 3
526
+
527
+ expected_output:
528
+ must_contain:
529
+ - "smallness"
530
+ dimension_score:
531
+ dimension: smallness
532
+ min: 80
533
+
534
+ validation:
535
+ schema_check: true
536
+
537
+ # -------------------------------------------------------------------------
538
+ # DECOMPOSABILITY (5% weight) - Can we test parts in isolation?
539
+ # -------------------------------------------------------------------------
540
+
541
+ - id: tc014_decomposability_modular
542
+ description: "Identifies modular architecture as high decomposability"
543
+ category: decomposability
544
+ priority: medium
545
+
546
+ input:
547
+ code: |
548
+ // Modular component with clear boundaries
549
+ export function UserCard({ user, onEdit, onDelete }: UserCardProps) {
550
+ return (
551
+ <div data-testid="user-card">
552
+ <Avatar user={user} />
553
+ <UserInfo user={user} />
554
+ <ActionButtons onEdit={onEdit} onDelete={onDelete} />
555
+ </div>
556
+ );
557
+ }
558
+ context:
559
+ has_component_isolation: true
560
+ has_dependency_injection: true
561
+
562
+ expected_output:
563
+ must_contain:
564
+ - "decomposability"
565
+ - "modular"
566
+ dimension_score:
567
+ dimension: decomposability
568
+ min: 75
569
+
570
+ validation:
571
+ schema_check: true
572
+
573
+ # -------------------------------------------------------------------------
574
+ # SIMILARITY (5% weight) - Is the tech stack familiar?
575
+ # -------------------------------------------------------------------------
576
+
577
+ - id: tc015_similarity_standard_stack
578
+ description: "Identifies standard frameworks as high similarity"
579
+ category: similarity
580
+ priority: low
581
+
582
+ input:
583
+ context:
584
+ framework: "React"
585
+ language: "TypeScript"
586
+ testing_framework: "Jest"
587
+ build_tool: "Vite"
588
+
589
+ expected_output:
590
+ must_contain:
591
+ - "similarity"
592
+ - "React"
593
+ dimension_score:
594
+ dimension: similarity
595
+ min: 80
596
+
597
+ validation:
598
+ schema_check: true
599
+
600
+ # -------------------------------------------------------------------------
601
+ # Overall Score Calculation
602
+ # -------------------------------------------------------------------------
603
+
604
+ - id: tc016_overall_score_calculation
605
+ description: "Validates overall score is weighted average of dimensions"
606
+ category: scoring
607
+ priority: critical
608
+
609
+ input:
610
+ context:
611
+ validate_score_calculation: true
612
+ expected_weights:
613
+ observability: 0.15
614
+ controllability: 0.15
615
+ algorithmicSimplicity: 0.10
616
+ algorithmicTransparency: 0.10
617
+ algorithmicStability: 0.10
618
+ explainability: 0.10
619
+ unbugginess: 0.10
620
+ smallness: 0.10
621
+ decomposability: 0.05
622
+ similarity: 0.05
623
+
624
+ expected_output:
625
+ must_contain:
626
+ - "score"
627
+ - "grade"
628
+ overall_score:
629
+ min: 0
630
+ max: 100
631
+
632
+ validation:
633
+ schema_check: true
634
+ validate_weights_sum: true
635
+
636
+ # -------------------------------------------------------------------------
637
+ # Grade Mapping
638
+ # -------------------------------------------------------------------------
639
+
640
+ - id: tc017_grade_mapping_excellent
641
+ description: "Validates A grade for scores 90-100"
642
+ category: scoring
643
+ priority: high
644
+
645
+ input:
646
+ context:
647
+ expected_score: 92
648
+ expected_grade: "A"
649
+
650
+ expected_output:
651
+ must_contain:
652
+ - "grade"
653
+ - "A"
654
+ overall_score:
655
+ min: 90
656
+ max: 100
657
+
658
+ validation:
659
+ schema_check: true
660
+
661
+ - id: tc018_grade_mapping_poor
662
+ description: "Validates F grade for scores below 60"
663
+ category: scoring
664
+ priority: high
665
+
666
+ input:
667
+ context:
668
+ expected_score: 45
669
+ expected_grade: "F"
670
+
671
+ expected_output:
672
+ must_contain:
673
+ - "grade"
674
+ - "F"
675
+ overall_score:
676
+ min: 0
677
+ max: 59
678
+
679
+ validation:
680
+ schema_check: true
681
+
682
+ # -------------------------------------------------------------------------
683
+ # Recommendation Quality
684
+ # -------------------------------------------------------------------------
685
+
686
+ - id: tc019_recommendations_actionable
687
+ description: "Validates recommendations are actionable with code examples"
688
+ category: recommendations
689
+ priority: high
690
+
691
+ input:
692
+ context:
693
+ finding_type: "missing_testid"
694
+ require_code_example: true
695
+ require_impact_score: true
696
+
697
+ expected_output:
698
+ must_contain:
699
+ - "recommendation"
700
+ - "data-testid"
701
+ must_not_contain:
702
+ - "TODO"
703
+ - "placeholder"
704
+
705
+ validation:
706
+ schema_check: true
707
+ recommendation_has_code: true
708
+ recommendation_has_impact: true
709
+
710
+ - id: tc020_recommendations_prioritized
711
+ description: "Validates recommendations are sorted by priority/impact"
712
+ category: recommendations
713
+ priority: medium
714
+
715
+ input:
716
+ context:
717
+ multiple_issues: true
718
+ require_prioritization: true
719
+
720
+ expected_output:
721
+ must_contain:
722
+ - "priority"
723
+ - "impact"
724
+
725
+ validation:
726
+ schema_check: true
727
+ recommendations_sorted: true
728
+
729
+ # -------------------------------------------------------------------------
730
+ # Edge Cases
731
+ # -------------------------------------------------------------------------
732
+
733
+ - id: tc021_empty_page
734
+ description: "Handles empty/blank page gracefully"
735
+ category: edge_cases
736
+ priority: medium
737
+
738
+ input:
739
+ code: |
740
+ <!DOCTYPE html>
741
+ <html><head></head><body></body></html>
742
+ context:
743
+ page_type: "empty"
744
+
745
+ expected_output:
746
+ must_not_contain:
747
+ - "exception"
748
+ - "crash"
749
+ - "error"
750
+
751
+ validation:
752
+ schema_check: true
753
+ allow_partial: true
754
+
755
+ - id: tc022_spa_dynamic_content
756
+ description: "Handles SPA with dynamic content loading"
757
+ category: edge_cases
758
+ priority: medium
759
+
760
+ input:
761
+ context:
762
+ spa: true
763
+ lazy_loading: true
764
+ async_content: true
765
+ wait_time_ms: 5000
766
+
767
+ expected_output:
768
+ must_contain:
769
+ - "dynamic"
770
+ - "loading"
771
+
772
+ validation:
773
+ schema_check: true
774
+ timeout_ms: 60000
775
+
776
+ # =============================================================================
777
+ # Success Criteria
778
+ # =============================================================================
779
+
780
+ success_criteria:
781
+ # Minimum percentage of tests that must pass
782
+ pass_rate: 0.90
783
+
784
+ # Critical tests must have 100% pass rate
785
+ critical_pass_rate: 1.0
786
+
787
+ # Average reasoning quality across all tests
788
+ avg_reasoning_quality: 0.7
789
+
790
+ # Maximum time for entire suite (10 minutes)
791
+ max_execution_time_ms: 600000
792
+
793
+ # Maximum variance between different models (15%)
794
+ cross_model_variance: 0.15
795
+
796
+ # Testability-specific criteria
797
+ dimension_coverage: 1.0 # All 10 dimensions must be tested
798
+ score_range_validation: true # All scores must be 0-100
799
+ weight_sum_validation: true # Weights must sum to 1.0
800
+
801
+ # =============================================================================
802
+ # Metadata
803
+ # =============================================================================
804
+
805
+ metadata:
806
+ author: "@agentic-qe"
807
+ created: "2026-02-02"
808
+ last_updated: "2026-02-02"
809
+ coverage_target: "All 10 testability principles with scoring validation"
810
+ framework_reference: "James Bach & Michael Bolton - Heuristics for Software Testability"
811
+ related_skills:
812
+ - accessibility-testing
813
+ - visual-testing-advanced
814
+ - performance-testing