specweave 1.0.593 → 2.0.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 (1415) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/README.md +65 -88
  3. package/bin/specweave.js +206 -263
  4. package/dist/dashboard/assets/{index-DQb8E2_E.js → index-BiJhGDZV.js} +3 -3
  5. package/dist/dashboard/assets/index-heYRtWFf.css +1 -0
  6. package/dist/dashboard/index.html +2 -2
  7. package/dist/plugins/specweave/lib/integrations/github/github-access-error.js +3 -3
  8. package/dist/plugins/specweave/lib/integrations/github/github-access-error.js.map +1 -1
  9. package/dist/plugins/specweave/lib/integrations/github/github-client-v2.d.ts +5 -4
  10. package/dist/plugins/specweave/lib/integrations/github/github-client-v2.d.ts.map +1 -1
  11. package/dist/plugins/specweave/lib/integrations/github/github-client-v2.js +14 -13
  12. package/dist/plugins/specweave/lib/integrations/github/github-client-v2.js.map +1 -1
  13. package/dist/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js +1 -1
  14. package/dist/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js.map +1 -1
  15. package/dist/plugins/specweave/lib/integrations/github/github-feature-sync.js +2 -2
  16. package/dist/plugins/specweave/lib/integrations/github/github-feature-sync.js.map +1 -1
  17. package/dist/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js +11 -9
  18. package/dist/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js.map +1 -1
  19. package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.d.ts +9 -5
  20. package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +70 -13
  21. package/dist/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
  22. package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.d.ts +7 -3
  23. package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js +16 -12
  24. package/dist/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js.map +1 -1
  25. package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.d.ts +24 -0
  26. package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.js +24 -0
  27. package/dist/plugins/specweave/lib/vendor/core/tasks/task-id.js.map +1 -0
  28. package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.d.ts +86 -35
  29. package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.js +115 -47
  30. package/dist/plugins/specweave/lib/vendor/core/types/increment-metadata.js.map +1 -1
  31. package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.d.ts +18 -2
  32. package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.js +74 -6
  33. package/dist/plugins/specweave/lib/vendor/generators/spec/task-parser.js.map +1 -1
  34. package/dist/plugins/specweave/lib/vendor/sync/config.js +2 -2
  35. package/dist/plugins/specweave/lib/vendor/sync/config.js.map +1 -1
  36. package/dist/plugins/specweave/lib/vendor/sync/github-reconciler.js +2 -2
  37. package/dist/plugins/specweave/lib/vendor/sync/github-reconciler.js.map +1 -1
  38. package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.d.ts +37 -16
  39. package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.js +88 -74
  40. package/dist/plugins/specweave/lib/vendor/utils/auth-helpers.js.map +1 -1
  41. package/dist/src/adapters/adapter-base.d.ts +0 -4
  42. package/dist/src/adapters/adapter-base.d.ts.map +1 -1
  43. package/dist/src/adapters/adapter-base.js +2 -18
  44. package/dist/src/adapters/adapter-base.js.map +1 -1
  45. package/dist/src/adapters/antigravity/adapter.d.ts.map +1 -1
  46. package/dist/src/adapters/antigravity/adapter.js +13 -7
  47. package/dist/src/adapters/antigravity/adapter.js.map +1 -1
  48. package/dist/src/adapters/claude/adapter.d.ts.map +1 -1
  49. package/dist/src/adapters/claude/adapter.js +7 -10
  50. package/dist/src/adapters/claude/adapter.js.map +1 -1
  51. package/dist/src/adapters/codex/adapter.d.ts.map +1 -1
  52. package/dist/src/adapters/codex/adapter.js +13 -7
  53. package/dist/src/adapters/codex/adapter.js.map +1 -1
  54. package/dist/src/adapters/gemini/adapter.d.ts.map +1 -1
  55. package/dist/src/adapters/gemini/adapter.js +13 -7
  56. package/dist/src/adapters/gemini/adapter.js.map +1 -1
  57. package/dist/src/adapters/generic/adapter.d.ts.map +1 -1
  58. package/dist/src/adapters/generic/adapter.js +7 -3
  59. package/dist/src/adapters/generic/adapter.js.map +1 -1
  60. package/dist/src/cli/commands/auto.d.ts.map +1 -1
  61. package/dist/src/cli/commands/auto.js +15 -62
  62. package/dist/src/cli/commands/auto.js.map +1 -1
  63. package/dist/src/cli/commands/check-discipline.d.ts +4 -6
  64. package/dist/src/cli/commands/check-discipline.d.ts.map +1 -1
  65. package/dist/src/cli/commands/check-discipline.js +21 -27
  66. package/dist/src/cli/commands/check-discipline.js.map +1 -1
  67. package/dist/src/cli/commands/complete.d.ts +5 -1
  68. package/dist/src/cli/commands/complete.d.ts.map +1 -1
  69. package/dist/src/cli/commands/complete.js +22 -1
  70. package/dist/src/cli/commands/complete.js.map +1 -1
  71. package/dist/src/cli/commands/create-increment.d.ts +25 -4
  72. package/dist/src/cli/commands/create-increment.d.ts.map +1 -1
  73. package/dist/src/cli/commands/create-increment.js +45 -27
  74. package/dist/src/cli/commands/create-increment.js.map +1 -1
  75. package/dist/src/cli/commands/detect-intent.d.ts.map +1 -1
  76. package/dist/src/cli/commands/detect-intent.js +5 -12
  77. package/dist/src/cli/commands/detect-intent.js.map +1 -1
  78. package/dist/src/cli/commands/detect-project.js +3 -3
  79. package/dist/src/cli/commands/detect-project.js.map +1 -1
  80. package/dist/src/cli/commands/docs.d.ts.map +1 -1
  81. package/dist/src/cli/commands/docs.js +0 -80
  82. package/dist/src/cli/commands/docs.js.map +1 -1
  83. package/dist/src/cli/commands/doctor.d.ts +11 -0
  84. package/dist/src/cli/commands/doctor.d.ts.map +1 -1
  85. package/dist/src/cli/commands/doctor.js +28 -0
  86. package/dist/src/cli/commands/doctor.js.map +1 -1
  87. package/dist/src/cli/commands/export-skills.d.ts +45 -0
  88. package/dist/src/cli/commands/export-skills.d.ts.map +1 -1
  89. package/dist/src/cli/commands/export-skills.js +26 -6
  90. package/dist/src/cli/commands/export-skills.js.map +1 -1
  91. package/dist/src/cli/commands/gc.d.ts +13 -0
  92. package/dist/src/cli/commands/gc.d.ts.map +1 -0
  93. package/dist/src/cli/commands/gc.js +47 -0
  94. package/dist/src/cli/commands/gc.js.map +1 -0
  95. package/dist/src/cli/commands/hook.d.ts +6 -8
  96. package/dist/src/cli/commands/hook.d.ts.map +1 -1
  97. package/dist/src/cli/commands/hook.js +38 -38
  98. package/dist/src/cli/commands/hook.js.map +1 -1
  99. package/dist/src/cli/commands/hooks-cmd.d.ts +11 -15
  100. package/dist/src/cli/commands/hooks-cmd.d.ts.map +1 -1
  101. package/dist/src/cli/commands/hooks-cmd.js +37 -128
  102. package/dist/src/cli/commands/hooks-cmd.js.map +1 -1
  103. package/dist/src/cli/commands/init.d.ts.map +1 -1
  104. package/dist/src/cli/commands/init.js +12 -33
  105. package/dist/src/cli/commands/init.js.map +1 -1
  106. package/dist/src/cli/commands/interview.js +5 -5
  107. package/dist/src/cli/commands/interview.js.map +1 -1
  108. package/dist/src/cli/commands/plan/increment-detector.js +1 -1
  109. package/dist/src/cli/commands/plan/increment-detector.js.map +1 -1
  110. package/dist/src/cli/commands/plan/plan-orchestrator.js +2 -2
  111. package/dist/src/cli/commands/plan/plan-orchestrator.js.map +1 -1
  112. package/dist/src/cli/commands/refresh-plugins.d.ts.map +1 -1
  113. package/dist/src/cli/commands/refresh-plugins.js +0 -16
  114. package/dist/src/cli/commands/refresh-plugins.js.map +1 -1
  115. package/dist/src/cli/commands/resume.d.ts +1 -6
  116. package/dist/src/cli/commands/resume.d.ts.map +1 -1
  117. package/dist/src/cli/commands/resume.js +2 -6
  118. package/dist/src/cli/commands/resume.js.map +1 -1
  119. package/dist/src/cli/commands/session.d.ts +1 -1
  120. package/dist/src/cli/commands/session.d.ts.map +1 -1
  121. package/dist/src/cli/commands/session.js +2 -26
  122. package/dist/src/cli/commands/session.js.map +1 -1
  123. package/dist/src/cli/commands/start.d.ts +10 -0
  124. package/dist/src/cli/commands/start.d.ts.map +1 -0
  125. package/dist/src/cli/commands/start.js +13 -0
  126. package/dist/src/cli/commands/start.js.map +1 -0
  127. package/dist/src/cli/commands/sync-gaps.d.ts +2 -13
  128. package/dist/src/cli/commands/sync-gaps.d.ts.map +1 -1
  129. package/dist/src/cli/commands/sync-gaps.js +2 -51
  130. package/dist/src/cli/commands/sync-gaps.js.map +1 -1
  131. package/dist/src/cli/commands/sync-health.d.ts +5 -1
  132. package/dist/src/cli/commands/sync-health.d.ts.map +1 -1
  133. package/dist/src/cli/commands/sync-health.js +7 -5
  134. package/dist/src/cli/commands/sync-health.js.map +1 -1
  135. package/dist/src/cli/commands/sync-living-docs.js +1 -1
  136. package/dist/src/cli/commands/sync-living-docs.js.map +1 -1
  137. package/dist/src/cli/commands/sync-progress.js +5 -5
  138. package/dist/src/cli/commands/sync-progress.js.map +1 -1
  139. package/dist/src/cli/commands/sync-setup.d.ts +2 -1
  140. package/dist/src/cli/commands/sync-setup.d.ts.map +1 -1
  141. package/dist/src/cli/commands/sync-setup.js +7 -6
  142. package/dist/src/cli/commands/sync-setup.js.map +1 -1
  143. package/dist/src/cli/commands/sync-status.js +1 -1
  144. package/dist/src/cli/commands/sync-status.js.map +1 -1
  145. package/dist/src/cli/commands/sync.d.ts +125 -0
  146. package/dist/src/cli/commands/sync.d.ts.map +1 -0
  147. package/dist/src/cli/commands/sync.js +323 -0
  148. package/dist/src/cli/commands/sync.js.map +1 -0
  149. package/dist/src/cli/commands/task.d.ts +41 -0
  150. package/dist/src/cli/commands/task.d.ts.map +1 -0
  151. package/dist/src/cli/commands/task.js +325 -0
  152. package/dist/src/cli/commands/task.js.map +1 -0
  153. package/dist/src/cli/commands/update-instructions.d.ts +4 -2
  154. package/dist/src/cli/commands/update-instructions.d.ts.map +1 -1
  155. package/dist/src/cli/commands/update-instructions.js +87 -160
  156. package/dist/src/cli/commands/update-instructions.js.map +1 -1
  157. package/dist/src/cli/commands/update.d.ts +5 -12
  158. package/dist/src/cli/commands/update.d.ts.map +1 -1
  159. package/dist/src/cli/commands/update.js +140 -174
  160. package/dist/src/cli/commands/update.js.map +1 -1
  161. package/dist/src/cli/commands/verify.d.ts +15 -0
  162. package/dist/src/cli/commands/verify.d.ts.map +1 -0
  163. package/dist/src/cli/commands/verify.js +57 -0
  164. package/dist/src/cli/commands/verify.js.map +1 -0
  165. package/dist/src/cli/helpers/get/bulk-get.d.ts +3 -3
  166. package/dist/src/cli/helpers/get/bulk-get.d.ts.map +1 -1
  167. package/dist/src/cli/helpers/get/bulk-get.js +8 -11
  168. package/dist/src/cli/helpers/get/bulk-get.js.map +1 -1
  169. package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js +1 -1
  170. package/dist/src/cli/helpers/init/bitbucket-repo-cloning.js.map +1 -1
  171. package/dist/src/cli/helpers/init/directory-structure.d.ts +9 -2
  172. package/dist/src/cli/helpers/init/directory-structure.d.ts.map +1 -1
  173. package/dist/src/cli/helpers/init/directory-structure.js +74 -156
  174. package/dist/src/cli/helpers/init/directory-structure.js.map +1 -1
  175. package/dist/src/cli/helpers/init/external-import.js +1 -1
  176. package/dist/src/cli/helpers/init/external-import.js.map +1 -1
  177. package/dist/src/cli/helpers/init/git-hooks-installer.d.ts +58 -0
  178. package/dist/src/cli/helpers/init/git-hooks-installer.d.ts.map +1 -1
  179. package/dist/src/cli/helpers/init/git-hooks-installer.js +112 -8
  180. package/dist/src/cli/helpers/init/git-hooks-installer.js.map +1 -1
  181. package/dist/src/cli/helpers/init/gitignore-generator.d.ts +13 -0
  182. package/dist/src/cli/helpers/init/gitignore-generator.d.ts.map +1 -1
  183. package/dist/src/cli/helpers/init/gitignore-generator.js +40 -0
  184. package/dist/src/cli/helpers/init/gitignore-generator.js.map +1 -1
  185. package/dist/src/cli/helpers/init/index.d.ts +1 -1
  186. package/dist/src/cli/helpers/init/index.d.ts.map +1 -1
  187. package/dist/src/cli/helpers/init/index.js +1 -1
  188. package/dist/src/cli/helpers/init/index.js.map +1 -1
  189. package/dist/src/cli/helpers/init/instruction-file-merger.d.ts +86 -7
  190. package/dist/src/cli/helpers/init/instruction-file-merger.d.ts.map +1 -1
  191. package/dist/src/cli/helpers/init/instruction-file-merger.js +641 -202
  192. package/dist/src/cli/helpers/init/instruction-file-merger.js.map +1 -1
  193. package/dist/src/cli/helpers/init/instruction-file-writer.d.ts +53 -0
  194. package/dist/src/cli/helpers/init/instruction-file-writer.d.ts.map +1 -0
  195. package/dist/src/cli/helpers/init/instruction-file-writer.js +85 -0
  196. package/dist/src/cli/helpers/init/instruction-file-writer.js.map +1 -0
  197. package/dist/src/cli/helpers/init/plugin-installer.d.ts.map +1 -1
  198. package/dist/src/cli/helpers/init/plugin-installer.js +9 -4
  199. package/dist/src/cli/helpers/init/plugin-installer.js.map +1 -1
  200. package/dist/src/cli/helpers/init/provider-detection.d.ts +3 -2
  201. package/dist/src/cli/helpers/init/provider-detection.d.ts.map +1 -1
  202. package/dist/src/cli/helpers/init/provider-detection.js +5 -17
  203. package/dist/src/cli/helpers/init/provider-detection.js.map +1 -1
  204. package/dist/src/cli/helpers/init/skill-creator-installer.d.ts +21 -4
  205. package/dist/src/cli/helpers/init/skill-creator-installer.d.ts.map +1 -1
  206. package/dist/src/cli/helpers/init/skill-creator-installer.js +30 -8
  207. package/dist/src/cli/helpers/init/skill-creator-installer.js.map +1 -1
  208. package/dist/src/cli/helpers/init/smart-defaults.d.ts +2 -3
  209. package/dist/src/cli/helpers/init/smart-defaults.d.ts.map +1 -1
  210. package/dist/src/cli/helpers/init/smart-defaults.js +14 -57
  211. package/dist/src/cli/helpers/init/smart-defaults.js.map +1 -1
  212. package/dist/src/cli/helpers/init/stack-detector.d.ts +20 -0
  213. package/dist/src/cli/helpers/init/stack-detector.d.ts.map +1 -0
  214. package/dist/src/cli/helpers/init/stack-detector.js +169 -0
  215. package/dist/src/cli/helpers/init/stack-detector.js.map +1 -0
  216. package/dist/src/cli/helpers/init/summary-banner.d.ts +1 -3
  217. package/dist/src/cli/helpers/init/summary-banner.d.ts.map +1 -1
  218. package/dist/src/cli/helpers/init/summary-banner.js +9 -9
  219. package/dist/src/cli/helpers/init/summary-banner.js.map +1 -1
  220. package/dist/src/cli/helpers/init/testing-config.js +3 -3
  221. package/dist/src/cli/helpers/init/testing-config.js.map +1 -1
  222. package/dist/src/cli/helpers/init/types.d.ts +3 -3
  223. package/dist/src/cli/helpers/init/types.d.ts.map +1 -1
  224. package/dist/src/cli/helpers/init/workspace-setup.d.ts +13 -0
  225. package/dist/src/cli/helpers/init/workspace-setup.d.ts.map +1 -1
  226. package/dist/src/cli/helpers/init/workspace-setup.js +30 -0
  227. package/dist/src/cli/helpers/init/workspace-setup.js.map +1 -1
  228. package/dist/src/cli/helpers/issue-tracker/ado.js +2 -2
  229. package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -1
  230. package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -1
  231. package/dist/src/cli/helpers/issue-tracker/github.js +3 -4
  232. package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -1
  233. package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -1
  234. package/dist/src/cli/helpers/issue-tracker/index.js +4 -9
  235. package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
  236. package/dist/src/cli/helpers/issue-tracker/sync-config-writer.d.ts.map +1 -1
  237. package/dist/src/cli/helpers/issue-tracker/sync-config-writer.js +7 -12
  238. package/dist/src/cli/helpers/issue-tracker/sync-config-writer.js.map +1 -1
  239. package/dist/src/config/types.d.ts +2 -2
  240. package/dist/src/core/config/config-manager.d.ts +8 -0
  241. package/dist/src/core/config/config-manager.d.ts.map +1 -1
  242. package/dist/src/core/config/config-manager.js +74 -1
  243. package/dist/src/core/config/config-manager.js.map +1 -1
  244. package/dist/src/core/config/index.d.ts +3 -0
  245. package/dist/src/core/config/index.d.ts.map +1 -1
  246. package/dist/src/core/config/index.js +3 -0
  247. package/dist/src/core/config/index.js.map +1 -1
  248. package/dist/src/core/config/limits-migrator.d.ts +11 -0
  249. package/dist/src/core/config/limits-migrator.d.ts.map +1 -0
  250. package/dist/src/core/config/limits-migrator.js +38 -0
  251. package/dist/src/core/config/limits-migrator.js.map +1 -0
  252. package/dist/src/core/config/migrate-config-file.d.ts +51 -0
  253. package/dist/src/core/config/migrate-config-file.d.ts.map +1 -0
  254. package/dist/src/core/config/migrate-config-file.js +95 -0
  255. package/dist/src/core/config/migrate-config-file.js.map +1 -0
  256. package/dist/src/core/config/migrate-to-2.d.ts +60 -0
  257. package/dist/src/core/config/migrate-to-2.d.ts.map +1 -0
  258. package/dist/src/core/config/migrate-to-2.js +185 -0
  259. package/dist/src/core/config/migrate-to-2.js.map +1 -0
  260. package/dist/src/core/config/schema-version.d.ts +12 -0
  261. package/dist/src/core/config/schema-version.d.ts.map +1 -0
  262. package/dist/src/core/config/schema-version.js +12 -0
  263. package/dist/src/core/config/schema-version.js.map +1 -0
  264. package/dist/src/core/config/types.d.ts +81 -422
  265. package/dist/src/core/config/types.d.ts.map +1 -1
  266. package/dist/src/core/config/types.js +31 -163
  267. package/dist/src/core/config/types.js.map +1 -1
  268. package/dist/src/core/discrepancy/increment-generator.js +1 -1
  269. package/dist/src/core/discrepancy/increment-generator.js.map +1 -1
  270. package/dist/src/core/doctor/checkers/configuration-checker.d.ts +6 -2
  271. package/dist/src/core/doctor/checkers/configuration-checker.d.ts.map +1 -1
  272. package/dist/src/core/doctor/checkers/configuration-checker.js +58 -79
  273. package/dist/src/core/doctor/checkers/configuration-checker.js.map +1 -1
  274. package/dist/src/core/doctor/checkers/environment-checker.d.ts.map +1 -1
  275. package/dist/src/core/doctor/checkers/environment-checker.js +18 -8
  276. package/dist/src/core/doctor/checkers/environment-checker.js.map +1 -1
  277. package/dist/src/core/doctor/checkers/git-checker.d.ts +7 -0
  278. package/dist/src/core/doctor/checkers/git-checker.d.ts.map +1 -1
  279. package/dist/src/core/doctor/checkers/git-checker.js +73 -0
  280. package/dist/src/core/doctor/checkers/git-checker.js.map +1 -1
  281. package/dist/src/core/doctor/checkers/hooks-checker.d.ts +13 -5
  282. package/dist/src/core/doctor/checkers/hooks-checker.d.ts.map +1 -1
  283. package/dist/src/core/doctor/checkers/hooks-checker.js +104 -129
  284. package/dist/src/core/doctor/checkers/hooks-checker.js.map +1 -1
  285. package/dist/src/core/doctor/checkers/hygiene-checker.d.ts +21 -0
  286. package/dist/src/core/doctor/checkers/hygiene-checker.d.ts.map +1 -0
  287. package/dist/src/core/doctor/checkers/hygiene-checker.js +110 -0
  288. package/dist/src/core/doctor/checkers/hygiene-checker.js.map +1 -0
  289. package/dist/src/core/doctor/checkers/increments-checker.js +1 -1
  290. package/dist/src/core/doctor/checkers/increments-checker.js.map +1 -1
  291. package/dist/src/core/doctor/checkers/installation-health-checker.d.ts +66 -5
  292. package/dist/src/core/doctor/checkers/installation-health-checker.d.ts.map +1 -1
  293. package/dist/src/core/doctor/checkers/installation-health-checker.js +237 -78
  294. package/dist/src/core/doctor/checkers/installation-health-checker.js.map +1 -1
  295. package/dist/src/core/doctor/checkers/instruction-files-checker.d.ts +33 -0
  296. package/dist/src/core/doctor/checkers/instruction-files-checker.d.ts.map +1 -0
  297. package/dist/src/core/doctor/checkers/instruction-files-checker.js +186 -0
  298. package/dist/src/core/doctor/checkers/instruction-files-checker.js.map +1 -0
  299. package/dist/src/core/doctor/checkers/project-structure-checker.d.ts.map +1 -1
  300. package/dist/src/core/doctor/checkers/project-structure-checker.js +6 -5
  301. package/dist/src/core/doctor/checkers/project-structure-checker.js.map +1 -1
  302. package/dist/src/core/doctor/doctor.js +5 -5
  303. package/dist/src/core/doctor/doctor.js.map +1 -1
  304. package/dist/src/core/doctor/types.d.ts +2 -0
  305. package/dist/src/core/doctor/types.d.ts.map +1 -1
  306. package/dist/src/core/doctor/types.js.map +1 -1
  307. package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts +3 -11
  308. package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts.map +1 -1
  309. package/dist/src/core/hooks/LifecycleHookDispatcher.js +27 -82
  310. package/dist/src/core/hooks/LifecycleHookDispatcher.js.map +1 -1
  311. package/dist/src/core/hooks/handlers/hook-router.d.ts +10 -7
  312. package/dist/src/core/hooks/handlers/hook-router.d.ts.map +1 -1
  313. package/dist/src/core/hooks/handlers/hook-router.js +47 -93
  314. package/dist/src/core/hooks/handlers/hook-router.js.map +1 -1
  315. package/dist/src/core/hooks/handlers/index.d.ts +4 -4
  316. package/dist/src/core/hooks/handlers/index.d.ts.map +1 -1
  317. package/dist/src/core/hooks/handlers/index.js +3 -3
  318. package/dist/src/core/hooks/handlers/index.js.map +1 -1
  319. package/dist/src/core/hooks/handlers/pre-compact.d.ts +14 -24
  320. package/dist/src/core/hooks/handlers/pre-compact.d.ts.map +1 -1
  321. package/dist/src/core/hooks/handlers/pre-compact.js +58 -89
  322. package/dist/src/core/hooks/handlers/pre-compact.js.map +1 -1
  323. package/dist/src/core/hooks/handlers/pre-tool-use.d.ts +9 -4
  324. package/dist/src/core/hooks/handlers/pre-tool-use.d.ts.map +1 -1
  325. package/dist/src/core/hooks/handlers/pre-tool-use.js +40 -346
  326. package/dist/src/core/hooks/handlers/pre-tool-use.js.map +1 -1
  327. package/dist/src/core/hooks/handlers/session-start.d.ts +11 -3
  328. package/dist/src/core/hooks/handlers/session-start.d.ts.map +1 -1
  329. package/dist/src/core/hooks/handlers/session-start.js +131 -78
  330. package/dist/src/core/hooks/handlers/session-start.js.map +1 -1
  331. package/dist/src/core/hooks/handlers/stop.d.ts +24 -0
  332. package/dist/src/core/hooks/handlers/stop.d.ts.map +1 -0
  333. package/dist/src/core/hooks/handlers/stop.js +184 -0
  334. package/dist/src/core/hooks/handlers/stop.js.map +1 -0
  335. package/dist/src/core/hooks/handlers/types.d.ts +61 -41
  336. package/dist/src/core/hooks/handlers/types.d.ts.map +1 -1
  337. package/dist/src/core/hooks/handlers/types.js +100 -16
  338. package/dist/src/core/hooks/handlers/types.js.map +1 -1
  339. package/dist/src/core/hooks/handlers/utils.d.ts +27 -9
  340. package/dist/src/core/hooks/handlers/utils.d.ts.map +1 -1
  341. package/dist/src/core/hooks/handlers/utils.js +86 -26
  342. package/dist/src/core/hooks/handlers/utils.js.map +1 -1
  343. package/dist/src/core/increment/auto-transition-manager.d.ts.map +1 -1
  344. package/dist/src/core/increment/auto-transition-manager.js +11 -9
  345. package/dist/src/core/increment/auto-transition-manager.js.map +1 -1
  346. package/dist/src/core/increment/completion-validator.d.ts +8 -20
  347. package/dist/src/core/increment/completion-validator.d.ts.map +1 -1
  348. package/dist/src/core/increment/completion-validator.js +43 -239
  349. package/dist/src/core/increment/completion-validator.js.map +1 -1
  350. package/dist/src/core/increment/discipline-checker.d.ts +17 -38
  351. package/dist/src/core/increment/discipline-checker.d.ts.map +1 -1
  352. package/dist/src/core/increment/discipline-checker.js +49 -143
  353. package/dist/src/core/increment/discipline-checker.js.map +1 -1
  354. package/dist/src/core/increment/increment-artifacts.d.ts +38 -0
  355. package/dist/src/core/increment/increment-artifacts.d.ts.map +1 -0
  356. package/dist/src/core/increment/increment-artifacts.js +57 -0
  357. package/dist/src/core/increment/increment-artifacts.js.map +1 -0
  358. package/dist/src/core/increment/increment-reopener.d.ts +0 -27
  359. package/dist/src/core/increment/increment-reopener.d.ts.map +1 -1
  360. package/dist/src/core/increment/increment-reopener.js +3 -55
  361. package/dist/src/core/increment/increment-reopener.js.map +1 -1
  362. package/dist/src/core/increment/metadata-manager.d.ts +9 -5
  363. package/dist/src/core/increment/metadata-manager.d.ts.map +1 -1
  364. package/dist/src/core/increment/metadata-manager.js +70 -13
  365. package/dist/src/core/increment/metadata-manager.js.map +1 -1
  366. package/dist/src/core/increment/spec-frontmatter-updater.d.ts.map +1 -1
  367. package/dist/src/core/increment/spec-frontmatter-updater.js +11 -3
  368. package/dist/src/core/increment/spec-frontmatter-updater.js.map +1 -1
  369. package/dist/src/core/increment/status-auto-transition.d.ts +7 -3
  370. package/dist/src/core/increment/status-auto-transition.d.ts.map +1 -1
  371. package/dist/src/core/increment/status-auto-transition.js +16 -12
  372. package/dist/src/core/increment/status-auto-transition.js.map +1 -1
  373. package/dist/src/core/increment/status-change-sync-trigger.d.ts +0 -5
  374. package/dist/src/core/increment/status-change-sync-trigger.d.ts.map +1 -1
  375. package/dist/src/core/increment/status-change-sync-trigger.js +42 -39
  376. package/dist/src/core/increment/status-change-sync-trigger.js.map +1 -1
  377. package/dist/src/core/increment/status-commands.d.ts +21 -1
  378. package/dist/src/core/increment/status-commands.d.ts.map +1 -1
  379. package/dist/src/core/increment/status-commands.js +167 -88
  380. package/dist/src/core/increment/status-commands.js.map +1 -1
  381. package/dist/src/core/increment/template-creator.d.ts +24 -0
  382. package/dist/src/core/increment/template-creator.d.ts.map +1 -1
  383. package/dist/src/core/increment/template-creator.js +127 -175
  384. package/dist/src/core/increment/template-creator.js.map +1 -1
  385. package/dist/src/core/increment/types.d.ts +7 -21
  386. package/dist/src/core/increment/types.d.ts.map +1 -1
  387. package/dist/src/core/increment/types.js +1 -2
  388. package/dist/src/core/increment/types.js.map +1 -1
  389. package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts +7 -4
  390. package/dist/src/core/lazy-loading/llm-plugin-detector.d.ts.map +1 -1
  391. package/dist/src/core/lazy-loading/llm-plugin-detector.js +14 -17
  392. package/dist/src/core/lazy-loading/llm-plugin-detector.js.map +1 -1
  393. package/dist/src/core/living-docs/intelligent-analyzer/index.d.ts +0 -6
  394. package/dist/src/core/living-docs/intelligent-analyzer/index.d.ts.map +1 -1
  395. package/dist/src/core/living-docs/intelligent-analyzer/index.js +1 -153
  396. package/dist/src/core/living-docs/intelligent-analyzer/index.js.map +1 -1
  397. package/dist/src/core/living-docs/living-docs-enabled.d.ts +21 -0
  398. package/dist/src/core/living-docs/living-docs-enabled.d.ts.map +1 -0
  399. package/dist/src/core/living-docs/living-docs-enabled.js +31 -0
  400. package/dist/src/core/living-docs/living-docs-enabled.js.map +1 -0
  401. package/dist/src/core/living-docs/living-docs-sync.d.ts +9 -11
  402. package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
  403. package/dist/src/core/living-docs/living-docs-sync.js +30 -49
  404. package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
  405. package/dist/src/core/living-docs/types.d.ts +7 -0
  406. package/dist/src/core/living-docs/types.d.ts.map +1 -1
  407. package/dist/src/core/qa/qa-runner.d.ts.map +1 -1
  408. package/dist/src/core/qa/qa-runner.js +7 -26
  409. package/dist/src/core/qa/qa-runner.js.map +1 -1
  410. package/dist/src/core/repo-structure/setup-summary.js +1 -1
  411. package/dist/src/core/repo-structure/setup-summary.js.map +1 -1
  412. package/dist/src/core/rubric/rubric-evaluator.d.ts +2 -0
  413. package/dist/src/core/rubric/rubric-evaluator.d.ts.map +1 -1
  414. package/dist/src/core/rubric/rubric-evaluator.js +33 -0
  415. package/dist/src/core/rubric/rubric-evaluator.js.map +1 -1
  416. package/dist/src/core/rubric/rubric-generator.d.ts.map +1 -1
  417. package/dist/src/core/rubric/rubric-generator.js +8 -15
  418. package/dist/src/core/rubric/rubric-generator.js.map +1 -1
  419. package/dist/src/core/rubric/rubric-parser.js +1 -1
  420. package/dist/src/core/rubric/rubric-parser.js.map +1 -1
  421. package/dist/src/core/rubric/types.d.ts +8 -2
  422. package/dist/src/core/rubric/types.d.ts.map +1 -1
  423. package/dist/src/core/rubric/types.js.map +1 -1
  424. package/dist/src/core/session/handoff-doc-format.d.ts +37 -108
  425. package/dist/src/core/session/handoff-doc-format.d.ts.map +1 -1
  426. package/dist/src/core/session/handoff-doc-format.js +84 -179
  427. package/dist/src/core/session/handoff-doc-format.js.map +1 -1
  428. package/dist/src/core/session/install-handoff-context.d.ts.map +1 -1
  429. package/dist/src/core/session/install-handoff-context.js +15 -24
  430. package/dist/src/core/session/install-handoff-context.js.map +1 -1
  431. package/dist/src/core/session/work-handoff.d.ts +21 -55
  432. package/dist/src/core/session/work-handoff.d.ts.map +1 -1
  433. package/dist/src/core/session/work-handoff.js +146 -261
  434. package/dist/src/core/session/work-handoff.js.map +1 -1
  435. package/dist/src/core/skill-gen/types.d.ts +23 -1
  436. package/dist/src/core/skill-gen/types.d.ts.map +1 -1
  437. package/dist/src/core/skill-gen/types.js +1 -1
  438. package/dist/src/core/skills/skill-judge.d.ts +0 -7
  439. package/dist/src/core/skills/skill-judge.d.ts.map +1 -1
  440. package/dist/src/core/skills/skill-judge.js +10 -3
  441. package/dist/src/core/skills/skill-judge.js.map +1 -1
  442. package/dist/src/core/state/state-gc.d.ts +65 -0
  443. package/dist/src/core/state/state-gc.d.ts.map +1 -0
  444. package/dist/src/core/state/state-gc.js +234 -0
  445. package/dist/src/core/state/state-gc.js.map +1 -0
  446. package/dist/src/core/status-line/status-line-updater.d.ts.map +1 -1
  447. package/dist/src/core/status-line/status-line-updater.js +1 -0
  448. package/dist/src/core/status-line/status-line-updater.js.map +1 -1
  449. package/dist/src/core/status-line-validator.js +2 -2
  450. package/dist/src/core/status-line-validator.js.map +1 -1
  451. package/dist/src/core/tasks/closure-gate.d.ts +27 -0
  452. package/dist/src/core/tasks/closure-gate.d.ts.map +1 -0
  453. package/dist/src/core/tasks/closure-gate.js +72 -0
  454. package/dist/src/core/tasks/closure-gate.js.map +1 -0
  455. package/dist/src/core/tasks/increment-updated.d.ts +27 -0
  456. package/dist/src/core/tasks/increment-updated.d.ts.map +1 -0
  457. package/dist/src/core/tasks/increment-updated.js +47 -0
  458. package/dist/src/core/tasks/increment-updated.js.map +1 -0
  459. package/dist/src/core/tasks/ledger.d.ts +115 -0
  460. package/dist/src/core/tasks/ledger.d.ts.map +1 -0
  461. package/dist/src/core/tasks/ledger.js +250 -0
  462. package/dist/src/core/tasks/ledger.js.map +1 -0
  463. package/dist/src/core/tasks/resolve-increment.d.ts +47 -0
  464. package/dist/src/core/tasks/resolve-increment.d.ts.map +1 -0
  465. package/dist/src/core/tasks/resolve-increment.js +153 -0
  466. package/dist/src/core/tasks/resolve-increment.js.map +1 -0
  467. package/dist/src/core/tasks/run-shell.d.ts +27 -0
  468. package/dist/src/core/tasks/run-shell.d.ts.map +1 -0
  469. package/dist/src/core/tasks/run-shell.js +67 -0
  470. package/dist/src/core/tasks/run-shell.js.map +1 -0
  471. package/dist/src/core/tasks/supersede.d.ts +24 -0
  472. package/dist/src/core/tasks/supersede.d.ts.map +1 -0
  473. package/dist/src/core/tasks/supersede.js +86 -0
  474. package/dist/src/core/tasks/supersede.js.map +1 -0
  475. package/dist/src/core/tasks/task-board.d.ts +75 -0
  476. package/dist/src/core/tasks/task-board.d.ts.map +1 -0
  477. package/dist/src/core/tasks/task-board.js +259 -0
  478. package/dist/src/core/tasks/task-board.js.map +1 -0
  479. package/dist/src/core/tasks/task-id.d.ts +24 -0
  480. package/dist/src/core/tasks/task-id.d.ts.map +1 -0
  481. package/dist/src/core/tasks/task-id.js +24 -0
  482. package/dist/src/core/tasks/task-id.js.map +1 -0
  483. package/dist/src/core/tasks/verify-runner.d.ts +87 -0
  484. package/dist/src/core/tasks/verify-runner.d.ts.map +1 -0
  485. package/dist/src/core/tasks/verify-runner.js +166 -0
  486. package/dist/src/core/tasks/verify-runner.js.map +1 -0
  487. package/dist/src/core/team-lead/template-loader.js +1 -1
  488. package/dist/src/core/team-lead/template-loader.js.map +1 -1
  489. package/dist/src/core/types/increment-metadata.d.ts +86 -35
  490. package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
  491. package/dist/src/core/types/increment-metadata.js +115 -47
  492. package/dist/src/core/types/increment-metadata.js.map +1 -1
  493. package/dist/src/core/validation/increment-structure-validator.d.ts +2 -1
  494. package/dist/src/core/validation/increment-structure-validator.d.ts.map +1 -1
  495. package/dist/src/core/validation/increment-structure-validator.js +3 -13
  496. package/dist/src/core/validation/increment-structure-validator.js.map +1 -1
  497. package/dist/src/dashboard/server/dashboard-server.d.ts.map +1 -1
  498. package/dist/src/dashboard/server/dashboard-server.js +12 -19
  499. package/dist/src/dashboard/server/dashboard-server.js.map +1 -1
  500. package/dist/src/dashboard/server/data/dashboard-data-aggregator.js +1 -1
  501. package/dist/src/dashboard/server/data/dashboard-data-aggregator.js.map +1 -1
  502. package/dist/src/generators/spec/task-parser.d.ts +18 -2
  503. package/dist/src/generators/spec/task-parser.d.ts.map +1 -1
  504. package/dist/src/generators/spec/task-parser.js +74 -6
  505. package/dist/src/generators/spec/task-parser.js.map +1 -1
  506. package/dist/src/importers/github-importer.d.ts.map +1 -1
  507. package/dist/src/importers/github-importer.js +6 -4
  508. package/dist/src/importers/github-importer.js.map +1 -1
  509. package/dist/src/importers/import-to-increment.js +2 -2
  510. package/dist/src/importers/import-to-increment.js.map +1 -1
  511. package/dist/src/init/research/types.d.ts +1 -1
  512. package/dist/src/progress/us-progress-tracker.d.ts +4 -0
  513. package/dist/src/progress/us-progress-tracker.d.ts.map +1 -1
  514. package/dist/src/progress/us-progress-tracker.js +10 -3
  515. package/dist/src/progress/us-progress-tracker.js.map +1 -1
  516. package/dist/src/sync/config.js +2 -2
  517. package/dist/src/sync/config.js.map +1 -1
  518. package/dist/src/sync/external-sync-configured.d.ts +23 -0
  519. package/dist/src/sync/external-sync-configured.d.ts.map +1 -0
  520. package/dist/src/sync/external-sync-configured.js +51 -0
  521. package/dist/src/sync/external-sync-configured.js.map +1 -0
  522. package/dist/src/sync/github-reconciler.js +2 -2
  523. package/dist/src/sync/github-reconciler.js.map +1 -1
  524. package/dist/src/sync/sync-coordinator.js +4 -4
  525. package/dist/src/sync/sync-coordinator.js.map +1 -1
  526. package/dist/src/sync/sync-target-resolver.js +1 -1
  527. package/dist/src/sync/sync-target-resolver.js.map +1 -1
  528. package/dist/src/utils/auth-helpers.d.ts +37 -16
  529. package/dist/src/utils/auth-helpers.d.ts.map +1 -1
  530. package/dist/src/utils/auth-helpers.js +88 -74
  531. package/dist/src/utils/auth-helpers.js.map +1 -1
  532. package/dist/src/utils/cost-reporter.js +1 -1
  533. package/dist/src/utils/cost-reporter.js.map +1 -1
  534. package/dist/src/utils/notification-constants.js +1 -1
  535. package/dist/src/utils/notification-constants.js.map +1 -1
  536. package/dist/src/utils/port-reachable.d.ts +3 -0
  537. package/dist/src/utils/port-reachable.d.ts.map +1 -0
  538. package/dist/src/utils/port-reachable.js +22 -0
  539. package/dist/src/utils/port-reachable.js.map +1 -0
  540. package/package.json +14 -8
  541. package/plugins/PLUGINS-INDEX.md +25 -44
  542. package/plugins/specweave/.claude-plugin/plugin.json +10 -15
  543. package/plugins/specweave/.lint/skill-lint.test.ts +93 -0
  544. package/plugins/specweave/PLUGIN.md +40 -105
  545. package/plugins/specweave/agents/sw-closer.md +16 -25
  546. package/plugins/specweave/defaults/rubric-defaults.md +11 -11
  547. package/plugins/specweave/hooks/hooks.json +17 -65
  548. package/plugins/specweave/hooks/run.mjs +229 -0
  549. package/plugins/specweave/lib/external-sync/README.md +2 -3
  550. package/plugins/specweave/lib/integrations/github/github-access-error.js +2 -2
  551. package/plugins/specweave/lib/integrations/github/github-access-error.ts +3 -3
  552. package/plugins/specweave/lib/integrations/github/github-client-v2.js +19 -40
  553. package/plugins/specweave/lib/integrations/github/github-client-v2.ts +19 -40
  554. package/plugins/specweave/lib/integrations/github/github-feature-sync-cli.js +1 -1
  555. package/plugins/specweave/lib/integrations/github/github-feature-sync-cli.ts +1 -1
  556. package/plugins/specweave/lib/integrations/github/github-feature-sync.js +2 -2
  557. package/plugins/specweave/lib/integrations/github/github-feature-sync.ts +2 -2
  558. package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js +11 -9
  559. package/plugins/specweave/lib/vendor/core/increment/auto-transition-manager.js.map +1 -1
  560. package/plugins/specweave/lib/vendor/core/increment/metadata-manager.d.ts +9 -5
  561. package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js +70 -13
  562. package/plugins/specweave/lib/vendor/core/increment/metadata-manager.js.map +1 -1
  563. package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.d.ts +7 -3
  564. package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js +16 -12
  565. package/plugins/specweave/lib/vendor/core/increment/status-auto-transition.js.map +1 -1
  566. package/plugins/specweave/lib/vendor/core/tasks/task-id.d.ts +24 -0
  567. package/plugins/specweave/lib/vendor/core/tasks/task-id.js +24 -0
  568. package/plugins/specweave/lib/vendor/core/tasks/task-id.js.map +1 -0
  569. package/plugins/specweave/lib/vendor/core/types/increment-metadata.d.ts +86 -35
  570. package/plugins/specweave/lib/vendor/core/types/increment-metadata.js +115 -47
  571. package/plugins/specweave/lib/vendor/core/types/increment-metadata.js.map +1 -1
  572. package/plugins/specweave/lib/vendor/generators/spec/task-parser.d.ts +18 -2
  573. package/plugins/specweave/lib/vendor/generators/spec/task-parser.js +74 -6
  574. package/plugins/specweave/lib/vendor/generators/spec/task-parser.js.map +1 -1
  575. package/plugins/specweave/lib/vendor/sync/config.js +2 -2
  576. package/plugins/specweave/lib/vendor/sync/config.js.map +1 -1
  577. package/plugins/specweave/lib/vendor/sync/github-reconciler.js +2 -2
  578. package/plugins/specweave/lib/vendor/sync/github-reconciler.js.map +1 -1
  579. package/plugins/specweave/lib/vendor/utils/auth-helpers.d.ts +37 -16
  580. package/plugins/specweave/lib/vendor/utils/auth-helpers.js +88 -74
  581. package/plugins/specweave/lib/vendor/utils/auth-helpers.js.map +1 -1
  582. package/plugins/specweave/marketplace.json +99 -91
  583. package/plugins/specweave/reference/ado/ado-specweave-mapping.md +5 -6
  584. package/plugins/specweave/reference/github/github-specweave-mapping.md +3 -4
  585. package/plugins/specweave/reference/jira/jira-specweave-mapping.md +5 -5
  586. package/plugins/specweave/scripts/README.md +23 -168
  587. package/plugins/specweave/scripts/jobs.js +3 -2
  588. package/plugins/specweave/scripts/progress.js +9 -8
  589. package/plugins/specweave/scripts/status.js +7 -6
  590. package/plugins/specweave/skills/auto/SKILL.md +47 -263
  591. package/plugins/specweave/skills/brainstorm/SKILL.md +53 -559
  592. package/plugins/specweave/skills/do/SKILL.md +31 -249
  593. package/plugins/specweave/skills/done/SKILL.md +23 -264
  594. package/plugins/specweave/skills/handoff/SKILL.md +22 -40
  595. package/plugins/specweave/skills/increment/SKILL.md +81 -489
  596. package/plugins/specweave/skills/qa/SKILL.md +45 -0
  597. package/plugins/specweave/skills/review/SKILL.md +102 -0
  598. package/plugins/specweave/skills/sync/SKILL.md +63 -0
  599. package/plugins/specweave/skills/team/SKILL.md +89 -0
  600. package/plugins/specweave/skills/{team-lead → team}/agents/_protocol.md +1 -1
  601. package/plugins/specweave/skills/{team-lead → team}/agents/architect.md +4 -2
  602. package/plugins/specweave/skills/{team-lead → team}/agents/backend.md +3 -3
  603. package/plugins/specweave/skills/{team-lead → team}/agents/database.md +2 -2
  604. package/plugins/specweave/skills/{team-lead → team}/agents/frontend.md +2 -2
  605. package/plugins/specweave/skills/{team-lead → team}/agents/pm.md +3 -2
  606. package/plugins/specweave/skills/{team-lead → team}/agents/security.md +2 -2
  607. package/plugins/specweave/skills/{team-lead → team}/agents/testing.md +4 -4
  608. package/src/templates/.gitattributes.template +3 -0
  609. package/src/templates/.gitignore.template +63 -27
  610. package/src/templates/AGENTS.md.template +52 -423
  611. package/src/templates/CLAUDE.md.template +50 -290
  612. package/src/templates/README.md.template +16 -146
  613. package/src/templates/git-hooks/pre-commit.template +22 -26
  614. package/dist/dashboard/assets/index-DAfC5dt1.css +0 -1
  615. package/dist/src/adapters/agents-md-generator.d.ts +0 -48
  616. package/dist/src/adapters/agents-md-generator.d.ts.map +0 -1
  617. package/dist/src/adapters/agents-md-generator.js +0 -129
  618. package/dist/src/adapters/agents-md-generator.js.map +0 -1
  619. package/dist/src/adapters/claude-md-generator.d.ts +0 -78
  620. package/dist/src/adapters/claude-md-generator.d.ts.map +0 -1
  621. package/dist/src/adapters/claude-md-generator.js +0 -248
  622. package/dist/src/adapters/claude-md-generator.js.map +0 -1
  623. package/dist/src/adapters/template-utils.d.ts +0 -16
  624. package/dist/src/adapters/template-utils.d.ts.map +0 -1
  625. package/dist/src/adapters/template-utils.js +0 -61
  626. package/dist/src/adapters/template-utils.js.map +0 -1
  627. package/dist/src/cli/commands/logs.d.ts +0 -13
  628. package/dist/src/cli/commands/logs.d.ts.map +0 -1
  629. package/dist/src/cli/commands/logs.js +0 -110
  630. package/dist/src/cli/commands/logs.js.map +0 -1
  631. package/dist/src/cli/commands/reflect-stop.d.ts +0 -30
  632. package/dist/src/cli/commands/reflect-stop.d.ts.map +0 -1
  633. package/dist/src/cli/commands/reflect-stop.js +0 -63
  634. package/dist/src/cli/commands/reflect-stop.js.map +0 -1
  635. package/dist/src/cli/commands/revert-wip-limit.d.ts +0 -8
  636. package/dist/src/cli/commands/revert-wip-limit.d.ts.map +0 -1
  637. package/dist/src/cli/commands/revert-wip-limit.js +0 -65
  638. package/dist/src/cli/commands/revert-wip-limit.js.map +0 -1
  639. package/dist/src/cli/commands/set-sync-target.d.ts +0 -41
  640. package/dist/src/cli/commands/set-sync-target.d.ts.map +0 -1
  641. package/dist/src/cli/commands/set-sync-target.js +0 -126
  642. package/dist/src/cli/commands/set-sync-target.js.map +0 -1
  643. package/dist/src/cli/commands/sync-flush.d.ts +0 -31
  644. package/dist/src/cli/commands/sync-flush.d.ts.map +0 -1
  645. package/dist/src/cli/commands/sync-flush.js +0 -114
  646. package/dist/src/cli/commands/sync-flush.js.map +0 -1
  647. package/dist/src/cli/commands/sync-scheduled.d.ts +0 -38
  648. package/dist/src/cli/commands/sync-scheduled.d.ts.map +0 -1
  649. package/dist/src/cli/commands/sync-scheduled.js +0 -171
  650. package/dist/src/cli/commands/sync-scheduled.js.map +0 -1
  651. package/dist/src/cli/commands/sync-task.d.ts +0 -16
  652. package/dist/src/cli/commands/sync-task.d.ts.map +0 -1
  653. package/dist/src/cli/commands/sync-task.js +0 -42
  654. package/dist/src/cli/commands/sync-task.js.map +0 -1
  655. package/dist/src/cli/commands/validate-jira.d.ts +0 -35
  656. package/dist/src/cli/commands/validate-jira.d.ts.map +0 -1
  657. package/dist/src/cli/commands/validate-jira.js +0 -116
  658. package/dist/src/cli/commands/validate-jira.js.map +0 -1
  659. package/dist/src/cli/helpers/init/claude-settings-permissions.d.ts +0 -20
  660. package/dist/src/cli/helpers/init/claude-settings-permissions.d.ts.map +0 -1
  661. package/dist/src/cli/helpers/init/claude-settings-permissions.js +0 -71
  662. package/dist/src/cli/helpers/init/claude-settings-permissions.js.map +0 -1
  663. package/dist/src/cli/helpers/init/dci-scripts-installer.d.ts +0 -21
  664. package/dist/src/cli/helpers/init/dci-scripts-installer.d.ts.map +0 -1
  665. package/dist/src/cli/helpers/init/dci-scripts-installer.js +0 -58
  666. package/dist/src/cli/helpers/init/dci-scripts-installer.js.map +0 -1
  667. package/dist/src/cli/helpers/init/deep-interview-config.d.ts +0 -35
  668. package/dist/src/cli/helpers/init/deep-interview-config.d.ts.map +0 -1
  669. package/dist/src/cli/helpers/init/deep-interview-config.js +0 -261
  670. package/dist/src/cli/helpers/init/deep-interview-config.js.map +0 -1
  671. package/dist/src/cli/helpers/init/quality-gates-config.d.ts +0 -57
  672. package/dist/src/cli/helpers/init/quality-gates-config.d.ts.map +0 -1
  673. package/dist/src/cli/helpers/init/quality-gates-config.js +0 -306
  674. package/dist/src/cli/helpers/init/quality-gates-config.js.map +0 -1
  675. package/dist/src/cli/helpers/init/translation-config.d.ts +0 -96
  676. package/dist/src/cli/helpers/init/translation-config.d.ts.map +0 -1
  677. package/dist/src/cli/helpers/init/translation-config.js +0 -472
  678. package/dist/src/cli/helpers/init/translation-config.js.map +0 -1
  679. package/dist/src/core/dashboard/dashboard-data.d.ts +0 -156
  680. package/dist/src/core/dashboard/dashboard-data.d.ts.map +0 -1
  681. package/dist/src/core/dashboard/dashboard-data.js +0 -186
  682. package/dist/src/core/dashboard/dashboard-data.js.map +0 -1
  683. package/dist/src/core/dashboard/index.d.ts +0 -9
  684. package/dist/src/core/dashboard/index.d.ts.map +0 -1
  685. package/dist/src/core/dashboard/index.js +0 -9
  686. package/dist/src/core/dashboard/index.js.map +0 -1
  687. package/dist/src/core/doctor/checkers/plugin-currency-checker.d.ts +0 -26
  688. package/dist/src/core/doctor/checkers/plugin-currency-checker.d.ts.map +0 -1
  689. package/dist/src/core/doctor/checkers/plugin-currency-checker.js +0 -128
  690. package/dist/src/core/doctor/checkers/plugin-currency-checker.js.map +0 -1
  691. package/dist/src/core/doctor/checkers/skill-currency-checker.d.ts +0 -25
  692. package/dist/src/core/doctor/checkers/skill-currency-checker.d.ts.map +0 -1
  693. package/dist/src/core/doctor/checkers/skill-currency-checker.js +0 -98
  694. package/dist/src/core/doctor/checkers/skill-currency-checker.js.map +0 -1
  695. package/dist/src/core/hooks/HealthReporter.d.ts +0 -57
  696. package/dist/src/core/hooks/HealthReporter.d.ts.map +0 -1
  697. package/dist/src/core/hooks/HealthReporter.js +0 -260
  698. package/dist/src/core/hooks/HealthReporter.js.map +0 -1
  699. package/dist/src/core/hooks/HookAutoFixer.d.ts +0 -44
  700. package/dist/src/core/hooks/HookAutoFixer.d.ts.map +0 -1
  701. package/dist/src/core/hooks/HookAutoFixer.js +0 -168
  702. package/dist/src/core/hooks/HookAutoFixer.js.map +0 -1
  703. package/dist/src/core/hooks/HookExecutor.d.ts +0 -57
  704. package/dist/src/core/hooks/HookExecutor.d.ts.map +0 -1
  705. package/dist/src/core/hooks/HookExecutor.js +0 -268
  706. package/dist/src/core/hooks/HookExecutor.js.map +0 -1
  707. package/dist/src/core/hooks/HookHealthChecker.d.ts +0 -52
  708. package/dist/src/core/hooks/HookHealthChecker.d.ts.map +0 -1
  709. package/dist/src/core/hooks/HookHealthChecker.js +0 -202
  710. package/dist/src/core/hooks/HookHealthChecker.js.map +0 -1
  711. package/dist/src/core/hooks/HookScanner.d.ts +0 -105
  712. package/dist/src/core/hooks/HookScanner.d.ts.map +0 -1
  713. package/dist/src/core/hooks/HookScanner.js +0 -307
  714. package/dist/src/core/hooks/HookScanner.js.map +0 -1
  715. package/dist/src/core/hooks/feature-id-resolver.d.ts +0 -16
  716. package/dist/src/core/hooks/feature-id-resolver.d.ts.map +0 -1
  717. package/dist/src/core/hooks/feature-id-resolver.js +0 -60
  718. package/dist/src/core/hooks/feature-id-resolver.js.map +0 -1
  719. package/dist/src/core/hooks/github-project-sync.d.ts +0 -16
  720. package/dist/src/core/hooks/github-project-sync.d.ts.map +0 -1
  721. package/dist/src/core/hooks/github-project-sync.js +0 -37
  722. package/dist/src/core/hooks/github-project-sync.js.map +0 -1
  723. package/dist/src/core/hooks/handlers/banner-check.d.ts +0 -42
  724. package/dist/src/core/hooks/handlers/banner-check.d.ts.map +0 -1
  725. package/dist/src/core/hooks/handlers/banner-check.js +0 -180
  726. package/dist/src/core/hooks/handlers/banner-check.js.map +0 -1
  727. package/dist/src/core/hooks/handlers/banner-state.d.ts +0 -44
  728. package/dist/src/core/hooks/handlers/banner-state.d.ts.map +0 -1
  729. package/dist/src/core/hooks/handlers/banner-state.js +0 -100
  730. package/dist/src/core/hooks/handlers/banner-state.js.map +0 -1
  731. package/dist/src/core/hooks/handlers/post-tool-use-analytics.d.ts +0 -11
  732. package/dist/src/core/hooks/handlers/post-tool-use-analytics.d.ts.map +0 -1
  733. package/dist/src/core/hooks/handlers/post-tool-use-analytics.js +0 -75
  734. package/dist/src/core/hooks/handlers/post-tool-use-analytics.js.map +0 -1
  735. package/dist/src/core/hooks/handlers/post-tool-use.d.ts +0 -11
  736. package/dist/src/core/hooks/handlers/post-tool-use.d.ts.map +0 -1
  737. package/dist/src/core/hooks/handlers/post-tool-use.js +0 -76
  738. package/dist/src/core/hooks/handlers/post-tool-use.js.map +0 -1
  739. package/dist/src/core/hooks/handlers/stop-auto.d.ts +0 -22
  740. package/dist/src/core/hooks/handlers/stop-auto.d.ts.map +0 -1
  741. package/dist/src/core/hooks/handlers/stop-auto.js +0 -227
  742. package/dist/src/core/hooks/handlers/stop-auto.js.map +0 -1
  743. package/dist/src/core/hooks/handlers/stop-reflect.d.ts +0 -14
  744. package/dist/src/core/hooks/handlers/stop-reflect.d.ts.map +0 -1
  745. package/dist/src/core/hooks/handlers/stop-reflect.js +0 -43
  746. package/dist/src/core/hooks/handlers/stop-reflect.js.map +0 -1
  747. package/dist/src/core/hooks/handlers/stop-sync.d.ts +0 -15
  748. package/dist/src/core/hooks/handlers/stop-sync.d.ts.map +0 -1
  749. package/dist/src/core/hooks/handlers/stop-sync.js +0 -68
  750. package/dist/src/core/hooks/handlers/stop-sync.js.map +0 -1
  751. package/dist/src/core/hooks/handlers/user-prompt-submit.d.ts +0 -14
  752. package/dist/src/core/hooks/handlers/user-prompt-submit.d.ts.map +0 -1
  753. package/dist/src/core/hooks/handlers/user-prompt-submit.js +0 -196
  754. package/dist/src/core/hooks/handlers/user-prompt-submit.js.map +0 -1
  755. package/dist/src/core/hooks/hook-health-tracker.d.ts +0 -54
  756. package/dist/src/core/hooks/hook-health-tracker.d.ts.map +0 -1
  757. package/dist/src/core/hooks/hook-health-tracker.js +0 -140
  758. package/dist/src/core/hooks/hook-health-tracker.js.map +0 -1
  759. package/dist/src/core/hooks/hook-logger.d.ts +0 -83
  760. package/dist/src/core/hooks/hook-logger.d.ts.map +0 -1
  761. package/dist/src/core/hooks/hook-logger.js +0 -120
  762. package/dist/src/core/hooks/hook-logger.js.map +0 -1
  763. package/dist/src/core/hooks/log-rotator.d.ts +0 -51
  764. package/dist/src/core/hooks/log-rotator.d.ts.map +0 -1
  765. package/dist/src/core/hooks/log-rotator.js +0 -85
  766. package/dist/src/core/hooks/log-rotator.js.map +0 -1
  767. package/dist/src/core/hooks/pretooluse-guard.d.ts +0 -37
  768. package/dist/src/core/hooks/pretooluse-guard.d.ts.map +0 -1
  769. package/dist/src/core/hooks/pretooluse-guard.js +0 -64
  770. package/dist/src/core/hooks/pretooluse-guard.js.map +0 -1
  771. package/dist/src/core/hooks/project-scope-guard.d.ts +0 -77
  772. package/dist/src/core/hooks/project-scope-guard.d.ts.map +0 -1
  773. package/dist/src/core/hooks/project-scope-guard.js +0 -206
  774. package/dist/src/core/hooks/project-scope-guard.js.map +0 -1
  775. package/dist/src/core/hooks/types.d.ts +0 -322
  776. package/dist/src/core/hooks/types.d.ts.map +0 -1
  777. package/dist/src/core/hooks/types.js +0 -10
  778. package/dist/src/core/hooks/types.js.map +0 -1
  779. package/dist/src/core/increment/limits.d.ts +0 -68
  780. package/dist/src/core/increment/limits.d.ts.map +0 -1
  781. package/dist/src/core/increment/limits.js +0 -227
  782. package/dist/src/core/increment/limits.js.map +0 -1
  783. package/dist/src/core/living-docs/delivery/delivery-generator.d.ts +0 -58
  784. package/dist/src/core/living-docs/delivery/delivery-generator.d.ts.map +0 -1
  785. package/dist/src/core/living-docs/delivery/delivery-generator.js +0 -501
  786. package/dist/src/core/living-docs/delivery/delivery-generator.js.map +0 -1
  787. package/dist/src/core/living-docs/delivery/index.d.ts +0 -8
  788. package/dist/src/core/living-docs/delivery/index.d.ts.map +0 -1
  789. package/dist/src/core/living-docs/delivery/index.js +0 -7
  790. package/dist/src/core/living-docs/delivery/index.js.map +0 -1
  791. package/dist/src/core/living-docs/diagrams/index.d.ts +0 -8
  792. package/dist/src/core/living-docs/diagrams/index.d.ts.map +0 -1
  793. package/dist/src/core/living-docs/diagrams/index.js +0 -7
  794. package/dist/src/core/living-docs/diagrams/index.js.map +0 -1
  795. package/dist/src/core/living-docs/diagrams/mermaid-generator.d.ts +0 -113
  796. package/dist/src/core/living-docs/diagrams/mermaid-generator.d.ts.map +0 -1
  797. package/dist/src/core/living-docs/diagrams/mermaid-generator.js +0 -533
  798. package/dist/src/core/living-docs/diagrams/mermaid-generator.js.map +0 -1
  799. package/dist/src/core/living-docs/governance/ecosystem-detector.d.ts +0 -38
  800. package/dist/src/core/living-docs/governance/ecosystem-detector.d.ts.map +0 -1
  801. package/dist/src/core/living-docs/governance/ecosystem-detector.js +0 -325
  802. package/dist/src/core/living-docs/governance/ecosystem-detector.js.map +0 -1
  803. package/dist/src/core/living-docs/governance/frontend-standards-parser.d.ts +0 -74
  804. package/dist/src/core/living-docs/governance/frontend-standards-parser.d.ts.map +0 -1
  805. package/dist/src/core/living-docs/governance/frontend-standards-parser.js +0 -366
  806. package/dist/src/core/living-docs/governance/frontend-standards-parser.js.map +0 -1
  807. package/dist/src/core/living-docs/governance/go-standards-parser.d.ts +0 -64
  808. package/dist/src/core/living-docs/governance/go-standards-parser.d.ts.map +0 -1
  809. package/dist/src/core/living-docs/governance/go-standards-parser.js +0 -229
  810. package/dist/src/core/living-docs/governance/go-standards-parser.js.map +0 -1
  811. package/dist/src/core/living-docs/governance/index.d.ts +0 -50
  812. package/dist/src/core/living-docs/governance/index.d.ts.map +0 -1
  813. package/dist/src/core/living-docs/governance/index.js +0 -56
  814. package/dist/src/core/living-docs/governance/index.js.map +0 -1
  815. package/dist/src/core/living-docs/governance/java-standards-parser.d.ts +0 -89
  816. package/dist/src/core/living-docs/governance/java-standards-parser.d.ts.map +0 -1
  817. package/dist/src/core/living-docs/governance/java-standards-parser.js +0 -375
  818. package/dist/src/core/living-docs/governance/java-standards-parser.js.map +0 -1
  819. package/dist/src/core/living-docs/governance/python-standards-parser.d.ts +0 -83
  820. package/dist/src/core/living-docs/governance/python-standards-parser.d.ts.map +0 -1
  821. package/dist/src/core/living-docs/governance/python-standards-parser.js +0 -347
  822. package/dist/src/core/living-docs/governance/python-standards-parser.js.map +0 -1
  823. package/dist/src/core/living-docs/governance/standards-generator.d.ts +0 -38
  824. package/dist/src/core/living-docs/governance/standards-generator.d.ts.map +0 -1
  825. package/dist/src/core/living-docs/governance/standards-generator.js +0 -476
  826. package/dist/src/core/living-docs/governance/standards-generator.js.map +0 -1
  827. package/dist/src/core/living-docs/operations/index.d.ts +0 -8
  828. package/dist/src/core/living-docs/operations/index.d.ts.map +0 -1
  829. package/dist/src/core/living-docs/operations/index.js +0 -7
  830. package/dist/src/core/living-docs/operations/index.js.map +0 -1
  831. package/dist/src/core/living-docs/operations/ops-generator.d.ts +0 -53
  832. package/dist/src/core/living-docs/operations/ops-generator.d.ts.map +0 -1
  833. package/dist/src/core/living-docs/operations/ops-generator.js +0 -462
  834. package/dist/src/core/living-docs/operations/ops-generator.js.map +0 -1
  835. package/dist/src/core/reflect-nudge/aggregator.d.ts +0 -33
  836. package/dist/src/core/reflect-nudge/aggregator.d.ts.map +0 -1
  837. package/dist/src/core/reflect-nudge/aggregator.js +0 -80
  838. package/dist/src/core/reflect-nudge/aggregator.js.map +0 -1
  839. package/dist/src/core/reflect-nudge/eligibility.d.ts +0 -27
  840. package/dist/src/core/reflect-nudge/eligibility.d.ts.map +0 -1
  841. package/dist/src/core/reflect-nudge/eligibility.js +0 -114
  842. package/dist/src/core/reflect-nudge/eligibility.js.map +0 -1
  843. package/dist/src/core/reflect-nudge/index.d.ts +0 -14
  844. package/dist/src/core/reflect-nudge/index.d.ts.map +0 -1
  845. package/dist/src/core/reflect-nudge/index.js +0 -14
  846. package/dist/src/core/reflect-nudge/index.js.map +0 -1
  847. package/dist/src/core/reflect-nudge/interactive-prompt.d.ts +0 -28
  848. package/dist/src/core/reflect-nudge/interactive-prompt.d.ts.map +0 -1
  849. package/dist/src/core/reflect-nudge/interactive-prompt.js +0 -52
  850. package/dist/src/core/reflect-nudge/interactive-prompt.js.map +0 -1
  851. package/dist/src/core/reflect-nudge/prompt-renderer.d.ts +0 -23
  852. package/dist/src/core/reflect-nudge/prompt-renderer.d.ts.map +0 -1
  853. package/dist/src/core/reflect-nudge/prompt-renderer.js +0 -26
  854. package/dist/src/core/reflect-nudge/prompt-renderer.js.map +0 -1
  855. package/dist/src/core/reflect-nudge/session-end-nudge.d.ts +0 -31
  856. package/dist/src/core/reflect-nudge/session-end-nudge.d.ts.map +0 -1
  857. package/dist/src/core/reflect-nudge/session-end-nudge.js +0 -44
  858. package/dist/src/core/reflect-nudge/session-end-nudge.js.map +0 -1
  859. package/dist/src/core/reflection/index.d.ts +0 -23
  860. package/dist/src/core/reflection/index.d.ts.map +0 -1
  861. package/dist/src/core/reflection/index.js +0 -25
  862. package/dist/src/core/reflection/index.js.map +0 -1
  863. package/dist/src/core/reflection/reflect-handler.d.ts +0 -128
  864. package/dist/src/core/reflection/reflect-handler.d.ts.map +0 -1
  865. package/dist/src/core/reflection/reflect-handler.js +0 -742
  866. package/dist/src/core/reflection/reflect-handler.js.map +0 -1
  867. package/dist/src/core/reflection/skill-memories.d.ts +0 -113
  868. package/dist/src/core/reflection/skill-memories.d.ts.map +0 -1
  869. package/dist/src/core/reflection/skill-memories.js +0 -306
  870. package/dist/src/core/reflection/skill-memories.js.map +0 -1
  871. package/dist/src/core/scheduler/index.d.ts +0 -12
  872. package/dist/src/core/scheduler/index.d.ts.map +0 -1
  873. package/dist/src/core/scheduler/index.js +0 -12
  874. package/dist/src/core/scheduler/index.js.map +0 -1
  875. package/dist/src/core/scheduler/job-scheduler.d.ts +0 -179
  876. package/dist/src/core/scheduler/job-scheduler.d.ts.map +0 -1
  877. package/dist/src/core/scheduler/job-scheduler.js +0 -282
  878. package/dist/src/core/scheduler/job-scheduler.js.map +0 -1
  879. package/dist/src/core/scheduler/schedule-persistence.d.ts +0 -84
  880. package/dist/src/core/scheduler/schedule-persistence.d.ts.map +0 -1
  881. package/dist/src/core/scheduler/schedule-persistence.js +0 -188
  882. package/dist/src/core/scheduler/schedule-persistence.js.map +0 -1
  883. package/dist/src/core/scheduler/scheduled-job.d.ts +0 -188
  884. package/dist/src/core/scheduler/scheduled-job.d.ts.map +0 -1
  885. package/dist/src/core/scheduler/scheduled-job.js +0 -182
  886. package/dist/src/core/scheduler/scheduled-job.js.map +0 -1
  887. package/dist/src/core/scheduler/session-sync-executor.d.ts +0 -141
  888. package/dist/src/core/scheduler/session-sync-executor.d.ts.map +0 -1
  889. package/dist/src/core/scheduler/session-sync-executor.js +0 -358
  890. package/dist/src/core/scheduler/session-sync-executor.js.map +0 -1
  891. package/dist/src/core/session/reflect-checker.d.ts +0 -19
  892. package/dist/src/core/session/reflect-checker.d.ts.map +0 -1
  893. package/dist/src/core/session/reflect-checker.js +0 -30
  894. package/dist/src/core/session/reflect-checker.js.map +0 -1
  895. package/dist/src/core/sync/event-queue-ops.d.ts +0 -39
  896. package/dist/src/core/sync/event-queue-ops.d.ts.map +0 -1
  897. package/dist/src/core/sync/event-queue-ops.js +0 -109
  898. package/dist/src/core/sync/event-queue-ops.js.map +0 -1
  899. package/dist/src/core/sync/event-queue.d.ts +0 -43
  900. package/dist/src/core/sync/event-queue.d.ts.map +0 -1
  901. package/dist/src/core/sync/event-queue.js +0 -62
  902. package/dist/src/core/sync/event-queue.js.map +0 -1
  903. package/dist/src/core/sync/persistent-circuit-breaker.d.ts +0 -22
  904. package/dist/src/core/sync/persistent-circuit-breaker.d.ts.map +0 -1
  905. package/dist/src/core/sync/persistent-circuit-breaker.js +0 -65
  906. package/dist/src/core/sync/persistent-circuit-breaker.js.map +0 -1
  907. package/dist/src/core/sync/sync-resilience.d.ts +0 -49
  908. package/dist/src/core/sync/sync-resilience.d.ts.map +0 -1
  909. package/dist/src/core/sync/sync-resilience.js +0 -133
  910. package/dist/src/core/sync/sync-resilience.js.map +0 -1
  911. package/dist/src/core/us-sync-throttle.d.ts +0 -113
  912. package/dist/src/core/us-sync-throttle.d.ts.map +0 -1
  913. package/dist/src/core/us-sync-throttle.js +0 -195
  914. package/dist/src/core/us-sync-throttle.js.map +0 -1
  915. package/dist/src/hooks/auto-create-external-issue.d.ts +0 -19
  916. package/dist/src/hooks/auto-create-external-issue.d.ts.map +0 -1
  917. package/dist/src/hooks/auto-create-external-issue.js +0 -85
  918. package/dist/src/hooks/auto-create-external-issue.js.map +0 -1
  919. package/dist/src/hooks/generate-settings.d.ts +0 -8
  920. package/dist/src/hooks/generate-settings.d.ts.map +0 -1
  921. package/dist/src/hooks/generate-settings.js +0 -69
  922. package/dist/src/hooks/generate-settings.js.map +0 -1
  923. package/dist/src/hooks/hooks-status.d.ts +0 -12
  924. package/dist/src/hooks/hooks-status.d.ts.map +0 -1
  925. package/dist/src/hooks/hooks-status.js +0 -101
  926. package/dist/src/hooks/hooks-status.js.map +0 -1
  927. package/dist/src/hooks/index.d.ts +0 -11
  928. package/dist/src/hooks/index.d.ts.map +0 -1
  929. package/dist/src/hooks/index.js +0 -11
  930. package/dist/src/hooks/index.js.map +0 -1
  931. package/dist/src/hooks/platform.d.ts +0 -120
  932. package/dist/src/hooks/platform.d.ts.map +0 -1
  933. package/dist/src/hooks/platform.js +0 -278
  934. package/dist/src/hooks/platform.js.map +0 -1
  935. package/dist/src/hooks/processor.d.ts +0 -27
  936. package/dist/src/hooks/processor.d.ts.map +0 -1
  937. package/dist/src/hooks/processor.js +0 -334
  938. package/dist/src/hooks/processor.js.map +0 -1
  939. package/dist/src/hooks/scheduler-startup.d.ts +0 -19
  940. package/dist/src/hooks/scheduler-startup.d.ts.map +0 -1
  941. package/dist/src/hooks/scheduler-startup.js +0 -92
  942. package/dist/src/hooks/scheduler-startup.js.map +0 -1
  943. package/dist/src/hooks/session-start.d.ts +0 -16
  944. package/dist/src/hooks/session-start.d.ts.map +0 -1
  945. package/dist/src/hooks/session-start.js +0 -142
  946. package/dist/src/hooks/session-start.js.map +0 -1
  947. package/dist/src/integrations/ado/ado-dependency-loader.d.ts +0 -99
  948. package/dist/src/integrations/ado/ado-dependency-loader.d.ts.map +0 -1
  949. package/dist/src/integrations/ado/ado-dependency-loader.js +0 -237
  950. package/dist/src/integrations/ado/ado-dependency-loader.js.map +0 -1
  951. package/dist/src/integrations/ado/area-path-mapper.d.ts +0 -137
  952. package/dist/src/integrations/ado/area-path-mapper.d.ts.map +0 -1
  953. package/dist/src/integrations/ado/area-path-mapper.js +0 -263
  954. package/dist/src/integrations/ado/area-path-mapper.js.map +0 -1
  955. package/dist/src/integrations/jira/filter-processor.d.ts +0 -126
  956. package/dist/src/integrations/jira/filter-processor.d.ts.map +0 -1
  957. package/dist/src/integrations/jira/filter-processor.js +0 -222
  958. package/dist/src/integrations/jira/filter-processor.js.map +0 -1
  959. package/dist/src/integrations/jira/jira-dependency-loader.d.ts +0 -101
  960. package/dist/src/integrations/jira/jira-dependency-loader.d.ts.map +0 -1
  961. package/dist/src/integrations/jira/jira-dependency-loader.js +0 -200
  962. package/dist/src/integrations/jira/jira-dependency-loader.js.map +0 -1
  963. package/dist/src/integrations/jira/jira-hierarchy-mapper.d.ts +0 -107
  964. package/dist/src/integrations/jira/jira-hierarchy-mapper.d.ts.map +0 -1
  965. package/dist/src/integrations/jira/jira-hierarchy-mapper.js +0 -129
  966. package/dist/src/integrations/jira/jira-hierarchy-mapper.js.map +0 -1
  967. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +0 -97
  968. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +0 -1
  969. package/dist/src/integrations/jira/jira-incremental-mapper.js +0 -496
  970. package/dist/src/integrations/jira/jira-incremental-mapper.js.map +0 -1
  971. package/dist/src/integrations/jira/jira-mapper.d.ts +0 -127
  972. package/dist/src/integrations/jira/jira-mapper.d.ts.map +0 -1
  973. package/dist/src/integrations/jira/jira-mapper.js +0 -508
  974. package/dist/src/integrations/jira/jira-mapper.js.map +0 -1
  975. package/dist/src/integrations/jira/jira-token-provider.d.ts +0 -93
  976. package/dist/src/integrations/jira/jira-token-provider.d.ts.map +0 -1
  977. package/dist/src/integrations/jira/jira-token-provider.js +0 -160
  978. package/dist/src/integrations/jira/jira-token-provider.js.map +0 -1
  979. package/dist/src/skills/reflect-status.d.ts +0 -23
  980. package/dist/src/skills/reflect-status.d.ts.map +0 -1
  981. package/dist/src/skills/reflect-status.js +0 -55
  982. package/dist/src/skills/reflect-status.js.map +0 -1
  983. package/dist/src/sync/ado-reconciler.d.ts +0 -97
  984. package/dist/src/sync/ado-reconciler.d.ts.map +0 -1
  985. package/dist/src/sync/ado-reconciler.js +0 -370
  986. package/dist/src/sync/ado-reconciler.js.map +0 -1
  987. package/dist/src/sync/ado-sync-wrapper.d.ts +0 -137
  988. package/dist/src/sync/ado-sync-wrapper.d.ts.map +0 -1
  989. package/dist/src/sync/ado-sync-wrapper.js +0 -148
  990. package/dist/src/sync/ado-sync-wrapper.js.map +0 -1
  991. package/dist/src/sync/base-reconciler.d.ts +0 -120
  992. package/dist/src/sync/base-reconciler.d.ts.map +0 -1
  993. package/dist/src/sync/base-reconciler.js +0 -166
  994. package/dist/src/sync/base-reconciler.js.map +0 -1
  995. package/dist/src/sync/engine.d.ts +0 -139
  996. package/dist/src/sync/engine.d.ts.map +0 -1
  997. package/dist/src/sync/engine.js +0 -129
  998. package/dist/src/sync/engine.js.map +0 -1
  999. package/dist/src/sync/external-item-sync-service.d.ts +0 -159
  1000. package/dist/src/sync/external-item-sync-service.d.ts.map +0 -1
  1001. package/dist/src/sync/external-item-sync-service.js +0 -446
  1002. package/dist/src/sync/external-item-sync-service.js.map +0 -1
  1003. package/dist/src/sync/github-sync-wrapper.d.ts +0 -195
  1004. package/dist/src/sync/github-sync-wrapper.d.ts.map +0 -1
  1005. package/dist/src/sync/github-sync-wrapper.js +0 -220
  1006. package/dist/src/sync/github-sync-wrapper.js.map +0 -1
  1007. package/dist/src/sync/hierarchy.d.ts +0 -52
  1008. package/dist/src/sync/hierarchy.d.ts.map +0 -1
  1009. package/dist/src/sync/hierarchy.js +0 -101
  1010. package/dist/src/sync/hierarchy.js.map +0 -1
  1011. package/dist/src/sync/jira-reconciler.d.ts +0 -109
  1012. package/dist/src/sync/jira-reconciler.d.ts.map +0 -1
  1013. package/dist/src/sync/jira-reconciler.js +0 -429
  1014. package/dist/src/sync/jira-reconciler.js.map +0 -1
  1015. package/dist/src/sync/jira-sync-wrapper.d.ts +0 -155
  1016. package/dist/src/sync/jira-sync-wrapper.d.ts.map +0 -1
  1017. package/dist/src/sync/jira-sync-wrapper.js +0 -175
  1018. package/dist/src/sync/jira-sync-wrapper.js.map +0 -1
  1019. package/dist/src/sync/migration.d.ts +0 -46
  1020. package/dist/src/sync/migration.d.ts.map +0 -1
  1021. package/dist/src/sync/migration.js +0 -97
  1022. package/dist/src/sync/migration.js.map +0 -1
  1023. package/dist/src/sync/projects-v2.d.ts +0 -61
  1024. package/dist/src/sync/projects-v2.d.ts.map +0 -1
  1025. package/dist/src/sync/projects-v2.js +0 -145
  1026. package/dist/src/sync/projects-v2.js.map +0 -1
  1027. package/dist/src/sync/providers/ado.d.ts +0 -54
  1028. package/dist/src/sync/providers/ado.d.ts.map +0 -1
  1029. package/dist/src/sync/providers/ado.js +0 -388
  1030. package/dist/src/sync/providers/ado.js.map +0 -1
  1031. package/dist/src/sync/providers/github.d.ts +0 -41
  1032. package/dist/src/sync/providers/github.d.ts.map +0 -1
  1033. package/dist/src/sync/providers/github.js +0 -237
  1034. package/dist/src/sync/providers/github.js.map +0 -1
  1035. package/dist/src/sync/providers/jira.d.ts +0 -44
  1036. package/dist/src/sync/providers/jira.d.ts.map +0 -1
  1037. package/dist/src/sync/providers/jira.js +0 -310
  1038. package/dist/src/sync/providers/jira.js.map +0 -1
  1039. package/dist/src/utils/auto-install.d.ts +0 -47
  1040. package/dist/src/utils/auto-install.d.ts.map +0 -1
  1041. package/dist/src/utils/auto-install.js +0 -220
  1042. package/dist/src/utils/auto-install.js.map +0 -1
  1043. package/dist/src/utils/image-generator.d.ts +0 -315
  1044. package/dist/src/utils/image-generator.d.ts.map +0 -1
  1045. package/dist/src/utils/image-generator.js +0 -588
  1046. package/dist/src/utils/image-generator.js.map +0 -1
  1047. package/plugins/COMMANDS-VS-SKILLS-ANALYSIS.md +0 -182
  1048. package/plugins/FINAL-AUDIT-RECOMMENDATIONS.md +0 -265
  1049. package/plugins/SKILLS-VS-AGENTS.md +0 -267
  1050. package/plugins/VALIDATION-REPORT.md +0 -134
  1051. package/plugins/specweave/agents/sw-architect.md +0 -22
  1052. package/plugins/specweave/agents/sw-planner.md +0 -81
  1053. package/plugins/specweave/agents/sw-pm.md +0 -23
  1054. package/plugins/specweave/commands/abandon.md +0 -320
  1055. package/plugins/specweave/commands/ado-cleanup-duplicates.md +0 -211
  1056. package/plugins/specweave/commands/ado-clone.md +0 -385
  1057. package/plugins/specweave/commands/ado-close.md +0 -238
  1058. package/plugins/specweave/commands/ado-create.md +0 -178
  1059. package/plugins/specweave/commands/ado-import-areas.md +0 -357
  1060. package/plugins/specweave/commands/ado-import-projects.md +0 -330
  1061. package/plugins/specweave/commands/ado-pull.md +0 -488
  1062. package/plugins/specweave/commands/ado-push.md +0 -388
  1063. package/plugins/specweave/commands/ado-reconcile.md +0 -119
  1064. package/plugins/specweave/commands/ado-status.md +0 -62
  1065. package/plugins/specweave/commands/ado-sync.md +0 -330
  1066. package/plugins/specweave/commands/analytics.md +0 -154
  1067. package/plugins/specweave/commands/archive.md +0 -488
  1068. package/plugins/specweave/commands/auto-status.md +0 -123
  1069. package/plugins/specweave/commands/cancel-auto.md +0 -94
  1070. package/plugins/specweave/commands/diagrams-generate.md +0 -172
  1071. package/plugins/specweave/commands/discrepancies.md +0 -142
  1072. package/plugins/specweave/commands/discrepancy-to-increment.md +0 -188
  1073. package/plugins/specweave/commands/docs-build.md +0 -159
  1074. package/plugins/specweave/commands/docs-generate.md +0 -445
  1075. package/plugins/specweave/commands/docs-health.md +0 -267
  1076. package/plugins/specweave/commands/docs-init.md +0 -338
  1077. package/plugins/specweave/commands/docs-organize.md +0 -183
  1078. package/plugins/specweave/commands/docs-validate.md +0 -249
  1079. package/plugins/specweave/commands/docs-view.md +0 -390
  1080. package/plugins/specweave/commands/docs.md +0 -215
  1081. package/plugins/specweave/commands/doctor.md +0 -68
  1082. package/plugins/specweave/commands/fix-duplicates.md +0 -517
  1083. package/plugins/specweave/commands/framework.md +0 -530
  1084. package/plugins/specweave/commands/github-cleanup-duplicates.md +0 -229
  1085. package/plugins/specweave/commands/github-clone.md +0 -634
  1086. package/plugins/specweave/commands/github-close.md +0 -440
  1087. package/plugins/specweave/commands/github-create.md +0 -330
  1088. package/plugins/specweave/commands/github-pull.md +0 -139
  1089. package/plugins/specweave/commands/github-push.md +0 -151
  1090. package/plugins/specweave/commands/github-reconcile.md +0 -111
  1091. package/plugins/specweave/commands/github-status.md +0 -532
  1092. package/plugins/specweave/commands/github-sync.md +0 -701
  1093. package/plugins/specweave/commands/github-update-user-story.md +0 -155
  1094. package/plugins/specweave/commands/handoff.md +0 -54
  1095. package/plugins/specweave/commands/import-external.md +0 -461
  1096. package/plugins/specweave/commands/jira-cleanup-duplicates.md +0 -218
  1097. package/plugins/specweave/commands/jira-close.md +0 -294
  1098. package/plugins/specweave/commands/jira-create.md +0 -195
  1099. package/plugins/specweave/commands/jira-import-boards.md +0 -330
  1100. package/plugins/specweave/commands/jira-import-projects-full.md +0 -297
  1101. package/plugins/specweave/commands/jira-import-projects.md +0 -96
  1102. package/plugins/specweave/commands/jira-pull.md +0 -161
  1103. package/plugins/specweave/commands/jira-push.md +0 -167
  1104. package/plugins/specweave/commands/jira-reconcile.md +0 -122
  1105. package/plugins/specweave/commands/jira-status.md +0 -212
  1106. package/plugins/specweave/commands/jira-sync.md +0 -254
  1107. package/plugins/specweave/commands/jobs.md +0 -52
  1108. package/plugins/specweave/commands/living-docs.md +0 -567
  1109. package/plugins/specweave/commands/lsp.md +0 -205
  1110. package/plugins/specweave/commands/next.md +0 -81
  1111. package/plugins/specweave/commands/progress.md +0 -39
  1112. package/plugins/specweave/commands/qa.md +0 -295
  1113. package/plugins/specweave/commands/reconcile.md +0 -440
  1114. package/plugins/specweave/commands/reflect.md +0 -264
  1115. package/plugins/specweave/commands/release-align.md +0 -504
  1116. package/plugins/specweave/commands/release-init.md +0 -429
  1117. package/plugins/specweave/commands/release-npm.md +0 -1084
  1118. package/plugins/specweave/commands/release-platform.md +0 -438
  1119. package/plugins/specweave/commands/release-rc.md +0 -494
  1120. package/plugins/specweave/commands/restore.md +0 -309
  1121. package/plugins/specweave/commands/save.md +0 -220
  1122. package/plugins/specweave/commands/state.md +0 -209
  1123. package/plugins/specweave/commands/sync-setup.md +0 -161
  1124. package/plugins/specweave/commands/sync-status.md +0 -356
  1125. package/plugins/specweave/commands/team-status.md +0 -70
  1126. package/plugins/specweave/commands/update-instructions.md +0 -81
  1127. package/plugins/specweave/lib/external-sync/hooks-common.sh +0 -266
  1128. package/plugins/specweave/lib/hooks/auto-transition.js +0 -50
  1129. package/plugins/specweave/lib/hooks/auto-transition.ts +0 -84
  1130. package/plugins/specweave/lib/hooks/close-github-issues-abandoned.js +0 -37
  1131. package/plugins/specweave/lib/hooks/close-github-issues-abandoned.ts +0 -59
  1132. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.js +0 -0
  1133. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +0 -89
  1134. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +0 -1
  1135. package/plugins/specweave/lib/hooks/git-diff-analyzer.js +0 -142
  1136. package/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +0 -1
  1137. package/plugins/specweave/lib/hooks/git-diff-analyzer.ts +0 -269
  1138. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.js +0 -0
  1139. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +0 -60
  1140. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +0 -1
  1141. package/plugins/specweave/lib/hooks/invoke-translator-skill.js +0 -156
  1142. package/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +0 -1
  1143. package/plugins/specweave/lib/hooks/invoke-translator-skill.ts +0 -265
  1144. package/plugins/specweave/lib/hooks/launch-codebase-rescan.js +0 -90
  1145. package/plugins/specweave/lib/hooks/launch-codebase-rescan.ts +0 -135
  1146. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.js +0 -0
  1147. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +0 -42
  1148. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +0 -1
  1149. package/plugins/specweave/lib/hooks/prepare-reflection-context.js +0 -110
  1150. package/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +0 -1
  1151. package/plugins/specweave/lib/hooks/prepare-reflection-context.ts +0 -178
  1152. package/plugins/specweave/lib/hooks/project-bridge.js +0 -82
  1153. package/plugins/specweave/lib/hooks/reflection-config-loader.d.js +0 -0
  1154. package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +0 -45
  1155. package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +0 -1
  1156. package/plugins/specweave/lib/hooks/reflection-config-loader.js +0 -92
  1157. package/plugins/specweave/lib/hooks/reflection-config-loader.js.map +0 -1
  1158. package/plugins/specweave/lib/hooks/reflection-config-loader.ts +0 -156
  1159. package/plugins/specweave/lib/hooks/reflection-parser.d.js +0 -0
  1160. package/plugins/specweave/lib/hooks/reflection-parser.d.ts +0 -33
  1161. package/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +0 -1
  1162. package/plugins/specweave/lib/hooks/reflection-parser.js +0 -301
  1163. package/plugins/specweave/lib/hooks/reflection-parser.js.map +0 -1
  1164. package/plugins/specweave/lib/hooks/reflection-parser.ts +0 -484
  1165. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.js +0 -0
  1166. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +0 -56
  1167. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +0 -1
  1168. package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +0 -182
  1169. package/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +0 -1
  1170. package/plugins/specweave/lib/hooks/reflection-prompt-builder.ts +0 -306
  1171. package/plugins/specweave/lib/hooks/reflection-storage.d.js +0 -0
  1172. package/plugins/specweave/lib/hooks/reflection-storage.d.ts +0 -64
  1173. package/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +0 -1
  1174. package/plugins/specweave/lib/hooks/reflection-storage.js +0 -231
  1175. package/plugins/specweave/lib/hooks/reflection-storage.js.map +0 -1
  1176. package/plugins/specweave/lib/hooks/reflection-storage.ts +0 -369
  1177. package/plugins/specweave/lib/hooks/reopen-github-issues.js +0 -37
  1178. package/plugins/specweave/lib/hooks/reopen-github-issues.ts +0 -59
  1179. package/plugins/specweave/lib/hooks/run-self-reflection.d.js +0 -0
  1180. package/plugins/specweave/lib/hooks/run-self-reflection.d.ts +0 -43
  1181. package/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +0 -1
  1182. package/plugins/specweave/lib/hooks/run-self-reflection.js +0 -132
  1183. package/plugins/specweave/lib/hooks/run-self-reflection.js.map +0 -1
  1184. package/plugins/specweave/lib/hooks/run-self-reflection.ts +0 -258
  1185. package/plugins/specweave/lib/hooks/session-start-reconcile-worker.js +0 -36
  1186. package/plugins/specweave/lib/hooks/session-start-reconcile-worker.ts +0 -58
  1187. package/plugins/specweave/lib/hooks/sync-cache.js +0 -295
  1188. package/plugins/specweave/lib/hooks/sync-increment-closure.js +0 -66
  1189. package/plugins/specweave/lib/hooks/sync-increment-closure.ts +0 -111
  1190. package/plugins/specweave/lib/hooks/sync-living-docs.d.js +0 -1
  1191. package/plugins/specweave/lib/hooks/sync-living-docs.d.ts +0 -27
  1192. package/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +0 -1
  1193. package/plugins/specweave/lib/hooks/sync-living-docs.js +0 -494
  1194. package/plugins/specweave/lib/hooks/sync-living-docs.js.map +0 -1
  1195. package/plugins/specweave/lib/hooks/sync-living-docs.ts.DISABLED +0 -482
  1196. package/plugins/specweave/lib/hooks/sync-us-tasks.js +0 -476
  1197. package/plugins/specweave/lib/hooks/translate-file.d.js +0 -0
  1198. package/plugins/specweave/lib/hooks/translate-file.d.ts +0 -59
  1199. package/plugins/specweave/lib/hooks/translate-file.d.ts.map +0 -1
  1200. package/plugins/specweave/lib/hooks/translate-file.js +0 -290
  1201. package/plugins/specweave/lib/hooks/translate-file.js.map +0 -1
  1202. package/plugins/specweave/lib/hooks/translate-file.ts +0 -429
  1203. package/plugins/specweave/lib/hooks/translate-living-docs.d.js +0 -0
  1204. package/plugins/specweave/lib/hooks/translate-living-docs.d.ts +0 -13
  1205. package/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +0 -1
  1206. package/plugins/specweave/lib/hooks/translate-living-docs.js +0 -120
  1207. package/plugins/specweave/lib/hooks/translate-living-docs.js.map +0 -1
  1208. package/plugins/specweave/lib/hooks/translate-living-docs.ts +0 -225
  1209. package/plugins/specweave/lib/hooks/types/reflection-types.d.js +0 -0
  1210. package/plugins/specweave/lib/hooks/types/reflection-types.d.ts +0 -164
  1211. package/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +0 -1
  1212. package/plugins/specweave/lib/hooks/types/reflection-types.js +0 -58
  1213. package/plugins/specweave/lib/hooks/types/reflection-types.js.map +0 -1
  1214. package/plugins/specweave/lib/hooks/types/reflection-types.ts +0 -193
  1215. package/plugins/specweave/lib/hooks/update-ac-status.js +0 -188
  1216. package/plugins/specweave/lib/hooks/update-ac-status.ts +0 -340
  1217. package/plugins/specweave/lib/hooks/update-tasks-md.d.js +0 -1
  1218. package/plugins/specweave/lib/hooks/update-tasks-md.d.ts +0 -29
  1219. package/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +0 -1
  1220. package/plugins/specweave/lib/hooks/update-tasks-md.js +0 -296
  1221. package/plugins/specweave/lib/hooks/update-tasks-md.js.map +0 -1
  1222. package/plugins/specweave/lib/hooks/update-tasks-md.ts +0 -489
  1223. package/plugins/specweave/lib/hooks/us-completion-orchestrator.js +0 -169
  1224. package/plugins/specweave/lib/hooks/us-completion-orchestrator.ts +0 -318
  1225. package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.js +0 -0
  1226. package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.ts +0 -94
  1227. package/plugins/specweave/lib/integrations/ado/ado-board-resolver.d.ts.map +0 -1
  1228. package/plugins/specweave/lib/integrations/ado/ado-board-resolver.js.map +0 -1
  1229. package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.js +0 -0
  1230. package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.ts +0 -134
  1231. package/plugins/specweave/lib/integrations/ado/ado-client-v2.d.ts.map +0 -1
  1232. package/plugins/specweave/lib/integrations/ado/ado-client-v2.js.map +0 -1
  1233. package/plugins/specweave/lib/integrations/ado/ado-client.d.js +0 -4
  1234. package/plugins/specweave/lib/integrations/ado/ado-client.d.ts +0 -112
  1235. package/plugins/specweave/lib/integrations/ado/ado-client.d.ts.map +0 -1
  1236. package/plugins/specweave/lib/integrations/ado/ado-client.js.map +0 -1
  1237. package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.js +0 -0
  1238. package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.ts +0 -40
  1239. package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.d.ts.map +0 -1
  1240. package/plugins/specweave/lib/integrations/ado/ado-hierarchical-sync.js.map +0 -1
  1241. package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.js +0 -0
  1242. package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.ts +0 -38
  1243. package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.d.ts.map +0 -1
  1244. package/plugins/specweave/lib/integrations/ado/ado-spec-commit-sync.js.map +0 -1
  1245. package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.js +0 -0
  1246. package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.ts +0 -100
  1247. package/plugins/specweave/lib/integrations/ado/ado-spec-sync.d.ts.map +0 -1
  1248. package/plugins/specweave/lib/integrations/ado/ado-spec-sync.js.map +0 -1
  1249. package/plugins/specweave/lib/integrations/ado/project-selector.d.js +0 -0
  1250. package/plugins/specweave/lib/integrations/ado/project-selector.d.ts +0 -42
  1251. package/plugins/specweave/lib/integrations/ado/project-selector.d.ts.map +0 -1
  1252. package/plugins/specweave/lib/integrations/ado/project-selector.js.map +0 -1
  1253. package/plugins/specweave/lib/integrations/github/github-board-resolver.d.js +0 -0
  1254. package/plugins/specweave/lib/integrations/github/github-board-resolver.d.ts +0 -54
  1255. package/plugins/specweave/lib/integrations/github/github-board-resolver.d.ts.map +0 -1
  1256. package/plugins/specweave/lib/integrations/github/github-board-resolver.js.map +0 -1
  1257. package/plugins/specweave/lib/integrations/github/github-client.d.js +0 -0
  1258. package/plugins/specweave/lib/integrations/github/github-client.d.ts +0 -96
  1259. package/plugins/specweave/lib/integrations/github/github-client.d.ts.map +0 -1
  1260. package/plugins/specweave/lib/integrations/github/github-client.js.map +0 -1
  1261. package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.js +0 -0
  1262. package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.ts +0 -29
  1263. package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.d.ts.map +0 -1
  1264. package/plugins/specweave/lib/integrations/github/github-hierarchical-sync.js.map +0 -1
  1265. package/plugins/specweave/lib/integrations/github/github-issue-updater.d.js +0 -0
  1266. package/plugins/specweave/lib/integrations/github/github-issue-updater.d.ts +0 -61
  1267. package/plugins/specweave/lib/integrations/github/github-issue-updater.d.ts.map +0 -1
  1268. package/plugins/specweave/lib/integrations/github/github-issue-updater.js.map +0 -1
  1269. package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.js +0 -0
  1270. package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.ts +0 -37
  1271. package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.d.ts.map +0 -1
  1272. package/plugins/specweave/lib/integrations/github/github-spec-commit-sync.js.map +0 -1
  1273. package/plugins/specweave/lib/integrations/github/github-spec-sync.d.js +0 -0
  1274. package/plugins/specweave/lib/integrations/github/github-spec-sync.d.ts +0 -108
  1275. package/plugins/specweave/lib/integrations/github/github-spec-sync.d.ts.map +0 -1
  1276. package/plugins/specweave/lib/integrations/github/github-spec-sync.js.map +0 -1
  1277. package/plugins/specweave/lib/integrations/github/index.d.js +0 -11
  1278. package/plugins/specweave/lib/integrations/github/index.d.ts +0 -10
  1279. package/plugins/specweave/lib/integrations/github/index.d.ts.map +0 -1
  1280. package/plugins/specweave/lib/integrations/github/index.js.map +0 -1
  1281. package/plugins/specweave/lib/integrations/github/repo-selector.d.js +0 -0
  1282. package/plugins/specweave/lib/integrations/github/repo-selector.d.ts +0 -49
  1283. package/plugins/specweave/lib/integrations/github/repo-selector.d.ts.map +0 -1
  1284. package/plugins/specweave/lib/integrations/github/repo-selector.js.map +0 -1
  1285. package/plugins/specweave/lib/integrations/github/types.d.js +0 -0
  1286. package/plugins/specweave/lib/integrations/github/types.d.ts +0 -80
  1287. package/plugins/specweave/lib/integrations/github/types.d.ts.map +0 -1
  1288. package/plugins/specweave/lib/integrations/github/types.js.map +0 -1
  1289. package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.js +0 -0
  1290. package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.ts +0 -50
  1291. package/plugins/specweave/lib/integrations/jira/jira-board-resolver.d.ts.map +0 -1
  1292. package/plugins/specweave/lib/integrations/jira/jira-board-resolver.js.map +0 -1
  1293. package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.js +0 -0
  1294. package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.ts +0 -33
  1295. package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.d.ts.map +0 -1
  1296. package/plugins/specweave/lib/integrations/jira/jira-hierarchical-sync.js.map +0 -1
  1297. package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.js +0 -0
  1298. package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.ts +0 -43
  1299. package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.d.ts.map +0 -1
  1300. package/plugins/specweave/lib/integrations/jira/jira-spec-commit-sync.js.map +0 -1
  1301. package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.js +0 -0
  1302. package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.ts +0 -105
  1303. package/plugins/specweave/lib/integrations/jira/jira-spec-sync.d.ts.map +0 -1
  1304. package/plugins/specweave/lib/integrations/jira/jira-spec-sync.js.map +0 -1
  1305. package/plugins/specweave/lib/integrations/jira/project-selector.d.js +0 -0
  1306. package/plugins/specweave/lib/integrations/jira/project-selector.d.ts +0 -42
  1307. package/plugins/specweave/lib/integrations/jira/project-selector.d.ts.map +0 -1
  1308. package/plugins/specweave/lib/integrations/jira/project-selector.js.map +0 -1
  1309. package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.js +0 -0
  1310. package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.ts +0 -67
  1311. package/plugins/specweave/lib/integrations/jira/reorganization-detector.d.ts.map +0 -1
  1312. package/plugins/specweave/lib/integrations/jira/reorganization-detector.js.map +0 -1
  1313. package/plugins/specweave/lib/integrations/jira/setup-wizard.d.js +0 -4
  1314. package/plugins/specweave/lib/integrations/jira/setup-wizard.d.ts +0 -29
  1315. package/plugins/specweave/lib/integrations/jira/setup-wizard.d.ts.map +0 -1
  1316. package/plugins/specweave/lib/integrations/jira/setup-wizard.js.map +0 -1
  1317. package/plugins/specweave/scripts/analyze-standards.sh +0 -315
  1318. package/plugins/specweave/scripts/auto-status.sh +0 -283
  1319. package/plugins/specweave/scripts/cancel-auto.sh +0 -144
  1320. package/plugins/specweave/scripts/cleanup-legacy-state.sh +0 -80
  1321. package/plugins/specweave/scripts/cleanup-state.sh +0 -168
  1322. package/plugins/specweave/scripts/force-kill.sh +0 -133
  1323. package/plugins/specweave/scripts/heartbeat.sh +0 -134
  1324. package/plugins/specweave/scripts/hook-health.sh +0 -441
  1325. package/plugins/specweave/scripts/jira/import-projects.js +0 -181
  1326. package/plugins/specweave/scripts/jira/import-projects.ts +0 -286
  1327. package/plugins/specweave/scripts/lsp-check.sh +0 -331
  1328. package/plugins/specweave/scripts/lsp-warmup.sh +0 -144
  1329. package/plugins/specweave/scripts/read-analytics.sh +0 -286
  1330. package/plugins/specweave/scripts/read-costs.sh +0 -132
  1331. package/plugins/specweave/scripts/read-grill-context.sh +0 -149
  1332. package/plugins/specweave/scripts/read-jobs.sh +0 -371
  1333. package/plugins/specweave/scripts/read-progress.sh +0 -413
  1334. package/plugins/specweave/scripts/read-status.sh +0 -146
  1335. package/plugins/specweave/scripts/read-workflow.sh +0 -173
  1336. package/plugins/specweave/scripts/reflect-check.sh +0 -250
  1337. package/plugins/specweave/scripts/setup-auto.sh +0 -603
  1338. package/plugins/specweave/scripts/tests/test-setup-auto-selection.sh +0 -74
  1339. package/plugins/specweave/scripts/tests/test-setup-auto-usergoal.sh +0 -83
  1340. package/plugins/specweave/scripts/track-analytics.sh +0 -118
  1341. package/plugins/specweave/scripts/update-dashboard-cache.sh +0 -338
  1342. package/plugins/specweave/skills/ado-mapper/SKILL.md +0 -464
  1343. package/plugins/specweave/skills/ado-multi-project/SKILL.md +0 -550
  1344. package/plugins/specweave/skills/ado-resource-validator/SKILL.md +0 -901
  1345. package/plugins/specweave/skills/ado-sync/README.md +0 -414
  1346. package/plugins/specweave/skills/ado-sync/SKILL.md +0 -449
  1347. package/plugins/specweave/skills/analytics/SKILL.md +0 -46
  1348. package/plugins/specweave/skills/architect/SKILL.md +0 -113
  1349. package/plugins/specweave/skills/close-all/SKILL.md +0 -51
  1350. package/plugins/specweave/skills/code-reviewer/SKILL.md +0 -632
  1351. package/plugins/specweave/skills/code-reviewer/agents/reviewer-comments.md +0 -83
  1352. package/plugins/specweave/skills/code-reviewer/agents/reviewer-silent-failures.md +0 -84
  1353. package/plugins/specweave/skills/code-reviewer/agents/reviewer-spec-compliance.md +0 -102
  1354. package/plugins/specweave/skills/code-reviewer/agents/reviewer-tests.md +0 -101
  1355. package/plugins/specweave/skills/code-reviewer/agents/reviewer-types.md +0 -88
  1356. package/plugins/specweave/skills/debug/SKILL.md +0 -220
  1357. package/plugins/specweave/skills/diagrams/SKILL.md +0 -748
  1358. package/plugins/specweave/skills/e2e/SKILL.md +0 -425
  1359. package/plugins/specweave/skills/e2e/evals/evals.json +0 -122
  1360. package/plugins/specweave/skills/get/SKILL.md +0 -116
  1361. package/plugins/specweave/skills/github-issue-standard/SKILL.md +0 -13
  1362. package/plugins/specweave/skills/github-multi-project/SKILL.md +0 -258
  1363. package/plugins/specweave/skills/github-sync/SKILL.md +0 -40
  1364. package/plugins/specweave/skills/github-sync/evals/HOW-TO-RUN-EVALS.md +0 -50
  1365. package/plugins/specweave/skills/github-sync/evals/evals.json +0 -136
  1366. package/plugins/specweave/skills/grill/SKILL.md +0 -483
  1367. package/plugins/specweave/skills/help/SKILL.md +0 -179
  1368. package/plugins/specweave/skills/image/SKILL.md +0 -427
  1369. package/plugins/specweave/skills/import/SKILL.md +0 -191
  1370. package/plugins/specweave/skills/jira-mapper/SKILL.md +0 -638
  1371. package/plugins/specweave/skills/jira-resource-validator/SKILL.md +0 -743
  1372. package/plugins/specweave/skills/jira-sync/README.md +0 -291
  1373. package/plugins/specweave/skills/jira-sync/SKILL.md +0 -252
  1374. package/plugins/specweave/skills/judge-llm/SKILL.md +0 -235
  1375. package/plugins/specweave/skills/multi-project/SKILL.md +0 -371
  1376. package/plugins/specweave/skills/npm/SKILL.md +0 -1083
  1377. package/plugins/specweave/skills/plan/SKILL.md +0 -308
  1378. package/plugins/specweave/skills/pm/SKILL.md +0 -149
  1379. package/plugins/specweave/skills/pm/phases/00-deep-interview.md +0 -352
  1380. package/plugins/specweave/skills/pm/phases/01-research.md +0 -80
  1381. package/plugins/specweave/skills/pm/phases/02-spec-creation.md +0 -142
  1382. package/plugins/specweave/skills/pm/phases/03-validation.md +0 -89
  1383. package/plugins/specweave/skills/pm/templates/spec-template.md +0 -159
  1384. package/plugins/specweave/skills/pr/SKILL.md +0 -257
  1385. package/plugins/specweave/skills/pr-review/SKILL.md +0 -167
  1386. package/plugins/specweave/skills/progress-sync/SKILL.md +0 -452
  1387. package/plugins/specweave/skills/release-expert/SKILL.md +0 -502
  1388. package/plugins/specweave/skills/remotion/SKILL.md +0 -227
  1389. package/plugins/specweave/skills/skill-gen/SKILL.md +0 -186
  1390. package/plugins/specweave/skills/skill-gen/evals/evals.json +0 -79
  1391. package/plugins/specweave/skills/skill-refine/SKILL.md +0 -97
  1392. package/plugins/specweave/skills/sync-docs/SKILL.md +0 -72
  1393. package/plugins/specweave/skills/tdd-cycle/SKILL.md +0 -267
  1394. package/plugins/specweave/skills/tdd-green/SKILL.md +0 -84
  1395. package/plugins/specweave/skills/tdd-red/SKILL.md +0 -90
  1396. package/plugins/specweave/skills/tdd-refactor/SKILL.md +0 -59
  1397. package/plugins/specweave/skills/team-build/SKILL.md +0 -29
  1398. package/plugins/specweave/skills/team-lead/SKILL.md +0 -1239
  1399. package/plugins/specweave/skills/team-lead/reference/dynamic-workflows.md +0 -144
  1400. package/plugins/specweave/skills/team-merge/SKILL.md +0 -230
  1401. package/plugins/specweave/skills/umbrella/SKILL.md +0 -406
  1402. package/plugins/specweave/skills/validate/SKILL.md +0 -135
  1403. package/plugins/specweave/skills/video/SKILL.md +0 -350
  1404. package/src/templates/COMPLETION-REPORT.template.md +0 -128
  1405. package/src/templates/MEMORY-template.md +0 -9
  1406. package/src/templates/config-permissions-guide.md +0 -413
  1407. package/src/templates/config.json.template +0 -18
  1408. package/src/templates/docs/rfc-template.md +0 -229
  1409. package/src/templates/increment-metadata-template.yaml +0 -138
  1410. package/src/templates/tasks.md.template +0 -269
  1411. /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-advocate.md +0 -0
  1412. /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-critic.md +0 -0
  1413. /package/plugins/specweave/skills/{team-lead → team}/agents/brainstorm-pragmatist.md +0 -0
  1414. /package/plugins/specweave/skills/{team-lead → team}/agents/researcher.md +0 -0
  1415. /package/plugins/specweave/skills/{team-lead → team}/agents/reviewer-security.md +0 -0
