@lbruton/spec-workflow-mcp 2.2.4

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 (407) hide show
  1. package/CHANGELOG.md +955 -0
  2. package/LICENSE +674 -0
  3. package/README.ar.md +314 -0
  4. package/README.de.md +314 -0
  5. package/README.es.md +314 -0
  6. package/README.fr.md +314 -0
  7. package/README.it.md +314 -0
  8. package/README.ja.md +316 -0
  9. package/README.ko.md +314 -0
  10. package/README.md +373 -0
  11. package/README.pt.md +314 -0
  12. package/README.ru.md +314 -0
  13. package/README.zh.md +314 -0
  14. package/dist/__tests__/config.test.d.ts +2 -0
  15. package/dist/__tests__/config.test.d.ts.map +1 -0
  16. package/dist/__tests__/config.test.js +264 -0
  17. package/dist/__tests__/config.test.js.map +1 -0
  18. package/dist/__tests__/index-args.test.d.ts +2 -0
  19. package/dist/__tests__/index-args.test.d.ts.map +1 -0
  20. package/dist/__tests__/index-args.test.js +43 -0
  21. package/dist/__tests__/index-args.test.js.map +1 -0
  22. package/dist/__tests__/index-entrypoint.test.d.ts +2 -0
  23. package/dist/__tests__/index-entrypoint.test.d.ts.map +1 -0
  24. package/dist/__tests__/index-entrypoint.test.js +23 -0
  25. package/dist/__tests__/index-entrypoint.test.js.map +1 -0
  26. package/dist/config.d.ts +26 -0
  27. package/dist/config.d.ts.map +1 -0
  28. package/dist/config.js +188 -0
  29. package/dist/config.js.map +1 -0
  30. package/dist/core/__tests__/git-utils.test.d.ts +2 -0
  31. package/dist/core/__tests__/git-utils.test.d.ts.map +1 -0
  32. package/dist/core/__tests__/git-utils.test.js +179 -0
  33. package/dist/core/__tests__/git-utils.test.js.map +1 -0
  34. package/dist/core/__tests__/mdx-validator.test.d.ts +2 -0
  35. package/dist/core/__tests__/mdx-validator.test.d.ts.map +1 -0
  36. package/dist/core/__tests__/mdx-validator.test.js +42 -0
  37. package/dist/core/__tests__/mdx-validator.test.js.map +1 -0
  38. package/dist/core/__tests__/path-utils.test.d.ts +2 -0
  39. package/dist/core/__tests__/path-utils.test.d.ts.map +1 -0
  40. package/dist/core/__tests__/path-utils.test.js +344 -0
  41. package/dist/core/__tests__/path-utils.test.js.map +1 -0
  42. package/dist/core/__tests__/project-registry.test.d.ts +2 -0
  43. package/dist/core/__tests__/project-registry.test.d.ts.map +1 -0
  44. package/dist/core/__tests__/project-registry.test.js +62 -0
  45. package/dist/core/__tests__/project-registry.test.js.map +1 -0
  46. package/dist/core/__tests__/security-utils.test.d.ts +2 -0
  47. package/dist/core/__tests__/security-utils.test.d.ts.map +1 -0
  48. package/dist/core/__tests__/security-utils.test.js +643 -0
  49. package/dist/core/__tests__/security-utils.test.js.map +1 -0
  50. package/dist/core/__tests__/task-validator.test.d.ts +2 -0
  51. package/dist/core/__tests__/task-validator.test.d.ts.map +1 -0
  52. package/dist/core/__tests__/task-validator.test.js +237 -0
  53. package/dist/core/__tests__/task-validator.test.js.map +1 -0
  54. package/dist/core/archive-service.d.ts +10 -0
  55. package/dist/core/archive-service.d.ts.map +1 -0
  56. package/dist/core/archive-service.js +99 -0
  57. package/dist/core/archive-service.js.map +1 -0
  58. package/dist/core/dashboard-session.d.ts +49 -0
  59. package/dist/core/dashboard-session.d.ts.map +1 -0
  60. package/dist/core/dashboard-session.js +132 -0
  61. package/dist/core/dashboard-session.js.map +1 -0
  62. package/dist/core/git-utils.d.ts +25 -0
  63. package/dist/core/git-utils.d.ts.map +1 -0
  64. package/dist/core/git-utils.js +87 -0
  65. package/dist/core/git-utils.js.map +1 -0
  66. package/dist/core/global-dir.d.ts +44 -0
  67. package/dist/core/global-dir.d.ts.map +1 -0
  68. package/dist/core/global-dir.js +74 -0
  69. package/dist/core/global-dir.js.map +1 -0
  70. package/dist/core/implementation-log-migrator.d.ts +41 -0
  71. package/dist/core/implementation-log-migrator.d.ts.map +1 -0
  72. package/dist/core/implementation-log-migrator.js +258 -0
  73. package/dist/core/implementation-log-migrator.js.map +1 -0
  74. package/dist/core/mdx-validator.d.ts +14 -0
  75. package/dist/core/mdx-validator.d.ts.map +1 -0
  76. package/dist/core/mdx-validator.js +34 -0
  77. package/dist/core/mdx-validator.js.map +1 -0
  78. package/dist/core/parser.d.ts +11 -0
  79. package/dist/core/parser.d.ts.map +1 -0
  80. package/dist/core/parser.js +126 -0
  81. package/dist/core/parser.js.map +1 -0
  82. package/dist/core/path-utils.d.ts +63 -0
  83. package/dist/core/path-utils.d.ts.map +1 -0
  84. package/dist/core/path-utils.js +288 -0
  85. package/dist/core/path-utils.js.map +1 -0
  86. package/dist/core/project-registry.d.ts +94 -0
  87. package/dist/core/project-registry.d.ts.map +1 -0
  88. package/dist/core/project-registry.js +297 -0
  89. package/dist/core/project-registry.js.map +1 -0
  90. package/dist/core/security-utils.d.ts +97 -0
  91. package/dist/core/security-utils.d.ts.map +1 -0
  92. package/dist/core/security-utils.js +264 -0
  93. package/dist/core/security-utils.js.map +1 -0
  94. package/dist/core/task-parser.d.ts +63 -0
  95. package/dist/core/task-parser.d.ts.map +1 -0
  96. package/dist/core/task-parser.js +332 -0
  97. package/dist/core/task-parser.js.map +1 -0
  98. package/dist/core/task-validator.d.ts +35 -0
  99. package/dist/core/task-validator.d.ts.map +1 -0
  100. package/dist/core/task-validator.js +236 -0
  101. package/dist/core/task-validator.js.map +1 -0
  102. package/dist/core/workspace-initializer.d.ts +16 -0
  103. package/dist/core/workspace-initializer.d.ts.map +1 -0
  104. package/dist/core/workspace-initializer.js +165 -0
  105. package/dist/core/workspace-initializer.js.map +1 -0
  106. package/dist/dashboard/__tests__/approval-storage-path-resolution.test.d.ts +2 -0
  107. package/dist/dashboard/__tests__/approval-storage-path-resolution.test.d.ts.map +1 -0
  108. package/dist/dashboard/__tests__/approval-storage-path-resolution.test.js +69 -0
  109. package/dist/dashboard/__tests__/approval-storage-path-resolution.test.js.map +1 -0
  110. package/dist/dashboard/__tests__/multi-server-approvals-content.test.d.ts +2 -0
  111. package/dist/dashboard/__tests__/multi-server-approvals-content.test.d.ts.map +1 -0
  112. package/dist/dashboard/__tests__/multi-server-approvals-content.test.js +116 -0
  113. package/dist/dashboard/__tests__/multi-server-approvals-content.test.js.map +1 -0
  114. package/dist/dashboard/__tests__/watcher-error-handling.test.d.ts +2 -0
  115. package/dist/dashboard/__tests__/watcher-error-handling.test.d.ts.map +1 -0
  116. package/dist/dashboard/__tests__/watcher-error-handling.test.js +118 -0
  117. package/dist/dashboard/__tests__/watcher-error-handling.test.js.map +1 -0
  118. package/dist/dashboard/approval-storage.d.ts +139 -0
  119. package/dist/dashboard/approval-storage.d.ts.map +1 -0
  120. package/dist/dashboard/approval-storage.js +586 -0
  121. package/dist/dashboard/approval-storage.js.map +1 -0
  122. package/dist/dashboard/execution-history-manager.d.ts +52 -0
  123. package/dist/dashboard/execution-history-manager.d.ts.map +1 -0
  124. package/dist/dashboard/execution-history-manager.js +161 -0
  125. package/dist/dashboard/execution-history-manager.js.map +1 -0
  126. package/dist/dashboard/implementation-log-manager.d.ts +97 -0
  127. package/dist/dashboard/implementation-log-manager.d.ts.map +1 -0
  128. package/dist/dashboard/implementation-log-manager.js +586 -0
  129. package/dist/dashboard/implementation-log-manager.js.map +1 -0
  130. package/dist/dashboard/job-scheduler.d.ts +91 -0
  131. package/dist/dashboard/job-scheduler.d.ts.map +1 -0
  132. package/dist/dashboard/job-scheduler.js +321 -0
  133. package/dist/dashboard/job-scheduler.js.map +1 -0
  134. package/dist/dashboard/multi-server.d.ts +42 -0
  135. package/dist/dashboard/multi-server.d.ts.map +1 -0
  136. package/dist/dashboard/multi-server.js +1313 -0
  137. package/dist/dashboard/multi-server.js.map +1 -0
  138. package/dist/dashboard/parser.d.ts +18 -0
  139. package/dist/dashboard/parser.d.ts.map +1 -0
  140. package/dist/dashboard/parser.js +243 -0
  141. package/dist/dashboard/parser.js.map +1 -0
  142. package/dist/dashboard/project-manager.d.ts +82 -0
  143. package/dist/dashboard/project-manager.d.ts.map +1 -0
  144. package/dist/dashboard/project-manager.js +257 -0
  145. package/dist/dashboard/project-manager.js.map +1 -0
  146. package/dist/dashboard/public/assets/Inter-Bold-CD3Pr7BX.woff2 +0 -0
  147. package/dist/dashboard/public/assets/Inter-Medium-B_8v_WHh.woff2 +0 -0
  148. package/dist/dashboard/public/assets/Inter-Regular-DRVdRqcI.woff2 +0 -0
  149. package/dist/dashboard/public/assets/Inter-SemiBold-CtskMddL.woff2 +0 -0
  150. package/dist/dashboard/public/assets/JetBrainsMono-Bold-D4WEaHbo.woff2 +0 -0
  151. package/dist/dashboard/public/assets/JetBrainsMono-Medium-3S3k2nMz.woff2 +0 -0
  152. package/dist/dashboard/public/assets/JetBrainsMono-Regular-BQaDgvhP.woff2 +0 -0
  153. package/dist/dashboard/public/assets/Tableau10-B-NsZVaP.js +1 -0
  154. package/dist/dashboard/public/assets/apl-B4CMkyY2.js +1 -0
  155. package/dist/dashboard/public/assets/arc-C8LPXB-J.js +1 -0
  156. package/dist/dashboard/public/assets/array-BKyUJesY.js +1 -0
  157. package/dist/dashboard/public/assets/asciiarmor-Df11BRmG.js +1 -0
  158. package/dist/dashboard/public/assets/asn1-EdZsLKOL.js +1 -0
  159. package/dist/dashboard/public/assets/asterisk-B-8jnY81.js +1 -0
  160. package/dist/dashboard/public/assets/blockDiagram-c4efeb88-RidjsOEy.js +118 -0
  161. package/dist/dashboard/public/assets/brainfuck-C4LP7Hcl.js +1 -0
  162. package/dist/dashboard/public/assets/c4Diagram-c83219d4-CAH3hSpm.js +10 -0
  163. package/dist/dashboard/public/assets/channel-CmDIZRCD.js +1 -0
  164. package/dist/dashboard/public/assets/classDiagram-beda092f-Bo46Efmw.js +2 -0
  165. package/dist/dashboard/public/assets/classDiagram-v2-2358418a-Be57sb3z.js +2 -0
  166. package/dist/dashboard/public/assets/clike-B9uivgTg.js +1 -0
  167. package/dist/dashboard/public/assets/clojure-BMjYHr_A.js +1 -0
  168. package/dist/dashboard/public/assets/clone-BiekPeZp.js +1 -0
  169. package/dist/dashboard/public/assets/cmake-BQqOBYOt.js +1 -0
  170. package/dist/dashboard/public/assets/cobol-CWcv1MsR.js +1 -0
  171. package/dist/dashboard/public/assets/coffeescript-S37ZYGWr.js +1 -0
  172. package/dist/dashboard/public/assets/commonlisp-DBKNyK5s.js +1 -0
  173. package/dist/dashboard/public/assets/createText-1719965b-YurEYFNx.js +7 -0
  174. package/dist/dashboard/public/assets/crystal-SjHAIU92.js +1 -0
  175. package/dist/dashboard/public/assets/css-BnMrqG3P.js +1 -0
  176. package/dist/dashboard/public/assets/cypher-C_CwsFkJ.js +1 -0
  177. package/dist/dashboard/public/assets/d-pRatUO7H.js +1 -0
  178. package/dist/dashboard/public/assets/diff-DbItnlRl.js +1 -0
  179. package/dist/dashboard/public/assets/dockerfile-BKs6k2Af.js +1 -0
  180. package/dist/dashboard/public/assets/dtd-DF_7sFjM.js +1 -0
  181. package/dist/dashboard/public/assets/dylan-DwRh75JA.js +1 -0
  182. package/dist/dashboard/public/assets/ebnf-CDyGwa7X.js +1 -0
  183. package/dist/dashboard/public/assets/ecl-Cabwm37j.js +1 -0
  184. package/dist/dashboard/public/assets/edges-96097737--BjsAXwD.js +4 -0
  185. package/dist/dashboard/public/assets/eiffel-CnydiIhH.js +1 -0
  186. package/dist/dashboard/public/assets/elm-vLlmbW-K.js +1 -0
  187. package/dist/dashboard/public/assets/erDiagram-0228fc6a-BLGuJz36.js +51 -0
  188. package/dist/dashboard/public/assets/erlang-BNw1qcRV.js +1 -0
  189. package/dist/dashboard/public/assets/factor-kuTfRLto.js +1 -0
  190. package/dist/dashboard/public/assets/fcl-Kvtd6kyn.js +1 -0
  191. package/dist/dashboard/public/assets/flowDb-c6c81e3f-C8vD2iEO.js +10 -0
  192. package/dist/dashboard/public/assets/flowDiagram-50d868cf-BhxgVmOU.js +4 -0
  193. package/dist/dashboard/public/assets/flowDiagram-v2-4f6560a1-DvKCh0ha.js +1 -0
  194. package/dist/dashboard/public/assets/flowchart-elk-definition-6af322e1-CxOZDcEC.js +139 -0
  195. package/dist/dashboard/public/assets/forth-Ffai-XNe.js +1 -0
  196. package/dist/dashboard/public/assets/fortran-DYz_wnZ1.js +1 -0
  197. package/dist/dashboard/public/assets/ganttDiagram-a2739b55-vP9JOLba.js +257 -0
  198. package/dist/dashboard/public/assets/gas-Bneqetm1.js +1 -0
  199. package/dist/dashboard/public/assets/gherkin-heZmZLOM.js +1 -0
  200. package/dist/dashboard/public/assets/gitGraphDiagram-82fe8481-Cw0sm0i1.js +70 -0
  201. package/dist/dashboard/public/assets/graph-DKTWMcEG.js +1 -0
  202. package/dist/dashboard/public/assets/groovy-D9Dt4D0W.js +1 -0
  203. package/dist/dashboard/public/assets/haskell-Cw1EW3IL.js +1 -0
  204. package/dist/dashboard/public/assets/haxe-H-WmDvRZ.js +1 -0
  205. package/dist/dashboard/public/assets/http-DBlCnlav.js +1 -0
  206. package/dist/dashboard/public/assets/idl-BEugSyMb.js +1 -0
  207. package/dist/dashboard/public/assets/index-1zJPiVa8.js +3 -0
  208. package/dist/dashboard/public/assets/index-5325376f-DWs4kCT4.js +1 -0
  209. package/dist/dashboard/public/assets/index-BITJ9OoM.js +1 -0
  210. package/dist/dashboard/public/assets/index-C38JlXWp.js +1 -0
  211. package/dist/dashboard/public/assets/index-CCjPelL2.js +2 -0
  212. package/dist/dashboard/public/assets/index-CD9WQNmE.js +1 -0
  213. package/dist/dashboard/public/assets/index-CU7K5Zcb.js +1 -0
  214. package/dist/dashboard/public/assets/index-CXQVOhJV.js +1 -0
  215. package/dist/dashboard/public/assets/index-CXcaRrZ2.js +1 -0
  216. package/dist/dashboard/public/assets/index-ChLAL6g5.css +1 -0
  217. package/dist/dashboard/public/assets/index-D0o1vVOe.js +7 -0
  218. package/dist/dashboard/public/assets/index-DCsxqRvu.js +1 -0
  219. package/dist/dashboard/public/assets/index-DL3iiiRz.js +1 -0
  220. package/dist/dashboard/public/assets/index-DMv2_K2V.js +1 -0
  221. package/dist/dashboard/public/assets/index-DX7EEJ21.js +1 -0
  222. package/dist/dashboard/public/assets/index-Dey_HIH7.js +1 -0
  223. package/dist/dashboard/public/assets/index-DzDTRLhf.js +1 -0
  224. package/dist/dashboard/public/assets/index-OePkEWBg.js +1 -0
  225. package/dist/dashboard/public/assets/index-_d82jdTP.js +1 -0
  226. package/dist/dashboard/public/assets/index-yCKz4OXA.js +319 -0
  227. package/dist/dashboard/public/assets/infoDiagram-8eee0895-BRq08fZf.js +7 -0
  228. package/dist/dashboard/public/assets/init-Gi6I4Gst.js +1 -0
  229. package/dist/dashboard/public/assets/javascript-iXu5QeM3.js +1 -0
  230. package/dist/dashboard/public/assets/journeyDiagram-c64418c1-Cf8D2OC8.js +139 -0
  231. package/dist/dashboard/public/assets/julia-DuME0IfC.js +1 -0
  232. package/dist/dashboard/public/assets/katex-XbL3y5x-.js +261 -0
  233. package/dist/dashboard/public/assets/layout-CVdidYA-.js +1 -0
  234. package/dist/dashboard/public/assets/line-BdckgA27.js +1 -0
  235. package/dist/dashboard/public/assets/linear-C9Nh3JLa.js +1 -0
  236. package/dist/dashboard/public/assets/livescript-BwQOo05w.js +1 -0
  237. package/dist/dashboard/public/assets/lua-BgMRiT3U.js +1 -0
  238. package/dist/dashboard/public/assets/mathematica-DTrFuWx2.js +1 -0
  239. package/dist/dashboard/public/assets/mbox-CNhZ1qSd.js +1 -0
  240. package/dist/dashboard/public/assets/mindmap-definition-8da855dc-CK-y1AmO.js +415 -0
  241. package/dist/dashboard/public/assets/mirc-CjQqDB4T.js +1 -0
  242. package/dist/dashboard/public/assets/mllike-CXdrOF99.js +1 -0
  243. package/dist/dashboard/public/assets/modelica-Dc1JOy9r.js +1 -0
  244. package/dist/dashboard/public/assets/mscgen-BA5vi2Kp.js +1 -0
  245. package/dist/dashboard/public/assets/mumps-BT43cFF4.js +1 -0
  246. package/dist/dashboard/public/assets/nginx-DdIZxoE0.js +1 -0
  247. package/dist/dashboard/public/assets/nsis-LdVXkNf5.js +1 -0
  248. package/dist/dashboard/public/assets/ntriples-BfvgReVJ.js +1 -0
  249. package/dist/dashboard/public/assets/octave-Ck1zUtKM.js +1 -0
  250. package/dist/dashboard/public/assets/ordinal-Cboi1Yqb.js +1 -0
  251. package/dist/dashboard/public/assets/oz-BzwKVEFT.js +1 -0
  252. package/dist/dashboard/public/assets/pascal--L3eBynH.js +1 -0
  253. package/dist/dashboard/public/assets/path-CbwjOpE9.js +1 -0
  254. package/dist/dashboard/public/assets/perl-CdXCOZ3F.js +1 -0
  255. package/dist/dashboard/public/assets/pieDiagram-a8764435-T8V0JN2R.js +35 -0
  256. package/dist/dashboard/public/assets/pig-CevX1Tat.js +1 -0
  257. package/dist/dashboard/public/assets/powershell-CFHJl5sT.js +1 -0
  258. package/dist/dashboard/public/assets/properties-C78fOPTZ.js +1 -0
  259. package/dist/dashboard/public/assets/protobuf-ChK-085T.js +1 -0
  260. package/dist/dashboard/public/assets/pug-DeIclll2.js +1 -0
  261. package/dist/dashboard/public/assets/puppet-DMA9R1ak.js +1 -0
  262. package/dist/dashboard/public/assets/python-BuPzkPfP.js +1 -0
  263. package/dist/dashboard/public/assets/q-pXgVlZs6.js +1 -0
  264. package/dist/dashboard/public/assets/quadrantDiagram-1e28029f-CmtVsb5L.js +7 -0
  265. package/dist/dashboard/public/assets/r-B6wPVr8A.js +1 -0
  266. package/dist/dashboard/public/assets/requirementDiagram-08caed73-BUcTnzDl.js +52 -0
  267. package/dist/dashboard/public/assets/rpm-CTu-6PCP.js +1 -0
  268. package/dist/dashboard/public/assets/ruby-B2Rjki9n.js +1 -0
  269. package/dist/dashboard/public/assets/sankeyDiagram-a04cb91d-FswuxQ9M.js +8 -0
  270. package/dist/dashboard/public/assets/sas-B4kiWyti.js +1 -0
  271. package/dist/dashboard/public/assets/scheme-C41bIUwD.js +1 -0
  272. package/dist/dashboard/public/assets/sequenceDiagram-c5b8d532-BJQ15rhX.js +122 -0
  273. package/dist/dashboard/public/assets/shell-CjFT_Tl9.js +1 -0
  274. package/dist/dashboard/public/assets/sieve-C3Gn_uJK.js +1 -0
  275. package/dist/dashboard/public/assets/simple-mode-GW_nhZxv.js +1 -0
  276. package/dist/dashboard/public/assets/smalltalk-CnHTOXQT.js +1 -0
  277. package/dist/dashboard/public/assets/solr-DehyRSwq.js +1 -0
  278. package/dist/dashboard/public/assets/sparql-DkYu6x3z.js +1 -0
  279. package/dist/dashboard/public/assets/spreadsheet-BCZA_wO0.js +1 -0
  280. package/dist/dashboard/public/assets/sql-D0XecflT.js +1 -0
  281. package/dist/dashboard/public/assets/stateDiagram-1ecb1508-BfyE0DYv.js +1 -0
  282. package/dist/dashboard/public/assets/stateDiagram-v2-c2b004d7-pcGOYyiW.js +1 -0
  283. package/dist/dashboard/public/assets/stex-C3f8Ysf7.js +1 -0
  284. package/dist/dashboard/public/assets/styles-b4e223ce--lUviH7V.js +160 -0
  285. package/dist/dashboard/public/assets/styles-ca3715f6-BXbrD1Av.js +207 -0
  286. package/dist/dashboard/public/assets/styles-d45a18b0-GyiMrLKu.js +116 -0
  287. package/dist/dashboard/public/assets/stylus-B533Al4x.js +1 -0
  288. package/dist/dashboard/public/assets/svgDrawCommon-b86b1483-DI4Z1GTS.js +1 -0
  289. package/dist/dashboard/public/assets/swift-BzpIVaGY.js +1 -0
  290. package/dist/dashboard/public/assets/tcl-DVfN8rqt.js +1 -0
  291. package/dist/dashboard/public/assets/textile-CnDTJFAw.js +1 -0
  292. package/dist/dashboard/public/assets/tiddlywiki-DO-Gjzrf.js +1 -0
  293. package/dist/dashboard/public/assets/tiki-DGYXhP31.js +1 -0
  294. package/dist/dashboard/public/assets/timeline-definition-faaaa080-B1IgohU4.js +61 -0
  295. package/dist/dashboard/public/assets/toml-Bm5Em-hy.js +1 -0
  296. package/dist/dashboard/public/assets/troff-wAsdV37c.js +1 -0
  297. package/dist/dashboard/public/assets/ttcn-CfJYG6tj.js +1 -0
  298. package/dist/dashboard/public/assets/ttcn-cfg-B9xdYoR4.js +1 -0
  299. package/dist/dashboard/public/assets/turtle-B1tBg_DP.js +1 -0
  300. package/dist/dashboard/public/assets/vb-CmGdzxic.js +1 -0
  301. package/dist/dashboard/public/assets/vbscript-BuJXcnF6.js +1 -0
  302. package/dist/dashboard/public/assets/velocity-D8B20fx6.js +1 -0
  303. package/dist/dashboard/public/assets/verilog-C6RDOZhf.js +1 -0
  304. package/dist/dashboard/public/assets/vhdl-lSbBsy5d.js +1 -0
  305. package/dist/dashboard/public/assets/webidl-ZXfAyPTL.js +1 -0
  306. package/dist/dashboard/public/assets/xquery-DzFWVndE.js +1 -0
  307. package/dist/dashboard/public/assets/xychartDiagram-f5964ef8-B5oRDe_I.js +7 -0
  308. package/dist/dashboard/public/assets/yacas-BJ4BC0dw.js +1 -0
  309. package/dist/dashboard/public/assets/z80-Hz9HOZM7.js +1 -0
  310. package/dist/dashboard/public/claude-icon-dark.svg +1 -0
  311. package/dist/dashboard/public/claude-icon.svg +1 -0
  312. package/dist/dashboard/public/index.html +16 -0
  313. package/dist/dashboard/settings-manager.d.ts +47 -0
  314. package/dist/dashboard/settings-manager.d.ts.map +1 -0
  315. package/dist/dashboard/settings-manager.js +180 -0
  316. package/dist/dashboard/settings-manager.js.map +1 -0
  317. package/dist/dashboard/utils.d.ts +31 -0
  318. package/dist/dashboard/utils.d.ts.map +1 -0
  319. package/dist/dashboard/utils.js +102 -0
  320. package/dist/dashboard/utils.js.map +1 -0
  321. package/dist/dashboard/watcher.d.ts +32 -0
  322. package/dist/dashboard/watcher.d.ts.map +1 -0
  323. package/dist/dashboard/watcher.js +173 -0
  324. package/dist/dashboard/watcher.js.map +1 -0
  325. package/dist/index.d.ts +13 -0
  326. package/dist/index.d.ts.map +1 -0
  327. package/dist/index.js +380 -0
  328. package/dist/index.js.map +1 -0
  329. package/dist/markdown/templates/design-template.md +96 -0
  330. package/dist/markdown/templates/product-template.md +51 -0
  331. package/dist/markdown/templates/requirements-template.md +50 -0
  332. package/dist/markdown/templates/structure-template.md +145 -0
  333. package/dist/markdown/templates/tasks-template.md +139 -0
  334. package/dist/markdown/templates/tech-template.md +99 -0
  335. package/dist/prompts/create-spec.d.ts +3 -0
  336. package/dist/prompts/create-spec.d.ts.map +1 -0
  337. package/dist/prompts/create-spec.js +93 -0
  338. package/dist/prompts/create-spec.js.map +1 -0
  339. package/dist/prompts/create-steering-doc.d.ts +3 -0
  340. package/dist/prompts/create-steering-doc.d.ts.map +1 -0
  341. package/dist/prompts/create-steering-doc.js +73 -0
  342. package/dist/prompts/create-steering-doc.js.map +1 -0
  343. package/dist/prompts/implement-task.d.ts +3 -0
  344. package/dist/prompts/implement-task.d.ts.map +1 -0
  345. package/dist/prompts/implement-task.js +173 -0
  346. package/dist/prompts/implement-task.js.map +1 -0
  347. package/dist/prompts/index.d.ts +15 -0
  348. package/dist/prompts/index.d.ts.map +1 -0
  349. package/dist/prompts/index.js +49 -0
  350. package/dist/prompts/index.js.map +1 -0
  351. package/dist/prompts/inject-spec-workflow-guide.d.ts +3 -0
  352. package/dist/prompts/inject-spec-workflow-guide.d.ts.map +1 -0
  353. package/dist/prompts/inject-spec-workflow-guide.js +47 -0
  354. package/dist/prompts/inject-spec-workflow-guide.js.map +1 -0
  355. package/dist/prompts/inject-steering-guide.d.ts +3 -0
  356. package/dist/prompts/inject-steering-guide.d.ts.map +1 -0
  357. package/dist/prompts/inject-steering-guide.js +51 -0
  358. package/dist/prompts/inject-steering-guide.js.map +1 -0
  359. package/dist/prompts/refresh-tasks.d.ts +3 -0
  360. package/dist/prompts/refresh-tasks.d.ts.map +1 -0
  361. package/dist/prompts/refresh-tasks.js +224 -0
  362. package/dist/prompts/refresh-tasks.js.map +1 -0
  363. package/dist/prompts/spec-status.d.ts +3 -0
  364. package/dist/prompts/spec-status.d.ts.map +1 -0
  365. package/dist/prompts/spec-status.js +75 -0
  366. package/dist/prompts/spec-status.js.map +1 -0
  367. package/dist/prompts/types.d.ts +13 -0
  368. package/dist/prompts/types.d.ts.map +1 -0
  369. package/dist/prompts/types.js +2 -0
  370. package/dist/prompts/types.js.map +1 -0
  371. package/dist/server.d.ts +17 -0
  372. package/dist/server.d.ts.map +1 -0
  373. package/dist/server.js +175 -0
  374. package/dist/server.js.map +1 -0
  375. package/dist/tools/__tests__/projectPath.test.d.ts +2 -0
  376. package/dist/tools/__tests__/projectPath.test.d.ts.map +1 -0
  377. package/dist/tools/__tests__/projectPath.test.js +187 -0
  378. package/dist/tools/__tests__/projectPath.test.js.map +1 -0
  379. package/dist/tools/approvals.d.ts +14 -0
  380. package/dist/tools/approvals.d.ts.map +1 -0
  381. package/dist/tools/approvals.js +490 -0
  382. package/dist/tools/approvals.js.map +1 -0
  383. package/dist/tools/index.d.ts +5 -0
  384. package/dist/tools/index.d.ts.map +1 -0
  385. package/dist/tools/index.js +52 -0
  386. package/dist/tools/index.js.map +1 -0
  387. package/dist/tools/log-implementation.d.ts +5 -0
  388. package/dist/tools/log-implementation.d.ts.map +1 -0
  389. package/dist/tools/log-implementation.js +397 -0
  390. package/dist/tools/log-implementation.js.map +1 -0
  391. package/dist/tools/spec-status.d.ts +5 -0
  392. package/dist/tools/spec-status.d.ts.map +1 -0
  393. package/dist/tools/spec-status.js +178 -0
  394. package/dist/tools/spec-status.js.map +1 -0
  395. package/dist/tools/spec-workflow-guide.d.ts +5 -0
  396. package/dist/tools/spec-workflow-guide.d.ts.map +1 -0
  397. package/dist/tools/spec-workflow-guide.js +291 -0
  398. package/dist/tools/spec-workflow-guide.js.map +1 -0
  399. package/dist/tools/steering-guide.d.ts +5 -0
  400. package/dist/tools/steering-guide.d.ts.map +1 -0
  401. package/dist/tools/steering-guide.js +192 -0
  402. package/dist/tools/steering-guide.js.map +1 -0
  403. package/dist/types.d.ts +172 -0
  404. package/dist/types.d.ts.map +1 -0
  405. package/dist/types.js +13 -0
  406. package/dist/types.js.map +1 -0
  407. package/package.json +105 -0
