agentic-qe 3.7.8 → 3.7.10

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 (569) 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 -0
  46. package/.claude/skills/enterprise-integration-testing/schemas/output.json +74 -0
  47. package/.claude/skills/enterprise-integration-testing/scripts/validate-config.json +25 -0
  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 -0
  53. package/.claude/skills/middleware-testing-patterns/schemas/output.json +58 -0
  54. package/.claude/skills/middleware-testing-patterns/scripts/validate-config.json +25 -0
  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 -0
  72. package/.claude/skills/observability-testing-patterns/schemas/output.json +58 -0
  73. package/.claude/skills/observability-testing-patterns/scripts/validate-config.json +25 -0
  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 -0
  84. package/.claude/skills/qcsd-cicd-swarm/schemas/output.json +86 -0
  85. package/.claude/skills/qcsd-cicd-swarm/scripts/validate-config.json +30 -0
  86. package/.claude/skills/qcsd-development-swarm/SKILL.md +2154 -2154
  87. package/.claude/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +162 -0
  88. package/.claude/skills/qcsd-development-swarm/schemas/output.json +72 -0
  89. package/.claude/skills/qcsd-development-swarm/scripts/validate-config.json +25 -0
  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/trust-tier-manifest.json +78 -7
  157. package/.claude/skills/verification-quality/evals/verification-quality.yaml +150 -150
  158. package/.claude/skills/verification-quality/schemas/output.json +432 -432
  159. package/.claude/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -154
  160. package/.claude/skills/visual-testing-advanced/schemas/output.json +294 -294
  161. package/.claude/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +165 -165
  162. package/.claude/skills/wms-testing-patterns/schemas/output.json +150 -150
  163. package/.claude/skills/wms-testing-patterns/scripts/validate-config.json +51 -51
  164. package/CHANGELOG.md +34 -0
  165. package/README.md +169 -900
  166. package/assets/agents/v3/helpers/quality-criteria/evidence-classification.md +116 -116
  167. package/assets/agents/v3/helpers/quality-criteria/htsm-categories.md +139 -139
  168. package/assets/governance/constitution.md +202 -202
  169. package/assets/governance/shards/chaos-resilience.shard.md +221 -221
  170. package/assets/governance/shards/code-intelligence.shard.md +178 -178
  171. package/assets/governance/shards/contract-testing.shard.md +206 -206
  172. package/assets/governance/shards/coverage-analysis.shard.md +146 -146
  173. package/assets/governance/shards/defect-intelligence.shard.md +182 -182
  174. package/assets/governance/shards/learning-optimization.shard.md +248 -248
  175. package/assets/governance/shards/quality-assessment.shard.md +165 -165
  176. package/assets/governance/shards/requirements-validation.shard.md +177 -177
  177. package/assets/governance/shards/security-compliance.shard.md +196 -196
  178. package/assets/governance/shards/test-execution.shard.md +156 -156
  179. package/assets/governance/shards/test-generation.shard.md +128 -128
  180. package/assets/governance/shards/visual-accessibility.shard.md +209 -209
  181. package/assets/hooks/cross-phase-memory.yaml +253 -253
  182. package/assets/patterns/adr-051-booster-patterns.json +78 -78
  183. package/assets/patterns/adr-051-embedding-patterns.json +147 -147
  184. package/assets/patterns/adr-051-integration-summary.json +62 -62
  185. package/assets/patterns/adr-051-reasoning-patterns.json +166 -166
  186. package/assets/patterns/adr-051-router-patterns.json +113 -113
  187. package/assets/patterns/index.json +136 -136
  188. package/assets/skills/.validation/README.md +111 -111
  189. package/assets/skills/.validation/examples/chaos-engineering-output.example.json +530 -530
  190. package/assets/skills/.validation/examples/performance-testing-output.example.json +252 -252
  191. package/assets/skills/.validation/examples/security-testing-output.example.json +413 -413
  192. package/assets/skills/.validation/examples/testability-scoring-output.example.json +350 -350
  193. package/assets/skills/.validation/schemas/skill-eval.schema.json +462 -462
  194. package/assets/skills/.validation/schemas/skill-frontmatter.schema.json +341 -341
  195. package/assets/skills/.validation/schemas/skill-output-meta.schema.json +199 -199
  196. package/assets/skills/.validation/schemas/skill-output.template.json +610 -610
  197. package/assets/skills/.validation/skill-validation-mcp-integration.md +250 -250
  198. package/assets/skills/.validation/templates/eval.template.yaml +366 -366
  199. package/assets/skills/.validation/templates/schemas/output.json +145 -145
  200. package/assets/skills/.validation/templates/security-testing-eval.template.yaml +725 -725
  201. package/assets/skills/.validation/templates/skill-frontmatter.example.yaml +225 -225
  202. package/assets/skills/.validation/test-data/invalid-output.json +5 -5
  203. package/assets/skills/.validation/test-data/minimal-output.json +9 -9
  204. package/assets/skills/.validation/test-data/sample-output.json +73 -73
  205. package/assets/skills/a11y-ally/SKILL.md +1664 -1658
  206. package/assets/skills/a11y-ally/evals/a11y-ally.yaml +376 -0
  207. package/assets/skills/a11y-ally/schemas/output.json +549 -0
  208. package/assets/skills/a11y-ally/scripts/validate-config.json +42 -0
  209. package/assets/skills/accessibility-testing/evals/accessibility-testing.yaml +719 -719
  210. package/assets/skills/accessibility-testing/schemas/output.json +776 -776
  211. package/assets/skills/accessibility-testing/test-data/sample-output.json +191 -191
  212. package/assets/skills/agentic-quality-engineering/schemas/output.json +577 -577
  213. package/assets/skills/api-testing-patterns/evals/api-testing-patterns.yaml +696 -696
  214. package/assets/skills/api-testing-patterns/schemas/output.json +845 -845
  215. package/assets/skills/aqe-v2-v3-migration/schemas/output.json +513 -513
  216. package/assets/skills/brutal-honesty-review/SKILL.md +5 -0
  217. package/assets/skills/brutal-honesty-review/schemas/output.json +291 -0
  218. package/assets/skills/brutal-honesty-review/scripts/validate-config.json +34 -0
  219. package/assets/skills/bug-reporting-excellence/schemas/output.json +288 -288
  220. package/assets/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +761 -761
  221. package/assets/skills/chaos-engineering-resilience/schemas/output.json +1205 -1205
  222. package/assets/skills/cicd-pipeline-qe-orchestrator/README.md +1 -1
  223. package/assets/skills/cicd-pipeline-qe-orchestrator/SKILL.md +6 -0
  224. package/assets/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +157 -0
  225. package/assets/skills/cicd-pipeline-qe-orchestrator/schemas/output.json +542 -0
  226. package/assets/skills/cicd-pipeline-qe-orchestrator/scripts/validate-config.json +42 -0
  227. package/assets/skills/code-review-quality/schemas/output.json +264 -264
  228. package/assets/skills/compatibility-testing/evals/compatibility-testing.yaml +410 -410
  229. package/assets/skills/compatibility-testing/schemas/output.json +551 -551
  230. package/assets/skills/compliance-testing/evals/compliance-testing.yaml +1107 -1107
  231. package/assets/skills/compliance-testing/schemas/output.json +845 -845
  232. package/assets/skills/consultancy-practices/schemas/output.json +282 -282
  233. package/assets/skills/contract-testing/evals/contract-testing.yaml +748 -748
  234. package/assets/skills/contract-testing/schemas/output.json +638 -638
  235. package/assets/skills/database-testing/evals/database-testing.yaml +968 -968
  236. package/assets/skills/database-testing/schemas/output.json +1446 -1446
  237. package/assets/skills/debug-loop/SKILL.md +61 -61
  238. package/assets/skills/enterprise-integration-testing/SKILL.md +735 -735
  239. package/assets/skills/enterprise-integration-testing/evals/enterprise-integration-testing.yaml +158 -0
  240. package/assets/skills/enterprise-integration-testing/schemas/output.json +74 -0
  241. package/assets/skills/enterprise-integration-testing/scripts/validate-config.json +25 -0
  242. package/assets/skills/localization-testing/evals/localization-testing.yaml +544 -544
  243. package/assets/skills/localization-testing/schemas/output.json +325 -325
  244. package/assets/skills/middleware-testing-patterns/SKILL.md +798 -798
  245. package/assets/skills/middleware-testing-patterns/evals/middleware-testing-patterns.yaml +153 -0
  246. package/assets/skills/middleware-testing-patterns/schemas/output.json +58 -0
  247. package/assets/skills/middleware-testing-patterns/scripts/validate-config.json +25 -0
  248. package/assets/skills/mobile-testing/evals/mobile-testing.yaml +537 -537
  249. package/assets/skills/mobile-testing/schemas/output.json +318 -318
  250. package/assets/skills/mutation-testing/evals/mutation-testing.yaml +652 -652
  251. package/assets/skills/mutation-testing/schemas/output.json +707 -707
  252. package/assets/skills/mutation-testing/test-data/sample-output.json +295 -295
  253. package/assets/skills/n8n-expression-testing/SKILL.md +6 -0
  254. package/assets/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +450 -0
  255. package/assets/skills/n8n-expression-testing/schemas/output.json +369 -0
  256. package/assets/skills/n8n-expression-testing/scripts/validate-config.json +39 -0
  257. package/assets/skills/n8n-integration-testing-patterns/SKILL.md +6 -0
  258. package/assets/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +522 -0
  259. package/assets/skills/n8n-integration-testing-patterns/schemas/output.json +291 -0
  260. package/assets/skills/n8n-integration-testing-patterns/scripts/validate-config.json +34 -0
  261. package/assets/skills/n8n-security-testing/SKILL.md +6 -0
  262. package/assets/skills/n8n-security-testing/evals/n8n-security-testing.yaml +493 -0
  263. package/assets/skills/n8n-security-testing/schemas/output.json +293 -0
  264. package/assets/skills/n8n-security-testing/scripts/validate-config.json +34 -0
  265. package/assets/skills/n8n-trigger-testing-strategies/SKILL.md +6 -0
  266. package/assets/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +500 -0
  267. package/assets/skills/n8n-trigger-testing-strategies/schemas/output.json +295 -0
  268. package/assets/skills/n8n-trigger-testing-strategies/scripts/validate-config.json +34 -0
  269. package/assets/skills/n8n-workflow-testing-fundamentals/SKILL.md +6 -0
  270. package/assets/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +497 -0
  271. package/assets/skills/n8n-workflow-testing-fundamentals/schemas/output.json +254 -0
  272. package/assets/skills/n8n-workflow-testing-fundamentals/scripts/validate-config.json +35 -0
  273. package/assets/skills/observability-testing-patterns/SKILL.md +930 -930
  274. package/assets/skills/observability-testing-patterns/evals/observability-testing-patterns.yaml +157 -0
  275. package/assets/skills/observability-testing-patterns/schemas/output.json +58 -0
  276. package/assets/skills/observability-testing-patterns/scripts/validate-config.json +25 -0
  277. package/assets/skills/pentest-validation/SKILL.md +268 -268
  278. package/assets/skills/pentest-validation/evals/pentest-validation.yaml +708 -708
  279. package/assets/skills/pentest-validation/schemas/output.json +281 -281
  280. package/assets/skills/pentest-validation/scripts/validate-config.json +12 -0
  281. package/assets/skills/performance-testing/evals/performance-testing.yaml +772 -772
  282. package/assets/skills/performance-testing/schemas/output.json +1184 -1184
  283. package/assets/skills/pr-review/SKILL.md +61 -61
  284. package/assets/skills/qcsd-cicd-swarm/SKILL.md +2206 -2206
  285. package/assets/skills/qcsd-cicd-swarm/evals/qcsd-cicd-swarm.yaml +211 -0
  286. package/assets/skills/qcsd-cicd-swarm/schemas/output.json +86 -0
  287. package/assets/skills/qcsd-cicd-swarm/scripts/validate-config.json +30 -0
  288. package/assets/skills/qcsd-development-swarm/SKILL.md +2154 -2154
  289. package/assets/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +162 -0
  290. package/assets/skills/qcsd-development-swarm/schemas/output.json +72 -0
  291. package/assets/skills/qcsd-development-swarm/scripts/validate-config.json +25 -0
  292. package/assets/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +138 -0
  293. package/assets/skills/qcsd-ideation-swarm/schemas/output.json +568 -0
  294. package/assets/skills/qcsd-ideation-swarm/scripts/validate-config.json +25 -0
  295. package/assets/skills/qcsd-production-swarm/SKILL.md +2781 -0
  296. package/assets/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +246 -0
  297. package/assets/skills/qcsd-production-swarm/schemas/output.json +505 -0
  298. package/assets/skills/qcsd-production-swarm/scripts/validate-config.json +25 -0
  299. package/assets/skills/qcsd-refinement-swarm/evals/qcsd-refinement-swarm.yaml +139 -0
  300. package/assets/skills/qcsd-refinement-swarm/schemas/output.json +811 -0
  301. package/assets/skills/qcsd-refinement-swarm/scripts/validate-config.json +25 -0
  302. package/assets/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +443 -443
  303. package/assets/skills/qe-chaos-resilience/schemas/output.json +314 -314
  304. package/assets/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +459 -459
  305. package/assets/skills/qe-code-intelligence/schemas/output.json +315 -315
  306. package/assets/skills/qe-contract-testing/evals/qe-contract-testing.yaml +513 -513
  307. package/assets/skills/qe-contract-testing/schemas/output.json +295 -295
  308. package/assets/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -494
  309. package/assets/skills/qe-coverage-analysis/schemas/output.json +286 -286
  310. package/assets/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +511 -511
  311. package/assets/skills/qe-defect-intelligence/schemas/output.json +283 -283
  312. package/assets/skills/qe-iterative-loop/schemas/output.json +264 -264
  313. package/assets/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +144 -144
  314. package/assets/skills/qe-learning-optimization/schemas/output.json +288 -288
  315. package/assets/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +506 -506
  316. package/assets/skills/qe-quality-assessment/schemas/output.json +550 -550
  317. package/assets/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -598
  318. package/assets/skills/qe-requirements-validation/schemas/output.json +587 -587
  319. package/assets/skills/qe-security-compliance/evals/qe-security-compliance.yaml +595 -595
  320. package/assets/skills/qe-security-compliance/schemas/output.json +498 -498
  321. package/assets/skills/qe-test-execution/evals/qe-test-execution.yaml +607 -607
  322. package/assets/skills/qe-test-execution/schemas/output.json +529 -529
  323. package/assets/skills/qe-test-generation/evals/qe-test-generation.yaml +148 -148
  324. package/assets/skills/qe-test-generation/schemas/output.json +439 -439
  325. package/assets/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +142 -142
  326. package/assets/skills/qe-visual-accessibility/schemas/output.json +491 -491
  327. package/assets/skills/quality-metrics/evals/quality-metrics.yaml +494 -494
  328. package/assets/skills/quality-metrics/schemas/output.json +403 -403
  329. package/assets/skills/refactoring-patterns/schemas/output.json +475 -475
  330. package/assets/skills/regression-testing/evals/regression-testing.yaml +504 -504
  331. package/assets/skills/regression-testing/schemas/output.json +311 -311
  332. package/assets/skills/risk-based-testing/evals/risk-based-testing.yaml +141 -141
  333. package/assets/skills/risk-based-testing/schemas/output.json +480 -480
  334. package/assets/skills/security-testing/evals/security-testing.yaml +789 -789
  335. package/assets/skills/security-testing/schemas/output.json +879 -879
  336. package/assets/skills/security-visual-testing/evals/security-visual-testing.yaml +163 -163
  337. package/assets/skills/security-visual-testing/schemas/output.json +486 -486
  338. package/assets/skills/security-visual-testing/scripts/validate-config.json +45 -0
  339. package/assets/skills/sfdipot-product-factors/SKILL.md +239 -239
  340. package/assets/skills/sherlock-review/SKILL.md +5 -0
  341. package/assets/skills/sherlock-review/schemas/output.json +297 -0
  342. package/assets/skills/sherlock-review/scripts/validate-config.json +35 -0
  343. package/assets/skills/shift-left-testing/evals/shift-left-testing.yaml +145 -145
  344. package/assets/skills/shift-left-testing/schemas/output.json +459 -459
  345. package/assets/skills/shift-right-testing/evals/shift-right-testing.yaml +147 -147
  346. package/assets/skills/shift-right-testing/schemas/output.json +418 -418
  347. package/assets/skills/tdd-london-chicago/schemas/output.json +444 -444
  348. package/assets/skills/technical-writing/schemas/output.json +268 -268
  349. package/assets/skills/test-automation-strategy/evals/test-automation-strategy.yaml +148 -148
  350. package/assets/skills/test-automation-strategy/schemas/output.json +444 -444
  351. package/assets/skills/test-data-management/evals/test-data-management.yaml +504 -504
  352. package/assets/skills/test-data-management/schemas/output.json +284 -284
  353. package/assets/skills/test-design-techniques/evals/test-design-techniques.yaml +142 -142
  354. package/assets/skills/test-design-techniques/schemas/output.json +295 -295
  355. package/assets/skills/test-environment-management/schemas/output.json +310 -310
  356. package/assets/skills/test-idea-rewriting/SKILL.md +229 -229
  357. package/assets/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +155 -155
  358. package/assets/skills/test-reporting-analytics/schemas/output.json +329 -329
  359. package/assets/skills/testability-scoring/SKILL.md +5 -0
  360. package/assets/skills/testability-scoring/evals/testability-scoring.yaml +814 -0
  361. package/assets/skills/testability-scoring/resources/templates/config.template.js +84 -84
  362. package/assets/skills/testability-scoring/schemas/output.json +606 -0
  363. package/assets/skills/testability-scoring/scripts/generate-html-report.js +1007 -1007
  364. package/assets/skills/testability-scoring/scripts/validate-config.json +42 -0
  365. package/assets/skills/trust-tier-manifest.json +2404 -0
  366. package/assets/skills/verification-quality/evals/verification-quality.yaml +150 -150
  367. package/assets/skills/verification-quality/schemas/output.json +432 -432
  368. package/assets/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -154
  369. package/assets/skills/visual-testing-advanced/schemas/output.json +294 -294
  370. package/assets/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +165 -0
  371. package/assets/skills/wms-testing-patterns/schemas/output.json +150 -0
  372. package/assets/skills/wms-testing-patterns/scripts/validate-config.json +51 -0
  373. package/assets/templates/validation-summary.json +56 -56
  374. package/dist/benchmarks/performance-benchmarks.js +1 -1
  375. package/dist/cli/bundle.js +9158 -2288
  376. package/dist/cli/commands/hooks.d.ts.map +1 -1
  377. package/dist/cli/commands/hooks.js +92 -0
  378. package/dist/cli/commands/hooks.js.map +1 -1
  379. package/dist/cli/commands/mcp.d.ts.map +1 -1
  380. package/dist/cli/commands/mcp.js +11 -9
  381. package/dist/cli/commands/mcp.js.map +1 -1
  382. package/dist/cli/commands/migrate.js +2 -2
  383. package/dist/coordination/constants.d.ts +1 -1
  384. package/dist/coordination/constants.js +1 -1
  385. package/dist/coordination/handlers/coverage-handlers.js +1 -1
  386. package/dist/coordination/handlers/coverage-handlers.js.map +1 -1
  387. package/dist/domains/code-intelligence/services/semantic-analyzer.d.ts +1 -1
  388. package/dist/domains/code-intelligence/services/semantic-analyzer.d.ts.map +1 -1
  389. package/dist/domains/code-intelligence/services/semantic-analyzer.js +1 -1
  390. package/dist/domains/code-intelligence/services/semantic-analyzer.js.map +1 -1
  391. package/dist/domains/coverage-analysis/coordinator.js +1 -1
  392. package/dist/domains/coverage-analysis/services/coverage-analyzer.js +1 -1
  393. package/dist/domains/coverage-analysis/services/coverage-embedder.d.ts +1 -1
  394. package/dist/domains/coverage-analysis/services/coverage-embedder.js +1 -1
  395. package/dist/domains/coverage-analysis/services/gap-detector.js +1 -1
  396. package/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js +1 -1
  397. package/dist/domains/coverage-analysis/services/hnsw-index.d.ts +2 -2
  398. package/dist/domains/coverage-analysis/services/hnsw-index.js +3 -3
  399. package/dist/domains/coverage-analysis/services/sublinear-analyzer.d.ts +1 -1
  400. package/dist/domains/coverage-analysis/services/sublinear-analyzer.js +1 -1
  401. package/dist/domains/test-execution/services/test-prioritizer.js +1 -1
  402. package/dist/domains/test-generation/context/rust-context-builder.d.ts +31 -0
  403. package/dist/domains/test-generation/context/rust-context-builder.d.ts.map +1 -0
  404. package/dist/domains/test-generation/context/rust-context-builder.js +27 -0
  405. package/dist/domains/test-generation/context/rust-context-builder.js.map +1 -0
  406. package/dist/domains/test-generation/coordinator.js +3 -3
  407. package/dist/domains/test-generation/coordinator.js.map +1 -1
  408. package/dist/domains/test-generation/detectors/mobile-detector.d.ts +41 -0
  409. package/dist/domains/test-generation/detectors/mobile-detector.d.ts.map +1 -0
  410. package/dist/domains/test-generation/detectors/mobile-detector.js +111 -0
  411. package/dist/domains/test-generation/detectors/mobile-detector.js.map +1 -0
  412. package/dist/domains/test-generation/detectors/spring-detector.d.ts +22 -0
  413. package/dist/domains/test-generation/detectors/spring-detector.d.ts.map +1 -0
  414. package/dist/domains/test-generation/detectors/spring-detector.js +37 -0
  415. package/dist/domains/test-generation/detectors/spring-detector.js.map +1 -0
  416. package/dist/domains/test-generation/factories/test-generator-factory.d.ts +2 -1
  417. package/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -1
  418. package/dist/domains/test-generation/factories/test-generator-factory.js +33 -13
  419. package/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -1
  420. package/dist/domains/test-generation/generators/flutter-test-generator.d.ts +107 -0
  421. package/dist/domains/test-generation/generators/flutter-test-generator.d.ts.map +1 -0
  422. package/dist/domains/test-generation/generators/flutter-test-generator.js +590 -0
  423. package/dist/domains/test-generation/generators/flutter-test-generator.js.map +1 -0
  424. package/dist/domains/test-generation/generators/go-test-generator.d.ts +139 -0
  425. package/dist/domains/test-generation/generators/go-test-generator.d.ts.map +1 -0
  426. package/dist/domains/test-generation/generators/go-test-generator.js +654 -0
  427. package/dist/domains/test-generation/generators/go-test-generator.js.map +1 -0
  428. package/dist/domains/test-generation/generators/index.d.ts +8 -0
  429. package/dist/domains/test-generation/generators/index.d.ts.map +1 -1
  430. package/dist/domains/test-generation/generators/index.js +8 -0
  431. package/dist/domains/test-generation/generators/index.js.map +1 -1
  432. package/dist/domains/test-generation/generators/jest-rn-generator.d.ts +95 -0
  433. package/dist/domains/test-generation/generators/jest-rn-generator.d.ts.map +1 -0
  434. package/dist/domains/test-generation/generators/jest-rn-generator.js +591 -0
  435. package/dist/domains/test-generation/generators/jest-rn-generator.js.map +1 -0
  436. package/dist/domains/test-generation/generators/junit5-generator.d.ts +107 -0
  437. package/dist/domains/test-generation/generators/junit5-generator.d.ts.map +1 -0
  438. package/dist/domains/test-generation/generators/junit5-generator.js +588 -0
  439. package/dist/domains/test-generation/generators/junit5-generator.js.map +1 -0
  440. package/dist/domains/test-generation/generators/kotlin-junit-generator.d.ts +109 -0
  441. package/dist/domains/test-generation/generators/kotlin-junit-generator.d.ts.map +1 -0
  442. package/dist/domains/test-generation/generators/kotlin-junit-generator.js +588 -0
  443. package/dist/domains/test-generation/generators/kotlin-junit-generator.js.map +1 -0
  444. package/dist/domains/test-generation/generators/pytest-generator.d.ts +8 -1
  445. package/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -1
  446. package/dist/domains/test-generation/generators/pytest-generator.js +57 -0
  447. package/dist/domains/test-generation/generators/pytest-generator.js.map +1 -1
  448. package/dist/domains/test-generation/generators/rust-test-generator.d.ts +80 -0
  449. package/dist/domains/test-generation/generators/rust-test-generator.d.ts.map +1 -0
  450. package/dist/domains/test-generation/generators/rust-test-generator.js +442 -0
  451. package/dist/domains/test-generation/generators/rust-test-generator.js.map +1 -0
  452. package/dist/domains/test-generation/generators/swift-testing-generator.d.ts +97 -0
  453. package/dist/domains/test-generation/generators/swift-testing-generator.d.ts.map +1 -0
  454. package/dist/domains/test-generation/generators/swift-testing-generator.js +482 -0
  455. package/dist/domains/test-generation/generators/swift-testing-generator.js.map +1 -0
  456. package/dist/domains/test-generation/generators/xunit-generator.d.ts +110 -0
  457. package/dist/domains/test-generation/generators/xunit-generator.d.ts.map +1 -0
  458. package/dist/domains/test-generation/generators/xunit-generator.js +611 -0
  459. package/dist/domains/test-generation/generators/xunit-generator.js.map +1 -0
  460. package/dist/domains/test-generation/interfaces.d.ts +11 -2
  461. package/dist/domains/test-generation/interfaces.d.ts.map +1 -1
  462. package/dist/domains/test-generation/prompts/language-prompts.d.ts +29 -0
  463. package/dist/domains/test-generation/prompts/language-prompts.d.ts.map +1 -0
  464. package/dist/domains/test-generation/prompts/language-prompts.js +135 -0
  465. package/dist/domains/test-generation/prompts/language-prompts.js.map +1 -0
  466. package/dist/domains/test-generation/services/compilation-validator.d.ts +43 -0
  467. package/dist/domains/test-generation/services/compilation-validator.d.ts.map +1 -0
  468. package/dist/domains/test-generation/services/compilation-validator.js +134 -0
  469. package/dist/domains/test-generation/services/compilation-validator.js.map +1 -0
  470. package/dist/domains/test-generation/services/index.d.ts +2 -1
  471. package/dist/domains/test-generation/services/index.d.ts.map +1 -1
  472. package/dist/domains/test-generation/services/index.js +3 -1
  473. package/dist/domains/test-generation/services/index.js.map +1 -1
  474. package/dist/domains/test-generation/services/test-file-resolver.d.ts +32 -0
  475. package/dist/domains/test-generation/services/test-file-resolver.d.ts.map +1 -0
  476. package/dist/domains/test-generation/services/test-file-resolver.js +159 -0
  477. package/dist/domains/test-generation/services/test-file-resolver.js.map +1 -0
  478. package/dist/domains/test-generation/services/test-generator.d.ts +10 -0
  479. package/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
  480. package/dist/domains/test-generation/services/test-generator.js +87 -10
  481. package/dist/domains/test-generation/services/test-generator.js.map +1 -1
  482. package/dist/governance/feature-flags.js +2 -2
  483. package/dist/governance/feature-flags.js.map +1 -1
  484. package/dist/governance/shard-embeddings.js +1 -1
  485. package/dist/init/init-wizard-hooks.d.ts.map +1 -1
  486. package/dist/init/init-wizard-hooks.js +0 -1
  487. package/dist/init/init-wizard-hooks.js.map +1 -1
  488. package/dist/init/phases/07-hooks.d.ts.map +1 -1
  489. package/dist/init/phases/07-hooks.js +0 -2
  490. package/dist/init/phases/07-hooks.js.map +1 -1
  491. package/dist/init/phases/08-mcp.d.ts +8 -4
  492. package/dist/init/phases/08-mcp.d.ts.map +1 -1
  493. package/dist/init/phases/08-mcp.js +13 -31
  494. package/dist/init/phases/08-mcp.js.map +1 -1
  495. package/dist/init/phases/10-workers.js +4 -4
  496. package/dist/init/phases/10-workers.js.map +1 -1
  497. package/dist/init/settings-merge.d.ts.map +1 -1
  498. package/dist/init/settings-merge.js +0 -2
  499. package/dist/init/settings-merge.js.map +1 -1
  500. package/dist/init/token-bootstrap.js +1 -1
  501. package/dist/init/token-bootstrap.js.map +1 -1
  502. package/dist/integrations/rl-suite/algorithms/decision-transformer.js +1 -1
  503. package/dist/kernel/constants.d.ts +2 -2
  504. package/dist/kernel/constants.js +2 -2
  505. package/dist/kernel/hnsw-adapter.js +1 -1
  506. package/dist/kernel/progressive-hnsw-backend.d.ts +2 -2
  507. package/dist/kernel/progressive-hnsw-backend.js +2 -2
  508. package/dist/learning/dream/concept-graph.d.ts +1 -1
  509. package/dist/learning/dream/concept-graph.js +1 -1
  510. package/dist/learning/dream/dream-engine.d.ts +1 -1
  511. package/dist/learning/dream/dream-engine.js +1 -1
  512. package/dist/learning/dream/index.d.ts +1 -1
  513. package/dist/learning/dream/index.js +1 -1
  514. package/dist/learning/dream/types.d.ts +1 -1
  515. package/dist/learning/dream/types.d.ts.map +1 -1
  516. package/dist/learning/dream/types.js +1 -1
  517. package/dist/learning/dream/types.js.map +1 -1
  518. package/dist/learning/token-tracker.js +1 -1
  519. package/dist/learning/token-tracker.js.map +1 -1
  520. package/dist/mcp/bundle.js +7538 -893
  521. package/dist/routing/qe-agent-registry.js +4 -4
  522. package/dist/routing/qe-agent-registry.js.map +1 -1
  523. package/dist/routing/types.d.ts +5 -8
  524. package/dist/routing/types.d.ts.map +1 -1
  525. package/dist/routing/types.js.map +1 -1
  526. package/dist/shared/embeddings/embedding-cache.js +2 -2
  527. package/dist/shared/embeddings/index.d.ts +2 -2
  528. package/dist/shared/embeddings/index.js +2 -2
  529. package/dist/shared/embeddings/nomic-embedder.d.ts +4 -4
  530. package/dist/shared/embeddings/nomic-embedder.js +2 -2
  531. package/dist/shared/embeddings/ollama-client.d.ts +1 -1
  532. package/dist/shared/embeddings/ollama-client.js +2 -2
  533. package/dist/shared/embeddings/ollama-client.js.map +1 -1
  534. package/dist/shared/embeddings/types.d.ts +2 -2
  535. package/dist/shared/embeddings/types.js +2 -2
  536. package/dist/shared/language-detector.d.ts +46 -0
  537. package/dist/shared/language-detector.d.ts.map +1 -0
  538. package/dist/shared/language-detector.js +183 -0
  539. package/dist/shared/language-detector.js.map +1 -0
  540. package/dist/shared/llm/providers/ollama.js +1 -1
  541. package/dist/shared/metrics/code-metrics.d.ts.map +1 -1
  542. package/dist/shared/metrics/code-metrics.js +24 -1
  543. package/dist/shared/metrics/code-metrics.js.map +1 -1
  544. package/dist/shared/parsers/index.d.ts +2 -0
  545. package/dist/shared/parsers/index.d.ts.map +1 -1
  546. package/dist/shared/parsers/index.js +2 -0
  547. package/dist/shared/parsers/index.js.map +1 -1
  548. package/dist/shared/parsers/interfaces.d.ts +81 -0
  549. package/dist/shared/parsers/interfaces.d.ts.map +1 -0
  550. package/dist/shared/parsers/interfaces.js +6 -0
  551. package/dist/shared/parsers/interfaces.js.map +1 -0
  552. package/dist/shared/parsers/multi-language-parser.d.ts +144 -0
  553. package/dist/shared/parsers/multi-language-parser.d.ts.map +1 -0
  554. package/dist/shared/parsers/multi-language-parser.js +1271 -0
  555. package/dist/shared/parsers/multi-language-parser.js.map +1 -0
  556. package/dist/shared/parsers/rust-ownership-analyzer.d.ts +45 -0
  557. package/dist/shared/parsers/rust-ownership-analyzer.d.ts.map +1 -0
  558. package/dist/shared/parsers/rust-ownership-analyzer.js +52 -0
  559. package/dist/shared/parsers/rust-ownership-analyzer.js.map +1 -0
  560. package/dist/shared/parsers/typescript-parser.d.ts +16 -0
  561. package/dist/shared/parsers/typescript-parser.d.ts.map +1 -1
  562. package/dist/shared/parsers/typescript-parser.js +85 -0
  563. package/dist/shared/parsers/typescript-parser.js.map +1 -1
  564. package/dist/shared/types/test-frameworks.d.ts +25 -0
  565. package/dist/shared/types/test-frameworks.d.ts.map +1 -0
  566. package/dist/shared/types/test-frameworks.js +111 -0
  567. package/dist/shared/types/test-frameworks.js.map +1 -0
  568. package/package.json +1 -1
  569. package/scripts/prepare-assets.sh +16 -2