@@ -1,104 +1,58 @@
1
1
  /**
2
- * Handoff Doc Format — single source of truth
2
+ * Handoff Doc Format (2.0) — single source of truth, ≤ 1 page.
3
3
  *
4
4
  * Renders BOTH the durable handoff document and the copy-paste resume prompt
5
- * from one {@link HandoffDocInput}. The CLI command, the PreCompact hook
6
- * handler, and the vitest parity test all render through this module, so the
7
- * doc format and paste-prompt cannot drift between code paths. The vskill
8
- * self-contained skill inlines a byte-compatible template that references the
9
- * same canonical section order + footer marker exported here.
5
+ * from one {@link HandoffDocInput}. PURE rendering: no IO, no git — callers
6
+ * pass already-captured + already-scrubbed data in.
10
7
  *
11
- * Design rules:
12
- * - This module is PURE rendering. It does no IO, no git, no workspace
13
- * detection callers pass already-captured + already-scrubbed data in.
14
- * - The absolute doc path, the `.diff` path, and the per-tool resume matrix are
15
- * inputs/constants so the renderer is deterministic and testable.
16
- * - The `Doc format v1` footer marker (DOC_FORMAT_MARKER) is the ownership
17
- * sentinel that lets the builder know a file is a prior handoff it may
18
- * overwrite, and the version handle for future format migrations.
19
- *
20
- * Part of increment 0867: Cross-Tool Work Handoff
21
- * (AC-US1-02, AC-US2-04, AC-US5-01..04, AC-US6-02, AC-US6-05).
8
+ * Sections (in order): Where I left off · Done / Pending · Decisions ·
9
+ * Files touched · Next steps · Resume. Header carries agent id, git, and the
10
+ * active claims. The `Doc format v2` footer marker is the ownership sentinel.
22
11
  *
23
12
  * @module core/session/handoff-doc-format
24
13
  */