@@ -0,0 +1,145 @@
1
+ # Project Structure
2
+
3
+ ## Directory Organization
4
+
5
+ ```
6
+ [Define your project's directory structure. Examples below - adapt to your project type]
7
+
8
+ Example for a library/package:
9
+ project-root/
10
+ ├── src/ # Source code
11
+ ├── tests/ # Test files
12
+ ├── docs/ # Documentation
13
+ ├── examples/ # Usage examples
14
+ └── [build/dist/out] # Build output
15
+
16
+ Example for an application:
17
+ project-root/
18
+ ├── [src/app/lib] # Main source code
19
+ ├── [assets/resources] # Static resources
20
+ ├── [config/settings] # Configuration
21
+ ├── [scripts/tools] # Build/utility scripts
22
+ └── [tests/spec] # Test files
23
+
24
+ Common patterns:
25
+ - Group by feature/module
26
+ - Group by layer (UI, business logic, data)
27
+ - Group by type (models, controllers, views)
28
+ - Flat structure for simple projects
29
+ ```
30
+
31
+ ## Naming Conventions
32
+
33
+ ### Files
34
+ - **Components/Modules**: [e.g., `PascalCase`, `snake_case`, `kebab-case`]
35
+ - **Services/Handlers**: [e.g., `UserService`, `user_service`, `user-service`]
36
+ - **Utilities/Helpers**: [e.g., `dateUtils`, `date_utils`, `date-utils`]
37
+ - **Tests**: [e.g., `[filename]_test`, `[filename].test`, `[filename]Test`]
38
+
39
+ ### Code
40
+ - **Classes/Types**: [e.g., `PascalCase`, `CamelCase`, `snake_case`]
41
+ - **Functions/Methods**: [e.g., `camelCase`, `snake_case`, `PascalCase`]
42
+ - **Constants**: [e.g., `UPPER_SNAKE_CASE`, `SCREAMING_CASE`, `PascalCase`]
43
+ - **Variables**: [e.g., `camelCase`, `snake_case`, `lowercase`]
44
+
45
+ ## Import Patterns
46
+
47
+ ### Import Order
48
+ 1. External dependencies
49
+ 2. Internal modules
50
+ 3. Relative imports
51
+ 4. Style imports
52
+
53
+ ### Module/Package Organization
54
+ ```
55
+ [Describe your project's import/include patterns]
56
+ Examples:
57
+ - Absolute imports from project root
58
+ - Relative imports within modules
59
+ - Package/namespace organization
60
+ - Dependency management approach
61
+ ```
62
+
63
+ ## Code Structure Patterns
64
+
65
+ [Define common patterns for organizing code within files. Below are examples - choose what applies to your project]
66
+
67
+ ### Module/Class Organization
68
+ ```
69
+ Example patterns:
70
+ 1. Imports/includes/dependencies
71
+ 2. Constants and configuration
72
+ 3. Type/interface definitions
73
+ 4. Main implementation
74
+ 5. Helper/utility functions
75
+ 6. Exports/public API
76
+ ```
77
+
78
+ ### Function/Method Organization
79
+ ```
80
+ Example patterns:
81
+ - Input validation first
82
+ - Core logic in the middle
83
+ - Error handling throughout
84
+ - Clear return points
85
+ ```
86
+
87
+ ### File Organization Principles
88
+ ```
89
+ Choose what works for your project:
90
+ - One class/module per file
91
+ - Related functionality grouped together
92
+ - Public API at the top/bottom
93
+ - Implementation details hidden
94
+ ```
95
+
96
+ ## Code Organization Principles
97
+
98
+ 1. **Single Responsibility**: Each file should have one clear purpose
99
+ 2. **Modularity**: Code should be organized into reusable modules
100
+ 3. **Testability**: Structure code to be easily testable
101
+ 4. **Consistency**: Follow patterns established in the codebase
102
+
103
+ ## Module Boundaries
104
+ [Define how different parts of your project interact and maintain separation of concerns]
105
+
106
+ Examples of boundary patterns:
107
+ - **Core vs Plugins**: Core functionality vs extensible plugins
108
+ - **Public API vs Internal**: What's exposed vs implementation details
109
+ - **Platform-specific vs Cross-platform**: OS-specific code isolation
110
+ - **Stable vs Experimental**: Production code vs experimental features
111
+ - **Dependencies direction**: Which modules can depend on which
112
+
113
+ ## Code Size Guidelines
114
+ [Define your project's guidelines for file and function sizes]
115
+
116
+ Suggested guidelines:
117
+ - **File size**: [Define maximum lines per file]
118
+ - **Function/Method size**: [Define maximum lines per function]
119
+ - **Class/Module complexity**: [Define complexity limits]
120
+ - **Nesting depth**: [Maximum nesting levels]
121
+
122
+ ## Dashboard/Monitoring Structure (if applicable)
123
+ [How dashboard or monitoring components are organized]
124
+
125
+ ### Example Structure:
126
+ ```
127
+ src/
128
+ └── dashboard/ # Self-contained dashboard subsystem
129
+ ├── server/ # Backend server components
130
+ ├── client/ # Frontend assets
131
+ ├── shared/ # Shared types/utilities
132
+ └── public/ # Static assets
133
+ ```
134
+
135
+ ### Separation of Concerns
136
+ - Dashboard isolated from core business logic
137
+ - Own CLI entry point for independent operation
138
+ - Minimal dependencies on main application
139
+ - Can be disabled without affecting core functionality
140
+
141
+ ## Documentation Standards
142
+ - All public APIs must have documentation
143
+ - Complex logic should include inline comments
144
+ - README files for major modules
145
+ - Follow language-specific documentation conventions
@@ -0,0 +1,139 @@
1
+ # Tasks Document
2
+
3
+ - [ ] 1. Create core interfaces in src/types/feature.ts
4
+ - File: src/types/feature.ts
5
+ - Define TypeScript interfaces for feature data structures
6
+ - Extend existing base interfaces from base.ts
7
+ - Purpose: Establish type safety for feature implementation
8
+ - _Leverage: src/types/base.ts_
9
+ - _Requirements: 1.1_
10
+ - _Prompt: Role: TypeScript Developer specializing in type systems and interfaces | Task: Create comprehensive TypeScript interfaces for the feature data structures following requirements 1.1, extending existing base interfaces from src/types/base.ts | Restrictions: Do not modify existing base interfaces, maintain backward compatibility, follow project naming conventions | Success: All interfaces compile without errors, proper inheritance from base types, full type coverage for feature requirements_
11
+
12
+ - [ ] 2. Create base model class in src/models/FeatureModel.ts
13
+ - File: src/models/FeatureModel.ts
14
+ - Implement base model extending BaseModel class
15
+ - Add validation methods using existing validation utilities
16
+ - Purpose: Provide data layer foundation for feature
17
+ - _Leverage: src/models/BaseModel.ts, src/utils/validation.ts_
18
+ - _Requirements: 2.1_
19
+ - _Prompt: Role: Backend Developer with expertise in Node.js and data modeling | Task: Create a base model class extending BaseModel and implementing validation following requirement 2.1, leveraging existing patterns from src/models/BaseModel.ts and src/utils/validation.ts | Restrictions: Must follow existing model patterns, do not bypass validation utilities, maintain consistent error handling | Success: Model extends BaseModel correctly, validation methods implemented and tested, follows project architecture patterns_
20
+
21
+ - [ ] 3. Add specific model methods to FeatureModel.ts
22
+ - File: src/models/FeatureModel.ts (continue from task 2)
23
+ - Implement create, update, delete methods
24
+ - Add relationship handling for foreign keys
25
+ - Purpose: Complete model functionality for CRUD operations
26
+ - _Leverage: src/models/BaseModel.ts_
27
+ - _Requirements: 2.2, 2.3_
28
+ - _Prompt: Role: Backend Developer with expertise in ORM and database operations | Task: Implement CRUD methods and relationship handling in FeatureModel.ts following requirements 2.2 and 2.3, extending patterns from src/models/BaseModel.ts | Restrictions: Must maintain transaction integrity, follow existing relationship patterns, do not duplicate base model functionality | Success: All CRUD operations work correctly, relationships are properly handled, database operations are atomic and efficient_
29
+
30
+ - [ ] 4. Create model unit tests in tests/models/FeatureModel.test.ts
31
+ - File: tests/models/FeatureModel.test.ts
32
+ - Write tests for model validation and CRUD methods
33
+ - Use existing test utilities and fixtures
34
+ - Purpose: Ensure model reliability and catch regressions
35
+ - _Leverage: tests/helpers/testUtils.ts, tests/fixtures/data.ts_
36
+ - _Requirements: 2.1, 2.2_
37
+ - _Prompt: Role: QA Engineer with expertise in unit testing and Jest/Mocha frameworks | Task: Create comprehensive unit tests for FeatureModel validation and CRUD methods covering requirements 2.1 and 2.2, using existing test utilities from tests/helpers/testUtils.ts and fixtures from tests/fixtures/data.ts | Restrictions: Must test both success and failure scenarios, do not test external dependencies directly, maintain test isolation | Success: All model methods are tested with good coverage, edge cases covered, tests run independently and consistently_
38
+
39
+ - [ ] 5. Create service interface in src/services/IFeatureService.ts
40
+ - File: src/services/IFeatureService.ts
41
+ - Define service contract with method signatures
42
+ - Extend base service interface patterns
43
+ - Purpose: Establish service layer contract for dependency injection
44
+ - _Leverage: src/services/IBaseService.ts_
45
+ - _Requirements: 3.1_
46
+ - _Prompt: Role: Software Architect specializing in service-oriented architecture and TypeScript interfaces | Task: Design service interface contract following requirement 3.1, extending base service patterns from src/services/IBaseService.ts for dependency injection | Restrictions: Must maintain interface segregation principle, do not expose internal implementation details, ensure contract compatibility with DI container | Success: Interface is well-defined with clear method signatures, extends base service appropriately, supports all required service operations_
47
+
48
+ - [ ] 6. Implement feature service in src/services/FeatureService.ts
49
+ - File: src/services/FeatureService.ts
50
+ - Create concrete service implementation using FeatureModel
51
+ - Add error handling with existing error utilities
52
+ - Purpose: Provide business logic layer for feature operations
53
+ - _Leverage: src/services/BaseService.ts, src/utils/errorHandler.ts, src/models/FeatureModel.ts_
54
+ - _Requirements: 3.2_
55
+ - _Prompt: Role: Backend Developer with expertise in service layer architecture and business logic | Task: Implement concrete FeatureService following requirement 3.2, using FeatureModel and extending BaseService patterns with proper error handling from src/utils/errorHandler.ts | Restrictions: Must implement interface contract exactly, do not bypass model validation, maintain separation of concerns from data layer | Success: Service implements all interface methods correctly, robust error handling implemented, business logic is well-encapsulated and testable_
56
+
57
+ - [ ] 7. Add service dependency injection in src/utils/di.ts
58
+ - File: src/utils/di.ts (modify existing)
59
+ - Register FeatureService in dependency injection container
60
+ - Configure service lifetime and dependencies
61
+ - Purpose: Enable service injection throughout application
62
+ - _Leverage: existing DI configuration in src/utils/di.ts_
63
+ - _Requirements: 3.1_
64
+ - _Prompt: Role: DevOps Engineer with expertise in dependency injection and IoC containers | Task: Register FeatureService in DI container following requirement 3.1, configuring appropriate lifetime and dependencies using existing patterns from src/utils/di.ts | Restrictions: Must follow existing DI container patterns, do not create circular dependencies, maintain service resolution efficiency | Success: FeatureService is properly registered and resolvable, dependencies are correctly configured, service lifetime is appropriate for use case_
65
+
66
+ - [ ] 8. Create service unit tests in tests/services/FeatureService.test.ts
67
+ - File: tests/services/FeatureService.test.ts
68
+ - Write tests for service methods with mocked dependencies
69
+ - Test error handling scenarios
70
+ - Purpose: Ensure service reliability and proper error handling
71
+ - _Leverage: tests/helpers/testUtils.ts, tests/mocks/modelMocks.ts_
72
+ - _Requirements: 3.2, 3.3_
73
+ - _Prompt: Role: QA Engineer with expertise in service testing and mocking frameworks | Task: Create comprehensive unit tests for FeatureService methods covering requirements 3.2 and 3.3, using mocked dependencies from tests/mocks/modelMocks.ts and test utilities | Restrictions: Must mock all external dependencies, test business logic in isolation, do not test framework code | Success: All service methods tested with proper mocking, error scenarios covered, tests verify business logic correctness and error handling_
74
+
75
+ - [ ] 4. Create API endpoints
76
+ - Design API structure
77
+ - _Leverage: src/api/baseApi.ts, src/utils/apiUtils.ts_
78
+ - _Requirements: 4.0_
79
+ - _Prompt: Role: API Architect specializing in RESTful design and Express.js | Task: Design comprehensive API structure following requirement 4.0, leveraging existing patterns from src/api/baseApi.ts and utilities from src/utils/apiUtils.ts | Restrictions: Must follow REST conventions, maintain API versioning compatibility, do not expose internal data structures directly | Success: API structure is well-designed and documented, follows existing patterns, supports all required operations with proper HTTP methods and status codes_
80
+
81
+ - [ ] 4.1 Set up routing and middleware
82
+ - Configure application routes
83
+ - Add authentication middleware
84
+ - Set up error handling middleware
85
+ - _Leverage: src/middleware/auth.ts, src/middleware/errorHandler.ts_
86
+ - _Requirements: 4.1_
87
+ - _Prompt: Role: Backend Developer with expertise in Express.js middleware and routing | Task: Configure application routes and middleware following requirement 4.1, integrating authentication from src/middleware/auth.ts and error handling from src/middleware/errorHandler.ts | Restrictions: Must maintain middleware order, do not bypass security middleware, ensure proper error propagation | Success: Routes are properly configured with correct middleware chain, authentication works correctly, errors are handled gracefully throughout the request lifecycle_
88
+
89
+ - [ ] 4.2 Implement CRUD endpoints
90
+ - Create API endpoints
91
+ - Add request validation
92
+ - Write API integration tests
93
+ - _Leverage: src/controllers/BaseController.ts, src/utils/validation.ts_
94
+ - _Requirements: 4.2, 4.3_
95
+ - _Prompt: Role: Full-stack Developer with expertise in API development and validation | Task: Implement CRUD endpoints following requirements 4.2 and 4.3, extending BaseController patterns and using validation utilities from src/utils/validation.ts | Restrictions: Must validate all inputs, follow existing controller patterns, ensure proper HTTP status codes and responses | Success: All CRUD operations work correctly, request validation prevents invalid data, integration tests pass and cover all endpoints_
96
+
97
+ - [ ] 5. Add frontend components
98
+ - Plan component architecture
99
+ - _Leverage: src/components/BaseComponent.tsx, src/styles/theme.ts_
100
+ - _Requirements: 5.0_
101
+ - _Prompt: Role: Frontend Architect with expertise in React component design and architecture | Task: Plan comprehensive component architecture following requirement 5.0, leveraging base patterns from src/components/BaseComponent.tsx and theme system from src/styles/theme.ts | Restrictions: Must follow existing component patterns, maintain design system consistency, ensure component reusability | Success: Architecture is well-planned and documented, components are properly organized, follows existing patterns and theme system_
102
+
103
+ - [ ] 5.1 Create base UI components
104
+ - Set up component structure
105
+ - Implement reusable components
106
+ - Add styling and theming
107
+ - _Leverage: src/components/BaseComponent.tsx, src/styles/theme.ts_
108
+ - _Requirements: 5.1_
109
+ - _Prompt: Role: Frontend Developer specializing in React and component architecture | Task: Create reusable UI components following requirement 5.1, extending BaseComponent patterns and using existing theme system from src/styles/theme.ts | Restrictions: Must use existing theme variables, follow component composition patterns, ensure accessibility compliance | Success: Components are reusable and properly themed, follow existing architecture, accessible and responsive_
110
+
111
+ - [ ] 5.2 Implement feature-specific components
112
+ - Create feature components
113
+ - Add state management
114
+ - Connect to API endpoints
115
+ - _Leverage: src/hooks/useApi.ts, src/components/BaseComponent.tsx_
116
+ - _Requirements: 5.2, 5.3_
117
+ - _Prompt: Role: React Developer with expertise in state management and API integration | Task: Implement feature-specific components following requirements 5.2 and 5.3, using API hooks from src/hooks/useApi.ts and extending BaseComponent patterns | Restrictions: Must use existing state management patterns, handle loading and error states properly, maintain component performance | Success: Components are fully functional with proper state management, API integration works smoothly, user experience is responsive and intuitive_
118
+
119
+ - [ ] 6. Integration and testing
120
+ - Plan integration approach
121
+ - _Leverage: src/utils/integrationUtils.ts, tests/helpers/testUtils.ts_
122
+ - _Requirements: 6.0_
123
+ - _Prompt: Role: Integration Engineer with expertise in system integration and testing strategies | Task: Plan comprehensive integration approach following requirement 6.0, leveraging integration utilities from src/utils/integrationUtils.ts and test helpers | Restrictions: Must consider all system components, ensure proper test coverage, maintain integration test reliability | Success: Integration plan is comprehensive and feasible, all system components work together correctly, integration points are well-tested_
124
+
125
+ - [ ] 6.1 Write end-to-end tests
126
+ - Set up E2E testing framework
127
+ - Write user journey tests
128
+ - Add test automation
129
+ - _Leverage: tests/helpers/testUtils.ts, tests/fixtures/data.ts_
130
+ - _Requirements: All_
131
+ - _Prompt: Role: QA Automation Engineer with expertise in E2E testing and test frameworks like Cypress or Playwright | Task: Implement comprehensive end-to-end tests covering all requirements, setting up testing framework and user journey tests using test utilities and fixtures | Restrictions: Must test real user workflows, ensure tests are maintainable and reliable, do not test implementation details | Success: E2E tests cover all critical user journeys, tests run reliably in CI/CD pipeline, user experience is validated from end-to-end_
132
+
133
+ - [ ] 6.2 Final integration and cleanup
134
+ - Integrate all components
135
+ - Fix any integration issues
136
+ - Clean up code and documentation
137
+ - _Leverage: src/utils/cleanup.ts, docs/templates/_
138
+ - _Requirements: All_
139
+ - _Prompt: Role: Senior Developer with expertise in code quality and system integration | Task: Complete final integration of all components and perform comprehensive cleanup covering all requirements, using cleanup utilities and documentation templates | Restrictions: Must not break existing functionality, ensure code quality standards are met, maintain documentation consistency | Success: All components are fully integrated and working together, code is clean and well-documented, system meets all requirements and quality standards_
@@ -0,0 +1,99 @@
1
+ # Technology Stack
2
+
3
+ ## Project Type
4
+ [Describe what kind of project this is: web application, CLI tool, desktop application, mobile app, library, API service, embedded system, game, etc.]
5
+
6
+ ## Core Technologies
7
+
8
+ ### Primary Language(s)
9
+ - **Language**: [e.g., Python 3.11, Go 1.21, TypeScript, Rust, C++]
10
+ - **Runtime/Compiler**: [if applicable]
11
+ - **Language-specific tools**: [package managers, build tools, etc.]
12
+
13
+ ### Key Dependencies/Libraries
14
+ [List the main libraries and frameworks your project depends on]
15
+ - **[Library/Framework name]**: [Purpose and version]
16
+ - **[Library/Framework name]**: [Purpose and version]
17
+
18
+ ### Application Architecture
19
+ [Describe how your application is structured - this could be MVC, event-driven, plugin-based, client-server, standalone, microservices, monolithic, etc.]
20
+
21
+ ### Data Storage (if applicable)
22
+ - **Primary storage**: [e.g., PostgreSQL, files, in-memory, cloud storage]
23
+ - **Caching**: [e.g., Redis, in-memory, disk cache]
24
+ - **Data formats**: [e.g., JSON, Protocol Buffers, XML, binary]
25
+
26
+ ### External Integrations (if applicable)
27
+ - **APIs**: [External services you integrate with]
28
+ - **Protocols**: [e.g., HTTP/REST, gRPC, WebSocket, TCP/IP]
29
+ - **Authentication**: [e.g., OAuth, API keys, certificates]
30
+
31
+ ### Monitoring & Dashboard Technologies (if applicable)
32
+ - **Dashboard Framework**: [e.g., React, Vue, vanilla JS, terminal UI]
33
+ - **Real-time Communication**: [e.g., WebSocket, Server-Sent Events, polling]
34
+ - **Visualization Libraries**: [e.g., Chart.js, D3, terminal graphs]
35
+ - **State Management**: [e.g., Redux, Vuex, file system as source of truth]
36
+
37
+ ## Development Environment
38
+
39
+ ### Build & Development Tools
40
+ - **Build System**: [e.g., Make, CMake, Gradle, npm scripts, cargo]
41
+ - **Package Management**: [e.g., pip, npm, cargo, go mod, apt, brew]
42
+ - **Development workflow**: [e.g., hot reload, watch mode, REPL]
43
+
44
+ ### Code Quality Tools
45
+ - **Static Analysis**: [Tools for code quality and correctness]
46
+ - **Formatting**: [Code style enforcement tools]
47
+ - **Testing Framework**: [Unit, integration, and/or end-to-end testing tools]
48
+ - **Documentation**: [Documentation generation tools]
49
+
50
+ ### Version Control & Collaboration
51
+ - **VCS**: [e.g., Git, Mercurial, SVN]
52
+ - **Branching Strategy**: [e.g., Git Flow, GitHub Flow, trunk-based]
53
+ - **Code Review Process**: [How code reviews are conducted]
54
+
55
+ ### Dashboard Development (if applicable)
56
+ - **Live Reload**: [e.g., Hot module replacement, file watchers]
57
+ - **Port Management**: [e.g., Dynamic allocation, configurable ports]
58
+ - **Multi-Instance Support**: [e.g., Running multiple dashboards simultaneously]
59
+
60
+ ## Deployment & Distribution (if applicable)
61
+ - **Target Platform(s)**: [Where/how the project runs: cloud, on-premise, desktop, mobile, embedded]
62
+ - **Distribution Method**: [How users get your software: download, package manager, app store, SaaS]
63
+ - **Installation Requirements**: [Prerequisites, system requirements]
64
+ - **Update Mechanism**: [How updates are delivered]
65
+
66
+ ## Technical Requirements & Constraints
67
+
68
+ ### Performance Requirements
69
+ - [e.g., response time, throughput, memory usage, startup time]
70
+ - [Specific benchmarks or targets]
71
+
72
+ ### Compatibility Requirements
73
+ - **Platform Support**: [Operating systems, architectures, versions]
74
+ - **Dependency Versions**: [Minimum/maximum versions of dependencies]
75
+ - **Standards Compliance**: [Industry standards, protocols, specifications]
76
+
77
+ ### Security & Compliance
78
+ - **Security Requirements**: [Authentication, encryption, data protection]
79
+ - **Compliance Standards**: [GDPR, HIPAA, SOC2, etc. if applicable]
80
+ - **Threat Model**: [Key security considerations]
81
+
82
+ ### Scalability & Reliability
83
+ - **Expected Load**: [Users, requests, data volume]
84
+ - **Availability Requirements**: [Uptime targets, disaster recovery]
85
+ - **Growth Projections**: [How the system needs to scale]
86
+
87
+ ## Technical Decisions & Rationale
88
+ [Document key architectural and technology choices]
89
+
90
+ ### Decision Log
91
+ 1. **[Technology/Pattern Choice]**: [Why this was chosen, alternatives considered]
92
+ 2. **[Architecture Decision]**: [Rationale, trade-offs accepted]
93
+ 3. **[Tool/Library Selection]**: [Reasoning, evaluation criteria]
94
+
95
+ ## Known Limitations
96
+ [Document any technical debt, limitations, or areas for improvement]
97
+
98
+ - [Limitation 1]: [Impact and potential future solutions]
99
+ - [Limitation 2]: [Why it exists and when it might be addressed]
@@ -0,0 +1,3 @@
1
+ import { PromptDefinition } from './types.js';
2
+ export declare const createSpecPrompt: PromptDefinition;
3
+ //# sourceMappingURL=create-spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-spec.d.ts","sourceRoot":"","sources":["../../src/prompts/create-spec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAiG9C,eAAO,MAAM,gBAAgB,EAAE,gBAG9B,CAAC"}
@@ -0,0 +1,93 @@
1
+ const prompt = {
2
+ name: 'create-spec',
3
+ title: 'Create Specification Document',
4
+ description: 'Guide for creating spec documents directly in the file system. Shows how to use templates and create requirements, design, or tasks documents at the correct paths.',
5
+ arguments: [
6
+ {
7
+ name: 'specName',
8
+ description: 'Feature name in kebab-case (e.g., user-authentication, data-export)',
9
+ required: true
10
+ },
11
+ {
12
+ name: 'documentType',
13
+ description: 'Type of document to create: requirements, design, or tasks',
14
+ required: true
15
+ },
16
+ {
17
+ name: 'description',
18
+ description: 'Brief description of what this spec should accomplish',
19
+ required: false
20
+ }
21
+ ]
22
+ };
23
+ async function handler(args, context) {
24
+ const { specName, documentType, description } = args;
25
+ if (!specName || !documentType) {
26
+ throw new Error('specName and documentType are required arguments');
27
+ }
28
+ const validDocTypes = ['requirements', 'design', 'tasks'];
29
+ if (!validDocTypes.includes(documentType)) {
30
+ throw new Error(`documentType must be one of: ${validDocTypes.join(', ')}`);
31
+ }
32
+ // Build context-aware messages
33
+ const messages = [
34
+ {
35
+ role: 'user',
36
+ content: {
37
+ type: 'text',
38
+ text: `Create a ${documentType} document for the "${specName}" feature using the spec-workflow methodology.
39
+
40
+ **Context:**
41
+ - Project: ${context.projectPath}
42
+ - Feature: ${specName}
43
+ - Document type: ${documentType}
44
+ ${description ? `- Description: ${description}` : ''}
45
+ ${context.dashboardUrl ? `- Dashboard: ${context.dashboardUrl}` : ''}
46
+
47
+ **Instructions:**
48
+ 1. First, read the template at: .spec-workflow/templates/${documentType}-template.md
49
+ 2. Follow the template structure exactly - this ensures consistency across the project
50
+ 3. Create comprehensive content that follows spec-driven development best practices
51
+ 4. Include all required sections from the template
52
+ 5. Use clear, actionable language
53
+ 6. Create the document at: .spec-workflow/specs/${specName}/${documentType}.md
54
+ 7. After creating, use approvals tool with action:'request' to get user approval
55
+
56
+ **File Paths:**
57
+ - Template location: .spec-workflow/templates/${documentType}-template.md
58
+ - Document destination: .spec-workflow/specs/${specName}/${documentType}.md
59
+
60
+ **Workflow Guidelines:**
61
+ - Requirements documents define WHAT needs to be built
62
+ - Design documents define HOW it will be built
63
+ - Tasks documents break down implementation into actionable steps
64
+ - Each document builds upon the previous one in sequence
65
+ - Templates are automatically updated on server start
66
+
67
+ ${documentType === 'tasks' ? `
68
+ **Special Instructions for Tasks Document:**
69
+ - For each task, generate a _Prompt field with structured AI guidance
70
+ - Format: _Prompt: Role: [role] | Task: [description] | Restrictions: [constraints] | Success: [criteria]
71
+ - Make prompts specific to the project context and requirements
72
+ - Include _Leverage fields pointing to existing code to reuse
73
+ - Include _Requirements fields showing which requirements each task implements
74
+ - Tasks should be atomic (1-3 files each) and in logical order
75
+
76
+ **Implementation Logging:**
77
+ - When implementing tasks, developers will use the log-implementation tool to record what was done
78
+ - Implementation logs appear in the dashboard's "Logs" tab for easy reference
79
+ - These logs prevent implementation details from being lost in chat history
80
+ - Good task descriptions help developers write better implementation summaries
81
+ ` : ''}
82
+
83
+ Please read the ${documentType} template and create the comprehensive document at the specified path.`
84
+ }
85
+ }
86
+ ];
87
+ return messages;
88
+ }
89
+ export const createSpecPrompt = {
90
+ prompt,
91
+ handler
92
+ };
93
+ //# sourceMappingURL=create-spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-spec.js","sourceRoot":"","sources":["../../src/prompts/create-spec.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,GAAW;IACrB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,+BAA+B;IACtC,WAAW,EAAE,qKAAqK;IAClL,SAAS,EAAE;QACT;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qEAAqE;YAClF,QAAQ,EAAE,IAAI;SACf;QACD;YACE,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4DAA4D;YACzE,QAAQ,EAAE,IAAI;SACf;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,uDAAuD;YACpE,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC;AAEF,KAAK,UAAU,OAAO,CAAC,IAAyB,EAAE,OAAoB;IACpE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAErD,IAAI,CAAC,QAAQ,IAAI,CAAC,YAAY,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACtE,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,cAAc,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC1D,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,gCAAgC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,+BAA+B;IAC/B,MAAM,QAAQ,GAAoB;QAChC;YACE,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,YAAY,YAAY,sBAAsB,QAAQ;;;aAGvD,OAAO,CAAC,WAAW;aACnB,QAAQ;mBACF,YAAY;EAC7B,WAAW,CAAC,CAAC,CAAC,kBAAkB,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE;EAClD,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE;;;2DAGT,YAAY;;;;;kDAKrB,QAAQ,IAAI,YAAY;;;;gDAI1B,YAAY;+CACb,QAAQ,IAAI,YAAY;;;;;;;;;EASrE,YAAY,KAAK,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;CAc5B,CAAC,CAAC,CAAC,EAAE;;kBAEY,YAAY,wEAAwE;aAC/F;SACF;KACF,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAqB;IAChD,MAAM;IACN,OAAO;CACR,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PromptDefinition } from './types.js';
2
+ export declare const createSteeringDocPrompt: PromptDefinition;
3
+ //# sourceMappingURL=create-steering-doc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-steering-doc.d.ts","sourceRoot":"","sources":["../../src/prompts/create-steering-doc.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA6E9C,eAAO,MAAM,uBAAuB,EAAE,gBAGrC,CAAC"}
@@ -0,0 +1,73 @@
1
+ const prompt = {
2
+ name: 'create-steering-doc',
3
+ title: 'Create Steering Document',
4
+ description: 'Guide for creating project steering documents (product, tech, structure) directly in the file system. These provide high-level project guidance.',
5
+ arguments: [
6
+ {
7
+ name: 'docType',
8
+ description: 'Type of steering document: product, tech, or structure',
9
+ required: true
10
+ },
11
+ {
12
+ name: 'scope',
13
+ description: 'Scope of the steering document (e.g., frontend, backend, full-stack)',
14
+ required: false
15
+ }
16
+ ]
17
+ };
18
+ async function handler(args, context) {
19
+ const { docType, scope } = args;
20
+ if (!docType) {
21
+ throw new Error('docType is a required argument');
22
+ }
23
+ const validDocTypes = ['product', 'tech', 'structure'];
24
+ if (!validDocTypes.includes(docType)) {
25
+ throw new Error(`docType must be one of: ${validDocTypes.join(', ')}`);
26
+ }
27
+ const messages = [
28
+ {
29
+ role: 'user',
30
+ content: {
31
+ type: 'text',
32
+ text: `Create a ${docType} steering document for the project.
33
+
34
+ **Context:**
35
+ - Project: ${context.projectPath}
36
+ - Steering document type: ${docType}
37
+ ${scope ? `- Scope: ${scope}` : ''}
38
+ ${context.dashboardUrl ? `- Dashboard: ${context.dashboardUrl}` : ''}
39
+
40
+ **Instructions:**
41
+ 1. First, read the template at: .spec-workflow/templates/${docType}-template.md
42
+ 2. Check if steering docs exist at: .spec-workflow/steering/
43
+ 3. Create comprehensive content following the template structure
44
+ 4. Create the document at: .spec-workflow/steering/${docType}.md
45
+ 5. After creating, use approvals tool with action:'request' to get user approval
46
+
47
+ **File Paths:**
48
+ - Template location: .spec-workflow/templates/${docType}-template.md
49
+ - Document destination: .spec-workflow/steering/${docType}.md
50
+
51
+ **Steering Document Types:**
52
+ - **product**: Defines project vision, goals, and user outcomes
53
+ - **tech**: Documents technology decisions and architecture patterns
54
+ - **structure**: Maps codebase organization and conventions
55
+
56
+ **Key Principles:**
57
+ - Be specific and actionable
58
+ - Include examples where helpful
59
+ - Consider both technical and business requirements
60
+ - Provide clear guidance for future development
61
+ - Templates are automatically updated on server start
62
+
63
+ Please read the ${docType} template and create a comprehensive steering document at the specified path.`
64
+ }
65
+ }
66
+ ];
67
+ return messages;
68
+ }
69
+ export const createSteeringDocPrompt = {
70
+ prompt,
71
+ handler
72
+ };
73
+ //# sourceMappingURL=create-steering-doc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-steering-doc.js","sourceRoot":"","sources":["../../src/prompts/create-steering-doc.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,GAAW;IACrB,IAAI,EAAE,qBAAqB;IAC3B,KAAK,EAAE,0BAA0B;IACjC,WAAW,EAAE,kJAAkJ;IAC/J,SAAS,EAAE;QACT;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wDAAwD;YACrE,QAAQ,EAAE,IAAI;SACf;QACD;YACE,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sEAAsE;YACnF,QAAQ,EAAE,KAAK;SAChB;KACF;CACF,CAAC;AAEF,KAAK,UAAU,OAAO,CAAC,IAAyB,EAAE,OAAoB;IACpE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACvD,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CAAC,2BAA2B,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,QAAQ,GAAoB;QAChC;YACE,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE;gBACP,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,YAAY,OAAO;;;aAGpB,OAAO,CAAC,WAAW;4BACJ,OAAO;EACjC,KAAK,CAAC,CAAC,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE;EAChC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE;;;2DAGT,OAAO;;;qDAGb,OAAO;;;;gDAIZ,OAAO;kDACL,OAAO;;;;;;;;;;;;;;kBAcvC,OAAO,+EAA+E;aACjG;SACF;KACF,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAqB;IACvD,MAAM;IACN,OAAO;CACR,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PromptDefinition } from './types.js';
2
+ export declare const implementTaskPrompt: PromptDefinition;
3
+ //# sourceMappingURL=implement-task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"implement-task.d.ts","sourceRoot":"","sources":["../../src/prompts/implement-task.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAgL9C,eAAO,MAAM,mBAAmB,EAAE,gBAGjC,CAAC"}