@@ -1,879 +1,879 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://agentic-qe.dev/schemas/security-testing-output.json",
4
- "title": "AQE Security Testing Skill Output Schema",
5
- "description": "Schema for security-testing skill output validation. Extends the base skill-output template with OWASP Top 10 categories, CWE identifiers, and CVSS scoring.",
6
- "type": "object",
7
- "required": ["skillName", "version", "timestamp", "status", "trustTier", "output"],
8
- "properties": {
9
- "skillName": {
10
- "type": "string",
11
- "const": "security-testing",
12
- "description": "Must be 'security-testing'"
13
- },
14
- "version": {
15
- "type": "string",
16
- "pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9]+)?$",
17
- "description": "Semantic version of the skill"
18
- },
19
- "timestamp": {
20
- "type": "string",
21
- "format": "date-time",
22
- "description": "ISO 8601 timestamp of output generation"
23
- },
24
- "status": {
25
- "type": "string",
26
- "enum": ["success", "partial", "failed", "skipped"],
27
- "description": "Overall execution status"
28
- },
29
- "trustTier": {
30
- "type": "integer",
31
- "const": 3,
32
- "description": "Trust tier 3 indicates full validation with eval suite"
33
- },
34
- "output": {
35
- "type": "object",
36
- "required": ["summary", "findings", "owaspCategories"],
37
- "properties": {
38
- "summary": {
39
- "type": "string",
40
- "minLength": 50,
41
- "maxLength": 2000,
42
- "description": "Human-readable summary of security findings"
43
- },
44
- "score": {
45
- "$ref": "#/$defs/securityScore",
46
- "description": "Overall security score"
47
- },
48
- "findings": {
49
- "type": "array",
50
- "items": {
51
- "$ref": "#/$defs/securityFinding"
52
- },
53
- "maxItems": 500,
54
- "description": "List of security vulnerabilities discovered"
55
- },
56
- "recommendations": {
57
- "type": "array",
58
- "items": {
59
- "$ref": "#/$defs/securityRecommendation"
60
- },
61
- "maxItems": 100,
62
- "description": "Prioritized remediation recommendations with code examples"
63
- },
64
- "metrics": {
65
- "$ref": "#/$defs/securityMetrics",
66
- "description": "Security scan metrics and statistics"
67
- },
68
- "owaspCategories": {
69
- "$ref": "#/$defs/owaspCategoryBreakdown",
70
- "description": "OWASP Top 10 2021 category breakdown"
71
- },
72
- "artifacts": {
73
- "type": "array",
74
- "items": {
75
- "$ref": "#/$defs/artifact"
76
- },
77
- "maxItems": 50,
78
- "description": "Generated security reports and scan artifacts"
79
- },
80
- "timeline": {
81
- "type": "array",
82
- "items": {
83
- "$ref": "#/$defs/timelineEvent"
84
- },
85
- "description": "Scan execution timeline"
86
- },
87
- "scanConfiguration": {
88
- "$ref": "#/$defs/scanConfiguration",
89
- "description": "Configuration used for the security scan"
90
- }
91
- }
92
- },
93
- "metadata": {
94
- "$ref": "#/$defs/metadata"
95
- },
96
- "validation": {
97
- "$ref": "#/$defs/validationResult"
98
- },
99
- "learning": {
100
- "$ref": "#/$defs/learningData"
101
- }
102
- },
103
- "$defs": {
104
- "securityScore": {
105
- "type": "object",
106
- "required": ["value", "max"],
107
- "properties": {
108
- "value": {
109
- "type": "number",
110
- "minimum": 0,
111
- "maximum": 100,
112
- "description": "Security score (0=critical issues, 100=no issues)"
113
- },
114
- "max": {
115
- "type": "number",
116
- "const": 100,
117
- "description": "Maximum score is always 100"
118
- },
119
- "grade": {
120
- "type": "string",
121
- "pattern": "^[A-F][+-]?$",
122
- "description": "Letter grade: A (90-100), B (80-89), C (70-79), D (60-69), F (<60)"
123
- },
124
- "trend": {
125
- "type": "string",
126
- "enum": ["improving", "stable", "declining", "unknown"],
127
- "description": "Trend compared to previous scans"
128
- },
129
- "riskLevel": {
130
- "type": "string",
131
- "enum": ["critical", "high", "medium", "low", "minimal"],
132
- "description": "Overall risk level assessment"
133
- }
134
- }
135
- },
136
- "securityFinding": {
137
- "type": "object",
138
- "required": ["id", "title", "severity", "owasp"],
139
- "properties": {
140
- "id": {
141
- "type": "string",
142
- "pattern": "^SEC-\\d{3,6}$",
143
- "description": "Unique finding identifier (e.g., SEC-001)"
144
- },
145
- "title": {
146
- "type": "string",
147
- "minLength": 10,
148
- "maxLength": 200,
149
- "description": "Finding title describing the vulnerability"
150
- },
151
- "description": {
152
- "type": "string",
153
- "maxLength": 2000,
154
- "description": "Detailed description of the vulnerability"
155
- },
156
- "severity": {
157
- "type": "string",
158
- "enum": ["critical", "high", "medium", "low", "info"],
159
- "description": "Severity: critical (CVSS 9.0-10.0), high (7.0-8.9), medium (4.0-6.9), low (0.1-3.9), info (0)"
160
- },
161
- "owasp": {
162
- "type": "string",
163
- "pattern": "^A(0[1-9]|10):20(21|25)$",
164
- "description": "OWASP Top 10 category (e.g., A01:2021, A03:2025)"
165
- },
166
- "owaspCategory": {
167
- "type": "string",
168
- "enum": [
169
- "A01:2021-Broken-Access-Control",
170
- "A02:2021-Cryptographic-Failures",
171
- "A03:2021-Injection",
172
- "A04:2021-Insecure-Design",
173
- "A05:2021-Security-Misconfiguration",
174
- "A06:2021-Vulnerable-Components",
175
- "A07:2021-Identification-Authentication-Failures",
176
- "A08:2021-Software-Data-Integrity-Failures",
177
- "A09:2021-Security-Logging-Monitoring-Failures",
178
- "A10:2021-Server-Side-Request-Forgery"
179
- ],
180
- "description": "Full OWASP category name"
181
- },
182
- "cwe": {
183
- "type": "string",
184
- "pattern": "^CWE-\\d{1,4}$",
185
- "description": "CWE identifier (e.g., CWE-79 for XSS, CWE-89 for SQLi)"
186
- },
187
- "cvss": {
188
- "type": "object",
189
- "properties": {
190
- "score": {
191
- "type": "number",
192
- "minimum": 0,
193
- "maximum": 10,
194
- "description": "CVSS v3.1 base score"
195
- },
196
- "vector": {
197
- "type": "string",
198
- "pattern": "^CVSS:3\\.1/AV:[NALP]/AC:[LH]/PR:[NLH]/UI:[NR]/S:[UC]/C:[NLH]/I:[NLH]/A:[NLH]$",
199
- "description": "CVSS v3.1 vector string"
200
- },
201
- "severity": {
202
- "type": "string",
203
- "enum": ["None", "Low", "Medium", "High", "Critical"],
204
- "description": "CVSS severity rating"
205
- }
206
- }
207
- },
208
- "location": {
209
- "$ref": "#/$defs/location",
210
- "description": "Location of the vulnerability"
211
- },
212
- "evidence": {
213
- "type": "string",
214
- "maxLength": 5000,
215
- "description": "Evidence: code snippet, request/response, or PoC"
216
- },
217
- "remediation": {
218
- "type": "string",
219
- "maxLength": 2000,
220
- "description": "Specific fix instructions for this finding"
221
- },
222
- "references": {
223
- "type": "array",
224
- "items": {
225
- "type": "object",
226
- "required": ["title", "url"],
227
- "properties": {
228
- "title": { "type": "string" },
229
- "url": { "type": "string", "format": "uri" }
230
- }
231
- },
232
- "maxItems": 10,
233
- "description": "External references (OWASP, CWE, CVE, etc.)"
234
- },
235
- "falsePositive": {
236
- "type": "boolean",
237
- "default": false,
238
- "description": "Potential false positive flag"
239
- },
240
- "confidence": {
241
- "type": "number",
242
- "minimum": 0,
243
- "maximum": 1,
244
- "description": "Confidence in finding accuracy (0.0-1.0)"
245
- },
246
- "exploitability": {
247
- "type": "string",
248
- "enum": ["trivial", "easy", "moderate", "difficult", "theoretical"],
249
- "description": "How easy is it to exploit this vulnerability"
250
- },
251
- "affectedVersions": {
252
- "type": "array",
253
- "items": { "type": "string" },
254
- "description": "Affected package/library versions for dependency vulnerabilities"
255
- },
256
- "cve": {
257
- "type": "string",
258
- "pattern": "^CVE-\\d{4}-\\d{4,}$",
259
- "description": "CVE identifier if applicable"
260
- }
261
- }
262
- },
263
- "securityRecommendation": {
264
- "type": "object",
265
- "required": ["id", "title", "priority", "owaspCategories"],
266
- "properties": {
267
- "id": {
268
- "type": "string",
269
- "pattern": "^REC-\\d{3,6}$",
270
- "description": "Unique recommendation identifier"
271
- },
272
- "title": {
273
- "type": "string",
274
- "minLength": 10,
275
- "maxLength": 200,
276
- "description": "Recommendation title"
277
- },
278
- "description": {
279
- "type": "string",
280
- "maxLength": 2000,
281
- "description": "Detailed recommendation description"
282
- },
283
- "priority": {
284
- "type": "string",
285
- "enum": ["critical", "high", "medium", "low"],
286
- "description": "Remediation priority"
287
- },
288
- "effort": {
289
- "type": "string",
290
- "enum": ["trivial", "low", "medium", "high", "major"],
291
- "description": "Estimated effort: trivial(<1hr), low(1-4hr), medium(1-3d), high(1-2wk), major(>2wk)"
292
- },
293
- "impact": {
294
- "type": "integer",
295
- "minimum": 1,
296
- "maximum": 10,
297
- "description": "Security impact if implemented (1-10)"
298
- },
299
- "relatedFindings": {
300
- "type": "array",
301
- "items": {
302
- "type": "string",
303
- "pattern": "^SEC-\\d{3,6}$"
304
- },
305
- "description": "IDs of findings this addresses"
306
- },
307
- "owaspCategories": {
308
- "type": "array",
309
- "items": {
310
- "type": "string",
311
- "pattern": "^A(0[1-9]|10):20(21|25)$"
312
- },
313
- "description": "OWASP categories this recommendation addresses"
314
- },
315
- "codeExample": {
316
- "type": "object",
317
- "properties": {
318
- "before": {
319
- "type": "string",
320
- "maxLength": 2000,
321
- "description": "Vulnerable code example"
322
- },
323
- "after": {
324
- "type": "string",
325
- "maxLength": 2000,
326
- "description": "Secure code example"
327
- },
328
- "language": {
329
- "type": "string",
330
- "description": "Programming language"
331
- }
332
- },
333
- "description": "Before/after code examples for remediation"
334
- },
335
- "resources": {
336
- "type": "array",
337
- "items": {
338
- "type": "object",
339
- "required": ["title", "url"],
340
- "properties": {
341
- "title": { "type": "string" },
342
- "url": { "type": "string", "format": "uri" }
343
- }
344
- },
345
- "maxItems": 10,
346
- "description": "External resources and documentation"
347
- },
348
- "automatable": {
349
- "type": "boolean",
350
- "description": "Can this fix be automated?"
351
- },
352
- "fixCommand": {
353
- "type": "string",
354
- "description": "CLI command to apply fix if automatable"
355
- }
356
- }
357
- },
358
- "owaspCategoryBreakdown": {
359
- "type": "object",
360
- "description": "OWASP Top 10 2021 category scores and findings",
361
- "properties": {
362
- "A01:2021": {
363
- "$ref": "#/$defs/owaspCategoryScore",
364
- "description": "A01:2021 - Broken Access Control"
365
- },
366
- "A02:2021": {
367
- "$ref": "#/$defs/owaspCategoryScore",
368
- "description": "A02:2021 - Cryptographic Failures"
369
- },
370
- "A03:2021": {
371
- "$ref": "#/$defs/owaspCategoryScore",
372
- "description": "A03:2021 - Injection"
373
- },
374
- "A04:2021": {
375
- "$ref": "#/$defs/owaspCategoryScore",
376
- "description": "A04:2021 - Insecure Design"
377
- },
378
- "A05:2021": {
379
- "$ref": "#/$defs/owaspCategoryScore",
380
- "description": "A05:2021 - Security Misconfiguration"
381
- },
382
- "A06:2021": {
383
- "$ref": "#/$defs/owaspCategoryScore",
384
- "description": "A06:2021 - Vulnerable and Outdated Components"
385
- },
386
- "A07:2021": {
387
- "$ref": "#/$defs/owaspCategoryScore",
388
- "description": "A07:2021 - Identification and Authentication Failures"
389
- },
390
- "A08:2021": {
391
- "$ref": "#/$defs/owaspCategoryScore",
392
- "description": "A08:2021 - Software and Data Integrity Failures"
393
- },
394
- "A09:2021": {
395
- "$ref": "#/$defs/owaspCategoryScore",
396
- "description": "A09:2021 - Security Logging and Monitoring Failures"
397
- },
398
- "A10:2021": {
399
- "$ref": "#/$defs/owaspCategoryScore",
400
- "description": "A10:2021 - Server-Side Request Forgery (SSRF)"
401
- }
402
- },
403
- "additionalProperties": false
404
- },
405
- "owaspCategoryScore": {
406
- "type": "object",
407
- "required": ["tested", "score"],
408
- "properties": {
409
- "tested": {
410
- "type": "boolean",
411
- "description": "Whether this category was tested"
412
- },
413
- "score": {
414
- "type": "number",
415
- "minimum": 0,
416
- "maximum": 100,
417
- "description": "Category score (100 = no issues, 0 = critical)"
418
- },
419
- "grade": {
420
- "type": "string",
421
- "pattern": "^[A-F][+-]?$",
422
- "description": "Letter grade for this category"
423
- },
424
- "findingCount": {
425
- "type": "integer",
426
- "minimum": 0,
427
- "description": "Number of findings in this category"
428
- },
429
- "criticalCount": {
430
- "type": "integer",
431
- "minimum": 0,
432
- "description": "Number of critical findings"
433
- },
434
- "highCount": {
435
- "type": "integer",
436
- "minimum": 0,
437
- "description": "Number of high severity findings"
438
- },
439
- "status": {
440
- "type": "string",
441
- "enum": ["pass", "fail", "warn", "skip"],
442
- "description": "Category status"
443
- },
444
- "description": {
445
- "type": "string",
446
- "description": "Category description and context"
447
- },
448
- "cwes": {
449
- "type": "array",
450
- "items": {
451
- "type": "string",
452
- "pattern": "^CWE-\\d{1,4}$"
453
- },
454
- "description": "CWEs found in this category"
455
- }
456
- }
457
- },
458
- "securityMetrics": {
459
- "type": "object",
460
- "properties": {
461
- "totalFindings": {
462
- "type": "integer",
463
- "minimum": 0,
464
- "description": "Total vulnerabilities found"
465
- },
466
- "criticalCount": {
467
- "type": "integer",
468
- "minimum": 0,
469
- "description": "Critical severity findings"
470
- },
471
- "highCount": {
472
- "type": "integer",
473
- "minimum": 0,
474
- "description": "High severity findings"
475
- },
476
- "mediumCount": {
477
- "type": "integer",
478
- "minimum": 0,
479
- "description": "Medium severity findings"
480
- },
481
- "lowCount": {
482
- "type": "integer",
483
- "minimum": 0,
484
- "description": "Low severity findings"
485
- },
486
- "infoCount": {
487
- "type": "integer",
488
- "minimum": 0,
489
- "description": "Informational findings"
490
- },
491
- "filesScanned": {
492
- "type": "integer",
493
- "minimum": 0,
494
- "description": "Number of files analyzed"
495
- },
496
- "linesOfCode": {
497
- "type": "integer",
498
- "minimum": 0,
499
- "description": "Lines of code scanned"
500
- },
501
- "dependenciesChecked": {
502
- "type": "integer",
503
- "minimum": 0,
504
- "description": "Number of dependencies checked"
505
- },
506
- "owaspCategoriesTested": {
507
- "type": "integer",
508
- "minimum": 0,
509
- "maximum": 10,
510
- "description": "OWASP Top 10 categories tested"
511
- },
512
- "owaspCategoriesPassed": {
513
- "type": "integer",
514
- "minimum": 0,
515
- "maximum": 10,
516
- "description": "OWASP Top 10 categories with no findings"
517
- },
518
- "uniqueCwes": {
519
- "type": "integer",
520
- "minimum": 0,
521
- "description": "Unique CWE identifiers found"
522
- },
523
- "falsePositiveRate": {
524
- "type": "number",
525
- "minimum": 0,
526
- "maximum": 1,
527
- "description": "Estimated false positive rate"
528
- },
529
- "scanDurationMs": {
530
- "type": "integer",
531
- "minimum": 0,
532
- "description": "Total scan duration in milliseconds"
533
- },
534
- "coverage": {
535
- "type": "object",
536
- "properties": {
537
- "sast": {
538
- "type": "boolean",
539
- "description": "Static analysis performed"
540
- },
541
- "dast": {
542
- "type": "boolean",
543
- "description": "Dynamic analysis performed"
544
- },
545
- "dependencies": {
546
- "type": "boolean",
547
- "description": "Dependency scan performed"
548
- },
549
- "secrets": {
550
- "type": "boolean",
551
- "description": "Secret scanning performed"
552
- },
553
- "configuration": {
554
- "type": "boolean",
555
- "description": "Configuration review performed"
556
- }
557
- },
558
- "description": "Scan coverage indicators"
559
- }
560
- }
561
- },
562
- "scanConfiguration": {
563
- "type": "object",
564
- "properties": {
565
- "target": {
566
- "type": "string",
567
- "description": "Scan target (file path, URL, or package)"
568
- },
569
- "targetType": {
570
- "type": "string",
571
- "enum": ["source", "url", "package", "container", "infrastructure"],
572
- "description": "Type of target being scanned"
573
- },
574
- "scanTypes": {
575
- "type": "array",
576
- "items": {
577
- "type": "string",
578
- "enum": ["sast", "dast", "dependency", "secret", "configuration", "container", "iac"]
579
- },
580
- "description": "Types of scans performed"
581
- },
582
- "severity": {
583
- "type": "array",
584
- "items": {
585
- "type": "string",
586
- "enum": ["critical", "high", "medium", "low", "info"]
587
- },
588
- "description": "Severity levels included in scan"
589
- },
590
- "owaspCategories": {
591
- "type": "array",
592
- "items": {
593
- "type": "string",
594
- "pattern": "^A(0[1-9]|10):20(21|25)$"
595
- },
596
- "description": "OWASP categories tested"
597
- },
598
- "tools": {
599
- "type": "array",
600
- "items": { "type": "string" },
601
- "description": "Security tools used"
602
- },
603
- "excludePatterns": {
604
- "type": "array",
605
- "items": { "type": "string" },
606
- "description": "File patterns excluded from scan"
607
- },
608
- "rulesets": {
609
- "type": "array",
610
- "items": { "type": "string" },
611
- "description": "Security rulesets applied"
612
- }
613
- }
614
- },
615
- "location": {
616
- "type": "object",
617
- "properties": {
618
- "file": {
619
- "type": "string",
620
- "maxLength": 500,
621
- "description": "File path relative to project root"
622
- },
623
- "line": {
624
- "type": "integer",
625
- "minimum": 1,
626
- "description": "Line number"
627
- },
628
- "column": {
629
- "type": "integer",
630
- "minimum": 1,
631
- "description": "Column number"
632
- },
633
- "endLine": {
634
- "type": "integer",
635
- "minimum": 1,
636
- "description": "End line for multi-line findings"
637
- },
638
- "endColumn": {
639
- "type": "integer",
640
- "minimum": 1,
641
- "description": "End column"
642
- },
643
- "url": {
644
- "type": "string",
645
- "format": "uri",
646
- "description": "URL for web-based findings"
647
- },
648
- "endpoint": {
649
- "type": "string",
650
- "description": "API endpoint path"
651
- },
652
- "method": {
653
- "type": "string",
654
- "enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"],
655
- "description": "HTTP method for API findings"
656
- },
657
- "parameter": {
658
- "type": "string",
659
- "description": "Vulnerable parameter name"
660
- },
661
- "component": {
662
- "type": "string",
663
- "description": "Affected component or module"
664
- }
665
- }
666
- },
667
- "artifact": {
668
- "type": "object",
669
- "required": ["type", "path"],
670
- "properties": {
671
- "type": {
672
- "type": "string",
673
- "enum": ["report", "sarif", "data", "log", "evidence"],
674
- "description": "Artifact type"
675
- },
676
- "path": {
677
- "type": "string",
678
- "maxLength": 500,
679
- "description": "Path to artifact"
680
- },
681
- "format": {
682
- "type": "string",
683
- "enum": ["json", "sarif", "html", "md", "txt", "xml", "csv"],
684
- "description": "Artifact format"
685
- },
686
- "description": {
687
- "type": "string",
688
- "maxLength": 500,
689
- "description": "Artifact description"
690
- },
691
- "sizeBytes": {
692
- "type": "integer",
693
- "minimum": 0,
694
- "description": "File size in bytes"
695
- },
696
- "checksum": {
697
- "type": "string",
698
- "pattern": "^sha256:[a-f0-9]{64}$",
699
- "description": "SHA-256 checksum"
700
- }
701
- }
702
- },
703
- "timelineEvent": {
704
- "type": "object",
705
- "required": ["timestamp", "event"],
706
- "properties": {
707
- "timestamp": {
708
- "type": "string",
709
- "format": "date-time",
710
- "description": "Event timestamp"
711
- },
712
- "event": {
713
- "type": "string",
714
- "maxLength": 200,
715
- "description": "Event description"
716
- },
717
- "type": {
718
- "type": "string",
719
- "enum": ["start", "checkpoint", "warning", "error", "complete"],
720
- "description": "Event type"
721
- },
722
- "durationMs": {
723
- "type": "integer",
724
- "minimum": 0,
725
- "description": "Duration since previous event"
726
- },
727
- "phase": {
728
- "type": "string",
729
- "enum": ["initialization", "sast", "dast", "dependency", "secret", "reporting"],
730
- "description": "Scan phase"
731
- }
732
- }
733
- },
734
- "metadata": {
735
- "type": "object",
736
- "properties": {
737
- "executionTimeMs": {
738
- "type": "integer",
739
- "minimum": 0,
740
- "maximum": 3600000,
741
- "description": "Execution time in milliseconds"
742
- },
743
- "toolsUsed": {
744
- "type": "array",
745
- "items": {
746
- "type": "string",
747
- "enum": ["semgrep", "npm-audit", "trivy", "owasp-zap", "bandit", "gosec", "eslint-security", "snyk", "gitleaks", "trufflehog", "bearer"]
748
- },
749
- "uniqueItems": true,
750
- "description": "Security tools used"
751
- },
752
- "agentId": {
753
- "type": "string",
754
- "pattern": "^qe-[a-z][a-z0-9-]*$",
755
- "description": "Agent ID (e.g., qe-security-scanner)"
756
- },
757
- "modelUsed": {
758
- "type": "string",
759
- "description": "LLM model used for analysis"
760
- },
761
- "inputHash": {
762
- "type": "string",
763
- "pattern": "^[a-f0-9]{64}$",
764
- "description": "SHA-256 hash of input"
765
- },
766
- "targetUrl": {
767
- "type": "string",
768
- "format": "uri",
769
- "description": "Target URL if applicable"
770
- },
771
- "targetPath": {
772
- "type": "string",
773
- "description": "Target path if applicable"
774
- },
775
- "environment": {
776
- "type": "string",
777
- "enum": ["development", "staging", "production", "ci"],
778
- "description": "Execution environment"
779
- },
780
- "retryCount": {
781
- "type": "integer",
782
- "minimum": 0,
783
- "maximum": 10,
784
- "description": "Number of retries"
785
- }
786
- }
787
- },
788
- "validationResult": {
789
- "type": "object",
790
- "properties": {
791
- "schemaValid": {
792
- "type": "boolean",
793
- "description": "Passes JSON schema validation"
794
- },
795
- "contentValid": {
796
- "type": "boolean",
797
- "description": "Passes content validation"
798
- },
799
- "confidence": {
800
- "type": "number",
801
- "minimum": 0,
802
- "maximum": 1,
803
- "description": "Confidence score"
804
- },
805
- "warnings": {
806
- "type": "array",
807
- "items": {
808
- "type": "string",
809
- "maxLength": 500
810
- },
811
- "maxItems": 20,
812
- "description": "Validation warnings"
813
- },
814
- "errors": {
815
- "type": "array",
816
- "items": {
817
- "type": "string",
818
- "maxLength": 500
819
- },
820
- "maxItems": 20,
821
- "description": "Validation errors"
822
- },
823
- "validatorVersion": {
824
- "type": "string",
825
- "pattern": "^\\d+\\.\\d+\\.\\d+$",
826
- "description": "Validator version"
827
- }
828
- }
829
- },
830
- "learningData": {
831
- "type": "object",
832
- "properties": {
833
- "patternsDetected": {
834
- "type": "array",
835
- "items": {
836
- "type": "string",
837
- "maxLength": 200
838
- },
839
- "maxItems": 20,
840
- "description": "Security patterns detected (e.g., sql-injection-string-concat)"
841
- },
842
- "reward": {
843
- "type": "number",
844
- "minimum": 0,
845
- "maximum": 1,
846
- "description": "Reward signal for learning (0.0-1.0)"
847
- },
848
- "feedbackLoop": {
849
- "type": "object",
850
- "properties": {
851
- "previousRunId": {
852
- "type": "string",
853
- "format": "uuid",
854
- "description": "Previous run ID for comparison"
855
- },
856
- "improvement": {
857
- "type": "number",
858
- "minimum": -1,
859
- "maximum": 1,
860
- "description": "Improvement over previous run"
861
- }
862
- }
863
- },
864
- "newVulnerabilityPatterns": {
865
- "type": "array",
866
- "items": {
867
- "type": "object",
868
- "properties": {
869
- "pattern": { "type": "string" },
870
- "cwe": { "type": "string" },
871
- "confidence": { "type": "number" }
872
- }
873
- },
874
- "description": "New vulnerability patterns learned"
875
- }
876
- }
877
- }
878
- }
879
- }
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://agentic-qe.dev/schemas/security-testing-output.json",
4
+ "title": "AQE Security Testing Skill Output Schema",
5
+ "description": "Schema for security-testing skill output validation. Extends the base skill-output template with OWASP Top 10 categories, CWE identifiers, and CVSS scoring.",
6
+ "type": "object",
7
+ "required": ["skillName", "version", "timestamp", "status", "trustTier", "output"],
8
+ "properties": {
9
+ "skillName": {
10
+ "type": "string",
11
+ "const": "security-testing",
12
+ "description": "Must be 'security-testing'"
13
+ },
14
+ "version": {
15
+ "type": "string",
16
+ "pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9]+)?$",
17
+ "description": "Semantic version of the skill"
18
+ },
19
+ "timestamp": {
20
+ "type": "string",
21
+ "format": "date-time",
22
+ "description": "ISO 8601 timestamp of output generation"
23
+ },
24
+ "status": {
25
+ "type": "string",
26
+ "enum": ["success", "partial", "failed", "skipped"],
27
+ "description": "Overall execution status"
28
+ },
29
+ "trustTier": {
30
+ "type": "integer",
31
+ "const": 3,
32
+ "description": "Trust tier 3 indicates full validation with eval suite"
33
+ },
34
+ "output": {
35
+ "type": "object",
36
+ "required": ["summary", "findings", "owaspCategories"],
37
+ "properties": {
38
+ "summary": {
39
+ "type": "string",
40
+ "minLength": 50,
41
+ "maxLength": 2000,
42
+ "description": "Human-readable summary of security findings"
43
+ },
44
+ "score": {
45
+ "$ref": "#/$defs/securityScore",
46
+ "description": "Overall security score"
47
+ },
48
+ "findings": {
49
+ "type": "array",
50
+ "items": {
51
+ "$ref": "#/$defs/securityFinding"
52
+ },
53
+ "maxItems": 500,
54
+ "description": "List of security vulnerabilities discovered"
55
+ },
56
+ "recommendations": {
57
+ "type": "array",
58
+ "items": {
59
+ "$ref": "#/$defs/securityRecommendation"
60
+ },
61
+ "maxItems": 100,
62
+ "description": "Prioritized remediation recommendations with code examples"
63
+ },
64
+ "metrics": {
65
+ "$ref": "#/$defs/securityMetrics",
66
+ "description": "Security scan metrics and statistics"
67
+ },
68
+ "owaspCategories": {
69
+ "$ref": "#/$defs/owaspCategoryBreakdown",
70
+ "description": "OWASP Top 10 2021 category breakdown"
71
+ },
72
+ "artifacts": {
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "#/$defs/artifact"
76
+ },
77
+ "maxItems": 50,
78
+ "description": "Generated security reports and scan artifacts"
79
+ },
80
+ "timeline": {
81
+ "type": "array",
82
+ "items": {
83
+ "$ref": "#/$defs/timelineEvent"
84
+ },
85
+ "description": "Scan execution timeline"
86
+ },
87
+ "scanConfiguration": {
88
+ "$ref": "#/$defs/scanConfiguration",
89
+ "description": "Configuration used for the security scan"
90
+ }
91
+ }
92
+ },
93
+ "metadata": {
94
+ "$ref": "#/$defs/metadata"
95
+ },
96
+ "validation": {
97
+ "$ref": "#/$defs/validationResult"
98
+ },
99
+ "learning": {
100
+ "$ref": "#/$defs/learningData"
101
+ }
102
+ },
103
+ "$defs": {
104
+ "securityScore": {
105
+ "type": "object",
106
+ "required": ["value", "max"],
107
+ "properties": {
108
+ "value": {
109
+ "type": "number",
110
+ "minimum": 0,
111
+ "maximum": 100,
112
+ "description": "Security score (0=critical issues, 100=no issues)"
113
+ },
114
+ "max": {
115
+ "type": "number",
116
+ "const": 100,
117
+ "description": "Maximum score is always 100"
118
+ },
119
+ "grade": {
120
+ "type": "string",
121
+ "pattern": "^[A-F][+-]?$",
122
+ "description": "Letter grade: A (90-100), B (80-89), C (70-79), D (60-69), F (<60)"
123
+ },
124
+ "trend": {
125
+ "type": "string",
126
+ "enum": ["improving", "stable", "declining", "unknown"],
127
+ "description": "Trend compared to previous scans"
128
+ },
129
+ "riskLevel": {
130
+ "type": "string",
131
+ "enum": ["critical", "high", "medium", "low", "minimal"],
132
+ "description": "Overall risk level assessment"
133
+ }
134
+ }
135
+ },
136
+ "securityFinding": {
137
+ "type": "object",
138
+ "required": ["id", "title", "severity", "owasp"],
139
+ "properties": {
140
+ "id": {
141
+ "type": "string",
142
+ "pattern": "^SEC-\\d{3,6}$",
143
+ "description": "Unique finding identifier (e.g., SEC-001)"
144
+ },
145
+ "title": {
146
+ "type": "string",
147
+ "minLength": 10,
148
+ "maxLength": 200,
149
+ "description": "Finding title describing the vulnerability"
150
+ },
151
+ "description": {
152
+ "type": "string",
153
+ "maxLength": 2000,
154
+ "description": "Detailed description of the vulnerability"
155
+ },
156
+ "severity": {
157
+ "type": "string",
158
+ "enum": ["critical", "high", "medium", "low", "info"],
159
+ "description": "Severity: critical (CVSS 9.0-10.0), high (7.0-8.9), medium (4.0-6.9), low (0.1-3.9), info (0)"
160
+ },
161
+ "owasp": {
162
+ "type": "string",
163
+ "pattern": "^A(0[1-9]|10):20(21|25)$",
164
+ "description": "OWASP Top 10 category (e.g., A01:2021, A03:2025)"
165
+ },
166
+ "owaspCategory": {
167
+ "type": "string",
168
+ "enum": [
169
+ "A01:2021-Broken-Access-Control",
170
+ "A02:2021-Cryptographic-Failures",
171
+ "A03:2021-Injection",
172
+ "A04:2021-Insecure-Design",
173
+ "A05:2021-Security-Misconfiguration",
174
+ "A06:2021-Vulnerable-Components",
175
+ "A07:2021-Identification-Authentication-Failures",
176
+ "A08:2021-Software-Data-Integrity-Failures",
177
+ "A09:2021-Security-Logging-Monitoring-Failures",
178
+ "A10:2021-Server-Side-Request-Forgery"
179
+ ],
180
+ "description": "Full OWASP category name"
181
+ },
182
+ "cwe": {
183
+ "type": "string",
184
+ "pattern": "^CWE-\\d{1,4}$",
185
+ "description": "CWE identifier (e.g., CWE-79 for XSS, CWE-89 for SQLi)"
186
+ },
187
+ "cvss": {
188
+ "type": "object",
189
+ "properties": {
190
+ "score": {
191
+ "type": "number",
192
+ "minimum": 0,
193
+ "maximum": 10,
194
+ "description": "CVSS v3.1 base score"
195
+ },
196
+ "vector": {
197
+ "type": "string",
198
+ "pattern": "^CVSS:3\\.1/AV:[NALP]/AC:[LH]/PR:[NLH]/UI:[NR]/S:[UC]/C:[NLH]/I:[NLH]/A:[NLH]$",
199
+ "description": "CVSS v3.1 vector string"
200
+ },
201
+ "severity": {
202
+ "type": "string",
203
+ "enum": ["None", "Low", "Medium", "High", "Critical"],
204
+ "description": "CVSS severity rating"
205
+ }
206
+ }
207
+ },
208
+ "location": {
209
+ "$ref": "#/$defs/location",
210
+ "description": "Location of the vulnerability"
211
+ },
212
+ "evidence": {
213
+ "type": "string",
214
+ "maxLength": 5000,
215
+ "description": "Evidence: code snippet, request/response, or PoC"
216
+ },
217
+ "remediation": {
218
+ "type": "string",
219
+ "maxLength": 2000,
220
+ "description": "Specific fix instructions for this finding"
221
+ },
222
+ "references": {
223
+ "type": "array",
224
+ "items": {
225
+ "type": "object",
226
+ "required": ["title", "url"],
227
+ "properties": {
228
+ "title": { "type": "string" },
229
+ "url": { "type": "string", "format": "uri" }
230
+ }
231
+ },
232
+ "maxItems": 10,
233
+ "description": "External references (OWASP, CWE, CVE, etc.)"
234
+ },
235
+ "falsePositive": {
236
+ "type": "boolean",
237
+ "default": false,
238
+ "description": "Potential false positive flag"
239
+ },
240
+ "confidence": {
241
+ "type": "number",
242
+ "minimum": 0,
243
+ "maximum": 1,
244
+ "description": "Confidence in finding accuracy (0.0-1.0)"
245
+ },
246
+ "exploitability": {
247
+ "type": "string",
248
+ "enum": ["trivial", "easy", "moderate", "difficult", "theoretical"],
249
+ "description": "How easy is it to exploit this vulnerability"
250
+ },
251
+ "affectedVersions": {
252
+ "type": "array",
253
+ "items": { "type": "string" },
254
+ "description": "Affected package/library versions for dependency vulnerabilities"
255
+ },
256
+ "cve": {
257
+ "type": "string",
258
+ "pattern": "^CVE-\\d{4}-\\d{4,}$",
259
+ "description": "CVE identifier if applicable"
260
+ }
261
+ }
262
+ },
263
+ "securityRecommendation": {
264
+ "type": "object",
265
+ "required": ["id", "title", "priority", "owaspCategories"],
266
+ "properties": {
267
+ "id": {
268
+ "type": "string",
269
+ "pattern": "^REC-\\d{3,6}$",
270
+ "description": "Unique recommendation identifier"
271
+ },
272
+ "title": {
273
+ "type": "string",
274
+ "minLength": 10,
275
+ "maxLength": 200,
276
+ "description": "Recommendation title"
277
+ },
278
+ "description": {
279
+ "type": "string",
280
+ "maxLength": 2000,
281
+ "description": "Detailed recommendation description"
282
+ },
283
+ "priority": {
284
+ "type": "string",
285
+ "enum": ["critical", "high", "medium", "low"],
286
+ "description": "Remediation priority"
287
+ },
288
+ "effort": {
289
+ "type": "string",
290
+ "enum": ["trivial", "low", "medium", "high", "major"],
291
+ "description": "Estimated effort: trivial(<1hr), low(1-4hr), medium(1-3d), high(1-2wk), major(>2wk)"
292
+ },
293
+ "impact": {
294
+ "type": "integer",
295
+ "minimum": 1,
296
+ "maximum": 10,
297
+ "description": "Security impact if implemented (1-10)"
298
+ },
299
+ "relatedFindings": {
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string",
303
+ "pattern": "^SEC-\\d{3,6}$"
304
+ },
305
+ "description": "IDs of findings this addresses"
306
+ },
307
+ "owaspCategories": {
308
+ "type": "array",
309
+ "items": {
310
+ "type": "string",
311
+ "pattern": "^A(0[1-9]|10):20(21|25)$"
312
+ },
313
+ "description": "OWASP categories this recommendation addresses"
314
+ },
315
+ "codeExample": {
316
+ "type": "object",
317
+ "properties": {
318
+ "before": {
319
+ "type": "string",
320
+ "maxLength": 2000,
321
+ "description": "Vulnerable code example"
322
+ },
323
+ "after": {
324
+ "type": "string",
325
+ "maxLength": 2000,
326
+ "description": "Secure code example"
327
+ },
328
+ "language": {
329
+ "type": "string",
330
+ "description": "Programming language"
331
+ }
332
+ },
333
+ "description": "Before/after code examples for remediation"
334
+ },
335
+ "resources": {
336
+ "type": "array",
337
+ "items": {
338
+ "type": "object",
339
+ "required": ["title", "url"],
340
+ "properties": {
341
+ "title": { "type": "string" },
342
+ "url": { "type": "string", "format": "uri" }
343
+ }
344
+ },
345
+ "maxItems": 10,
346
+ "description": "External resources and documentation"
347
+ },
348
+ "automatable": {
349
+ "type": "boolean",
350
+ "description": "Can this fix be automated?"
351
+ },
352
+ "fixCommand": {
353
+ "type": "string",
354
+ "description": "CLI command to apply fix if automatable"
355
+ }
356
+ }
357
+ },
358
+ "owaspCategoryBreakdown": {
359
+ "type": "object",
360
+ "description": "OWASP Top 10 2021 category scores and findings",
361
+ "properties": {
362
+ "A01:2021": {
363
+ "$ref": "#/$defs/owaspCategoryScore",
364
+ "description": "A01:2021 - Broken Access Control"
365
+ },
366
+ "A02:2021": {
367
+ "$ref": "#/$defs/owaspCategoryScore",
368
+ "description": "A02:2021 - Cryptographic Failures"
369
+ },
370
+ "A03:2021": {
371
+ "$ref": "#/$defs/owaspCategoryScore",
372
+ "description": "A03:2021 - Injection"
373
+ },
374
+ "A04:2021": {
375
+ "$ref": "#/$defs/owaspCategoryScore",
376
+ "description": "A04:2021 - Insecure Design"
377
+ },
378
+ "A05:2021": {
379
+ "$ref": "#/$defs/owaspCategoryScore",
380
+ "description": "A05:2021 - Security Misconfiguration"
381
+ },
382
+ "A06:2021": {
383
+ "$ref": "#/$defs/owaspCategoryScore",
384
+ "description": "A06:2021 - Vulnerable and Outdated Components"
385
+ },
386
+ "A07:2021": {
387
+ "$ref": "#/$defs/owaspCategoryScore",
388
+ "description": "A07:2021 - Identification and Authentication Failures"
389
+ },
390
+ "A08:2021": {
391
+ "$ref": "#/$defs/owaspCategoryScore",
392
+ "description": "A08:2021 - Software and Data Integrity Failures"
393
+ },
394
+ "A09:2021": {
395
+ "$ref": "#/$defs/owaspCategoryScore",
396
+ "description": "A09:2021 - Security Logging and Monitoring Failures"
397
+ },
398
+ "A10:2021": {
399
+ "$ref": "#/$defs/owaspCategoryScore",
400
+ "description": "A10:2021 - Server-Side Request Forgery (SSRF)"
401
+ }
402
+ },
403
+ "additionalProperties": false
404
+ },
405
+ "owaspCategoryScore": {
406
+ "type": "object",
407
+ "required": ["tested", "score"],
408
+ "properties": {
409
+ "tested": {
410
+ "type": "boolean",
411
+ "description": "Whether this category was tested"
412
+ },
413
+ "score": {
414
+ "type": "number",
415
+ "minimum": 0,
416
+ "maximum": 100,
417
+ "description": "Category score (100 = no issues, 0 = critical)"
418
+ },
419
+ "grade": {
420
+ "type": "string",
421
+ "pattern": "^[A-F][+-]?$",
422
+ "description": "Letter grade for this category"
423
+ },
424
+ "findingCount": {
425
+ "type": "integer",
426
+ "minimum": 0,
427
+ "description": "Number of findings in this category"
428
+ },
429
+ "criticalCount": {
430
+ "type": "integer",
431
+ "minimum": 0,
432
+ "description": "Number of critical findings"
433
+ },
434
+ "highCount": {
435
+ "type": "integer",
436
+ "minimum": 0,
437
+ "description": "Number of high severity findings"
438
+ },
439
+ "status": {
440
+ "type": "string",
441
+ "enum": ["pass", "fail", "warn", "skip"],
442
+ "description": "Category status"
443
+ },
444
+ "description": {
445
+ "type": "string",
446
+ "description": "Category description and context"
447
+ },
448
+ "cwes": {
449
+ "type": "array",
450
+ "items": {
451
+ "type": "string",
452
+ "pattern": "^CWE-\\d{1,4}$"
453
+ },
454
+ "description": "CWEs found in this category"
455
+ }
456
+ }
457
+ },
458
+ "securityMetrics": {
459
+ "type": "object",
460
+ "properties": {
461
+ "totalFindings": {
462
+ "type": "integer",
463
+ "minimum": 0,
464
+ "description": "Total vulnerabilities found"
465
+ },
466
+ "criticalCount": {
467
+ "type": "integer",
468
+ "minimum": 0,
469
+ "description": "Critical severity findings"
470
+ },
471
+ "highCount": {
472
+ "type": "integer",
473
+ "minimum": 0,
474
+ "description": "High severity findings"
475
+ },
476
+ "mediumCount": {
477
+ "type": "integer",
478
+ "minimum": 0,
479
+ "description": "Medium severity findings"
480
+ },
481
+ "lowCount": {
482
+ "type": "integer",
483
+ "minimum": 0,
484
+ "description": "Low severity findings"
485
+ },
486
+ "infoCount": {
487
+ "type": "integer",
488
+ "minimum": 0,
489
+ "description": "Informational findings"
490
+ },
491
+ "filesScanned": {
492
+ "type": "integer",
493
+ "minimum": 0,
494
+ "description": "Number of files analyzed"
495
+ },
496
+ "linesOfCode": {
497
+ "type": "integer",
498
+ "minimum": 0,
499
+ "description": "Lines of code scanned"
500
+ },
501
+ "dependenciesChecked": {
502
+ "type": "integer",
503
+ "minimum": 0,
504
+ "description": "Number of dependencies checked"
505
+ },
506
+ "owaspCategoriesTested": {
507
+ "type": "integer",
508
+ "minimum": 0,
509
+ "maximum": 10,
510
+ "description": "OWASP Top 10 categories tested"
511
+ },
512
+ "owaspCategoriesPassed": {
513
+ "type": "integer",
514
+ "minimum": 0,
515
+ "maximum": 10,
516
+ "description": "OWASP Top 10 categories with no findings"
517
+ },
518
+ "uniqueCwes": {
519
+ "type": "integer",
520
+ "minimum": 0,
521
+ "description": "Unique CWE identifiers found"
522
+ },
523
+ "falsePositiveRate": {
524
+ "type": "number",
525
+ "minimum": 0,
526
+ "maximum": 1,
527
+ "description": "Estimated false positive rate"
528
+ },
529
+ "scanDurationMs": {
530
+ "type": "integer",
531
+ "minimum": 0,
532
+ "description": "Total scan duration in milliseconds"
533
+ },
534
+ "coverage": {
535
+ "type": "object",
536
+ "properties": {
537
+ "sast": {
538
+ "type": "boolean",
539
+ "description": "Static analysis performed"
540
+ },
541
+ "dast": {
542
+ "type": "boolean",
543
+ "description": "Dynamic analysis performed"
544
+ },
545
+ "dependencies": {
546
+ "type": "boolean",
547
+ "description": "Dependency scan performed"
548
+ },
549
+ "secrets": {
550
+ "type": "boolean",
551
+ "description": "Secret scanning performed"
552
+ },
553
+ "configuration": {
554
+ "type": "boolean",
555
+ "description": "Configuration review performed"
556
+ }
557
+ },
558
+ "description": "Scan coverage indicators"
559
+ }
560
+ }
561
+ },
562
+ "scanConfiguration": {
563
+ "type": "object",
564
+ "properties": {
565
+ "target": {
566
+ "type": "string",
567
+ "description": "Scan target (file path, URL, or package)"
568
+ },
569
+ "targetType": {
570
+ "type": "string",
571
+ "enum": ["source", "url", "package", "container", "infrastructure"],
572
+ "description": "Type of target being scanned"
573
+ },
574
+ "scanTypes": {
575
+ "type": "array",
576
+ "items": {
577
+ "type": "string",
578
+ "enum": ["sast", "dast", "dependency", "secret", "configuration", "container", "iac"]
579
+ },
580
+ "description": "Types of scans performed"
581
+ },
582
+ "severity": {
583
+ "type": "array",
584
+ "items": {
585
+ "type": "string",
586
+ "enum": ["critical", "high", "medium", "low", "info"]
587
+ },
588
+ "description": "Severity levels included in scan"
589
+ },
590
+ "owaspCategories": {
591
+ "type": "array",
592
+ "items": {
593
+ "type": "string",
594
+ "pattern": "^A(0[1-9]|10):20(21|25)$"
595
+ },
596
+ "description": "OWASP categories tested"
597
+ },
598
+ "tools": {
599
+ "type": "array",
600
+ "items": { "type": "string" },
601
+ "description": "Security tools used"
602
+ },
603
+ "excludePatterns": {
604
+ "type": "array",
605
+ "items": { "type": "string" },
606
+ "description": "File patterns excluded from scan"
607
+ },
608
+ "rulesets": {
609
+ "type": "array",
610
+ "items": { "type": "string" },
611
+ "description": "Security rulesets applied"
612
+ }
613
+ }
614
+ },
615
+ "location": {
616
+ "type": "object",
617
+ "properties": {
618
+ "file": {
619
+ "type": "string",
620
+ "maxLength": 500,
621
+ "description": "File path relative to project root"
622
+ },
623
+ "line": {
624
+ "type": "integer",
625
+ "minimum": 1,
626
+ "description": "Line number"
627
+ },
628
+ "column": {
629
+ "type": "integer",
630
+ "minimum": 1,
631
+ "description": "Column number"
632
+ },
633
+ "endLine": {
634
+ "type": "integer",
635
+ "minimum": 1,
636
+ "description": "End line for multi-line findings"
637
+ },
638
+ "endColumn": {
639
+ "type": "integer",
640
+ "minimum": 1,
641
+ "description": "End column"
642
+ },
643
+ "url": {
644
+ "type": "string",
645
+ "format": "uri",
646
+ "description": "URL for web-based findings"
647
+ },
648
+ "endpoint": {
649
+ "type": "string",
650
+ "description": "API endpoint path"
651
+ },
652
+ "method": {
653
+ "type": "string",
654
+ "enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"],
655
+ "description": "HTTP method for API findings"
656
+ },
657
+ "parameter": {
658
+ "type": "string",
659
+ "description": "Vulnerable parameter name"
660
+ },
661
+ "component": {
662
+ "type": "string",
663
+ "description": "Affected component or module"
664
+ }
665
+ }
666
+ },
667
+ "artifact": {
668
+ "type": "object",
669
+ "required": ["type", "path"],
670
+ "properties": {
671
+ "type": {
672
+ "type": "string",
673
+ "enum": ["report", "sarif", "data", "log", "evidence"],
674
+ "description": "Artifact type"
675
+ },
676
+ "path": {
677
+ "type": "string",
678
+ "maxLength": 500,
679
+ "description": "Path to artifact"
680
+ },
681
+ "format": {
682
+ "type": "string",
683
+ "enum": ["json", "sarif", "html", "md", "txt", "xml", "csv"],
684
+ "description": "Artifact format"
685
+ },
686
+ "description": {
687
+ "type": "string",
688
+ "maxLength": 500,
689
+ "description": "Artifact description"
690
+ },
691
+ "sizeBytes": {
692
+ "type": "integer",
693
+ "minimum": 0,
694
+ "description": "File size in bytes"
695
+ },
696
+ "checksum": {
697
+ "type": "string",
698
+ "pattern": "^sha256:[a-f0-9]{64}$",
699
+ "description": "SHA-256 checksum"
700
+ }
701
+ }
702
+ },
703
+ "timelineEvent": {
704
+ "type": "object",
705
+ "required": ["timestamp", "event"],
706
+ "properties": {
707
+ "timestamp": {
708
+ "type": "string",
709
+ "format": "date-time",
710
+ "description": "Event timestamp"
711
+ },
712
+ "event": {
713
+ "type": "string",
714
+ "maxLength": 200,
715
+ "description": "Event description"
716
+ },
717
+ "type": {
718
+ "type": "string",
719
+ "enum": ["start", "checkpoint", "warning", "error", "complete"],
720
+ "description": "Event type"
721
+ },
722
+ "durationMs": {
723
+ "type": "integer",
724
+ "minimum": 0,
725
+ "description": "Duration since previous event"
726
+ },
727
+ "phase": {
728
+ "type": "string",
729
+ "enum": ["initialization", "sast", "dast", "dependency", "secret", "reporting"],
730
+ "description": "Scan phase"
731
+ }
732
+ }
733
+ },
734
+ "metadata": {
735
+ "type": "object",
736
+ "properties": {
737
+ "executionTimeMs": {
738
+ "type": "integer",
739
+ "minimum": 0,
740
+ "maximum": 3600000,
741
+ "description": "Execution time in milliseconds"
742
+ },
743
+ "toolsUsed": {
744
+ "type": "array",
745
+ "items": {
746
+ "type": "string",
747
+ "enum": ["semgrep", "npm-audit", "trivy", "owasp-zap", "bandit", "gosec", "eslint-security", "snyk", "gitleaks", "trufflehog", "bearer"]
748
+ },
749
+ "uniqueItems": true,
750
+ "description": "Security tools used"
751
+ },
752
+ "agentId": {
753
+ "type": "string",
754
+ "pattern": "^qe-[a-z][a-z0-9-]*$",
755
+ "description": "Agent ID (e.g., qe-security-scanner)"
756
+ },
757
+ "modelUsed": {
758
+ "type": "string",
759
+ "description": "LLM model used for analysis"
760
+ },
761
+ "inputHash": {
762
+ "type": "string",
763
+ "pattern": "^[a-f0-9]{64}$",
764
+ "description": "SHA-256 hash of input"
765
+ },
766
+ "targetUrl": {
767
+ "type": "string",
768
+ "format": "uri",
769
+ "description": "Target URL if applicable"
770
+ },
771
+ "targetPath": {
772
+ "type": "string",
773
+ "description": "Target path if applicable"
774
+ },
775
+ "environment": {
776
+ "type": "string",
777
+ "enum": ["development", "staging", "production", "ci"],
778
+ "description": "Execution environment"
779
+ },
780
+ "retryCount": {
781
+ "type": "integer",
782
+ "minimum": 0,
783
+ "maximum": 10,
784
+ "description": "Number of retries"
785
+ }
786
+ }
787
+ },
788
+ "validationResult": {
789
+ "type": "object",
790
+ "properties": {
791
+ "schemaValid": {
792
+ "type": "boolean",
793
+ "description": "Passes JSON schema validation"
794
+ },
795
+ "contentValid": {
796
+ "type": "boolean",
797
+ "description": "Passes content validation"
798
+ },
799
+ "confidence": {
800
+ "type": "number",
801
+ "minimum": 0,
802
+ "maximum": 1,
803
+ "description": "Confidence score"
804
+ },
805
+ "warnings": {
806
+ "type": "array",
807
+ "items": {
808
+ "type": "string",
809
+ "maxLength": 500
810
+ },
811
+ "maxItems": 20,
812
+ "description": "Validation warnings"
813
+ },
814
+ "errors": {
815
+ "type": "array",
816
+ "items": {
817
+ "type": "string",
818
+ "maxLength": 500
819
+ },
820
+ "maxItems": 20,
821
+ "description": "Validation errors"
822
+ },
823
+ "validatorVersion": {
824
+ "type": "string",
825
+ "pattern": "^\\d+\\.\\d+\\.\\d+$",
826
+ "description": "Validator version"
827
+ }
828
+ }
829
+ },
830
+ "learningData": {
831
+ "type": "object",
832
+ "properties": {
833
+ "patternsDetected": {
834
+ "type": "array",
835
+ "items": {
836
+ "type": "string",
837
+ "maxLength": 200
838
+ },
839
+ "maxItems": 20,
840
+ "description": "Security patterns detected (e.g., sql-injection-string-concat)"
841
+ },
842
+ "reward": {
843
+ "type": "number",
844
+ "minimum": 0,
845
+ "maximum": 1,
846
+ "description": "Reward signal for learning (0.0-1.0)"
847
+ },
848
+ "feedbackLoop": {
849
+ "type": "object",
850
+ "properties": {
851
+ "previousRunId": {
852
+ "type": "string",
853
+ "format": "uuid",
854
+ "description": "Previous run ID for comparison"
855
+ },
856
+ "improvement": {
857
+ "type": "number",
858
+ "minimum": -1,
859
+ "maximum": 1,
860
+ "description": "Improvement over previous run"
861
+ }
862
+ }
863
+ },
864
+ "newVulnerabilityPatterns": {
865
+ "type": "array",
866
+ "items": {
867
+ "type": "object",
868
+ "properties": {
869
+ "pattern": { "type": "string" },
870
+ "cwe": { "type": "string" },
871
+ "confidence": { "type": "number" }
872
+ }
873
+ },
874
+ "description": "New vulnerability patterns learned"
875
+ }
876
+ }
877
+ }
878
+ }
879
+ }