25
- /**
26
- * Footer marker stamped at the bottom of every handoff doc.
27
- *
28
- * Doubles as the ownership sentinel: a root `./HANDOFF.md` containing this
29
- * string is treated as a prior handoff (safe to overwrite); one lacking it is a
30
- * foreign file the builder must not clobber.
31
- */
32
- export declare const DOC_FORMAT_MARKER = "Doc format v1";
33
- /**
34
- * Delimiters wrapping the self-contained body in `--inline` paste-prompts.
35
- * A resuming agent reads everything between these markers as the handoff.
36
- */
14
+ /** Footer marker (ownership sentinel + format version handle). */
15
+ export declare const DOC_FORMAT_MARKER = "Doc format v2";
16
+ /** Prior marker — still recognized as "ours" so v1 docs are overwritten, not treated as foreign. */
17
+ export declare const LEGACY_DOC_FORMAT_MARKER = "Doc format v1";
37
18
  export declare const INLINE_BEGIN_MARKER = "BEGIN HANDOFF";
38
19
  export declare const INLINE_END_MARKER = "END HANDOFF";
39
- /**
40
- * Canonical section headers, in render order. Exported so the vskill inlined
41
- * template and the format-parity test (T-017) reference ONE source and fail at
42
- * build time if either side reorders or renames a section.
43
- */
44
20
  export declare const HANDOFF_SECTION_ORDER: readonly string[];
