ma-agents 2.19.2 → 2.20.0

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 (940) hide show
  1. package/.cline/clinerules.md +14 -0
  2. package/.cline/skills/.ma-agents.json +199 -0
  3. package/.cline/skills/MANIFEST.yaml +204 -0
  4. package/.cline/skills/ai-audit-trail/SKILL.md +23 -0
  5. package/.cline/skills/cmake-best-practices/SKILL.md +64 -0
  6. package/.cline/skills/cmake-best-practices/examples/cmake.md +59 -0
  7. package/.cline/skills/code-documentation/SKILL.md +57 -0
  8. package/.cline/skills/code-documentation/examples/cpp.md +29 -0
  9. package/.cline/skills/code-documentation/examples/csharp.md +28 -0
  10. package/.cline/skills/code-documentation/examples/javascript_typescript.md +28 -0
  11. package/.cline/skills/code-documentation/examples/python.md +57 -0
  12. package/.cline/skills/code-review/SKILL.md +59 -0
  13. package/.cline/skills/commit-message/SKILL.md +79 -0
  14. package/.cline/skills/cpp-concurrency-safety/SKILL.md +60 -0
  15. package/.cline/skills/cpp-concurrency-safety/examples/concurrency.md +73 -0
  16. package/.cline/skills/cpp-const-correctness/SKILL.md +63 -0
  17. package/.cline/skills/cpp-const-correctness/examples/const_correctness.md +54 -0
  18. package/.cline/skills/cpp-memory-handling/SKILL.md +42 -0
  19. package/.cline/skills/cpp-memory-handling/examples/modern-cpp.md +49 -0
  20. package/.cline/skills/cpp-memory-handling/examples/smart-pointers.md +46 -0
  21. package/.cline/skills/cpp-modern-composition/SKILL.md +64 -0
  22. package/.cline/skills/cpp-modern-composition/examples/composition.md +51 -0
  23. package/.cline/skills/cpp-robust-interfaces/SKILL.md +55 -0
  24. package/.cline/skills/cpp-robust-interfaces/examples/interfaces.md +56 -0
  25. package/.cline/skills/create-hardened-docker-skill/SKILL.md +637 -0
  26. package/.cline/skills/create-hardened-docker-skill/scripts/create-all.sh +489 -0
  27. package/.cline/skills/docker-hardening-verification/SKILL.md +28 -0
  28. package/.cline/skills/docker-hardening-verification/scripts/verify-hardening.sh +39 -0
  29. package/.cline/skills/docker-image-signing/SKILL.md +28 -0
  30. package/.cline/skills/docker-image-signing/scripts/sign-image.sh +33 -0
  31. package/.cline/skills/document-revision-history/SKILL.md +104 -0
  32. package/.cline/skills/git-workflow-skill/SKILL.md +194 -0
  33. package/.cline/skills/git-workflow-skill/hooks/commit-msg +61 -0
  34. package/.cline/skills/git-workflow-skill/hooks/pre-commit +38 -0
  35. package/.cline/skills/git-workflow-skill/hooks/prepare-commit-msg +56 -0
  36. package/.cline/skills/git-workflow-skill/scripts/finish-feature.sh +192 -0
  37. package/.cline/skills/git-workflow-skill/scripts/install-hooks.sh +55 -0
  38. package/.cline/skills/git-workflow-skill/scripts/start-feature.sh +110 -0
  39. package/.cline/skills/git-workflow-skill/scripts/validate-workflow.sh +229 -0
  40. package/.cline/skills/js-ts-dependency-mgmt/SKILL.md +49 -0
  41. package/.cline/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +60 -0
  42. package/.cline/skills/js-ts-security-skill/SKILL.md +64 -0
  43. package/.cline/skills/js-ts-security-skill/scripts/verify-security.sh +136 -0
  44. package/.cline/skills/logging-best-practices/SKILL.md +50 -0
  45. package/.cline/skills/logging-best-practices/docs/logging-standards.md +29 -0
  46. package/.cline/skills/logging-best-practices/examples/cpp.md +36 -0
  47. package/.cline/skills/logging-best-practices/examples/csharp.md +49 -0
  48. package/.cline/skills/logging-best-practices/examples/javascript.md +77 -0
  49. package/.cline/skills/logging-best-practices/examples/python.md +57 -0
  50. package/.cline/skills/opentelemetry-best-practices/SKILL.md +34 -0
  51. package/.cline/skills/opentelemetry-best-practices/docs/otel-standards.md +37 -0
  52. package/.cline/skills/opentelemetry-best-practices/examples/go.md +32 -0
  53. package/.cline/skills/opentelemetry-best-practices/examples/javascript.md +58 -0
  54. package/.cline/skills/opentelemetry-best-practices/examples/python.md +37 -0
  55. package/.cline/skills/python-dependency-mgmt/SKILL.md +42 -0
  56. package/.cline/skills/python-dependency-mgmt/examples/dependency_mgmt.md +67 -0
  57. package/.cline/skills/python-security-skill/SKILL.md +56 -0
  58. package/.cline/skills/python-security-skill/examples/security.md +56 -0
  59. package/.cline/skills/self-signed-cert/SKILL.md +42 -0
  60. package/.cline/skills/self-signed-cert/scripts/generate-cert.ps1 +45 -0
  61. package/.cline/skills/self-signed-cert/scripts/generate-cert.sh +43 -0
  62. package/.cline/skills/skill-creator/SKILL.md +196 -0
  63. package/.cline/skills/skill-creator/docs/output-patterns.md +82 -0
  64. package/.cline/skills/skill-creator/docs/workflows.md +28 -0
  65. package/.cline/skills/skill-creator/scripts/init_skill.py +208 -0
  66. package/.cline/skills/skill-creator/scripts/package_skill.py +99 -0
  67. package/.cline/skills/skill-creator/scripts/quick_validate.py +113 -0
  68. package/.cline/skills/test-accompanied-development/SKILL.md +50 -0
  69. package/.cline/skills/test-generator/SKILL.md +73 -0
  70. package/.cline/skills/vercel-react-best-practices/SKILL.md +109 -0
  71. package/.cline/skills/verify-hardened-docker-skill/SKILL.md +442 -0
  72. package/.cline/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +439 -0
  73. package/.clinerules +14 -0
  74. package/.cursor/cursor.md +14 -0
  75. package/.cursor/skills/.ma-agents.json +199 -0
  76. package/.cursor/skills/MANIFEST.yaml +204 -0
  77. package/.cursor/skills/ai-audit-trail/SKILL.md +23 -0
  78. package/.cursor/skills/cmake-best-practices/SKILL.md +64 -0
  79. package/.cursor/skills/cmake-best-practices/examples/cmake.md +59 -0
  80. package/.cursor/skills/code-documentation/SKILL.md +57 -0
  81. package/.cursor/skills/code-documentation/examples/cpp.md +29 -0
  82. package/.cursor/skills/code-documentation/examples/csharp.md +28 -0
  83. package/.cursor/skills/code-documentation/examples/javascript_typescript.md +28 -0
  84. package/.cursor/skills/code-documentation/examples/python.md +57 -0
  85. package/.cursor/skills/code-review/SKILL.md +43 -0
  86. package/.cursor/skills/commit-message/SKILL.md +79 -0
  87. package/.cursor/skills/cpp-concurrency-safety/SKILL.md +60 -0
  88. package/.cursor/skills/cpp-concurrency-safety/examples/concurrency.md +73 -0
  89. package/.cursor/skills/cpp-const-correctness/SKILL.md +63 -0
  90. package/.cursor/skills/cpp-const-correctness/examples/const_correctness.md +54 -0
  91. package/.cursor/skills/cpp-memory-handling/SKILL.md +42 -0
  92. package/.cursor/skills/cpp-memory-handling/examples/modern-cpp.md +49 -0
  93. package/.cursor/skills/cpp-memory-handling/examples/smart-pointers.md +46 -0
  94. package/.cursor/skills/cpp-modern-composition/SKILL.md +64 -0
  95. package/.cursor/skills/cpp-modern-composition/examples/composition.md +51 -0
  96. package/.cursor/skills/cpp-robust-interfaces/SKILL.md +55 -0
  97. package/.cursor/skills/cpp-robust-interfaces/examples/interfaces.md +56 -0
  98. package/.cursor/skills/create-hardened-docker-skill/SKILL.md +637 -0
  99. package/.cursor/skills/create-hardened-docker-skill/scripts/create-all.sh +489 -0
  100. package/.cursor/skills/docker-hardening-verification/SKILL.md +28 -0
  101. package/.cursor/skills/docker-hardening-verification/scripts/verify-hardening.sh +39 -0
  102. package/.cursor/skills/docker-image-signing/SKILL.md +28 -0
  103. package/.cursor/skills/docker-image-signing/scripts/sign-image.sh +33 -0
  104. package/.cursor/skills/document-revision-history/SKILL.md +104 -0
  105. package/.cursor/skills/git-workflow-skill/SKILL.md +194 -0
  106. package/.cursor/skills/git-workflow-skill/hooks/commit-msg +61 -0
  107. package/.cursor/skills/git-workflow-skill/hooks/pre-commit +38 -0
  108. package/.cursor/skills/git-workflow-skill/hooks/prepare-commit-msg +56 -0
  109. package/.cursor/skills/git-workflow-skill/scripts/finish-feature.sh +192 -0
  110. package/.cursor/skills/git-workflow-skill/scripts/install-hooks.sh +55 -0
  111. package/.cursor/skills/git-workflow-skill/scripts/start-feature.sh +110 -0
  112. package/.cursor/skills/git-workflow-skill/scripts/validate-workflow.sh +229 -0
  113. package/.cursor/skills/js-ts-dependency-mgmt/SKILL.md +49 -0
  114. package/.cursor/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +60 -0
  115. package/.cursor/skills/js-ts-security-skill/SKILL.md +64 -0
  116. package/.cursor/skills/js-ts-security-skill/scripts/verify-security.sh +136 -0
  117. package/.cursor/skills/logging-best-practices/SKILL.md +50 -0
  118. package/.cursor/skills/logging-best-practices/examples/cpp.md +36 -0
  119. package/.cursor/skills/logging-best-practices/examples/csharp.md +49 -0
  120. package/.cursor/skills/logging-best-practices/examples/javascript.md +77 -0
  121. package/.cursor/skills/logging-best-practices/examples/python.md +57 -0
  122. package/.cursor/skills/logging-best-practices/references/logging-standards.md +29 -0
  123. package/.cursor/skills/opentelemetry-best-practices/SKILL.md +34 -0
  124. package/.cursor/skills/opentelemetry-best-practices/examples/go.md +32 -0
  125. package/.cursor/skills/opentelemetry-best-practices/examples/javascript.md +58 -0
  126. package/.cursor/skills/opentelemetry-best-practices/examples/python.md +37 -0
  127. package/.cursor/skills/opentelemetry-best-practices/references/otel-standards.md +37 -0
  128. package/.cursor/skills/python-dependency-mgmt/SKILL.md +42 -0
  129. package/.cursor/skills/python-dependency-mgmt/examples/dependency_mgmt.md +67 -0
  130. package/.cursor/skills/python-security-skill/SKILL.md +56 -0
  131. package/.cursor/skills/python-security-skill/examples/security.md +56 -0
  132. package/.cursor/skills/self-signed-cert/SKILL.md +42 -0
  133. package/.cursor/skills/self-signed-cert/scripts/generate-cert.ps1 +45 -0
  134. package/.cursor/skills/self-signed-cert/scripts/generate-cert.sh +43 -0
  135. package/.cursor/skills/skill-creator/SKILL.md +196 -0
  136. package/.cursor/skills/skill-creator/references/output-patterns.md +82 -0
  137. package/.cursor/skills/skill-creator/references/workflows.md +28 -0
  138. package/.cursor/skills/skill-creator/scripts/init_skill.py +208 -0
  139. package/.cursor/skills/skill-creator/scripts/package_skill.py +99 -0
  140. package/.cursor/skills/skill-creator/scripts/quick_validate.py +113 -0
  141. package/.cursor/skills/test-accompanied-development/SKILL.md +50 -0
  142. package/.cursor/skills/test-generator/SKILL.md +65 -0
  143. package/.cursor/skills/vercel-react-best-practices/SKILL.md +109 -0
  144. package/.cursor/skills/verify-hardened-docker-skill/SKILL.md +442 -0
  145. package/.cursor/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +439 -0
  146. package/.gemini/gemini.md +14 -0
  147. package/.gemini/skills/.ma-agents.json +199 -0
  148. package/.gemini/skills/MANIFEST.yaml +204 -0
  149. package/.gemini/skills/ai-audit-trail/SKILL.md +23 -0
  150. package/.gemini/skills/cmake-best-practices/SKILL.md +64 -0
  151. package/.gemini/skills/cmake-best-practices/examples/cmake.md +59 -0
  152. package/.gemini/skills/code-documentation/SKILL.md +57 -0
  153. package/.gemini/skills/code-documentation/examples/cpp.md +29 -0
  154. package/.gemini/skills/code-documentation/examples/csharp.md +28 -0
  155. package/.gemini/skills/code-documentation/examples/javascript_typescript.md +28 -0
  156. package/.gemini/skills/code-documentation/examples/python.md +57 -0
  157. package/.gemini/skills/code-review/SKILL.md +43 -0
  158. package/.gemini/skills/commit-message/SKILL.md +79 -0
  159. package/.gemini/skills/cpp-concurrency-safety/SKILL.md +60 -0
  160. package/.gemini/skills/cpp-concurrency-safety/examples/concurrency.md +73 -0
  161. package/.gemini/skills/cpp-const-correctness/SKILL.md +63 -0
  162. package/.gemini/skills/cpp-const-correctness/examples/const_correctness.md +54 -0
  163. package/.gemini/skills/cpp-memory-handling/SKILL.md +42 -0
  164. package/.gemini/skills/cpp-memory-handling/examples/modern-cpp.md +49 -0
  165. package/.gemini/skills/cpp-memory-handling/examples/smart-pointers.md +46 -0
  166. package/.gemini/skills/cpp-modern-composition/SKILL.md +64 -0
  167. package/.gemini/skills/cpp-modern-composition/examples/composition.md +51 -0
  168. package/.gemini/skills/cpp-robust-interfaces/SKILL.md +55 -0
  169. package/.gemini/skills/cpp-robust-interfaces/examples/interfaces.md +56 -0
  170. package/.gemini/skills/create-hardened-docker-skill/SKILL.md +637 -0
  171. package/.gemini/skills/create-hardened-docker-skill/scripts/create-all.sh +489 -0
  172. package/.gemini/skills/docker-hardening-verification/SKILL.md +28 -0
  173. package/.gemini/skills/docker-hardening-verification/scripts/verify-hardening.sh +39 -0
  174. package/.gemini/skills/docker-image-signing/SKILL.md +28 -0
  175. package/.gemini/skills/docker-image-signing/scripts/sign-image.sh +33 -0
  176. package/.gemini/skills/document-revision-history/SKILL.md +104 -0
  177. package/.gemini/skills/git-workflow-skill/SKILL.md +194 -0
  178. package/.gemini/skills/git-workflow-skill/hooks/commit-msg +61 -0
  179. package/.gemini/skills/git-workflow-skill/hooks/pre-commit +38 -0
  180. package/.gemini/skills/git-workflow-skill/hooks/prepare-commit-msg +56 -0
  181. package/.gemini/skills/git-workflow-skill/scripts/finish-feature.sh +192 -0
  182. package/.gemini/skills/git-workflow-skill/scripts/install-hooks.sh +55 -0
  183. package/.gemini/skills/git-workflow-skill/scripts/start-feature.sh +110 -0
  184. package/.gemini/skills/git-workflow-skill/scripts/validate-workflow.sh +229 -0
  185. package/.gemini/skills/js-ts-dependency-mgmt/SKILL.md +49 -0
  186. package/.gemini/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +60 -0
  187. package/.gemini/skills/js-ts-security-skill/SKILL.md +64 -0
  188. package/.gemini/skills/js-ts-security-skill/scripts/verify-security.sh +136 -0
  189. package/.gemini/skills/logging-best-practices/SKILL.md +50 -0
  190. package/.gemini/skills/logging-best-practices/examples/cpp.md +36 -0
  191. package/.gemini/skills/logging-best-practices/examples/csharp.md +49 -0
  192. package/.gemini/skills/logging-best-practices/examples/javascript.md +77 -0
  193. package/.gemini/skills/logging-best-practices/examples/python.md +57 -0
  194. package/.gemini/skills/logging-best-practices/references/logging-standards.md +29 -0
  195. package/.gemini/skills/opentelemetry-best-practices/SKILL.md +34 -0
  196. package/.gemini/skills/opentelemetry-best-practices/examples/go.md +32 -0
  197. package/.gemini/skills/opentelemetry-best-practices/examples/javascript.md +58 -0
  198. package/.gemini/skills/opentelemetry-best-practices/examples/python.md +37 -0
  199. package/.gemini/skills/opentelemetry-best-practices/references/otel-standards.md +37 -0
  200. package/.gemini/skills/python-dependency-mgmt/SKILL.md +42 -0
  201. package/.gemini/skills/python-dependency-mgmt/examples/dependency_mgmt.md +67 -0
  202. package/.gemini/skills/python-security-skill/SKILL.md +56 -0
  203. package/.gemini/skills/python-security-skill/examples/security.md +56 -0
  204. package/.gemini/skills/self-signed-cert/SKILL.md +42 -0
  205. package/.gemini/skills/self-signed-cert/scripts/generate-cert.ps1 +45 -0
  206. package/.gemini/skills/self-signed-cert/scripts/generate-cert.sh +43 -0
  207. package/.gemini/skills/skill-creator/SKILL.md +196 -0
  208. package/.gemini/skills/skill-creator/references/output-patterns.md +82 -0
  209. package/.gemini/skills/skill-creator/references/workflows.md +28 -0
  210. package/.gemini/skills/skill-creator/scripts/init_skill.py +208 -0
  211. package/.gemini/skills/skill-creator/scripts/package_skill.py +99 -0
  212. package/.gemini/skills/skill-creator/scripts/quick_validate.py +113 -0
  213. package/.gemini/skills/test-accompanied-development/SKILL.md +50 -0
  214. package/.gemini/skills/test-generator/SKILL.md +65 -0
  215. package/.gemini/skills/vercel-react-best-practices/SKILL.md +109 -0
  216. package/.gemini/skills/verify-hardened-docker-skill/SKILL.md +442 -0
  217. package/.gemini/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +439 -0
  218. package/.github/copilot/copilot.md +14 -0
  219. package/.github/copilot/skills/.ma-agents.json +199 -0
  220. package/.github/copilot/skills/MANIFEST.yaml +204 -0
  221. package/.github/copilot/skills/ai-audit-trail/SKILL.md +23 -0
  222. package/.github/copilot/skills/cmake-best-practices/SKILL.md +64 -0
  223. package/.github/copilot/skills/cmake-best-practices/examples/cmake.md +59 -0
  224. package/.github/copilot/skills/code-documentation/SKILL.md +57 -0
  225. package/.github/copilot/skills/code-documentation/examples/cpp.md +29 -0
  226. package/.github/copilot/skills/code-documentation/examples/csharp.md +28 -0
  227. package/.github/copilot/skills/code-documentation/examples/javascript_typescript.md +28 -0
  228. package/.github/copilot/skills/code-documentation/examples/python.md +57 -0
  229. package/.github/copilot/skills/code-review/SKILL.md +43 -0
  230. package/.github/copilot/skills/commit-message/SKILL.md +79 -0
  231. package/.github/copilot/skills/cpp-concurrency-safety/SKILL.md +60 -0
  232. package/.github/copilot/skills/cpp-concurrency-safety/examples/concurrency.md +73 -0
  233. package/.github/copilot/skills/cpp-const-correctness/SKILL.md +63 -0
  234. package/.github/copilot/skills/cpp-const-correctness/examples/const_correctness.md +54 -0
  235. package/.github/copilot/skills/cpp-memory-handling/SKILL.md +42 -0
  236. package/.github/copilot/skills/cpp-memory-handling/examples/modern-cpp.md +49 -0
  237. package/.github/copilot/skills/cpp-memory-handling/examples/smart-pointers.md +46 -0
  238. package/.github/copilot/skills/cpp-modern-composition/SKILL.md +64 -0
  239. package/.github/copilot/skills/cpp-modern-composition/examples/composition.md +51 -0
  240. package/.github/copilot/skills/cpp-robust-interfaces/SKILL.md +55 -0
  241. package/.github/copilot/skills/cpp-robust-interfaces/examples/interfaces.md +56 -0
  242. package/.github/copilot/skills/create-hardened-docker-skill/SKILL.md +637 -0
  243. package/.github/copilot/skills/create-hardened-docker-skill/scripts/create-all.sh +489 -0
  244. package/.github/copilot/skills/docker-hardening-verification/SKILL.md +28 -0
  245. package/.github/copilot/skills/docker-hardening-verification/scripts/verify-hardening.sh +39 -0
  246. package/.github/copilot/skills/docker-image-signing/SKILL.md +28 -0
  247. package/.github/copilot/skills/docker-image-signing/scripts/sign-image.sh +33 -0
  248. package/.github/copilot/skills/document-revision-history/SKILL.md +104 -0
  249. package/.github/copilot/skills/git-workflow-skill/SKILL.md +194 -0
  250. package/.github/copilot/skills/git-workflow-skill/hooks/commit-msg +61 -0
  251. package/.github/copilot/skills/git-workflow-skill/hooks/pre-commit +38 -0
  252. package/.github/copilot/skills/git-workflow-skill/hooks/prepare-commit-msg +56 -0
  253. package/.github/copilot/skills/git-workflow-skill/scripts/finish-feature.sh +192 -0
  254. package/.github/copilot/skills/git-workflow-skill/scripts/install-hooks.sh +55 -0
  255. package/.github/copilot/skills/git-workflow-skill/scripts/start-feature.sh +110 -0
  256. package/.github/copilot/skills/git-workflow-skill/scripts/validate-workflow.sh +229 -0
  257. package/.github/copilot/skills/js-ts-dependency-mgmt/SKILL.md +49 -0
  258. package/.github/copilot/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +60 -0
  259. package/.github/copilot/skills/js-ts-security-skill/SKILL.md +64 -0
  260. package/.github/copilot/skills/js-ts-security-skill/scripts/verify-security.sh +136 -0
  261. package/.github/copilot/skills/logging-best-practices/SKILL.md +50 -0
  262. package/.github/copilot/skills/logging-best-practices/examples/cpp.md +36 -0
  263. package/.github/copilot/skills/logging-best-practices/examples/csharp.md +49 -0
  264. package/.github/copilot/skills/logging-best-practices/examples/javascript.md +77 -0
  265. package/.github/copilot/skills/logging-best-practices/examples/python.md +57 -0
  266. package/.github/copilot/skills/logging-best-practices/references/logging-standards.md +29 -0
  267. package/.github/copilot/skills/opentelemetry-best-practices/SKILL.md +34 -0
  268. package/.github/copilot/skills/opentelemetry-best-practices/examples/go.md +32 -0
  269. package/.github/copilot/skills/opentelemetry-best-practices/examples/javascript.md +58 -0
  270. package/.github/copilot/skills/opentelemetry-best-practices/examples/python.md +37 -0
  271. package/.github/copilot/skills/opentelemetry-best-practices/references/otel-standards.md +37 -0
  272. package/.github/copilot/skills/python-dependency-mgmt/SKILL.md +42 -0
  273. package/.github/copilot/skills/python-dependency-mgmt/examples/dependency_mgmt.md +67 -0
  274. package/.github/copilot/skills/python-security-skill/SKILL.md +56 -0
  275. package/.github/copilot/skills/python-security-skill/examples/security.md +56 -0
  276. package/.github/copilot/skills/self-signed-cert/SKILL.md +42 -0
  277. package/.github/copilot/skills/self-signed-cert/scripts/generate-cert.ps1 +45 -0
  278. package/.github/copilot/skills/self-signed-cert/scripts/generate-cert.sh +43 -0
  279. package/.github/copilot/skills/skill-creator/SKILL.md +196 -0
  280. package/.github/copilot/skills/skill-creator/references/output-patterns.md +82 -0
  281. package/.github/copilot/skills/skill-creator/references/workflows.md +28 -0
  282. package/.github/copilot/skills/skill-creator/scripts/init_skill.py +208 -0
  283. package/.github/copilot/skills/skill-creator/scripts/package_skill.py +99 -0
  284. package/.github/copilot/skills/skill-creator/scripts/quick_validate.py +113 -0
  285. package/.github/copilot/skills/test-accompanied-development/SKILL.md +50 -0
  286. package/.github/copilot/skills/test-generator/SKILL.md +65 -0
  287. package/.github/copilot/skills/vercel-react-best-practices/SKILL.md +109 -0
  288. package/.github/copilot/skills/verify-hardened-docker-skill/SKILL.md +442 -0
  289. package/.github/copilot/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +439 -0
  290. package/.kilocode/kilocode.md +14 -0
  291. package/.kilocode/skills/.ma-agents.json +199 -0
  292. package/.kilocode/skills/MANIFEST.yaml +204 -0
  293. package/.kilocode/skills/ai-audit-trail/SKILL.md +23 -0
  294. package/.kilocode/skills/cmake-best-practices/SKILL.md +64 -0
  295. package/.kilocode/skills/cmake-best-practices/examples/cmake.md +59 -0
  296. package/.kilocode/skills/code-documentation/SKILL.md +57 -0
  297. package/.kilocode/skills/code-documentation/examples/cpp.md +29 -0
  298. package/.kilocode/skills/code-documentation/examples/csharp.md +28 -0
  299. package/.kilocode/skills/code-documentation/examples/javascript_typescript.md +28 -0
  300. package/.kilocode/skills/code-documentation/examples/python.md +57 -0
  301. package/.kilocode/skills/code-review/SKILL.md +43 -0
  302. package/.kilocode/skills/commit-message/SKILL.md +79 -0
  303. package/.kilocode/skills/cpp-concurrency-safety/SKILL.md +60 -0
  304. package/.kilocode/skills/cpp-concurrency-safety/examples/concurrency.md +73 -0
  305. package/.kilocode/skills/cpp-const-correctness/SKILL.md +63 -0
  306. package/.kilocode/skills/cpp-const-correctness/examples/const_correctness.md +54 -0
  307. package/.kilocode/skills/cpp-memory-handling/SKILL.md +42 -0
  308. package/.kilocode/skills/cpp-memory-handling/examples/modern-cpp.md +49 -0
  309. package/.kilocode/skills/cpp-memory-handling/examples/smart-pointers.md +46 -0
  310. package/.kilocode/skills/cpp-modern-composition/SKILL.md +64 -0
  311. package/.kilocode/skills/cpp-modern-composition/examples/composition.md +51 -0
  312. package/.kilocode/skills/cpp-robust-interfaces/SKILL.md +55 -0
  313. package/.kilocode/skills/cpp-robust-interfaces/examples/interfaces.md +56 -0
  314. package/.kilocode/skills/create-hardened-docker-skill/SKILL.md +637 -0
  315. package/.kilocode/skills/create-hardened-docker-skill/scripts/create-all.sh +489 -0
  316. package/.kilocode/skills/docker-hardening-verification/SKILL.md +28 -0
  317. package/.kilocode/skills/docker-hardening-verification/scripts/verify-hardening.sh +39 -0
  318. package/.kilocode/skills/docker-image-signing/SKILL.md +28 -0
  319. package/.kilocode/skills/docker-image-signing/scripts/sign-image.sh +33 -0
  320. package/.kilocode/skills/document-revision-history/SKILL.md +104 -0
  321. package/.kilocode/skills/git-workflow-skill/SKILL.md +194 -0
  322. package/.kilocode/skills/git-workflow-skill/hooks/commit-msg +61 -0
  323. package/.kilocode/skills/git-workflow-skill/hooks/pre-commit +38 -0
  324. package/.kilocode/skills/git-workflow-skill/hooks/prepare-commit-msg +56 -0
  325. package/.kilocode/skills/git-workflow-skill/scripts/finish-feature.sh +192 -0
  326. package/.kilocode/skills/git-workflow-skill/scripts/install-hooks.sh +55 -0
  327. package/.kilocode/skills/git-workflow-skill/scripts/start-feature.sh +110 -0
  328. package/.kilocode/skills/git-workflow-skill/scripts/validate-workflow.sh +229 -0
  329. package/.kilocode/skills/js-ts-dependency-mgmt/SKILL.md +49 -0
  330. package/.kilocode/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +60 -0
  331. package/.kilocode/skills/js-ts-security-skill/SKILL.md +64 -0
  332. package/.kilocode/skills/js-ts-security-skill/scripts/verify-security.sh +136 -0
  333. package/.kilocode/skills/logging-best-practices/SKILL.md +50 -0
  334. package/.kilocode/skills/logging-best-practices/examples/cpp.md +36 -0
  335. package/.kilocode/skills/logging-best-practices/examples/csharp.md +49 -0
  336. package/.kilocode/skills/logging-best-practices/examples/javascript.md +77 -0
  337. package/.kilocode/skills/logging-best-practices/examples/python.md +57 -0
  338. package/.kilocode/skills/logging-best-practices/references/logging-standards.md +29 -0
  339. package/.kilocode/skills/opentelemetry-best-practices/SKILL.md +34 -0
  340. package/.kilocode/skills/opentelemetry-best-practices/examples/go.md +32 -0
  341. package/.kilocode/skills/opentelemetry-best-practices/examples/javascript.md +58 -0
  342. package/.kilocode/skills/opentelemetry-best-practices/examples/python.md +37 -0
  343. package/.kilocode/skills/opentelemetry-best-practices/references/otel-standards.md +37 -0
  344. package/.kilocode/skills/python-dependency-mgmt/SKILL.md +42 -0
  345. package/.kilocode/skills/python-dependency-mgmt/examples/dependency_mgmt.md +67 -0
  346. package/.kilocode/skills/python-security-skill/SKILL.md +56 -0
  347. package/.kilocode/skills/python-security-skill/examples/security.md +56 -0
  348. package/.kilocode/skills/self-signed-cert/SKILL.md +42 -0
  349. package/.kilocode/skills/self-signed-cert/scripts/generate-cert.ps1 +45 -0
  350. package/.kilocode/skills/self-signed-cert/scripts/generate-cert.sh +43 -0
  351. package/.kilocode/skills/skill-creator/SKILL.md +196 -0
  352. package/.kilocode/skills/skill-creator/references/output-patterns.md +82 -0
  353. package/.kilocode/skills/skill-creator/references/workflows.md +28 -0
  354. package/.kilocode/skills/skill-creator/scripts/init_skill.py +208 -0
  355. package/.kilocode/skills/skill-creator/scripts/package_skill.py +99 -0
  356. package/.kilocode/skills/skill-creator/scripts/quick_validate.py +113 -0
  357. package/.kilocode/skills/test-accompanied-development/SKILL.md +50 -0
  358. package/.kilocode/skills/test-generator/SKILL.md +65 -0
  359. package/.kilocode/skills/vercel-react-best-practices/SKILL.md +109 -0
  360. package/.kilocode/skills/verify-hardened-docker-skill/SKILL.md +442 -0
  361. package/.kilocode/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +439 -0
  362. package/agents.code-workspace +11 -0
  363. package/bin/cli.js +250 -151
  364. package/docs/architecture.md +284 -0
  365. package/docs/development-guide.md +122 -0
  366. package/docs/index.md +48 -0
  367. package/docs/project-overview.md +56 -0
  368. package/docs/project-scan-report.json +50 -0
  369. package/docs/source-tree-analysis.md +84 -0
  370. package/docs/validation/bundled-installation-validation.md +52 -0
  371. package/lib/bmad-cache/bmb/.markdownlint-cli2.yaml +35 -0
  372. package/lib/bmad-cache/bmb/.nvmrc +1 -0
  373. package/lib/bmad-cache/bmb/.prettierignore +9 -0
  374. package/lib/bmad-cache/bmb/CNAME +1 -0
  375. package/lib/bmad-cache/bmb/LICENSE +30 -0
  376. package/lib/bmad-cache/bmb/README.md +63 -0
  377. package/lib/bmad-cache/bmb/eslint.config.mjs +141 -0
  378. package/lib/bmad-cache/bmb/package-lock.json +15283 -0
  379. package/lib/bmad-cache/bmb/package.json +96 -0
  380. package/lib/bmad-cache/bmb/prettier.config.mjs +32 -0
  381. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/bmad-manifest.json +62 -0
  382. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/recall_metrics.py +229 -0
  383. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/seed_tracker.py +156 -0
  384. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/symbol_stats.py +162 -0
  385. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/tests/test_recall_metrics.py +115 -0
  386. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/tests/test_seed_tracker.py +140 -0
  387. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/tests/test_symbol_stats.py +113 -0
  388. package/lib/bmad-cache/bmb/samples/bmad-excalidraw/bmad-manifest.json +18 -0
  389. package/lib/bmad-cache/bmb/samples/bmad-excalidraw/scripts/generate_excalidraw.py +605 -0
  390. package/lib/bmad-cache/bmb/samples/bmad-excalidraw/scripts/tests/test_generate_excalidraw.py +360 -0
  391. package/lib/bmad-cache/bmb/samples/bmad-excalidraw/scripts/tests/test_validate_excalidraw.py +246 -0
  392. package/lib/bmad-cache/bmb/samples/bmad-excalidraw/scripts/validate_excalidraw.py +264 -0
  393. package/lib/bmad-cache/bmb/src/module-help.csv +7 -0
  394. package/lib/bmad-cache/bmb/src/module.yaml +20 -0
  395. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/bmad-manifest.json +24 -0
  396. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/bmad-skill-manifest.yaml +1 -0
  397. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/bmad-manifest-schema.json +103 -0
  398. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/generate-html-report.py +1002 -0
  399. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/manifest.py +420 -0
  400. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/prepass-execution-deps.py +368 -0
  401. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/prepass-prompt-metrics.py +476 -0
  402. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/prepass-structure-capabilities.py +636 -0
  403. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/scan-path-standards.py +253 -0
  404. package/lib/bmad-cache/bmb/src/skills/bmad-agent-builder/scripts/scan-scripts.py +745 -0
  405. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/bmad-manifest.json +23 -0
  406. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/bmad-skill-manifest.yaml +1 -0
  407. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/bmad-manifest-schema.json +103 -0
  408. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/generate-html-report.py +1002 -0
  409. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/manifest.py +420 -0
  410. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/prepass-execution-deps.py +313 -0
  411. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/prepass-prompt-metrics.py +285 -0
  412. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/prepass-workflow-integrity.py +485 -0
  413. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/scan-path-standards.py +213 -0
  414. package/lib/bmad-cache/bmb/src/skills/bmad-workflow-builder/scripts/scan-scripts.py +745 -0
  415. package/lib/bmad-cache/bmb/tools/build-docs.mjs +448 -0
  416. package/lib/bmad-cache/bmb/tools/validate-file-refs.mjs +657 -0
  417. package/lib/bmad-cache/bmb/website/astro.config.mjs +134 -0
  418. package/lib/bmad-cache/bmb/website/public/favicon.ico +0 -0
  419. package/lib/bmad-cache/bmb/website/public/img/bmad-dark.png +0 -0
  420. package/lib/bmad-cache/bmb/website/public/img/bmad-light.png +0 -0
  421. package/lib/bmad-cache/bmb/website/src/components/Banner.astro +56 -0
  422. package/lib/bmad-cache/bmb/website/src/components/Header.astro +94 -0
  423. package/lib/bmad-cache/bmb/website/src/components/MobileMenuFooter.astro +33 -0
  424. package/lib/bmad-cache/bmb/website/src/content/config.ts +6 -0
  425. package/lib/bmad-cache/bmb/website/src/content/docs +1 -0
  426. package/lib/bmad-cache/bmb/website/src/lib/site-url.mjs +25 -0
  427. package/lib/bmad-cache/bmb/website/src/rehype-base-paths.js +88 -0
  428. package/lib/bmad-cache/bmb/website/src/rehype-markdown-links.js +117 -0
  429. package/lib/bmad-cache/bmb/website/src/styles/custom.css +484 -0
  430. package/lib/bmad-cache/cache-manifest.json +30 -0
  431. package/lib/bmad-cache/cis/.markdownlint-cli2.yaml +35 -0
  432. package/lib/bmad-cache/cis/.nvmrc +1 -0
  433. package/lib/bmad-cache/cis/.prettierignore +9 -0
  434. package/lib/bmad-cache/cis/CNAME +1 -0
  435. package/lib/bmad-cache/cis/LICENSE +26 -0
  436. package/lib/bmad-cache/cis/README.md +105 -0
  437. package/lib/bmad-cache/cis/eslint.config.mjs +141 -0
  438. package/lib/bmad-cache/cis/package.json +92 -0
  439. package/lib/bmad-cache/cis/prettier.config.mjs +32 -0
  440. package/lib/bmad-cache/cis/src/agents/brainstorming-coach.agent.yaml +21 -0
  441. package/lib/bmad-cache/cis/src/agents/creative-problem-solver.agent.yaml +21 -0
  442. package/lib/bmad-cache/cis/src/agents/design-thinking-coach.agent.yaml +21 -0
  443. package/lib/bmad-cache/cis/src/agents/innovation-strategist.agent.yaml +21 -0
  444. package/lib/bmad-cache/cis/src/agents/presentation-master.agent.yaml +53 -0
  445. package/lib/bmad-cache/cis/src/agents/storyteller/storyteller.agent.yaml +25 -0
  446. package/lib/bmad-cache/cis/src/module-help.csv +6 -0
  447. package/lib/bmad-cache/cis/src/module.yaml +27 -0
  448. package/lib/bmad-cache/cis/src/teams/creative-squad.yaml +7 -0
  449. package/lib/bmad-cache/cis/src/teams/default-party.csv +12 -0
  450. package/lib/bmad-cache/cis/src/workflows/README.md +175 -0
  451. package/lib/bmad-cache/cis/src/workflows/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
  452. package/lib/bmad-cache/cis/src/workflows/bmad-cis-design-thinking/design-methods.csv +31 -0
  453. package/lib/bmad-cache/cis/src/workflows/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
  454. package/lib/bmad-cache/cis/src/workflows/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
  455. package/lib/bmad-cache/cis/src/workflows/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
  456. package/lib/bmad-cache/cis/src/workflows/bmad-cis-problem-solving/solving-methods.csv +31 -0
  457. package/lib/bmad-cache/cis/src/workflows/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
  458. package/lib/bmad-cache/cis/src/workflows/bmad-cis-storytelling/story-types.csv +26 -0
  459. package/lib/bmad-cache/cis/tools/build-docs.mjs +448 -0
  460. package/lib/bmad-cache/cis/website/astro.config.mjs +134 -0
  461. package/lib/bmad-cache/cis/website/public/favicon.ico +0 -0
  462. package/lib/bmad-cache/cis/website/public/img/bmad-dark.png +0 -0
  463. package/lib/bmad-cache/cis/website/public/img/bmad-light.png +0 -0
  464. package/lib/bmad-cache/cis/website/src/components/Banner.astro +56 -0
  465. package/lib/bmad-cache/cis/website/src/components/Header.astro +94 -0
  466. package/lib/bmad-cache/cis/website/src/components/MobileMenuFooter.astro +33 -0
  467. package/lib/bmad-cache/cis/website/src/content/config.ts +6 -0
  468. package/lib/bmad-cache/cis/website/src/content/docs +1 -0
  469. package/lib/bmad-cache/cis/website/src/lib/site-url.mjs +25 -0
  470. package/lib/bmad-cache/cis/website/src/rehype-base-paths.js +88 -0
  471. package/lib/bmad-cache/cis/website/src/rehype-markdown-links.js +117 -0
  472. package/lib/bmad-cache/cis/website/src/styles/custom.css +484 -0
  473. package/lib/bmad-cache/gds/.markdownlint-cli2.yaml +35 -0
  474. package/lib/bmad-cache/gds/.nvmrc +1 -0
  475. package/lib/bmad-cache/gds/.prettierignore +9 -0
  476. package/lib/bmad-cache/gds/CNAME +1 -0
  477. package/lib/bmad-cache/gds/LICENSE +26 -0
  478. package/lib/bmad-cache/gds/README.md +121 -0
  479. package/lib/bmad-cache/gds/eslint.config.mjs +141 -0
  480. package/lib/bmad-cache/gds/package.json +92 -0
  481. package/lib/bmad-cache/gds/prettier.config.mjs +32 -0
  482. package/lib/bmad-cache/gds/src/agents/game-architect.agent.yaml +44 -0
  483. package/lib/bmad-cache/gds/src/agents/game-designer.agent.yaml +45 -0
  484. package/lib/bmad-cache/gds/src/agents/game-dev.agent.yaml +49 -0
  485. package/lib/bmad-cache/gds/src/agents/game-qa.agent.yaml +63 -0
  486. package/lib/bmad-cache/gds/src/agents/game-scrum-master.agent.yaml +52 -0
  487. package/lib/bmad-cache/gds/src/agents/game-solo-dev.agent.yaml +53 -0
  488. package/lib/bmad-cache/gds/src/agents/tech-writer/tech-writer.agent.yaml +45 -0
  489. package/lib/bmad-cache/gds/src/gametest/qa-index.csv +18 -0
  490. package/lib/bmad-cache/gds/src/module-help.csv +35 -0
  491. package/lib/bmad-cache/gds/src/module.yaml +71 -0
  492. package/lib/bmad-cache/gds/src/teams/default-party.csv +12 -0
  493. package/lib/bmad-cache/gds/src/teams/team-gamedev.yaml +29 -0
  494. package/lib/bmad-cache/gds/src/workflows/1-preproduction/brainstorm-game/bmad-skill-manifest.yaml +3 -0
  495. package/lib/bmad-cache/gds/src/workflows/1-preproduction/brainstorm-game/game-brain-methods.csv +26 -0
  496. package/lib/bmad-cache/gds/src/workflows/1-preproduction/game-brief/bmad-skill-manifest.yaml +3 -0
  497. package/lib/bmad-cache/gds/src/workflows/1-preproduction/research/bmad-skill-manifest.yaml +9 -0
  498. package/lib/bmad-cache/gds/src/workflows/1-preproduction/research/gds-domain-research/bmad-skill-manifest.yaml +1 -0
  499. package/lib/bmad-cache/gds/src/workflows/2-design/create-prd/bmad-skill-manifest.yaml +14 -0
  500. package/lib/bmad-cache/gds/src/workflows/2-design/create-prd/data/domain-complexity.csv +15 -0
  501. package/lib/bmad-cache/gds/src/workflows/2-design/create-prd/data/project-types.csv +11 -0
  502. package/lib/bmad-cache/gds/src/workflows/2-design/gdd/bmad-skill-manifest.yaml +3 -0
  503. package/lib/bmad-cache/gds/src/workflows/2-design/gdd/game-types.csv +25 -0
  504. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-ux-design/bmad-skill-manifest.yaml +1 -0
  505. package/lib/bmad-cache/gds/src/workflows/2-design/narrative/bmad-skill-manifest.yaml +3 -0
  506. package/lib/bmad-cache/gds/src/workflows/3-technical/check-implementation-readiness/bmad-skill-manifest.yaml +3 -0
  507. package/lib/bmad-cache/gds/src/workflows/3-technical/create-epics-and-stories/bmad-skill-manifest.yaml +3 -0
  508. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/architecture-patterns.yaml +507 -0
  509. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/bmad-skill-manifest.yaml +3 -0
  510. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/decision-catalog.yaml +340 -0
  511. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/engine-mcps.yaml +270 -0
  512. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/pattern-categories.csv +13 -0
  513. package/lib/bmad-cache/gds/src/workflows/3-technical/generate-project-context/bmad-skill-manifest.yaml +3 -0
  514. package/lib/bmad-cache/gds/src/workflows/4-production/code-review/bmad-skill-manifest.yaml +3 -0
  515. package/lib/bmad-cache/gds/src/workflows/4-production/correct-course/bmad-skill-manifest.yaml +3 -0
  516. package/lib/bmad-cache/gds/src/workflows/4-production/gds-create-story/bmad-skill-manifest.yaml +1 -0
  517. package/lib/bmad-cache/gds/src/workflows/4-production/gds-dev-story/bmad-skill-manifest.yaml +1 -0
  518. package/lib/bmad-cache/gds/src/workflows/4-production/retrospective/bmad-skill-manifest.yaml +3 -0
  519. package/lib/bmad-cache/gds/src/workflows/4-production/sprint-planning/bmad-skill-manifest.yaml +3 -0
  520. package/lib/bmad-cache/gds/src/workflows/4-production/sprint-planning/sprint-status-template.yaml +55 -0
  521. package/lib/bmad-cache/gds/src/workflows/4-production/sprint-status/bmad-skill-manifest.yaml +3 -0
  522. package/lib/bmad-cache/gds/src/workflows/document-project/bmad-skill-manifest.yaml +3 -0
  523. package/lib/bmad-cache/gds/src/workflows/document-project/documentation-requirements.csv +12 -0
  524. package/lib/bmad-cache/gds/src/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  525. package/lib/bmad-cache/gds/src/workflows/gametest/automate/bmad-skill-manifest.yaml +3 -0
  526. package/lib/bmad-cache/gds/src/workflows/gametest/e2e-scaffold/bmad-skill-manifest.yaml +3 -0
  527. package/lib/bmad-cache/gds/src/workflows/gametest/performance/bmad-skill-manifest.yaml +3 -0
  528. package/lib/bmad-cache/gds/src/workflows/gametest/playtest-plan/bmad-skill-manifest.yaml +3 -0
  529. package/lib/bmad-cache/gds/src/workflows/gametest/test-design/bmad-skill-manifest.yaml +3 -0
  530. package/lib/bmad-cache/gds/src/workflows/gametest/test-framework/bmad-skill-manifest.yaml +3 -0
  531. package/lib/bmad-cache/gds/src/workflows/gametest/test-review/bmad-skill-manifest.yaml +3 -0
  532. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/gds-quick-dev/bmad-skill-manifest.yaml +4 -0
  533. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/gds-quick-dev-new-preview/bmad-skill-manifest.yaml +4 -0
  534. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/quick-spec/bmad-skill-manifest.yaml +3 -0
  535. package/lib/bmad-cache/gds/tools/build-docs.mjs +450 -0
  536. package/lib/bmad-cache/gds/website/astro.config.mjs +134 -0
  537. package/lib/bmad-cache/gds/website/public/favicon.ico +0 -0
  538. package/lib/bmad-cache/gds/website/public/img/bmad-dark.png +0 -0
  539. package/lib/bmad-cache/gds/website/public/img/bmad-light.png +0 -0
  540. package/lib/bmad-cache/gds/website/src/components/Banner.astro +56 -0
  541. package/lib/bmad-cache/gds/website/src/components/Header.astro +94 -0
  542. package/lib/bmad-cache/gds/website/src/components/MobileMenuFooter.astro +33 -0
  543. package/lib/bmad-cache/gds/website/src/content/config.ts +6 -0
  544. package/lib/bmad-cache/gds/website/src/content/docs +1 -0
  545. package/lib/bmad-cache/gds/website/src/lib/site-url.mjs +25 -0
  546. package/lib/bmad-cache/gds/website/src/rehype-base-paths.js +88 -0
  547. package/lib/bmad-cache/gds/website/src/rehype-markdown-links.js +117 -0
  548. package/lib/bmad-cache/gds/website/src/styles/custom.css +484 -0
  549. package/lib/bmad-cache/tea/.coderabbit.yaml +40 -0
  550. package/lib/bmad-cache/tea/.github/CODE_OF_CONDUCT.md +128 -0
  551. package/lib/bmad-cache/tea/.github/FUNDING.yaml +15 -0
  552. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/config.yaml +11 -0
  553. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
  554. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/issue.md +61 -0
  555. package/lib/bmad-cache/tea/.github/workflows/docs.yaml +66 -0
  556. package/lib/bmad-cache/tea/.github/workflows/manual-release.yaml +195 -0
  557. package/lib/bmad-cache/tea/.github/workflows/quality.yaml +114 -0
  558. package/lib/bmad-cache/tea/.husky/pre-commit +20 -0
  559. package/lib/bmad-cache/tea/.markdownlint-cli2.yaml +36 -0
  560. package/lib/bmad-cache/tea/.nvmrc +1 -0
  561. package/lib/bmad-cache/tea/.prettierignore +9 -0
  562. package/lib/bmad-cache/tea/CHANGELOG.md +253 -0
  563. package/lib/bmad-cache/tea/CONTRIBUTING.md +268 -0
  564. package/lib/bmad-cache/tea/LICENSE +26 -0
  565. package/lib/bmad-cache/tea/README.md +371 -0
  566. package/lib/bmad-cache/tea/SECURITY.md +85 -0
  567. package/lib/bmad-cache/tea/docs/404.md +20 -0
  568. package/lib/bmad-cache/tea/docs/MIGRATION.md +488 -0
  569. package/lib/bmad-cache/tea/docs/explanation/engagement-models.md +767 -0
  570. package/lib/bmad-cache/tea/docs/explanation/fixture-architecture.md +484 -0
  571. package/lib/bmad-cache/tea/docs/explanation/knowledge-base-system.md +601 -0
  572. package/lib/bmad-cache/tea/docs/explanation/network-first-patterns.md +884 -0
  573. package/lib/bmad-cache/tea/docs/explanation/risk-based-testing.md +628 -0
  574. package/lib/bmad-cache/tea/docs/explanation/step-file-architecture.md +599 -0
  575. package/lib/bmad-cache/tea/docs/explanation/subagent-architecture.md +189 -0
  576. package/lib/bmad-cache/tea/docs/explanation/tea-overview.md +474 -0
  577. package/lib/bmad-cache/tea/docs/explanation/test-quality-standards.md +965 -0
  578. package/lib/bmad-cache/tea/docs/explanation/testing-as-engineering.md +115 -0
  579. package/lib/bmad-cache/tea/docs/glossary/index.md +160 -0
  580. package/lib/bmad-cache/tea/docs/how-to/brownfield/use-tea-for-enterprise.md +571 -0
  581. package/lib/bmad-cache/tea/docs/how-to/brownfield/use-tea-with-existing-tests.md +631 -0
  582. package/lib/bmad-cache/tea/docs/how-to/customization/configure-browser-automation.md +243 -0
  583. package/lib/bmad-cache/tea/docs/how-to/customization/integrate-playwright-utils.md +846 -0
  584. package/lib/bmad-cache/tea/docs/how-to/workflows/run-atdd.md +464 -0
  585. package/lib/bmad-cache/tea/docs/how-to/workflows/run-automate.md +693 -0
  586. package/lib/bmad-cache/tea/docs/how-to/workflows/run-nfr-assess.md +731 -0
  587. package/lib/bmad-cache/tea/docs/how-to/workflows/run-test-design.md +144 -0
  588. package/lib/bmad-cache/tea/docs/how-to/workflows/run-test-review.md +634 -0
  589. package/lib/bmad-cache/tea/docs/how-to/workflows/run-trace.md +959 -0
  590. package/lib/bmad-cache/tea/docs/how-to/workflows/setup-ci.md +763 -0
  591. package/lib/bmad-cache/tea/docs/how-to/workflows/setup-test-framework.md +122 -0
  592. package/lib/bmad-cache/tea/docs/how-to/workflows/teach-me-testing.md +302 -0
  593. package/lib/bmad-cache/tea/docs/index.md +74 -0
  594. package/lib/bmad-cache/tea/docs/reference/commands.md +353 -0
  595. package/lib/bmad-cache/tea/docs/reference/configuration.md +1122 -0
  596. package/lib/bmad-cache/tea/docs/reference/knowledge-base.md +404 -0
  597. package/lib/bmad-cache/tea/docs/reference/troubleshooting.md +788 -0
  598. package/lib/bmad-cache/tea/docs/tutorials/learn-testing-tea-academy.md +266 -0
  599. package/lib/bmad-cache/tea/docs/tutorials/tea-lite-quickstart.md +465 -0
  600. package/lib/bmad-cache/tea/eslint.config.mjs +141 -0
  601. package/lib/bmad-cache/tea/package-lock.json +16046 -0
  602. package/lib/bmad-cache/tea/package.json +118 -0
  603. package/lib/bmad-cache/tea/prettier.config.mjs +32 -0
  604. package/lib/bmad-cache/tea/src/agents/tea.agent.yaml +67 -0
  605. package/lib/bmad-cache/tea/src/module-help.csv +10 -0
  606. package/lib/bmad-cache/tea/src/module.yaml +299 -0
  607. package/lib/bmad-cache/tea/src/teams/default-party.csv +2 -0
  608. package/lib/bmad-cache/tea/src/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
  609. package/lib/bmad-cache/tea/src/testarch/knowledge/api-request.md +563 -0
  610. package/lib/bmad-cache/tea/src/testarch/knowledge/api-testing-patterns.md +915 -0
  611. package/lib/bmad-cache/tea/src/testarch/knowledge/auth-session.md +548 -0
  612. package/lib/bmad-cache/tea/src/testarch/knowledge/burn-in.md +273 -0
  613. package/lib/bmad-cache/tea/src/testarch/knowledge/ci-burn-in.md +717 -0
  614. package/lib/bmad-cache/tea/src/testarch/knowledge/component-tdd.md +486 -0
  615. package/lib/bmad-cache/tea/src/testarch/knowledge/contract-testing.md +1050 -0
  616. package/lib/bmad-cache/tea/src/testarch/knowledge/data-factories.md +500 -0
  617. package/lib/bmad-cache/tea/src/testarch/knowledge/email-auth.md +721 -0
  618. package/lib/bmad-cache/tea/src/testarch/knowledge/error-handling.md +725 -0
  619. package/lib/bmad-cache/tea/src/testarch/knowledge/feature-flags.md +750 -0
  620. package/lib/bmad-cache/tea/src/testarch/knowledge/file-utils.md +456 -0
  621. package/lib/bmad-cache/tea/src/testarch/knowledge/fixture-architecture.md +401 -0
  622. package/lib/bmad-cache/tea/src/testarch/knowledge/fixtures-composition.md +382 -0
  623. package/lib/bmad-cache/tea/src/testarch/knowledge/intercept-network-call.md +426 -0
  624. package/lib/bmad-cache/tea/src/testarch/knowledge/log.md +426 -0
  625. package/lib/bmad-cache/tea/src/testarch/knowledge/network-error-monitor.md +401 -0
  626. package/lib/bmad-cache/tea/src/testarch/knowledge/network-first.md +486 -0
  627. package/lib/bmad-cache/tea/src/testarch/knowledge/network-recorder.md +527 -0
  628. package/lib/bmad-cache/tea/src/testarch/knowledge/nfr-criteria.md +670 -0
  629. package/lib/bmad-cache/tea/src/testarch/knowledge/overview.md +286 -0
  630. package/lib/bmad-cache/tea/src/testarch/knowledge/pact-consumer-di.md +310 -0
  631. package/lib/bmad-cache/tea/src/testarch/knowledge/pact-consumer-framework-setup.md +635 -0
  632. package/lib/bmad-cache/tea/src/testarch/knowledge/pact-mcp.md +204 -0
  633. package/lib/bmad-cache/tea/src/testarch/knowledge/pactjs-utils-consumer-helpers.md +270 -0
  634. package/lib/bmad-cache/tea/src/testarch/knowledge/pactjs-utils-overview.md +216 -0
  635. package/lib/bmad-cache/tea/src/testarch/knowledge/pactjs-utils-provider-verifier.md +315 -0
  636. package/lib/bmad-cache/tea/src/testarch/knowledge/pactjs-utils-request-filter.md +224 -0
  637. package/lib/bmad-cache/tea/src/testarch/knowledge/playwright-cli.md +165 -0
  638. package/lib/bmad-cache/tea/src/testarch/knowledge/playwright-config.md +730 -0
  639. package/lib/bmad-cache/tea/src/testarch/knowledge/probability-impact.md +601 -0
  640. package/lib/bmad-cache/tea/src/testarch/knowledge/recurse.md +421 -0
  641. package/lib/bmad-cache/tea/src/testarch/knowledge/risk-governance.md +615 -0
  642. package/lib/bmad-cache/tea/src/testarch/knowledge/selective-testing.md +732 -0
  643. package/lib/bmad-cache/tea/src/testarch/knowledge/selector-resilience.md +527 -0
  644. package/lib/bmad-cache/tea/src/testarch/knowledge/test-healing-patterns.md +644 -0
  645. package/lib/bmad-cache/tea/src/testarch/knowledge/test-levels-framework.md +473 -0
  646. package/lib/bmad-cache/tea/src/testarch/knowledge/test-priorities-matrix.md +373 -0
  647. package/lib/bmad-cache/tea/src/testarch/knowledge/test-quality.md +664 -0
  648. package/lib/bmad-cache/tea/src/testarch/knowledge/timing-debugging.md +372 -0
  649. package/lib/bmad-cache/tea/src/testarch/knowledge/visual-debugging.md +524 -0
  650. package/lib/bmad-cache/tea/src/testarch/tea-index.csv +43 -0
  651. package/lib/bmad-cache/tea/src/workflows/testarch/README.md +74 -0
  652. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/SKILL.md +6 -0
  653. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/bmad-skill-manifest.yaml +1 -0
  654. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/checklist.md +197 -0
  655. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/curriculum.yaml +129 -0
  656. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/quiz-questions.yaml +206 -0
  657. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/role-paths.yaml +136 -0
  658. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/session-content-map.yaml +207 -0
  659. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/tea-resources-index.yaml +359 -0
  660. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/instructions.md +130 -0
  661. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-01-init.md +235 -0
  662. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-01b-continue.md +147 -0
  663. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-02-assess.md +258 -0
  664. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-03-session-menu.md +219 -0
  665. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-01.md +460 -0
  666. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-02.md +465 -0
  667. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-03.md +301 -0
  668. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-04.md +234 -0
  669. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-05.md +234 -0
  670. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-06.md +209 -0
  671. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-07.md +212 -0
  672. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-05-completion.md +339 -0
  673. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-e/step-e-01-assess-workflow.md +141 -0
  674. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-e/step-e-02-apply-edits.md +122 -0
  675. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-v/step-v-01-validate.md +263 -0
  676. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/templates/certificate-template.md +86 -0
  677. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/templates/progress-template.yaml +95 -0
  678. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/templates/session-notes-template.md +83 -0
  679. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/workflow-plan-teach-me-testing.md +950 -0
  680. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/workflow.md +90 -0
  681. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/SKILL.md +6 -0
  682. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/atdd-checklist-template.md +371 -0
  683. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/bmad-skill-manifest.yaml +1 -0
  684. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/checklist.md +374 -0
  685. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/instructions.md +45 -0
  686. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-01-preflight-and-context.md +226 -0
  687. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-01b-resume.md +96 -0
  688. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-02-generation-mode.md +125 -0
  689. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-03-test-strategy.md +110 -0
  690. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-04-generate-tests.md +334 -0
  691. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-04a-subagent-api-failing.md +286 -0
  692. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-04b-subagent-e2e-failing.md +244 -0
  693. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-04c-aggregate.md +370 -0
  694. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-c/step-05-validate-and-complete.md +106 -0
  695. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-e/step-01-assess.md +65 -0
  696. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-e/step-02-apply-edit.md +60 -0
  697. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/steps-v/step-01-validate.md +67 -0
  698. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/validation-report-20260127-095021.md +73 -0
  699. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/validation-report-20260127-102401.md +116 -0
  700. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/workflow-plan.md +21 -0
  701. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/workflow.md +41 -0
  702. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/workflow.yaml +46 -0
  703. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/SKILL.md +6 -0
  704. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/bmad-skill-manifest.yaml +1 -0
  705. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/checklist.md +611 -0
  706. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/instructions.md +50 -0
  707. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-01-preflight-and-context.md +237 -0
  708. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-01b-resume.md +94 -0
  709. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-02-identify-targets.md +169 -0
  710. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-03-generate-tests.md +394 -0
  711. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-03a-subagent-api.md +263 -0
  712. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-03b-subagent-backend.md +246 -0
  713. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-03b-subagent-e2e.md +213 -0
  714. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-03c-aggregate.md +393 -0
  715. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-c/step-04-validate-and-summarize.md +106 -0
  716. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-e/step-01-assess.md +65 -0
  717. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-e/step-02-apply-edit.md +60 -0
  718. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/steps-v/step-01-validate.md +67 -0
  719. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/validation-report-20260127-095021.md +72 -0
  720. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/validation-report-20260127-102401.md +114 -0
  721. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/workflow-plan.md +20 -0
  722. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/workflow.md +41 -0
  723. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/workflow.yaml +53 -0
  724. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/SKILL.md +6 -0
  725. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/azure-pipelines-template.yaml +155 -0
  726. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/bmad-skill-manifest.yaml +1 -0
  727. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/checklist.md +289 -0
  728. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/github-actions-template.yaml +328 -0
  729. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/gitlab-ci-template.yaml +158 -0
  730. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/harness-pipeline-template.yaml +159 -0
  731. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/instructions.md +45 -0
  732. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/jenkins-pipeline-template.groovy +129 -0
  733. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-c/step-01-preflight.md +158 -0
  734. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-c/step-01b-resume.md +110 -0
  735. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-c/step-02-generate-pipeline.md +279 -0
  736. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-c/step-03-configure-quality-gates.md +135 -0
  737. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-c/step-04-validate-and-summary.md +92 -0
  738. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-e/step-01-assess.md +65 -0
  739. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-e/step-02-apply-edit.md +60 -0
  740. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/steps-v/step-01-validate.md +81 -0
  741. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/validation-report-20260127-095021.md +72 -0
  742. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/validation-report-20260127-102401.md +114 -0
  743. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/workflow-plan.md +20 -0
  744. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/workflow.md +41 -0
  745. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/workflow.yaml +48 -0
  746. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/SKILL.md +6 -0
  747. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/bmad-skill-manifest.yaml +1 -0
  748. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/checklist.md +345 -0
  749. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/instructions.md +45 -0
  750. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-01-preflight.md +132 -0
  751. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-01b-resume.md +116 -0
  752. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-02-select-framework.md +117 -0
  753. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-03-scaffold-framework.md +323 -0
  754. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-04-docs-and-scripts.md +105 -0
  755. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-c/step-05-validate-and-summary.md +93 -0
  756. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-e/step-01-assess.md +65 -0
  757. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-e/step-02-apply-edit.md +60 -0
  758. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/steps-v/step-01-validate.md +67 -0
  759. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/validation-report-20260127-095021.md +73 -0
  760. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/validation-report-20260127-102401.md +116 -0
  761. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/workflow-plan.md +22 -0
  762. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/workflow.md +41 -0
  763. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/workflow.yaml +48 -0
  764. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/SKILL.md +6 -0
  765. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/bmad-skill-manifest.yaml +1 -0
  766. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/checklist.md +407 -0
  767. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/instructions.md +43 -0
  768. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/nfr-report-template.md +470 -0
  769. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01-load-context.md +138 -0
  770. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01b-resume.md +106 -0
  771. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-02-define-thresholds.md +107 -0
  772. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-03-gather-evidence.md +108 -0
  773. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04-evaluate-and-score.md +254 -0
  774. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04a-subagent-security.md +138 -0
  775. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04b-subagent-performance.md +84 -0
  776. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04c-subagent-reliability.md +85 -0
  777. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04d-subagent-scalability.md +88 -0
  778. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04e-aggregate-nfr.md +264 -0
  779. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-05-generate-report.md +108 -0
  780. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-e/step-01-assess.md +65 -0
  781. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-e/step-02-apply-edit.md +60 -0
  782. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-v/step-01-validate.md +67 -0
  783. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/validation-report-20260127-095021.md +73 -0
  784. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/validation-report-20260127-102401.md +116 -0
  785. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/workflow-plan.md +19 -0
  786. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/workflow.md +41 -0
  787. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/workflow.yaml +48 -0
  788. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/SKILL.md +6 -0
  789. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/bmad-skill-manifest.yaml +1 -0
  790. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/checklist.md +464 -0
  791. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/instructions.md +105 -0
  792. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-01-detect-mode.md +134 -0
  793. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-01b-resume.md +102 -0
  794. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-02-load-context.md +242 -0
  795. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-03-risk-and-testability.md +110 -0
  796. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-04-coverage-plan.md +123 -0
  797. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-05-generate-output.md +222 -0
  798. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-e/step-01-assess.md +65 -0
  799. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-e/step-02-apply-edit.md +60 -0
  800. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-v/step-01-validate.md +67 -0
  801. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-architecture-template.md +230 -0
  802. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-handoff-template.md +70 -0
  803. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-qa-template.md +396 -0
  804. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-template.md +344 -0
  805. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/validation-report-20260127-095021.md +73 -0
  806. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/validation-report-20260127-102401.md +116 -0
  807. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/workflow-plan.md +22 -0
  808. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/workflow.md +41 -0
  809. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/workflow.yaml +77 -0
  810. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/SKILL.md +6 -0
  811. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/bmad-skill-manifest.yaml +1 -0
  812. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/checklist.md +475 -0
  813. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/instructions.md +45 -0
  814. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-01-load-context.md +197 -0
  815. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-01b-resume.md +104 -0
  816. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-02-discover-tests.md +113 -0
  817. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03-quality-evaluation.md +274 -0
  818. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03a-subagent-determinism.md +214 -0
  819. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03b-subagent-isolation.md +125 -0
  820. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03c-subagent-maintainability.md +102 -0
  821. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03e-subagent-performance.md +117 -0
  822. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-03f-aggregate-scores.md +277 -0
  823. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-c/step-04-generate-report.md +111 -0
  824. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-e/step-01-assess.md +65 -0
  825. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-e/step-02-apply-edit.md +60 -0
  826. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/steps-v/step-01-validate.md +67 -0
  827. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/test-review-template.md +387 -0
  828. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/validation-report-20260127-095021.md +72 -0
  829. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/validation-report-20260127-102401.md +114 -0
  830. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/workflow-plan.md +18 -0
  831. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/workflow.md +41 -0
  832. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/workflow.yaml +48 -0
  833. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/SKILL.md +6 -0
  834. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/bmad-skill-manifest.yaml +1 -0
  835. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/checklist.md +647 -0
  836. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/instructions.md +43 -0
  837. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-01-load-context.md +105 -0
  838. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-01b-resume.md +102 -0
  839. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-02-discover-tests.md +112 -0
  840. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-03-map-criteria.md +97 -0
  841. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-04-analyze-gaps.md +421 -0
  842. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-c/step-05-gate-decision.md +266 -0
  843. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-e/step-01-assess.md +65 -0
  844. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-e/step-02-apply-edit.md +60 -0
  845. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/steps-v/step-01-validate.md +67 -0
  846. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/trace-template.md +708 -0
  847. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/validation-report-20260127-095021.md +73 -0
  848. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/validation-report-20260127-102401.md +116 -0
  849. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/workflow-plan.md +21 -0
  850. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/workflow.md +41 -0
  851. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/workflow.yaml +56 -0
  852. package/lib/bmad-cache/tea/test/README.md +23 -0
  853. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +27 -0
  854. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +30 -0
  855. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +22 -0
  856. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +20 -0
  857. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +25 -0
  858. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +24 -0
  859. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +25 -0
  860. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +25 -0
  861. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +25 -0
  862. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +31 -0
  863. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +25 -0
  864. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +25 -0
  865. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +25 -0
  866. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +25 -0
  867. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
  868. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
  869. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +27 -0
  870. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
  871. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +24 -0
  872. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +27 -0
  873. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +27 -0
  874. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +24 -0
  875. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +29 -0
  876. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +31 -0
  877. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +28 -0
  878. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +28 -0
  879. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
  880. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +28 -0
  881. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
  882. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
  883. package/lib/bmad-cache/tea/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
  884. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +24 -0
  885. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +22 -0
  886. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +27 -0
  887. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +31 -0
  888. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +22 -0
  889. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +38 -0
  890. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +24 -0
  891. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +31 -0
  892. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +34 -0
  893. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +24 -0
  894. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +24 -0
  895. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +24 -0
  896. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +24 -0
  897. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +23 -0
  898. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +24 -0
  899. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +24 -0
  900. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +24 -0
  901. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +22 -0
  902. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +28 -0
  903. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +30 -0
  904. package/lib/bmad-cache/tea/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +24 -0
  905. package/lib/bmad-cache/tea/test/schema/agent.js +491 -0
  906. package/lib/bmad-cache/tea/test/test-agent-schema.js +387 -0
  907. package/lib/bmad-cache/tea/test/test-installation-components.js +214 -0
  908. package/lib/bmad-cache/tea/test/test-knowledge-base.js +208 -0
  909. package/lib/bmad-cache/tea/test/unit-test-schema.js +133 -0
  910. package/lib/bmad-cache/tea/test/validate-agent-schema.js +110 -0
  911. package/lib/bmad-cache/tea/tools/build-docs.js +575 -0
  912. package/lib/bmad-cache/tea/tools/fix-doc-links.js +288 -0
  913. package/lib/bmad-cache/tea/tools/schema/agent.js +491 -0
  914. package/lib/bmad-cache/tea/tools/validate-agent-schema.js +111 -0
  915. package/lib/bmad-cache/tea/tools/validate-doc-links.js +371 -0
  916. package/lib/bmad-cache/tea/tools/validate-tea-workflow-descriptions.js +122 -0
  917. package/lib/bmad-cache/tea/tools/verify-paths.js +100 -0
  918. package/lib/bmad-cache/tea/website/README.md +137 -0
  919. package/lib/bmad-cache/tea/website/astro.config.mjs +179 -0
  920. package/lib/bmad-cache/tea/website/package-lock.json +6856 -0
  921. package/lib/bmad-cache/tea/website/package.json +24 -0
  922. package/lib/bmad-cache/tea/website/public/favicon.ico +0 -0
  923. package/lib/bmad-cache/tea/website/public/img/tea-logo.svg +7 -0
  924. package/lib/bmad-cache/tea/website/public/robots.txt +37 -0
  925. package/lib/bmad-cache/tea/website/src/components/Banner.astro +59 -0
  926. package/lib/bmad-cache/tea/website/src/components/Header.astro +121 -0
  927. package/lib/bmad-cache/tea/website/src/components/MobileMenuFooter.astro +53 -0
  928. package/lib/bmad-cache/tea/website/src/content/config.ts +6 -0
  929. package/lib/bmad-cache/tea/website/src/content/docs +1 -0
  930. package/lib/bmad-cache/tea/website/src/lib/site-url.js +25 -0
  931. package/lib/bmad-cache/tea/website/src/pages/404.astro +11 -0
  932. package/lib/bmad-cache/tea/website/src/rehype-base-paths.js +89 -0
  933. package/lib/bmad-cache/tea/website/src/rehype-markdown-links.js +117 -0
  934. package/lib/bmad-cache/tea/website/src/styles/custom.css +499 -0
  935. package/lib/bmad-cache/tea/website/tsconfig.json +9 -0
  936. package/lib/bmad.js +76 -10
  937. package/lib/installer.js +23 -1
  938. package/package.json +4 -2
  939. package/scripts/build-bmad-cache.js +288 -0
  940. package/test/yes-flag.test.js +193 -0