45
- /**
46
- * Per-tool resume guidance. The `findSession` + `resumeCmd` strings are
47
- * VERIFIED against the live CLIs and pinned by cross-tool-commands.test.ts
48
- * (T-016) so the matrix cannot silently drift when a tool updates.
49
- */
21
+ /** Per-tool native resume commands (pinned by cross-tool-commands.test.ts). */
50
22
  export interface ToolResumeEntry {
51
- /** Display name. */
52
23
  tool: string;
53
- /** How to locate the source session on disk / in the tool. */
54
24
  findSession: string;
55
- /** Native resume command(s). */
56
25
  resumeCmd: string;
57
26
  }
58
- /**
59
- * The cross-tool resume matrix (AC-US5-01, AC-US5-02).
60
- *
61
- * NOTE on Claude: session files live under
62
- * `~/.claude/projects/<munged-cwd>/<uuid>.jsonl`, where the cwd is munged by
63
- * replacing EVERY non-alphanumeric char with `-` and NOT collapsing runs — so a
64
- * leading slash and adjacent separators each become their own dash. Example:
65
- * /Users/.../specweave-umb/.claude-worktrees/x
66
- * → -Users-...-specweave-umb--claude-worktrees-x
67
- * (the `/.` between `umb` and `claude-worktrees` yields a double dash).
68
- */
69
27
  export declare const CLAUDE_MUNGE_EXAMPLE: string;
70
28
  export declare const TOOL_RESUME_MATRIX: readonly ToolResumeEntry[];
71
- /**
72
- * Increment-derived facts (present only on the SpecWeave high-fidelity path).
73
- */
29
+ /** One ledger row for the Done / Pending table. */
30
+ export interface HandoffTaskRow {
31
+ id: string;
32
+ title: string;
33
+ status: string;
34
+ by?: string;
35
+ evidence?: string;
36
+ }
74
37
  export interface HandoffIncrementInfo {
75
38
  id: string;
76
39
  status: string;
77
- /** Title from spec.md frontmatter, if available. */
78
40
  title?: string;
79
- /** The current (first incomplete / in-progress) task line, if any. */
80
- currentTask?: string;
81
- /** The next pending task line after the current one, if any. */
82
- nextTask?: string;
83
- doneTasks: number;
84
- totalTasks: number;
85
- taskPercentage: number;
41
+ tasks: HandoffTaskRow[];
42
+ counts: {
43
+ total: number;
44
+ done: number;
45
+ skipped: number;
46
+ claimed: number;
47
+ blocked: number;
48
+ stale: number;
49
+ open: number;
50
+ };
86
51
  doneAcs: number;
87
52
  totalAcs: number;
88
- /** Human-readable AC/task drift summary lines from acSyncEvents. */
89
- acSyncEvents: string[];
53
+ /** The task `specweave task next` would hand out, if any. */
54
+ nextTask?: HandoffTaskRow;
90
55
  }