@@ -0,0 +1,1002 @@
1
+ # /// script
2
+ # requires-python = ">=3.9"
3
+ # ///
4
+
5
+ #!/usr/bin/env python3
6
+ """
7
+ Generate an interactive HTML quality report from scanner temp JSON files.
8
+
9
+ Reads all *-temp.json and *-prepass.json files from a quality scan output
10
+ directory, normalizes findings into a unified data model, and produces a
11
+ self-contained HTML report with:
12
+ - Collapsible sections with severity filter badges
13
+ - Per-item copy-prompt buttons
14
+ - Multi-select batch prompt generator
15
+ - Executive summary with severity counts
16
+
17
+ Usage:
18
+ python3 generate-html-report.py {quality-report-dir} [--open] [--skill-path /path/to/skill]
19
+
20
+ The --skill-path is embedded in the prompt context so generated prompts
21
+ reference the correct location. If omitted, it is read from the first
22
+ temp JSON that contains a skill_path field.
23
+ """
24
+
25
+ from __future__ import annotations
26
+
27
+ import argparse
28
+ import json
29
+ import platform
30
+ import subprocess
31
+ import sys
32
+ from datetime import datetime, timezone
33
+ from pathlib import Path
34
+
35
+
36
+ # =============================================================================
37
+ # Normalization — diverse scanner JSONs → unified item model
38
+ # =============================================================================
39
+
40
+ SEVERITY_RANK = {
41
+ 'critical': 0, 'high': 1, 'medium': 2, 'low': 3,
42
+ 'high-opportunity': 1, 'medium-opportunity': 2, 'low-opportunity': 3,
43
+ 'note': 4, 'strength': 5, 'suggestion': 4, 'info': 5,
44
+ }
45
+
46
+ # Map scanner names to report sections
47
+ SCANNER_SECTIONS = {
48
+ 'workflow-integrity': 'structural',
49
+ 'structure': 'structure-capabilities',
50
+ 'prompt-craft': 'prompt-craft',
51
+ 'execution-efficiency': 'efficiency',
52
+ 'skill-cohesion': 'cohesion',
53
+ 'agent-cohesion': 'cohesion',
54
+ 'path-standards': 'quality',
55
+ 'scripts': 'scripts',
56
+ 'script-opportunities': 'script-opportunities',
57
+ 'enhancement-opportunities': 'creative',
58
+ }
59
+
60
+ SECTION_LABELS = {
61
+ 'structural': 'Structural',
62
+ 'structure-capabilities': 'Structure & Capabilities',
63
+ 'prompt-craft': 'Prompt Craft',
64
+ 'efficiency': 'Efficiency',
65
+ 'cohesion': 'Cohesion',
66
+ 'quality': 'Path & Script Standards',
67
+ 'scripts': 'Scripts',
68
+ 'script-opportunities': 'Script Opportunities',
69
+ 'creative': 'Creative & Enhancements',
70
+ }
71
+
72
+
73
+ def _coalesce(*values) -> str:
74
+ """Return the first truthy string value, or empty string."""
75
+ for v in values:
76
+ if v and isinstance(v, str) and v.strip() and v.strip() not in ('N/A', 'n/a', 'None'):
77
+ return v.strip()
78
+ return ''
79
+
80
+
81
+ def _norm_severity(sev: str) -> str:
82
+ """Normalize severity to lowercase, handle variants."""
83
+ if not sev:
84
+ return 'low'
85
+ s = sev.strip().lower()
86
+ # Map common variants
87
+ return {
88
+ 'high-opportunity': 'high-opportunity',
89
+ 'medium-opportunity': 'medium-opportunity',
90
+ 'low-opportunity': 'low-opportunity',
91
+ }.get(s, s)
92
+
93
+
94
+ def normalize_finding(f: dict, scanner: str, idx: int) -> dict:
95
+ """
96
+ Normalize a single finding/issue dict into the unified item model.
97
+
98
+ Handles all known field name variants across scanners:
99
+ Title: issue | title | description (fallback)
100
+ Desc: description | rationale | observation | insight | scenario |
101
+ current_behavior | current_pattern | context | nuance
102
+ Action: fix | recommendation | suggestion | suggested_approach |
103
+ efficient_alternative | script_alternative
104
+ File: file | location | current_location
105
+ Line: line | lines
106
+ Cat: category | dimension
107
+ Impact: user_impact | impact | estimated_savings | estimated_token_savings
108
+ """
109
+ sev = _norm_severity(f.get('severity', 'low'))
110
+ section = SCANNER_SECTIONS.get(scanner, 'other')
111
+
112
+ # Determine item type from severity
113
+ if sev in ('strength', 'note') or f.get('category') == 'strength':
114
+ item_type = 'strength'
115
+ action_type = 'none'
116
+ selectable = False
117
+ elif sev.endswith('-opportunity'):
118
+ item_type = 'enhancement'
119
+ action_type = 'enhance'
120
+ selectable = True
121
+ elif f.get('category') == 'suggestion' or sev == 'suggestion':
122
+ item_type = 'suggestion'
123
+ action_type = 'refactor'
124
+ selectable = True
125
+ else:
126
+ item_type = 'issue'
127
+ action_type = 'fix'
128
+ selectable = True
129
+
130
+ # --- Title: prefer 'title', fall back to old field names ---
131
+ title = _coalesce(
132
+ f.get('title'),
133
+ f.get('issue'),
134
+ _truncate(f.get('scenario', ''), 150),
135
+ _truncate(f.get('current_behavior', ''), 150),
136
+ _truncate(f.get('description', ''), 150),
137
+ f.get('observation', ''),
138
+ )
139
+ if not title:
140
+ title = f.get('id', 'Finding')
141
+
142
+ # --- Detail/description: prefer 'detail', fall back to old field names ---
143
+ description = _coalesce(f.get('detail'))
144
+ if not description:
145
+ # Backward compat: coalesce old field names
146
+ desc_candidates = []
147
+ for key in ('description', 'rationale', 'observation', 'insight', 'scenario',
148
+ 'current_behavior', 'current_pattern', 'context', 'nuance',
149
+ 'assessment'):
150
+ v = f.get(key)
151
+ if v and isinstance(v, str) and v.strip() and v != title:
152
+ desc_candidates.append(v.strip())
153
+ description = ' '.join(desc_candidates) if desc_candidates else ''
154
+
155
+ # --- Action: prefer 'action', fall back to old field names ---
156
+ action = _coalesce(
157
+ f.get('action'),
158
+ f.get('fix'),
159
+ f.get('recommendation'),
160
+ f.get('suggestion'),
161
+ f.get('suggested_approach'),
162
+ f.get('efficient_alternative'),
163
+ f.get('script_alternative'),
164
+ )
165
+
166
+ # --- File reference ---
167
+ file_ref = _coalesce(
168
+ f.get('file'),
169
+ f.get('location'),
170
+ f.get('current_location'),
171
+ )
172
+
173
+ # --- Line reference ---
174
+ line = f.get('line')
175
+ if line is None:
176
+ lines_str = f.get('lines')
177
+ if lines_str:
178
+ line = str(lines_str)
179
+
180
+ # --- Category ---
181
+ category = _coalesce(
182
+ f.get('category'),
183
+ f.get('dimension'),
184
+ )
185
+
186
+ # --- Impact (backward compat only - new schema folds into detail) ---
187
+ impact = _coalesce(
188
+ f.get('user_impact'),
189
+ f.get('impact'),
190
+ f.get('estimated_savings'),
191
+ str(f.get('estimated_token_savings', '')) if f.get('estimated_token_savings') else '',
192
+ )
193
+
194
+ # --- Extra fields for specific scanners ---
195
+ extra = {}
196
+ if scanner == 'script-opportunities':
197
+ action_type = 'create-script'
198
+ for k in ('determinism_confidence', 'implementation_complexity',
199
+ 'language', 'could_be_prepass', 'reusable_across_skills'):
200
+ if k in f:
201
+ extra[k] = f[k]
202
+
203
+ # Use scanner-provided id if available
204
+ item_id = f.get('id', f'{scanner}-{idx:03d}')
205
+
206
+ return {
207
+ 'id': item_id,
208
+ 'scanner': scanner,
209
+ 'section': section,
210
+ 'type': item_type,
211
+ 'severity': sev,
212
+ 'rank': SEVERITY_RANK.get(sev, 3),
213
+ 'category': category,
214
+ 'file': file_ref,
215
+ 'line': line,
216
+ 'title': title,
217
+ 'description': description,
218
+ 'action': action,
219
+ 'impact': impact,
220
+ 'extra': extra,
221
+ 'selectable': selectable,
222
+ 'action_type': action_type,
223
+ }
224
+
225
+
226
+ def _truncate(text: str, max_len: int) -> str:
227
+ """Truncate text to max_len, breaking at sentence boundary if possible."""
228
+ if not text:
229
+ return ''
230
+ text = text.strip()
231
+ if len(text) <= max_len:
232
+ return text
233
+ # Try to break at sentence boundary
234
+ for end in ('. ', '.\n', ' — ', '; '):
235
+ pos = text.find(end)
236
+ if 0 < pos < max_len:
237
+ return text[:pos + 1].strip()
238
+ return text[:max_len].strip() + '...'
239
+
240
+
241
+ def normalize_scanner(data: dict) -> tuple[list[dict], dict]:
242
+ """
243
+ Normalize a full scanner JSON into (items, meta).
244
+ Returns list of normalized items + dict of meta/assessment data.
245
+ Handles all known scanner output variants.
246
+ """
247
+ scanner = data.get('scanner', 'unknown')
248
+ items = []
249
+ meta = {}
250
+
251
+ # New schema: findings[]. Backward compat: issues[] or findings[]
252
+ findings = data.get('findings') or data.get('issues') or []
253
+ for idx, f in enumerate(findings):
254
+ items.append(normalize_finding(f, scanner, idx))
255
+
256
+ # Backward compat: opportunities[] (execution-efficiency had separate array)
257
+ for idx, opp in enumerate(data.get('opportunities', []), start=len(findings)):
258
+ opp_item = normalize_finding(opp, scanner, idx)
259
+ opp_item['type'] = 'enhancement'
260
+ opp_item['action_type'] = 'enhance'
261
+ opp_item['selectable'] = True
262
+ items.append(opp_item)
263
+
264
+ # Backward compat: strengths[] (old cohesion scanners — plain strings)
265
+ for idx, s in enumerate(data.get('strengths', [])):
266
+ text = s if isinstance(s, str) else (s.get('title', '') if isinstance(s, dict) else str(s))
267
+ desc = '' if isinstance(s, str) else (s.get('description', s.get('detail', '')) if isinstance(s, dict) else '')
268
+ items.append({
269
+ 'id': f'{scanner}-str-{idx:03d}',
270
+ 'scanner': scanner,
271
+ 'section': SCANNER_SECTIONS.get(scanner, 'cohesion'),
272
+ 'type': 'strength',
273
+ 'severity': 'strength',
274
+ 'rank': 5,
275
+ 'category': 'strength',
276
+ 'file': '',
277
+ 'line': None,
278
+ 'title': text,
279
+ 'description': desc,
280
+ 'action': '',
281
+ 'impact': '',
282
+ 'extra': {},
283
+ 'selectable': False,
284
+ 'action_type': 'none',
285
+ })
286
+
287
+ # Backward compat: creative_suggestions[] (old cohesion scanners)
288
+ for idx, cs in enumerate(data.get('creative_suggestions', [])):
289
+ if isinstance(cs, str):
290
+ cs_title, cs_desc = cs, ''
291
+ else:
292
+ cs_title = _coalesce(cs.get('title'), cs.get('idea'), '')
293
+ cs_desc = _coalesce(cs.get('description'), cs.get('detail'), cs.get('rationale'), '')
294
+ items.append({
295
+ 'id': cs.get('id', f'{scanner}-cs-{idx:03d}') if isinstance(cs, dict) else f'{scanner}-cs-{idx:03d}',
296
+ 'scanner': scanner,
297
+ 'section': SCANNER_SECTIONS.get(scanner, 'cohesion'),
298
+ 'type': 'suggestion',
299
+ 'severity': 'suggestion',
300
+ 'rank': 4,
301
+ 'category': cs.get('type', 'suggestion') if isinstance(cs, dict) else 'suggestion',
302
+ 'file': '',
303
+ 'line': None,
304
+ 'title': cs_title,
305
+ 'description': cs_desc,
306
+ 'action': cs_title,
307
+ 'impact': cs.get('estimated_impact', '') if isinstance(cs, dict) else '',
308
+ 'extra': {},
309
+ 'selectable': True,
310
+ 'action_type': 'refactor',
311
+ })
312
+
313
+ # New schema: assessments{} contains all structured analysis
314
+ # Backward compat: also collect from top-level keys
315
+ if 'assessments' in data:
316
+ meta.update(data['assessments'])
317
+
318
+ # Backward compat: collect meta from top-level keys
319
+ skip_keys = {'scanner', 'script', 'version', 'skill_path', 'agent_path',
320
+ 'timestamp', 'scan_date', 'status', 'issues', 'findings',
321
+ 'strengths', 'creative_suggestions', 'opportunities', 'assessments'}
322
+ for key, val in data.items():
323
+ if key not in skip_keys and key not in meta:
324
+ meta[key] = val
325
+
326
+ return items, meta
327
+
328
+
329
+ def build_journeys(data: dict) -> list[dict]:
330
+ """
331
+ Extract user journey data from enhancement-opportunities scanner.
332
+ Handles two formats:
333
+ - Array of objects: [{archetype, journey_summary, friction_points, bright_spots}]
334
+ - Object keyed by persona: {first_timer: {entry_friction, mid_flow_resilience, exit_satisfaction}}
335
+ """
336
+ journeys_raw = data.get('user_journeys')
337
+ if not journeys_raw:
338
+ return []
339
+
340
+ # Format 1: already a list — normalize field names
341
+ if isinstance(journeys_raw, list):
342
+ normalized = []
343
+ for j in journeys_raw:
344
+ if isinstance(j, dict):
345
+ normalized.append({
346
+ 'archetype': j.get('archetype', 'unknown'),
347
+ 'journey_summary': j.get('summary', j.get('journey_summary', '')),
348
+ 'friction_points': j.get('friction_points', []),
349
+ 'bright_spots': j.get('bright_spots', []),
350
+ })
351
+ else:
352
+ normalized.append(j)
353
+ return normalized
354
+
355
+ # Format 2: object keyed by persona name
356
+ if isinstance(journeys_raw, dict):
357
+ result = []
358
+ for persona, details in journeys_raw.items():
359
+ if isinstance(details, dict):
360
+ # Convert the dict-based format to the expected format
361
+ journey = {
362
+ 'archetype': persona.replace('_', ' ').title(),
363
+ 'journey_summary': '',
364
+ 'friction_points': [],
365
+ 'bright_spots': [],
366
+ }
367
+ # Map known sub-keys to friction/bright spots
368
+ for key, val in details.items():
369
+ if isinstance(val, str):
370
+ # Heuristic: negative-sounding keys → friction, positive → bright
371
+ if any(neg in key.lower() for neg in ('friction', 'issue', 'problem', 'gap', 'pain')):
372
+ journey['friction_points'].append(val)
373
+ elif any(pos in key.lower() for pos in ('bright', 'strength', 'satisfaction', 'delight')):
374
+ journey['bright_spots'].append(val)
375
+ else:
376
+ # Neutral keys — include as summary parts
377
+ if journey['journey_summary']:
378
+ journey['journey_summary'] += f' | {key}: {val}'
379
+ else:
380
+ journey['journey_summary'] = f'{key}: {val}'
381
+ elif isinstance(val, list):
382
+ for item in val:
383
+ if isinstance(item, str):
384
+ journey['friction_points'].append(item)
385
+ # Build summary from all fields if not yet set
386
+ if not journey['journey_summary']:
387
+ parts = []
388
+ for k, v in details.items():
389
+ if isinstance(v, str):
390
+ parts.append(f'**{k.replace("_", " ").title()}:** {v}')
391
+ journey['journey_summary'] = ' | '.join(parts) if parts else str(details)
392
+ result.append(journey)
393
+ elif isinstance(details, str):
394
+ result.append({
395
+ 'archetype': persona.replace('_', ' ').title(),
396
+ 'journey_summary': details,
397
+ 'friction_points': [],
398
+ 'bright_spots': [],
399
+ })
400
+ return result
401
+
402
+ return []
403
+
404
+
405
+ # =============================================================================
406
+ # Report Data Assembly
407
+ # =============================================================================
408
+
409
+ def load_report_data(report_dir: Path, skill_path: str | None) -> dict:
410
+ """Load all temp/prepass JSONs and assemble normalized report data."""
411
+ all_items = []
412
+ all_meta = {}
413
+ journeys = []
414
+ detected_skill_path = skill_path
415
+
416
+ # Read all JSON files
417
+ json_files = sorted(report_dir.glob('*.json'))
418
+ for jf in json_files:
419
+ try:
420
+ data = json.loads(jf.read_text(encoding='utf-8'))
421
+ except (json.JSONDecodeError, OSError):
422
+ continue
423
+
424
+ if not isinstance(data, dict):
425
+ continue
426
+
427
+ scanner = data.get('scanner', jf.stem.replace('-temp', '').replace('-prepass', ''))
428
+
429
+ # Detect skill path from scanner data
430
+ if not detected_skill_path:
431
+ detected_skill_path = data.get('skill_path') or data.get('agent_path')
432
+
433
+ # Only normalize temp files (not prepass)
434
+ if '-temp' in jf.name or jf.name in ('path-standards-temp.json', 'scripts-temp.json'):
435
+ items, meta = normalize_scanner(data)
436
+ all_items.extend(items)
437
+ all_meta[scanner] = meta
438
+
439
+ if scanner == 'enhancement-opportunities':
440
+ journeys = build_journeys(data)
441
+ elif '-prepass' in jf.name:
442
+ all_meta[f'prepass-{scanner}'] = data
443
+
444
+ # Sort items: severity rank first, then section
445
+ all_items.sort(key=lambda x: (x['rank'], x['section']))
446
+
447
+ # Build severity counts
448
+ counts = {'critical': 0, 'high': 0, 'medium': 0, 'low': 0}
449
+ for item in all_items:
450
+ if item['type'] == 'issue' and item['severity'] in counts:
451
+ counts[item['severity']] += 1
452
+
453
+ enhancement_count = sum(1 for i in all_items if i['type'] == 'enhancement')
454
+ strength_count = sum(1 for i in all_items if i['type'] == 'strength')
455
+ total_issues = sum(counts.values())
456
+
457
+ # Quality grade
458
+ if counts['critical'] > 0:
459
+ grade = 'Poor'
460
+ elif counts['high'] > 2:
461
+ grade = 'Fair'
462
+ elif counts['high'] > 0 or counts['medium'] > 5:
463
+ grade = 'Good'
464
+ else:
465
+ grade = 'Excellent'
466
+
467
+ # Extract assessments for display
468
+ assessments = {}
469
+ for scanner_key, meta in all_meta.items():
470
+ for akey in ('cohesion_analysis', 'autonomous_assessment', 'skill_understanding',
471
+ 'agent_identity', 'skill_identity', 'prompt_health',
472
+ 'skillmd_assessment', 'top_insights'):
473
+ if akey in meta:
474
+ assessments[akey] = meta[akey]
475
+ if 'summary' in meta:
476
+ s = meta['summary']
477
+ if 'craft_assessment' in s:
478
+ assessments['craft_assessment'] = s['craft_assessment']
479
+ if 'overall_cohesion' in s:
480
+ assessments['overall_cohesion'] = s['overall_cohesion']
481
+
482
+ # Skill name from path
483
+ sp = detected_skill_path or str(report_dir)
484
+ skill_name = Path(sp).name
485
+
486
+ return {
487
+ 'meta': {
488
+ 'skill_name': skill_name,
489
+ 'skill_path': detected_skill_path or '',
490
+ 'timestamp': datetime.now(timezone.utc).isoformat(),
491
+ 'scanner_count': len([f for f in json_files if '-temp' in f.name]),
492
+ 'report_dir': str(report_dir),
493
+ },
494
+ 'executive_summary': {
495
+ 'total_issues': total_issues,
496
+ 'counts': counts,
497
+ 'enhancement_count': enhancement_count,
498
+ 'strength_count': strength_count,
499
+ 'grade': grade,
500
+ 'craft_assessment': assessments.get('craft_assessment', ''),
501
+ 'overall_cohesion': assessments.get('overall_cohesion', ''),
502
+ },
503
+ 'items': all_items,
504
+ 'journeys': journeys,
505
+ 'assessments': assessments,
506
+ 'section_labels': SECTION_LABELS,
507
+ }
508
+
509
+
510
+ # =============================================================================
511
+ # HTML Generation
512
+ # =============================================================================
513
+
514
+ HTML_TEMPLATE = r"""<!DOCTYPE html>
515
+ <html lang="en">
516
+ <head>
517
+ <meta charset="utf-8">
518
+ <meta name="viewport" content="width=device-width, initial-scale=1">
519
+ <title>Quality Report: SKILL_NAME_PLACEHOLDER</title>
520
+ <style>
521
+ :root {
522
+ --bg: #0d1117; --surface: #161b22; --surface2: #21262d; --border: #30363d;
523
+ --text: #e6edf3; --text-muted: #8b949e; --text-dim: #6e7681;
524
+ --critical: #f85149; --high: #f0883e; --medium: #d29922; --low: #58a6ff;
525
+ --strength: #3fb950; --suggestion: #a371f7; --info: #8b949e;
526
+ --accent: #58a6ff; --accent-hover: #79c0ff;
527
+ --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
528
+ --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
529
+ }
530
+ @media (prefers-color-scheme: light) {
531
+ :root {
532
+ --bg: #ffffff; --surface: #f6f8fa; --surface2: #eaeef2; --border: #d0d7de;
533
+ --text: #1f2328; --text-muted: #656d76; --text-dim: #8c959f;
534
+ --critical: #cf222e; --high: #bc4c00; --medium: #9a6700; --low: #0969da;
535
+ --strength: #1a7f37; --suggestion: #8250df; --info: #656d76;
536
+ --accent: #0969da; --accent-hover: #0550ae;
537
+ }
538
+ }
539
+ * { margin: 0; padding: 0; box-sizing: border-box; }
540
+ body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; padding: 2rem; max-width: 960px; margin: 0 auto; padding-bottom: 6rem; }
541
+ h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
542
+ .subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
543
+ .badge { display: inline-flex; align-items: center; padding: 0.15rem 0.5rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; user-select: none; }
544
+ .badge:hover { filter: brightness(1.2); }
545
+ .badge.active { border-color: currentColor; }
546
+ .badge-critical { background: color-mix(in srgb, var(--critical) 20%, transparent); color: var(--critical); }
547
+ .badge-high { background: color-mix(in srgb, var(--high) 20%, transparent); color: var(--high); }
548
+ .badge-medium { background: color-mix(in srgb, var(--medium) 20%, transparent); color: var(--medium); }
549
+ .badge-low { background: color-mix(in srgb, var(--low) 20%, transparent); color: var(--low); }
550
+ .badge-strength { background: color-mix(in srgb, var(--strength) 20%, transparent); color: var(--strength); }
551
+ .badge-suggestion, .badge-note { background: color-mix(in srgb, var(--suggestion) 20%, transparent); color: var(--suggestion); }
552
+ .badge-high-opportunity { background: color-mix(in srgb, var(--high) 20%, transparent); color: var(--high); }
553
+ .badge-medium-opportunity { background: color-mix(in srgb, var(--medium) 20%, transparent); color: var(--medium); }
554
+ .badge-low-opportunity { background: color-mix(in srgb, var(--low) 20%, transparent); color: var(--low); }
555
+ .badge-info { background: color-mix(in srgb, var(--info) 20%, transparent); color: var(--info); }
556
+ .grade { font-size: 2rem; font-weight: 700; }
557
+ .grade-Excellent { color: var(--strength); }
558
+ .grade-Good { color: var(--low); }
559
+ .grade-Fair { color: var(--medium); }
560
+ .grade-Poor { color: var(--critical); }
561
+ .summary-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 2rem; margin: 1rem 0; align-items: baseline; }
562
+ .summary-grid dt { color: var(--text-muted); font-size: 0.85rem; }
563
+ .summary-grid dd { font-size: 0.95rem; }
564
+ .filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
565
+ .section { border: 1px solid var(--border); border-radius: 0.5rem; margin: 0.75rem 0; overflow: hidden; }
566
+ .section-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--surface); cursor: pointer; user-select: none; }
567
+ .section-header:hover { background: var(--surface2); }
568
+ .section-header .arrow { font-size: 0.7rem; transition: transform 0.15s; color: var(--text-muted); width: 1rem; }
569
+ .section-header.open .arrow { transform: rotate(90deg); }
570
+ .section-header .label { font-weight: 600; flex: 1; }
571
+ .section-header .count { font-size: 0.8rem; color: var(--text-muted); }
572
+ .section-body { display: none; }
573
+ .section-body.open { display: block; }
574
+ .item { display: flex; gap: 0.75rem; padding: 0.75rem 1rem; border-top: 1px solid var(--border); align-items: flex-start; }
575
+ .item:hover { background: var(--surface); }
576
+ .item-check { margin-top: 0.2rem; accent-color: var(--accent); flex-shrink: 0; }
577
+ .item-body { flex: 1; min-width: 0; }
578
+ .item-title { font-weight: 600; font-size: 0.9rem; }
579
+ .item-file { font-family: var(--mono); font-size: 0.75rem; color: var(--text-muted); }
580
+ .item-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }
581
+ .item-action { font-size: 0.85rem; margin-top: 0.25rem; }
582
+ .item-action strong { color: var(--strength); }
583
+ .item-impact { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.2rem; font-style: italic; }
584
+ .item-actions { flex-shrink: 0; display: flex; gap: 0.25rem; }
585
+ .copy-btn { background: none; border: 1px solid var(--border); border-radius: 0.25rem; padding: 0.2rem 0.4rem; cursor: pointer; color: var(--text-muted); font-size: 0.75rem; transition: all 0.15s; }
586
+ .copy-btn:hover { border-color: var(--accent); color: var(--accent); }
587
+ .copy-btn.copied { border-color: var(--strength); color: var(--strength); }
588
+ .journey { padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
589
+ .journey h4 { font-size: 0.9rem; text-transform: capitalize; }
590
+ .journey p { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0; }
591
+ .journey ul { font-size: 0.85rem; padding-left: 1.25rem; margin: 0.25rem 0; }
592
+ .journey .friction { color: var(--high); }
593
+ .journey .bright { color: var(--strength); }
594
+ .assessment { padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
595
+ .assessment table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-top: 0.5rem; }
596
+ .assessment th, .assessment td { text-align: left; padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border); }
597
+ .assessment th { color: var(--text-muted); font-weight: 600; }
598
+ .sticky-footer { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 0.75rem 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; z-index: 100; transition: transform 0.2s; }
599
+ .sticky-footer.hidden { transform: translateY(100%); }
600
+ .gen-btn { background: var(--accent); color: #fff; border: none; padding: 0.5rem 1.25rem; border-radius: 0.375rem; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
601
+ .gen-btn:hover { background: var(--accent-hover); }
602
+ .sel-count { font-size: 0.9rem; color: var(--text-muted); }
603
+ .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; align-items: center; justify-content: center; }
604
+ .modal-overlay.visible { display: flex; }
605
+ .modal { background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; padding: 1.5rem; width: 90%; max-width: 700px; max-height: 80vh; overflow-y: auto; }
606
+ .modal h3 { margin-bottom: 0.75rem; }
607
+ .modal pre { background: var(--bg); border: 1px solid var(--border); border-radius: 0.375rem; padding: 1rem; font-family: var(--mono); font-size: 0.8rem; white-space: pre-wrap; word-wrap: break-word; max-height: 50vh; overflow-y: auto; }
608
+ .modal-actions { display: flex; gap: 0.75rem; margin-top: 1rem; justify-content: flex-end; }
609
+ .modal-actions button { padding: 0.4rem 1rem; border-radius: 0.375rem; cursor: pointer; font-size: 0.85rem; }
610
+ .modal-close { background: var(--surface2); border: 1px solid var(--border); color: var(--text); }
611
+ .modal-copy { background: var(--accent); border: none; color: #fff; font-weight: 600; }
612
+ .empty-msg { color: var(--text-dim); font-size: 0.85rem; padding: 1rem; font-style: italic; }
613
+ </style>
614
+ </head>
615
+ <body>
616
+
617
+ <h1>Quality Report: <span id="skill-name"></span></h1>
618
+ <div class="subtitle" id="subtitle"></div>
619
+
620
+ <div id="exec-summary"></div>
621
+
622
+ <div class="filters" id="filters"></div>
623
+
624
+ <div id="sections"></div>
625
+
626
+ <div class="sticky-footer hidden" id="footer">
627
+ <span class="sel-count"><span id="sel-count">0</span> selected</span>
628
+ <button class="gen-btn" onclick="showBatchPrompt()">Generate Prompt</button>
629
+ </div>
630
+
631
+ <div class="modal-overlay" id="modal" onclick="if(event.target===this)closeModal()">
632
+ <div class="modal">
633
+ <h3 id="modal-title">Generated Prompt</h3>
634
+ <pre id="modal-content"></pre>
635
+ <div class="modal-actions">
636
+ <button class="modal-close" onclick="closeModal()">Close</button>
637
+ <button class="modal-copy" onclick="copyModal()">Copy to Clipboard</button>
638
+ </div>
639
+ </div>
640
+ </div>
641
+
642
+ <script>
643
+ const DATA = JSON.parse(document.getElementById('report-data').textContent);
644
+ const selected = new Set();
645
+
646
+ function init() {
647
+ const m = DATA.meta;
648
+ const es = DATA.executive_summary;
649
+ document.getElementById('skill-name').textContent = m.skill_name;
650
+ document.getElementById('subtitle').textContent = `${m.skill_path} \u2022 ${m.timestamp.split('T')[0]} \u2022 ${m.scanner_count} scanners`;
651
+
652
+ // Executive summary
653
+ let html = `<div class="grade grade-${es.grade}">${es.grade}</div>`;
654
+ html += `<dl class="summary-grid">`;
655
+ html += `<dt>Issues</dt><dd>${es.total_issues} total \u2014 ${es.counts.critical} critical, ${es.counts.high} high, ${es.counts.medium} medium, ${es.counts.low} low</dd>`;
656
+ if (es.enhancement_count) html += `<dt>Enhancements</dt><dd>${es.enhancement_count} opportunities identified</dd>`;
657
+ if (es.strength_count) html += `<dt>Strengths</dt><dd>${es.strength_count} noted</dd>`;
658
+ if (es.craft_assessment) html += `<dt>Craft</dt><dd>${esc(es.craft_assessment)}</dd>`;
659
+ if (es.overall_cohesion) html += `<dt>Cohesion</dt><dd>${esc(es.overall_cohesion)}</dd>`;
660
+ html += `</dl>`;
661
+ document.getElementById('exec-summary').innerHTML = html;
662
+
663
+ // Severity filters
664
+ renderFilters();
665
+
666
+ // Sections
667
+ renderSections();
668
+ }
669
+
670
+ // --- Severity filters ---
671
+ const activeFilters = new Set(['critical','high','medium','low','high-opportunity','medium-opportunity','low-opportunity','strength','suggestion','note','info']);
672
+
673
+ function renderFilters() {
674
+ const counts = {};
675
+ DATA.items.forEach(i => { counts[i.severity] = (counts[i.severity]||0) + 1; });
676
+ const order = ['critical','high','medium','low','high-opportunity','medium-opportunity','low-opportunity','strength','suggestion','note'];
677
+ let html = '';
678
+ order.forEach(s => {
679
+ if (!counts[s]) return;
680
+ const active = activeFilters.has(s) ? 'active' : '';
681
+ html += `<span class="badge badge-${s} ${active}" data-sev="${s}" onclick="toggleFilter('${s}')">${s.replace('-',' ')} ${counts[s]}</span>`;
682
+ });
683
+ document.getElementById('filters').innerHTML = html;
684
+ }
685
+
686
+ function toggleFilter(sev) {
687
+ if (activeFilters.has(sev)) activeFilters.delete(sev); else activeFilters.add(sev);
688
+ renderFilters();
689
+ renderSections();
690
+ }
691
+
692
+ // --- Sections ---
693
+ function renderSections() {
694
+ const groups = {};
695
+ const sectionOrder = ['structural','structure-capabilities','prompt-craft','cohesion','efficiency','quality','scripts','script-opportunities','creative'];
696
+
697
+ DATA.items.forEach(i => {
698
+ if (!activeFilters.has(i.severity)) return;
699
+ const s = i.section;
700
+ if (!groups[s]) groups[s] = [];
701
+ groups[s].push(i);
702
+ });
703
+
704
+ // Truly broken (always first, always open)
705
+ const broken = DATA.items.filter(i => i.type === 'issue' && (i.severity === 'critical' || i.severity === 'high'));
706
+ const brokenIds = new Set(broken.map(i => i.id));
707
+ // Strengths
708
+ const strengths = DATA.items.filter(i => i.type === 'strength' && activeFilters.has(i.severity));
709
+
710
+ let html = '';
711
+
712
+ if (broken.length) {
713
+ html += renderSection('truly-broken', `Truly Broken / Missing (${broken.length})`, broken, true);
714
+ }
715
+ if (strengths.length) {
716
+ html += renderSection('strengths', `Strengths (${strengths.length})`, strengths, false);
717
+ }
718
+
719
+ sectionOrder.forEach(sec => {
720
+ // Exclude strengths (shown above) and items already in Truly Broken
721
+ const items = (groups[sec] || []).filter(i => i.type !== 'strength' && !brokenIds.has(i.id));
722
+ if (!items.length) return;
723
+ const label = DATA.section_labels[sec] || sec;
724
+ html += renderSection(sec, `${label} (${items.length})`, items, false);
725
+ });
726
+
727
+ // User journeys
728
+ if (DATA.journeys.length) {
729
+ html += renderJourneysSection();
730
+ }
731
+
732
+ // Assessments
733
+ if (Object.keys(DATA.assessments).length) {
734
+ html += renderAssessmentsSection();
735
+ }
736
+
737
+ document.getElementById('sections').innerHTML = html;
738
+ }
739
+
740
+ function renderSection(id, label, items, startOpen) {
741
+ const openCls = startOpen ? 'open' : '';
742
+ let html = `<div class="section"><div class="section-header ${openCls}" onclick="toggleSection(this)">`;
743
+ html += `<span class="arrow">\u25B6</span><span class="label">${label}</span>`;
744
+ html += `</div><div class="section-body ${openCls}">`;
745
+ items.forEach(i => { html += renderItem(i); });
746
+ html += `</div></div>`;
747
+ return html;
748
+ }
749
+
750
+ function renderItem(item) {
751
+ const isStrength = item.type === 'strength';
752
+ const chk = item.selectable ? `<input type="checkbox" class="item-check" data-id="${item.id}" ${selected.has(item.id)?'checked':''} onchange="toggleSelect('${item.id}', this.checked)">` : '';
753
+ const sev = `<span class="badge badge-${item.severity}">${item.severity.replace('-',' ')}</span>`;
754
+ const file = item.file ? `<span class="item-file">${esc(item.file)}${item.line ? ':'+item.line : ''}</span>` : '';
755
+ const desc = item.description && item.description !== item.title ? `<div class="item-desc">${esc(item.description)}</div>` : '';
756
+ // Suppress action/impact for strengths — "N/A" is noise
757
+ const actionText = item.action && !isStrength && item.action !== 'N/A' ? item.action : '';
758
+ const action = actionText ? `<div class="item-action"><strong>${item.action_type === 'fix' ? 'Fix' : item.action_type === 'create-script' ? 'Script' : 'Suggestion'}:</strong> ${esc(actionText)}</div>` : '';
759
+ const impactText = item.impact && !isStrength && item.impact !== 'N/A' ? item.impact : '';
760
+ const impact = impactText ? `<div class="item-impact">Impact: ${esc(impactText)}</div>` : '';
761
+ const copyBtn = item.selectable ? `<button class="copy-btn" onclick="copySinglePrompt('${item.id}')" title="Copy prompt for this item">\u2398</button>` : '';
762
+
763
+ return `<div class="item">${chk}<div class="item-body">${sev} ${file}<div class="item-title">${esc(item.title)}</div>${desc}${action}${impact}</div><div class="item-actions">${copyBtn}</div></div>`;
764
+ }
765
+
766
+ function renderJourneysSection() {
767
+ let html = `<div class="section"><div class="section-header" onclick="toggleSection(this)">`;
768
+ html += `<span class="arrow">\u25B6</span><span class="label">User Journeys (${DATA.journeys.length})</span>`;
769
+ html += `</div><div class="section-body">`;
770
+ DATA.journeys.forEach(j => {
771
+ html += `<div class="journey"><h4>${esc(j.archetype)}</h4>`;
772
+ html += `<p>${esc(j.journey_summary)}</p>`;
773
+ if (j.friction_points && j.friction_points.length) {
774
+ html += `<ul class="friction">`;
775
+ j.friction_points.forEach(fp => { html += `<li>${esc(fp)}</li>`; });
776
+ html += `</ul>`;
777
+ }
778
+ if (j.bright_spots && j.bright_spots.length) {
779
+ html += `<ul class="bright">`;
780
+ j.bright_spots.forEach(bs => { html += `<li>${esc(bs)}</li>`; });
781
+ html += `</ul>`;
782
+ }
783
+ html += `</div>`;
784
+ });
785
+ html += `</div></div>`;
786
+ return html;
787
+ }
788
+
789
+ function renderAssessmentsSection() {
790
+ let html = `<div class="section"><div class="section-header" onclick="toggleSection(this)">`;
791
+ html += `<span class="arrow">\u25B6</span><span class="label">Assessments & Analysis</span>`;
792
+ html += `</div><div class="section-body">`;
793
+
794
+ const ca = DATA.assessments.cohesion_analysis;
795
+ if (ca) {
796
+ html += `<div class="assessment"><h4>Cohesion Analysis</h4><table><tr><th>Dimension</th><th>Score</th><th>Notes</th></tr>`;
797
+ Object.entries(ca).forEach(([dim, val]) => {
798
+ if (typeof val === 'object' && val.score) {
799
+ html += `<tr><td>${esc(dim.replace(/_/g, ' '))}</td><td>${esc(val.score)}</td><td>${esc(val.notes || '')}</td></tr>`;
800
+ }
801
+ });
802
+ html += `</table></div>`;
803
+ }
804
+
805
+ const aa = DATA.assessments.autonomous_assessment;
806
+ if (aa) {
807
+ html += `<div class="assessment"><h4>Autonomous Readiness</h4><table>`;
808
+ html += `<tr><td>Overall Potential</td><td>${esc(aa.potential||aa.overall_potential||'')}</td></tr>`;
809
+ html += `<tr><td>HITL Points</td><td>${aa.hitl_points||aa.hitl_interaction_points||0}</td></tr>`;
810
+ html += `<tr><td>Auto-Resolvable</td><td>${aa.auto_resolvable||0}</td></tr>`;
811
+ html += `<tr><td>Needs Input</td><td>${aa.needs_input||0}</td></tr>`;
812
+ if (aa.notes) html += `<tr><td>Notes</td><td>${esc(aa.notes)}</td></tr>`;
813
+ html += `</table></div>`;
814
+ }
815
+
816
+ const ti = DATA.assessments.top_insights;
817
+ if (ti && ti.length) {
818
+ html += `<div class="assessment"><h4>Top Insights</h4>`;
819
+ ti.forEach(t => {
820
+ const tiTitle = t.title || t.insight || '';
821
+ const tiDetail = t.detail || t.why_it_matters || '';
822
+ const tiAction = t.action || t.suggestion || '';
823
+ html += `<div style="margin:0.5rem 0"><strong>${esc(tiTitle)}</strong>`;
824
+ if (tiDetail) html += `<br><em>Context:</em> ${esc(tiDetail)}`;
825
+ if (tiAction) html += `<br><em>Suggestion:</em> ${esc(tiAction)}`;
826
+ html += `</div>`;
827
+ });
828
+ html += `</div>`;
829
+ }
830
+
831
+ html += `</div></div>`;
832
+ return html;
833
+ }
834
+
835
+ // --- Interactions ---
836
+ function toggleSection(el) {
837
+ el.classList.toggle('open');
838
+ el.nextElementSibling.classList.toggle('open');
839
+ }
840
+
841
+ function toggleSelect(id, checked) {
842
+ if (checked) selected.add(id); else selected.delete(id);
843
+ document.getElementById('sel-count').textContent = selected.size;
844
+ document.getElementById('footer').classList.toggle('hidden', selected.size === 0);
845
+ }
846
+
847
+ // --- Prompt Generation ---
848
+ function itemById(id) { return DATA.items.find(i => i.id === id); }
849
+
850
+ function buildPromptForItem(item) {
851
+ let p = '';
852
+ const sev = item.severity.replace('-', ' ').toUpperCase();
853
+ const loc = item.file ? `${item.file}${item.line ? ':'+item.line : ''}` : '';
854
+ p += `**[${sev}] ${item.title}**\n`;
855
+ if (loc) p += `- File: ${loc}\n`;
856
+ if (item.description && item.description !== item.title) p += `- Context: ${item.description}\n`;
857
+ if (item.action) {
858
+ const label = item.action_type === 'fix' ? 'Fix' : item.action_type === 'create-script' ? 'Create script' : 'Suggestion';
859
+ p += `- ${label}: ${item.action}\n`;
860
+ }
861
+ if (item.impact) p += `- Impact: ${item.impact}\n`;
862
+ return p;
863
+ }
864
+
865
+ function buildPrompt(ids) {
866
+ const items = ids.map(itemById).filter(Boolean);
867
+ const fixes = items.filter(i => i.action_type === 'fix');
868
+ const scripts = items.filter(i => i.action_type === 'create-script');
869
+ const enhancements = items.filter(i => i.action_type === 'enhance' || i.action_type === 'refactor');
870
+
871
+ let prompt = `## Task: Quality Improvements for ${DATA.meta.skill_name}\nSkill path: ${DATA.meta.skill_path}\n\n`;
872
+
873
+ if (fixes.length) {
874
+ prompt += `### Fix These Issues (${fixes.length})\n\n`;
875
+ fixes.forEach((item, i) => { prompt += `${i+1}. ${buildPromptForItem(item)}\n`; });
876
+ }
877
+ if (scripts.length) {
878
+ prompt += `### Create These Scripts (${scripts.length})\n\n`;
879
+ scripts.forEach((item, i) => { prompt += `${i+1}. ${buildPromptForItem(item)}\n`; });
880
+ }
881
+ if (enhancements.length) {
882
+ prompt += `### Implement These Enhancements (${enhancements.length})\n\n`;
883
+ enhancements.forEach((item, i) => { prompt += `${i+1}. ${buildPromptForItem(item)}\n`; });
884
+ }
885
+ return prompt.trim();
886
+ }
887
+
888
+ function copySinglePrompt(id) {
889
+ const item = itemById(id);
890
+ if (!item) return;
891
+ let prompt = `## Task: Quality Fix for ${DATA.meta.skill_name}\nSkill path: ${DATA.meta.skill_path}\n\n`;
892
+ prompt += buildPromptForItem(item);
893
+ navigator.clipboard.writeText(prompt).then(() => {
894
+ const btn = document.querySelector(`[onclick="copySinglePrompt('${id}')"]`);
895
+ if (btn) { btn.classList.add('copied'); btn.textContent = '\u2713'; setTimeout(() => { btn.classList.remove('copied'); btn.textContent = '\u2398'; }, 1500); }
896
+ });
897
+ }
898
+
899
+ function showBatchPrompt() {
900
+ const prompt = buildPrompt([...selected]);
901
+ document.getElementById('modal-content').textContent = prompt;
902
+ document.getElementById('modal').classList.add('visible');
903
+ }
904
+
905
+ function closeModal() { document.getElementById('modal').classList.remove('visible'); }
906
+
907
+ function copyModal() {
908
+ const text = document.getElementById('modal-content').textContent;
909
+ navigator.clipboard.writeText(text).then(() => {
910
+ const btn = document.querySelector('.modal-copy');
911
+ btn.textContent = 'Copied!';
912
+ setTimeout(() => { btn.textContent = 'Copy to Clipboard'; }, 1500);
913
+ });
914
+ }
915
+
916
+ function esc(s) {
917
+ if (!s) return '';
918
+ const d = document.createElement('div');
919
+ d.textContent = String(s);
920
+ return d.innerHTML;
921
+ }
922
+
923
+ init();
924
+ </script>
925
+ </body>
926
+ </html>"""
927
+
928
+
929
+ def generate_html(report_data: dict) -> str:
930
+ """Inject report data into the HTML template."""
931
+ data_json = json.dumps(report_data, indent=None, ensure_ascii=False)
932
+ # Embed the JSON as a script tag before the main script
933
+ data_tag = f'<script id="report-data" type="application/json">{data_json}</script>'
934
+ # Insert before the main <script> tag
935
+ html = HTML_TEMPLATE.replace('<script>\nconst DATA', f'{data_tag}\n<script>\nconst DATA')
936
+ html = html.replace('SKILL_NAME_PLACEHOLDER', report_data['meta']['skill_name'])
937
+ return html
938
+
939
+
940
+ # =============================================================================
941
+ # CLI
942
+ # =============================================================================
943
+
944
+ def main() -> int:
945
+ parser = argparse.ArgumentParser(
946
+ description='Generate interactive HTML quality report from scanner JSON files',
947
+ )
948
+ parser.add_argument(
949
+ 'report_dir',
950
+ type=Path,
951
+ help='Directory containing *-temp.json and *-prepass.json files',
952
+ )
953
+ parser.add_argument(
954
+ '--skill-path',
955
+ help='Path to the skill being scanned (auto-detected from JSON if omitted)',
956
+ )
957
+ parser.add_argument(
958
+ '--open',
959
+ action='store_true',
960
+ help='Open the HTML report in the default browser',
961
+ )
962
+ parser.add_argument(
963
+ '--output', '-o',
964
+ type=Path,
965
+ help='Output HTML file path (default: {report_dir}/quality-report.html)',
966
+ )
967
+ args = parser.parse_args()
968
+
969
+ if not args.report_dir.is_dir():
970
+ print(f'Error: {args.report_dir} is not a directory', file=sys.stderr)
971
+ return 2
972
+
973
+ report_data = load_report_data(args.report_dir, args.skill_path)
974
+
975
+ if not report_data['items']:
976
+ print('Warning: No scanner data found in directory', file=sys.stderr)
977
+
978
+ html = generate_html(report_data)
979
+
980
+ output_path = args.output or (args.report_dir / 'quality-report.html')
981
+ output_path.write_text(html, encoding='utf-8')
982
+ print(json.dumps({
983
+ 'html_report': str(output_path),
984
+ 'items': len(report_data['items']),
985
+ 'issues': report_data['executive_summary']['total_issues'],
986
+ 'grade': report_data['executive_summary']['grade'],
987
+ }))
988
+
989
+ if args.open:
990
+ system = platform.system()
991
+ if system == 'Darwin':
992
+ subprocess.run(['open', str(output_path)])
993
+ elif system == 'Linux':
994
+ subprocess.run(['xdg-open', str(output_path)])
995
+ elif system == 'Windows':
996
+ subprocess.run(['start', str(output_path)], shell=True)
997
+
998
+ return 0
999
+
1000
+
1001
+ if __name__ == '__main__':
1002
+ sys.exit(main())