91
- /**
92
- * Ambient project rules merged from config.json.
93
- */
94
- export interface HandoffAmbientRules {
95
- testMode?: string;
96
- coverageTarget?: number;
97
- wipLimit?: number;
98
- }
99
- /**
100
- * Git facts for the doc body (mirrors GitState minus the diff file contents).
101
- */
102
56
  export interface HandoffGitInfo {
103
57
  isGitRepo: boolean;
104
58
  branch: string;
@@ -107,56 +61,31 @@ export interface HandoffGitInfo {
107
61
  diffStat: string;
108
62
  hasUncommittedChanges: boolean;
109
63
  }
110
- /**
111
- * The complete, already-scrubbed input to the renderer.
112
- */
113
64
  export interface HandoffDocInput {
114
- /** Absolute path the doc itself will be written to (printed first by CLI). */
115
65
  docPath: string;
116
- /** Absolute path of the sibling full-diff file. */
117
66
  diffPath: string;
118
- /** Repo / workspace root. */
119
67
  repoRoot: string;
120
- /** ISO timestamp of generation. */
121
68
  generatedAt: string;
122
- /** Whether this is the SpecWeave high-fidelity path. */
123
69
  isSpecWeave: boolean;
124
- /** Free-text "why I'm handing off" (e.g. "out of tokens"). */
70
+ /** Agent id of the writer (`specweave task whoami`). */
71
+ agent: string;
125
72
  reason?: string;
126
- /** Free-text summary of where things stand. */
127
73
  summary?: string;
128
- /** Free-text exact next step. */
129
74
  next?: string;
130
- /** Free-text gotcha / warning for the next agent. */
131
75
  gotcha?: string;
132
- /** Key decisions (from plan.md + agent-supplied, already merged). */
76
+ /** Decisions (spec/plan bullets + agent-supplied), already merged + scrubbed. */
133
77
  decisions: string[];
134
- /** Increment facts (SpecWeave path only). */
135
78
  increment?: HandoffIncrementInfo;
136
- /** Ambient rules from config.json. */
137
- ambient?: HandoffAmbientRules;
138
- /** Git facts. */
139
79
  git: HandoffGitInfo;
140
- /** Per-pattern redaction counts from the secret scrub. */
141
80
  redactionCounts: Record<string, number>;
142
81
  }
143
82
  /**
144
- * Render the per-tool "find your source session" block.
145
- */
146
- export declare function renderResumeMatrix(): string;
147
- /**
148
- * Render the full handoff document body (markdown).
149
- *
150
- * Section order is locked to {@link HANDOFF_SECTION_ORDER}; the `Doc format v1`
151
- * footer marker is always last.
83
+ * Render the ≤1-page handoff document.
152
84
  */
153
85
  export declare function renderHandoffDoc(input: HandoffDocInput): string;
154
86
  /**
155
- * Render the copy-paste resume prompt.
156
- *
157
- * Default (file-reachable) mode points the next agent at the doc path. The
158
- * `inline` mode embeds the FULL doc body between BEGIN/END markers for
159
- * cross-machine resume where the file is unreachable (AC-US5-04).
87
+ * Render the copy-paste resume prompt. `inline` embeds the full body between
88
+ * BEGIN/END markers for cross-machine resume.
160
89
  */
161
90
  export declare function renderPastePrompt(input: HandoffDocInput, opts?: {
162
91
  inline?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"handoff-doc-format.d.ts","sourceRoot":"","sources":["../../../../src/core/session/handoff-doc-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAE/C;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAQzC,CAAC;AAEX;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,QAEyC,CAAC;AAE3E,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAiC/C,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,oBAA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IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,sCAAsC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,iBAAiB;IACjB,GAAG,EAAE,cAAc,CAAC;IACpB,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC;AAYD;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,CAgB3C;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAkI/D;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,MAAM,CAwBjG"}
1
+ {"version":3,"file":"handoff-doc-format.d.ts","sourceRoot":"","sources":["../../../../src/core/session/handoff-doc-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,kEAAkE;AAClE,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AACjD,oGAAoG;AACpG,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AAExD,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,iBAAiB,gBAAgB,CAAC;AAE/C,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAOzC,CAAC;AAEX,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,oBAAoB,QAEyC,CAAC;AAE3E,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAiC/C,CAAC;AAEX,mDAAmD;AACnD,MAAM,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CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,GAAG,EAAE,cAAc,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC;AAaD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CA2F/D;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,MAAM,CAqBjG"}
@@ -1,66 +1,30 @@
1
1
  /**
2
- * Handoff Doc Format — single source of truth
2
+ * Handoff Doc Format (2.0) — single source of truth, ≤ 1 page.
3
3
  *
4
4
  * Renders BOTH the durable handoff document and the copy-paste resume prompt
5
- * from one {@link HandoffDocInput}. The CLI command, the PreCompact hook
6
- * handler, and the vitest parity test all render through this module, so the
7
- * doc format and paste-prompt cannot drift between code paths. The vskill
8
- * self-contained skill inlines a byte-compatible template that references the
9
- * same canonical section order + footer marker exported here.
5
+ * from one {@link HandoffDocInput}. PURE rendering: no IO, no git — callers
6
+ * pass already-captured + already-scrubbed data in.
10
7
  *
11
- * Design rules:
12
- * - This module is PURE rendering. It does no IO, no git, no workspace
13
- * detection callers pass already-captured + already-scrubbed data in.
14
- * - The absolute doc path, the `.diff` path, and the per-tool resume matrix are
15
- * inputs/constants so the renderer is deterministic and testable.
16
- * - The `Doc format v1` footer marker (DOC_FORMAT_MARKER) is the ownership
17
- * sentinel that lets the builder know a file is a prior handoff it may
18
- * overwrite, and the version handle for future format migrations.
19
- *
20
- * Part of increment 0867: Cross-Tool Work Handoff
21
- * (AC-US1-02, AC-US2-04, AC-US5-01..04, AC-US6-02, AC-US6-05).
8
+ * Sections (in order): Where I left off · Done / Pending · Decisions ·
9
+ * Files touched · Next steps · Resume. Header carries agent id, git, and the
10
+ * active claims. The `Doc format v2` footer marker is the ownership sentinel.
22
11
  *
23
12
  * @module core/session/handoff-doc-format
24
13
  */
25
- /**
26
- * Footer marker stamped at the bottom of every handoff doc.
27
- *
28
- * Doubles as the ownership sentinel: a root `./HANDOFF.md` containing this
29
- * string is treated as a prior handoff (safe to overwrite); one lacking it is a
30
- * foreign file the builder must not clobber.
31
- */
32
- export const DOC_FORMAT_MARKER = 'Doc format v1';
33
- /**
34
- * Delimiters wrapping the self-contained body in `--inline` paste-prompts.
35
- * A resuming agent reads everything between these markers as the handoff.
36
- */
14
+ /** Footer marker (ownership sentinel + format version handle). */
15
+ export const DOC_FORMAT_MARKER = 'Doc format v2';
16
+ /** Prior marker — still recognized as "ours" so v1 docs are overwritten, not treated as foreign. */
17
+ export const LEGACY_DOC_FORMAT_MARKER = 'Doc format v1';
37
18
  export const INLINE_BEGIN_MARKER = 'BEGIN HANDOFF';
38
19
  export const INLINE_END_MARKER = 'END HANDOFF';
39
- /**
40
- * Canonical section headers, in render order. Exported so the vskill inlined
41
- * template and the format-parity test (T-017) reference ONE source and fail at
42
- * build time if either side reorders or renames a section.
43
- */
44
20
  export const HANDOFF_SECTION_ORDER = [
45
- 'Where I Left Off',
21
+ 'Where I left off',
46
22
  'Done / Pending',
47
- 'Key Decisions & Gotchas',
48
- 'Files Touched',
49
- 'Exact Next Steps',
50
- 'How To Resume',
51
- 'Redaction',
23
+ 'Decisions',
24
+ 'Files touched',
25
+ 'Next steps',
26
+ 'Resume',
52
27
  ];
53
- /**
54
- * The cross-tool resume matrix (AC-US5-01, AC-US5-02).
55
- *
56
- * NOTE on Claude: session files live under
57
- * `~/.claude/projects/<munged-cwd>/<uuid>.jsonl`, where the cwd is munged by
58
- * replacing EVERY non-alphanumeric char with `-` and NOT collapsing runs — so a
59
- * leading slash and adjacent separators each become their own dash. Example:
60
- * /Users/.../specweave-umb/.claude-worktrees/x
61
- * → -Users-...-specweave-umb--claude-worktrees-x
62
- * (the `/.` between `umb` and `claude-worktrees` yields a double dash).
63
- */
64
28
  export const CLAUDE_MUNGE_EXAMPLE = '/Users/antonabyzov/Projects/github/specweave-umb/.claude-worktrees/x ' +
65
29
  '→ -Users-antonabyzov-Projects-github-specweave-umb--claude-worktrees-x';
66
30
  export const TOOL_RESUME_MATRIX = [
@@ -96,182 +60,124 @@ export const TOOL_RESUME_MATRIX = [
96
60
  resumeCmd: 'aider --restore-chat-history',
97
61
  },
98
62
  ];
99
- function fmtCount(counts) {
100
- const entries = Object.entries(counts);
101
- if (entries.length === 0) {
102
- return '_No token-like strings were detected._';
103
- }
104
- return entries
105
- .map(([type, n]) => `- ${n} \`${type}\` ${n === 1 ? 'string' : 'strings'} masked`)
106
- .join('\n');
63
+ const MAX_TASK_ROWS = 25;
64
+ const MAX_DECISIONS = 8;
65
+ function totalRedactions(counts) {
66
+ return Object.values(counts).reduce((a, b) => a + b, 0);
107
67
  }
108
- /**
109
- * Render the per-tool "find your source session" block.
110
- */
111
- export function renderResumeMatrix() {
112
- const lines = ['## How To Resume', ''];
113
- lines.push('If the doc path above does NOT exist on the machine you are reading this on, ' +
114
- 'STOP and ask the user to paste the handoff — do not improvise context.');
115
- lines.push('');
116
- lines.push('To recover the ORIGINAL transcript (optional), find your source session per tool:');
117
- lines.push('');
118
- for (const e of TOOL_RESUME_MATRIX) {
119
- lines.push(`### ${e.tool}`);
120
- lines.push(`- Find session: ${e.findSession}`);
121
- lines.push(`- Resume: \`${e.resumeCmd}\``);
122
- lines.push('');
123
- }
124
- return lines.join('\n').trimEnd();
68
+ function uncommittedCount(porcelain) {
69
+ return porcelain.split('\n').filter((l) => l.trim()).length;
125
70
  }
126
71
  /**
127
- * Render the full handoff document body (markdown).
128
- *
129
- * Section order is locked to {@link HANDOFF_SECTION_ORDER}; the `Doc format v1`
130
- * footer marker is always last.
72
+ * Render the ≤1-page handoff document.
131
73
  */
132
74
  export function renderHandoffDoc(input) {
133
75
  const L = [];
134
- // ── Header ──────────────────────────────────────────────────────────────
135
- const titleBit = input.increment?.title ? `: ${input.increment.title}` : '';
136
- L.push(`# Work Handoff${titleBit}`);
137
- L.push('');
138
- L.push(`- Doc path: ${input.docPath}`);
139
- L.push(`- Doc link: [${input.docPath}](${input.docPath})`);
140
- L.push(`- Diff file: ${input.diffPath}`);
141
- L.push(`- Generated: ${input.generatedAt}`);
142
- L.push(`- Workspace: ${input.repoRoot} ${input.isSpecWeave ? '(SpecWeave)' : '(non-SpecWeave)'}`);
143
- if (input.git.isGitRepo) {
144
- L.push(`- Git: branch \`${input.git.branch || '(detached)'}\` @ \`${input.git.shortSha || '(no commits)'}\``);
145
- }
146
- L.push('');
147
- // ── Where I Left Off ──────────────────────────────────────────────────────
148
- L.push('## Where I Left Off');
149
- L.push('');
76
+ const inc = input.increment;
77
+ // ── Header ────────────────────────────────────────────────────────────
78
+ const title = inc ? `${inc.id}${inc.title ? ` ${inc.title}` : ''}` : 'no active increment';
79
+ L.push(`# Handoff — ${title}`);
80
+ const gitBit = input.git.isGitRepo
81
+ ? `branch ${input.git.branch || '(detached)'} @ ${input.git.shortSha || '(no commits)'} · tree: ${input.git.hasUncommittedChanges ? `${uncommittedCount(input.git.statusPorcelain)} uncommitted` : 'clean'}`
82
+ : 'not a git repo';
83
+ L.push(`agent: ${input.agent} · ${input.generatedAt} · ${gitBit} · redactions: ${totalRedactions(input.redactionCounts)}`);
84
+ const claims = (inc?.tasks ?? []).filter((t) => t.status === 'claimed' || t.status === 'blocked' || t.status === 'stale');
85
+ L.push(`active claims: ${claims.length ? claims.map((t) => `${t.id} (${t.status} by ${t.by})`).join(', ') : 'none'}`);
86
+ L.push('');
87
+ // ── Where I left off ──────────────────────────────────────────────────
88
+ L.push('## Where I left off');
150
89
  if (input.reason)
151
- L.push(`**Why handing off:** ${input.reason}`);
90
+ L.push(`Why: ${input.reason}`);
152
91
  if (input.summary)
153
- L.push(`**Summary:** ${input.summary}`);
154
- if (input.increment) {
155
- L.push(`**Increment:** ${input.increment.id} (status: ${input.increment.status})`);
156
- if (input.increment.currentTask)
157
- L.push(`**Current task:** ${input.increment.currentTask}`);
158
- if (input.increment.nextTask)
159
- L.push(`**Next task:** ${input.increment.nextTask}`);
92
+ L.push(input.summary);
93
+ if (inc) {
94
+ L.push(`Increment ${inc.id} (${inc.status}) · tasks ${inc.counts.done}/${inc.counts.total} done · ACs ${inc.doneAcs}/${inc.totalAcs}`);
160
95
  }
161
96
  else {
162
- L.push('_No active SpecWeave increment — this is a git + interview handoff._');
97
+ L.push('No active SpecWeave increment — git + notes handoff.');
163
98
  }
99
+ if (input.gotcha)
100
+ L.push(`Gotcha: ${input.gotcha}`);
164
101
  L.push('');
165
- // ── Done / Pending ──────────────────────────────────────────────────────
102
+ // ── Done / Pending ────────────────────────────────────────────────────
166
103
  L.push('## Done / Pending');
167
- L.push('');
168
- if (input.increment) {
169
- const inc = input.increment;
170
- L.push(`- Tasks: ${inc.doneTasks}/${inc.totalTasks} done (${inc.taskPercentage}%), ` +
171
- `${inc.totalTasks - inc.doneTasks} pending`);
172
- L.push(`- ACs: ${inc.doneAcs}/${inc.totalAcs} checked`);
173
- if (inc.acSyncEvents.length > 0) {
174
- L.push('- AC/task drift (recent sync events):');
175
- for (const ev of inc.acSyncEvents)
176
- L.push(` - ${ev}`);
104
+ if (inc && inc.tasks.length) {
105
+ L.push('| Task | State | By | Evidence / note |');
106
+ L.push('|---|---|---|---|');
107
+ for (const t of inc.tasks.slice(0, MAX_TASK_ROWS)) {
108
+ L.push(`| ${t.id} ${t.title} | ${t.status} | ${t.by ?? ''} | ${(t.evidence ?? '').replace(/\|/g, '/').slice(0, 60)} |`);
177
109
  }
110
+ if (inc.tasks.length > MAX_TASK_ROWS)
111
+ L.push(`| … | +${inc.tasks.length - MAX_TASK_ROWS} more | | see tasks.md |`);
112
+ const c = inc.counts;
113
+ L.push(`${c.done}/${c.total} done · ${c.skipped} skipped · ${c.claimed} claimed · ${c.blocked} blocked · ${c.stale} stale · ${c.open} open`);
178
114
  }
179
115
  else {
180
- L.push('_No increment task/AC state available._');
116
+ L.push('_No task state available._');
181
117
  }
182
118
  L.push('');
183
- // ── Key Decisions & Gotchas ───────────────────────────────────────────────
184
- L.push('## Key Decisions & Gotchas');
185
- L.push('');
186
- if (input.decisions.length > 0) {
187
- for (const d of input.decisions)
119
+ // ── Decisions ─────────────────────────────────────────────────────────
120
+ L.push('## Decisions');
121
+ if (input.decisions.length) {
122
+ for (const d of input.decisions.slice(0, MAX_DECISIONS))
188
123
  L.push(`- ${d}`);
124
+ if (input.decisions.length > MAX_DECISIONS)
125
+ L.push(`- … +${input.decisions.length - MAX_DECISIONS} more in spec.md / plan.md`);
189
126
  }
190
127
  else {
191
- L.push('_No decisions recorded._');
192
- }
193
- if (input.gotcha) {
194
- L.push('');
195
- L.push(`**Gotcha:** ${input.gotcha}`);
196
- }
197
- if (input.ambient && (input.ambient.testMode || input.ambient.coverageTarget != null || input.ambient.wipLimit != null)) {
198
- L.push('');
199
- L.push('**Ambient rules (config.json):**');
200
- if (input.ambient.testMode)
201
- L.push(`- Test mode: ${input.ambient.testMode}`);
202
- if (input.ambient.coverageTarget != null)
203
- L.push(`- Coverage target: ${input.ambient.coverageTarget}%`);
204
- if (input.ambient.wipLimit != null)
205
- L.push(`- WIP limit: ${input.ambient.wipLimit}`);
128
+ L.push('_None recorded — see spec.md Approach._');
206
129
  }
207
130
  L.push('');
208
- // ── Files Touched ─────────────────────────────────────────────────────────
209
- L.push('## Files Touched');
210
- L.push('');
131
+ // ── Files touched ─────────────────────────────────────────────────────
132
+ L.push('## Files touched');
211
133
  if (input.git.hasUncommittedChanges) {
212
- L.push('**UNCOMMITTED** — commit, stash, or keep editing BEFORE doing anything destructive.');
213
- L.push('');
134
+ L.push('UNCOMMITTED — commit or stash before anything destructive.');
214
135
  L.push('```');
215
136
  L.push(input.git.statusPorcelain || '(no porcelain output)');
216
137
  L.push('```');
217
- if (input.git.diffStat) {
218
- L.push('');
219
- L.push('```');
220
- L.push(input.git.diffStat);
221
- L.push('```');
222
- }
223
- L.push('');
224
- L.push(`Full uncommitted diff: \`${input.diffPath}\` — read it or run ` +
225
- '`git apply --check` against it to see the exact edits.');
138
+ L.push(`Full diff: \`${input.diffPath}\``);
226
139
  }
227
140
  else if (input.git.isGitRepo) {
228
- L.push('_Working tree clean — no uncommitted edits._');
141
+ L.push('Working tree clean.');
229
142
  }
230
143
  else {
231
- L.push('_Not a git repository — no diff captured._');
144
+ L.push('Not a git repository — no diff captured.');
232
145
  }
233
146
  L.push('');
234
- // ── Exact Next Steps ──────────────────────────────────────────────────────
235
- L.push('## Exact Next Steps');
236
- L.push('');
147
+ // ── Next steps ────────────────────────────────────────────────────────
148
+ L.push('## Next steps');
237
149
  if (input.next) {
238
150
  L.push(input.next);
239
151
  }
240
- else if (input.increment?.nextTask) {
241
- L.push(`Continue with: ${input.increment.nextTask}`);
152
+ else if (inc?.nextTask) {
153
+ L.push(`\`specweave task claim ${inc.nextTask.id} ${inc.id}\` — ${inc.nextTask.title}`);
154
+ }
155
+ else if (inc && inc.counts.done + inc.counts.skipped === inc.counts.total && inc.counts.total > 0) {
156
+ L.push(`All tasks done → \`specweave verify ${inc.id}\` then \`specweave complete ${inc.id}\`.`);
242
157
  }
243
158
  else {
244
- L.push('_No explicit next step recorded review the summary above._');
159
+ L.push('_No explicit next step — read the summary above._');
245
160
  }
246
161
  L.push('');
247
- // ── How To Resume (+ per-tool matrix) ─────────────────────────────────────
248
- L.push(renderResumeMatrix());
162
+ // ── Resume ────────────────────────────────────────────────────────────
163
+ L.push('## Resume');
164
+ L.push(`1. Read this file; if the path does not exist on your machine, ask for it to be pasted.`);
165
+ L.push(`2. \`specweave task next${inc ? ` ${inc.id}` : ''}\` → claim → implement → \`task done --run\`.`);
166
+ L.push(`3. Original transcript (optional): ${TOOL_RESUME_MATRIX.slice(0, 3).map((e) => `${e.tool}: \`${e.resumeCmd.split(' ')[0]}\``).join(' · ')}.`);
249
167
  L.push('');
250
- // ── Redaction ─────────────────────────────────────────────────────────────
251
- L.push('## Redaction');
252
- L.push('');
253
- L.push(fmtCount(input.redactionCounts));
254
- L.push('');
255
- L.push('_Scrubbing is heuristic (regex baseline). An empty redaction list is NOT a ' +
256
- 'guarantee this file is clean — review before sharing or committing._');
257
- L.push('');
258
- // ── Footer marker ─────────────────────────────────────────────────────────
259
168
  L.push('---');
260
169
  L.push(`<!-- ${DOC_FORMAT_MARKER} -->`);
261
170
  return L.join('\n');
262
171
  }
263
172
  /**
264
- * Render the copy-paste resume prompt.
265
- *
266
- * Default (file-reachable) mode points the next agent at the doc path. The
267
- * `inline` mode embeds the FULL doc body between BEGIN/END markers for
268
- * cross-machine resume where the file is unreachable (AC-US5-04).
173
+ * Render the copy-paste resume prompt. `inline` embeds the full body between
174
+ * BEGIN/END markers for cross-machine resume.
269
175
  */
270
176
  export function renderPastePrompt(input, opts = {}) {
271
177
  const P = [];
272
178
  if (opts.inline) {
273
179
  P.push('Resume my work using the self-contained handoff below.');
274
- P.push('This is a full handoff doc — treat everything between the markers as ground truth. ' +
180
+ P.push('Treat everything between the markers as ground truth. ' +
275
181
  'If it references a `.diff` path that does not exist on this machine, ask me to paste the diff.');
276
182
  P.push('');
277
183
  P.push(INLINE_BEGIN_MARKER);
@@ -280,11 +186,10 @@ export function renderPastePrompt(input, opts = {}) {
280
186
  }
281
187
  else {
282
188
  P.push(`Resume my work. Read the handoff doc at: ${input.docPath}`);
283
- P.push('If that path does NOT exist on this machine, STOP and ask me to paste the handoff — ' +
284
- 'do not improvise context.');
189
+ P.push('If that path does NOT exist on this machine, STOP and ask me to paste the handoff — do not improvise context.');
285
190
  P.push(`The exact uncommitted edits are in: ${input.diffPath}`);
286
191
  if (input.increment) {
287
- P.push(`Active increment: ${input.increment.id}. Pick up at the next pending task.`);
192
+ P.push(`Active increment: ${input.increment.id}. Run \`specweave task next ${input.increment.id}\` and claim before editing.`);
288
193
  }
289
194
  }
290
195
  return P.join('\n');
@@ -1 +1 @@
1
- {"version":3,"file":"handoff-doc-format.js","sourceRoot":"","sources":["../../../../src/core/session/handoff-doc-format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;AACnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,kBAAkB;IAClB,gBAAgB;IAChB,yBAAyB;IACzB,eAAe;IACf,kBAAkB;IAClB,eAAe;IACf,WAAW;CACH,CAAC;AAgBX;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,uEAAuE;IACvE,wEAAwE,CAAC;AAE3E,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EACT,0GAA0G;YAC1G,oBAAoB,GAAG,GAAG;QAC5B,SAAS,EAAE,kBAAkB;KAC9B;IACD;QACE,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,0DAA0D;QACvE,SAAS,EAAE,iDAAiD;KAC7D;IACD;QACE,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,wBAAwB;QACrC,SAAS,EAAE,yDAAyD;KACrE;IACD;QACE,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,4DAA4D;QACzE,SAAS,EAAE,oBAAoB;KAChC;IACD;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,mEAAmE;QAChF,SAAS,EAAE,sDAAsD;KAClE;IACD;QACE,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,qDAAqD;QAClE,SAAS,EAAE,8BAA8B;KAC1C;CACO,CAAC;AA8EX,SAAS,QAAQ,CAAC,MAA8B;IAC9C,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,MAA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tB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"install-handoff-context.d.ts","sourceRoot":"","sources":["../../../../src/core/session/install-handoff-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,gCAAgC;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gCAAgC;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8CAA8C;IAC9C,eAAe,EAAE,KAAK,EAAE,CAAC;IACzB,kDAAkD;IAClD,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAgRD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,qBAAqB,GAC7B,cAAc,CAwBhB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAiExE"}
1
+ {"version":3,"file":"install-handoff-context.d.ts","sourceRoot":"","sources":["../../../../src/core/session/install-handoff-context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,gCAAgC;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gCAAgC;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8CAA8C;IAC9C,eAAe,EAAE,KAAK,EAAE,CAAC;IACzB,kDAAkD;IAClD,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAuQD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,qBAAqB,GAC7B,cAAc,CAwBhB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAiExE"}