@the-bearded-bear/claude-craft 8.23.3 → 8.26.0-next.2a54921

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 (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -0,0 +1,60 @@
1
+ # Schéma Sprint Status (`.bmad/sprint-status.yaml`)
2
+
3
+ `.bmad/sprint-status.yaml` est la **source unique de vérité des STATUTS des stories et des tâches**. Les fichiers markdown (`US-*.md`, `EPIC-*.md`, `TASK-*.md`, `board.md`) ne contiennent que du **contenu** : pas de champ statut, pas d'emoji de statut. Le statut d'un EPIC est **dérivé** des statuts de ses stories (jamais stocké).
4
+
5
+ - Statuts des stories : `backlog | ready-for-dev | in-progress | review | done | blocked`
6
+ - Statuts des tâches : `to-do | in-progress | done | blocked`
7
+ - Les transitions de story suivent la machine à états BMAD (voir `/project:backlog move story`).
8
+
9
+ ```yaml
10
+ # .bmad/sprint-status.yaml
11
+ version: "1.0"
12
+ metadata:
13
+ sprint_id: "sprint-2"
14
+ name: "Gestion des utilisateurs"
15
+ start_date: "2026-11-02"
16
+ end_date: "2026-11-13"
17
+ goal: "Les utilisateurs peuvent s'inscrire, se connecter et modifier leur profil"
18
+ capacity_points: 21
19
+ stories:
20
+ US-010:
21
+ title: "Inscription utilisateur"
22
+ status: "in-progress"
23
+ previous_status: "ready-for-dev"
24
+ tdd_phase: "green"
25
+ story_points: 5
26
+ epic_id: "EPIC-002"
27
+ priority: "must"
28
+ dependencies: ["US-001"]
29
+ tasks:
30
+ total: 2
31
+ completed: 1
32
+ list: ["TASK-001", "TASK-002"]
33
+ status:
34
+ TASK-001: "done"
35
+ TASK-002: "in-progress"
36
+ history:
37
+ - timestamp: "2026-11-02T09:00:00Z"
38
+ from: "ready-for-dev"
39
+ to: "in-progress"
40
+ by: "dev"
41
+ reason: "Implémentation démarrée"
42
+ archived_sprints:
43
+ sprint-1:
44
+ stories:
45
+ US-001: { status: "done", points: 5 }
46
+ routing:
47
+ auto_transitions:
48
+ enabled: true
49
+ run_on_session_start: false
50
+ run_on_task_complete: true
51
+ rules: []
52
+ ```
53
+
54
+ ## Règles
55
+
56
+ - Le contenu (titre, description, critères d'acceptation, détail des tâches) s'écrit dans les fichiers markdown ; le statut s'écrit uniquement dans ce fichier.
57
+ - `tasks.completed` est le nombre de tâches dont le statut est `done` ; `tasks.total` est la longueur de `tasks.list`.
58
+ - Chaque transition de story met à jour `status` et `previous_status` et ajoute une entrée `history` (`timestamp`, `from`, `to`, `by`, `reason`).
59
+ - Le statut d'un EPIC est calculé depuis ses stories (toutes `backlog` = non démarré, toute autre situation non `done` = en cours, toutes `done` = terminé) ; il n'est écrit nulle part.
60
+ - Si le fichier est absent, le créer à partir du squelette de `/workflow:init` avant d'écrire.
@@ -4,7 +4,7 @@
4
4
  - **ID**: TASK-{ID}
5
5
  - **US**: {US_ID}
6
6
  - **Type**: {TYPE}
7
- - **Statut**: 🔴 To Do
7
+ - **Statut**: suivi dans .bmad/sprint-status.yaml
8
8
  - **Estimation**: {ESTIMATION}h
9
9
  - **Temps passé**: 0h
10
10
  - **Créé le**: {DATE}
@@ -4,14 +4,14 @@
4
4
  - **ID**: US-{ID}
5
5
  - **EPIC**: {EPIC_ID}
6
6
  - **Sprint**: {SPRINT}
7
- - **Statut**: 🔴 To Do
7
+ - **Statut**: suivi dans .bmad/sprint-status.yaml
8
8
  - **Points**: {POINTS}
9
9
  - **Persona**: {PERSONA_ID}
10
10
  - **Créé le**: {DATE}
11
11
  - **Mis à jour**: {DATE}
12
12
 
13
13
  ## Traçabilité
14
- - **Implémente**: {FR-001, FR-003} <!-- IDs des exigences PRD implémentées par cette story -->
14
+ - **Implements**: {FR-001, FR-003} <!-- IDs des exigences PRD implémentées par cette story -->
15
15
  - **Dépend de**: {US-xxx} <!-- Stories devant être complétées avant -->
16
16
  - **Spec Technique**: {section_reference} <!-- Référence à la section de la spec technique -->
17
17
 
@@ -39,13 +39,15 @@ THEN {résultat attendu}
39
39
 
40
40
  ## Tasks
41
41
 
42
- | ID | Type | Description | Statut | Estimation |
43
- |----|------|-------------|--------|------------|
44
- | - | - | - | 🔴 | - |
42
+ | ID | Type | Description | Estimation |
43
+ |----|------|-------------|------------|
44
+ | - | - | - | - |
45
+
46
+ _Les statuts des tasks sont suivis dans `.bmad/sprint-status.yaml`._
45
47
 
46
48
  ## Progression
47
49
 
48
- 0/0 tasks complétées (0%)
50
+ 0/0 tasks complétées (0%) <!-- dérivé de .bmad/sprint-status.yaml -->
49
51
 
50
52
  ## Definition of Done
51
53
 
@@ -0,0 +1,392 @@
1
+ ---
2
+ description: "Executar qualquer quality gate: gates de documentos (PRD, tech spec, backlog, sprint, story, alinhamento), gates de código (commit, merge, release), o relatório completo ou um checkpoint de fase"
3
+ argument-hint: "<prd|spec|backlog|sprint|story|alignment|commit|merge|release|all> [--phase=pre-sprint|pre-impl|post-impl|pre-merge] [target]"
4
+ ---
5
+
6
+ # Verificação dos Quality Gates
7
+
8
+ Ponto de entrada único para todos os quality gates BMAD. Os gates de documentos pontuam os artefatos de planejamento (PRD, tech spec, backlog, sprint, story, alinhamento spec-código); os gates de código verificam o repositório antes de um commit, de um merge ou de uma release. `all` agrega os gates de documentos em um único relatório, e `--phase` executa as verificações que pertencem a uma fase do ciclo de vida.
9
+
10
+ ## Uso
11
+
12
+ | Invocação | O que faz | Substitui |
13
+ |-----------|-----------|-----------|
14
+ | `/gate:check prd [file]` | Quality gate do PRD (limiar 80%) | `/gate:check prd` |
15
+ | `/gate:check spec [file]` | Quality gate da Tech Spec (limiar 90%) | `/gate:check spec` |
16
+ | `/gate:check backlog [story-id] [--no-gate]` | Gate INVEST, 6/6 por story | `/gate:check backlog` |
17
+ | `/gate:check sprint [N] [--verbose]` | Gate Sprint Ready (todos os critérios obrigatórios) | `/gate:check sprint` |
18
+ | `/gate:check story <story-id>` | Gate Definition of Done (100%) | `/gate:check story` |
19
+ | `/gate:check alignment [story-id]` | Gate de alinhamento spec-código (limiar 85%) | `/gate:check alignment` |
20
+ | `/gate:check commit [--fix] [--staged]` | Verificação pré-commit dos arquivos modificados | `/gate:check commit` |
21
+ | `/gate:check merge [source] [target]` | Verificação pré-merge de uma branch | `/gate:check merge` |
22
+ | `/gate:check release <version> [patch\|minor\|major]` | Checklist de release | `/gate:check release` |
23
+ | `/gate:check all [--detailed]` | Relatório de todos os gates de documentos | `/gate:check all` |
24
+ | `/gate:check --phase=<phase> [story-or-sprint]` | Checkpoint de uma fase do ciclo de vida: `pre-sprint`, `pre-impl`, `post-impl`, `pre-merge` | `/gate:check --phase` |
25
+
26
+ ## Argumentos
27
+
28
+ $ARGUMENTS (formato: `<gate> [target] [flags]` ou `--phase=<phase> [target]`)
29
+
30
+ 1. A primeira palavra posicional seleciona o gate: `prd`, `spec`, `backlog`, `sprint`, `story`, `alignment`, `commit`, `merge`, `release` ou `all`.
31
+ 2. As demais palavras posicionais formam o `target` do gate (um arquivo, um ID de story, um número de sprint, uma branch ou uma versão, veja cada seção); as outras flags estão documentadas por gate.
32
+ 3. `--phase=<phase>` substitui a palavra do gate: executa o checkpoint dessa fase (veja `## --phase`). `pre-sprint` e `post-impl` aceitam um sprint ou uma story, `pre-impl` aceita uma story.
33
+ 4. Sem argumento: exibir a tabela de uso acima e parar. Gate desconhecido: listar os gates válidos.
34
+
35
+ ## Regras compartilhadas
36
+
37
+ - **Caminhos padrão**: PRD `project-management/prd.md`, tech spec `project-management/tech-spec.md`, stories `project-management/backlog/`, sprints `project-management/sprints/sprint-{N}-{slug}/`, constitution `project-management/constitution.md` (opcional). Os limiares dos gates são configurados em `.bmad/gates/*.yaml` (`prd-gate`, `techspec-gate`, `backlog-gate`, `sprint-ready-gate`, `story-gate`).
38
+ - **Fonte de verdade do status**: `.bmad/sprint-status.yaml` contém o status das stories e das tasks (`backlog -> ready-for-dev -> in-progress -> review -> done`, qualquer -> `blocked`). Os gates leem o status nele e nunca nos arquivos markdown, que contêm apenas o conteúdo. Esquema: `.claude/templates/project/sprint-status.md`.
39
+ - **Pontuação**: critérios ponderados; um critério aprovado soma o seu peso à pontuação (pontuação final = soma dos pesos aprovados). Todos os critérios "obrigatórios" devem passar para o gate ser aprovado. Símbolos: ✅ aprovado, ⚠️ parcial, ❌ ausente ou reprovado, ⏳ ignorado ou não verificado.
40
+ - **Relatório**: sempre listar cada critério com o que foi encontrado ou o que falta, a pontuação em relação ao limiar, o veredito (`GATE PASSED` / `GATE FAILED (need X%, got Y%)`), depois "Required Actions" numeradas com um exemplo concreto para cada falha e o comando para reexecutar (`/gate:check <gate>`).
41
+ - **Docker**: os gates de código executam as ferramentas do projeto via Docker (`docker compose exec <service> ...` ou `docker run --rm ...`), nunca no ambiente local.
42
+
43
+ ## prd
44
+
45
+ Valida um PRD (argumento: `[prd-file]`, padrão `project-management/prd.md`). Limiar: **80%**.
46
+
47
+ | Critério | Peso | Obrigatório | Descrição |
48
+ |----------|------|-------------|-----------|
49
+ | Problem Statement | 15% | Sim | Articulação clara do problema |
50
+ | Target Users | 15% | Sim | Público/personas definidos |
51
+ | Goals/Objectives | 15% | Sim | Metas mensuráveis |
52
+ | Success Metrics | 15% | Sim | KPIs e medições |
53
+ | Scope/Boundaries | 10% | Sim | O que está dentro/fora do escopo |
54
+ | User Stories Overview | 10% | Sim | Lista de funcionalidades em alto nível |
55
+ | Assumptions | 10% | Não | Premissas documentadas |
56
+ | Risks | 10% | Não | Identificação dos riscos (com mitigações) |
57
+
58
+ **Processo**: localizar e carregar o arquivo (falhar se não existir); para cada critério verificar que a seção existe com as palavras-chave relevantes e um comprimento mínimo de conteúdo; somar os pesos dos critérios aprovados; gerar o relatório.
59
+
60
+ ```
61
+ PRD Quality Gate Validation
62
+ File: project-management/prd.md Threshold: 80%
63
+ ✅ Problem Statement (15%) Found: clear problem definition in "Overview"
64
+ ❌ Goals/Objectives (15%) Missing: no measurable goals found
65
+ ⚠️ Risks (10%) Partial: risks listed but no mitigations
66
+ Score: 90/100 (90%)
67
+ ✅ PRD GATE PASSED — Next: /workflow:design
68
+ ```
69
+
70
+ Em caso de falha, sugerir um exemplo por lacuna (ex.: meta "Reduce checkout time by 30%", KPI "Conversion rate > 5%", risco "API rate limits; Mitigation: caching"). O gate também é verificado antes de `/workflow:design` e na transição do workflow BMAD.
71
+
72
+ ## spec
73
+
74
+ Valida uma Tech Spec (argumento: `[techspec-file]`, padrão `project-management/tech-spec.md`). Limiar: **90%**.
75
+
76
+ | Critério | Peso | Obrigatório | Descrição |
77
+ |----------|------|-------------|-----------|
78
+ | Architecture Overview | 12% | Sim | Descrição do design do sistema |
79
+ | Architecture Diagram | 10% | Sim | Representação visual (mermaid, PNG, SVG) |
80
+ | Components | 12% | Sim | Definições de módulos/serviços |
81
+ | Data Model | 10% | Sim | Design de banco de dados/entidades |
82
+ | API Contracts | 10% | Sim | Especificações dos endpoints com schemas |
83
+ | Security | 12% | Sim | Autenticação e medidas de segurança |
84
+ | Performance | 8% | Não | Requisitos de desempenho |
85
+ | Error Handling | 8% | Não | Estratégia de erros |
86
+ | Testing Strategy | 10% | Sim | Abordagem de testes |
87
+ | Deployment | 8% | Não | CI/CD e release |
88
+
89
+ **Processo**: localizar e carregar o arquivo; verificar seções e palavras-chave, conferir que os diagramas existem e que a profundidade técnica é suficiente; pontuar; gerar o relatório.
90
+
91
+ ```
92
+ Tech Spec Quality Gate Validation
93
+ File: project-management/tech-spec.md Threshold: 90%
94
+ ❌ Architecture Diagram (10%) Missing: no diagram found (mermaid, PNG, SVG)
95
+ ⚠️ API Contracts (10%) Partial: endpoints listed but no schemas
96
+ Score: 68/100 (68%)
97
+ ❌ TECH SPEC GATE FAILED (need 90%, got 68%)
98
+ ```
99
+
100
+ As ações obrigatórias fornecem um modelo por lacuna: um esqueleto de diagrama mermaid, a estratégia de segurança (método de autenticação, modelo de autorização, criptografia), schemas de requisição/resposta com formatos de erro e versionamento, etapas de CI/CD com promoção e rollback. Para decisões significativas, sugerir um ADR: `/common:architecture-decision "JWT vs Session-based authentication"`. Em caso de aprovação: próxima etapa `/workflow:plan --only=backlog`, depois `/gate:check backlog`.
101
+
102
+ ## backlog
103
+
104
+ Valida as stories segundo o INVEST (argumentos: `[story-id] [--no-gate]`). Padrão: todas as stories. `--no-gate` executa apenas a verificação INVEST simples (sem limiares, sem veredito aprovado/reprovado), útil durante o refinamento. Limiar: **6/6 para cada story**.
105
+
106
+ | Letra | Critério | Verificação |
107
+ |-------|----------|-------------|
108
+ | **I** | Independent | `blocked_by` está vazio |
109
+ | **N** | Negotiable | Tem uma descrição de tamanho razoável, sem especificação excessiva (número de tasks) |
110
+ | **V** | Valuable | Tem critérios de aceitação e uma declaração de benefício |
111
+ | **E** | Estimable | Story points > 0 |
112
+ | **S** | Small | Story points ≤ 8 |
113
+ | **T** | Testable | Número de critérios de aceitação > 0 (Gherkin) |
114
+
115
+ **Processo**: ler `.bmad/sprint-status.yaml` e carregar a story solicitada ou todas as stories; avaliar os 6 critérios por story (0-6); relatar por story e de forma agregada (aprovadas 6/6, avisos 4-5/6, reprovadas < 4/6). Um critério que não pode ser avaliado (ex.: S sem pontos) é exibido com `?`.
116
+
117
+ ```
118
+ ✅ US-001: User login Score: 6/6 ✅
119
+ ⚠️ US-002: User registration [E] ✗ Estimable - No story points Score: 4/6 ⚠️
120
+ ❌ US-003: Rewrite of auth [I] ✗ blocked by US-001, US-002 [S] ✗ 13 > 8 points Score: 3/6 ❌
121
+ Summary: validated 8 | passing 6 | warnings 1 | failing 1
122
+ ❌ BACKLOG GATE FAILED
123
+ ```
124
+
125
+ Correção dos problemas comuns: story grande demais (S) → `/project:backlog edit story US-003` para reduzir o escopo e `/project:backlog add story` para o restante; pontos ausentes (E) → `/project:backlog edit story US-002 --points 3`; critérios de aceitação ausentes (V, T) → `/project:backlog edit story US-002 "Given... When... Then..."`. Em caso de aprovação: em seguida `/gate:check sprint`.
126
+
127
+ ## sprint
128
+
129
+ Valida a prontidão do sprint (argumentos: `[N] [--verbose]`). `N` é o número do sprint e aceita `1`, `001` ou `sprint-001`; padrão: `metadata.sprint_id` de `.bmad/sprint-status.yaml`, caso contrário a pasta `project-management/sprints/sprint-*/` mais recente. `--verbose` exibe o detalhamento das stories. Limiar: **todos os critérios obrigatórios**.
130
+
131
+ | Critério | Peso | Obrigatório | Descrição |
132
+ |----------|------|-------------|-----------|
133
+ | Sprint Metadata | 20% | Sim | ID, nome, datas definidos |
134
+ | Sprint Goal | 15% | Sim | Objetivo claro (mín. 10 caracteres) |
135
+ | Stories Ready | 25% | Sim | Pelo menos 1 story em `ready-for-dev` (recomendado: 3) |
136
+ | Stories Estimated | 20% | Sim | Todas as stories têm pontos |
137
+ | Capacity Check | 10% | Não | Pontos ready ≤ `metadata.capacity_points` + 20% (ignorado se indefinido) |
138
+ | Dependencies Resolved | 10% | Não | Nenhuma story bloqueada em status ready |
139
+
140
+ **Processo**
141
+ 1. Carregar o status do sprint, nesta ordem:
142
+ 1. `.bmad/sprint-status.yaml` se existir e se o seu `metadata.sprint_id` corresponder ao sprint `N`: extrair os metadados e contar as stories por status.
143
+ 2. Caso contrário, fallback markdown a partir de `project-management/sprints/sprint-{N}-*/` (escrito por `/workflow:start`): metadados, objetivo e capacidade a partir de `sprint-goal.md` (início, fim, capacidade, objetivo); stories a partir da tabela US selecionada de `sprint-goal.md` e dos arquivos `project-management/backlog/user-stories/US-*.md` (pontos, status), sendo que uma story planejada ainda não iniciada conta como `ready-for-dev`; dependências bloqueantes a partir de `sprint-dependencies.md`.
144
+ 3. Nenhum dos dois encontrado: falhar com "No sprint {N}: run `/workflow:start {N}`".
145
+ 2. Validar os campos de metadados `sprint_id`, `name`, `start_date`, `end_date`, `goal`.
146
+ 3. Validar as stories (ready, estimadas, nenhuma bloqueada) e a capacidade opcional.
147
+ 4. Gerar o relatório, começando pela fonte utilizada: `Source: .bmad/sprint-status.yaml` ou `Source: markdown (project-management/sprints/sprint-{N}-*/)`.
148
+
149
+ No modo fallback o gate continua sendo avaliado, mas o relatório acrescenta um aviso não bloqueante: os comandos `/sprint:*` precisam de `.bmad/sprint-status.yaml`, execute `/workflow:start {N}`, ou `/project:migrate` para criar `.bmad/sprint-status.yaml` a partir de um backlog existente.
150
+
151
+ ```
152
+ Sprint Ready Gate Validation
153
+ Sprint: sprint-3 - User Management Period: 2026-01-29 → 2026-02-12 (14 days)
154
+ ✅ Sprint Metadata (20%) ✅ Sprint Goal (15%) ✅ Stories Ready (25%): 5 stories, 21 points
155
+ ✅ Stories Estimated (20%) ✅ Capacity Check (10%): 21/25 = 84% ✅ Dependencies Resolved (10%)
156
+ Score: 100/100 — ✅ SPRINT READY GATE PASSED
157
+ Commands: /workflow:start (start the sprint), /project:backlog next story (pick the first story)
158
+ ```
159
+
160
+ Em caso de falha, as ações obrigatórias mostram o bloco `metadata` a adicionar em `.bmad/sprint-status.yaml`:
161
+
162
+ ```yaml
163
+ metadata:
164
+ sprint_id: "sprint-3"
165
+ name: "User Management"
166
+ start_date: "2026-01-29"
167
+ end_date: "2026-02-12"
168
+ goal: "Implement core user management features"
169
+ capacity_points: 25 # Optional: team capacity
170
+ ```
171
+
172
+ depois as estimativas ausentes (`/project:backlog edit story US-010 --points 5`) e as stories ready bloqueadas (remover do sprint, desbloquear a dependência ou reordenar).
173
+
174
+ ## story
175
+
176
+ Valida uma story em relação à Definition of Done (argumento: `<story-id>`, obrigatório, ex.: `US-005`). Limiar: **100% (todos os critérios obrigatórios)**.
177
+
178
+ | Critério | Peso | Obrigatório | Verificação |
179
+ |----------|------|-------------|-------------|
180
+ | Tasks Complete | 20% | Sim | `tasks.completed == tasks.total` |
181
+ | Tests Passing | 20% | Sim | `tdd_phase in ['green', 'refactor', 'done']` |
182
+ | AC Validated | 20% | Sim | `acceptance_criteria.validated == acceptance_criteria.total` |
183
+ | Code Reviewed | 15% | Sim | `status == 'review'` ou `review.approved == true` (PR aprovado) |
184
+ | No Blockers | 10% | Sim | `blocked_reason == null` |
185
+ | Documentation | 10% | Não | Documentação atualizada se necessário |
186
+ | Security Review | 5% | Não | Implicações de segurança verificadas |
187
+
188
+ **Processo**: ler `.bmad/sprint-status.yaml`, encontrar a story pelo ID e carregar seus campos; verificar cada critério; listar as tasks e os AC com o respectivo estado; gerar o relatório.
189
+
190
+ ```
191
+ Story DoD Gate: US-005 — Email verification Status: in-progress
192
+ ❌ Tasks Complete (20%) 2/4 done ✓ TASK-021 ✓ TASK-022 □ TASK-023 (in-progress) □ TASK-024 (pending)
193
+ ❌ Tests Passing (20%) TDD Phase: red
194
+ ⚠️ Acceptance Criteria 1/3 validated
195
+ ❌ Code Reviewed (15%) No PR created yet
196
+ Score: 25/100 — ❌ STORY DoD GATE FAILED. Resume work: /workflow:implement US-005
197
+ ```
198
+
199
+ Em caso de aprovação: a story pode passar para `done` com `/project:backlog move story US-005 done`. O gate também é verificado pelo hook Stop (`quality-gate.sh`) e antes de `/project:backlog move story <id> done`.
200
+
201
+ | Fase TDD | Significado | Próxima etapa |
202
+ |----------|-------------|---------------|
203
+ | red | Testes falhando | Implementar o código |
204
+ | green | Testes passando | Refatorar |
205
+ | refactor | Limpeza em andamento | Concluir ou próxima task |
206
+ | done | Ciclo concluído | Passar para review |
207
+
208
+ ## alignment
209
+
210
+ Valida que a implementação corresponde às especificações, ou seja, sem desvio de especificação (argumento: `[story-id]`, padrão: todas as stories do sprint atual). Limiar: **85%**.
211
+
212
+ | Critério | Peso | Obrigatório | Descrição |
213
+ |----------|------|-------------|-----------|
214
+ | Requirement coverage | 20% | Sim | Todos os FR-xxx do PRD são cobertos por stories |
215
+ | Story-code mapping | 20% | Sim | Todas as stories têm referências de código correspondentes |
216
+ | AC-test mapping | 20% | Sim | Todos os critérios de aceitação têm testes |
217
+ | Tech spec adherence | 15% | Sim | A implementação segue o design da tech spec |
218
+ | Constitution compliance | 15% | Sim | O código respeita a constitution do projeto |
219
+ | Scope drift detection | 10% | Não | Nenhuma alteração de código sem referência |
220
+
221
+ **Processo**
222
+ 1. Carregar o PRD (IDs FR-xxx), as stories (referências `Implements:`), a tech spec e, se existir, `project-management/constitution.md`.
223
+ 2. Rastrear para frente (spec → código): para cada FR-xxx encontrar as stories que o implementam, para cada story os arquivos de código marcados com `// Story: US-xxx`, para cada AC o teste correspondente.
224
+ 3. Rastrear para trás (código → spec): verificar que cada referência de story existe no backlog e pertence ao sprint correto; sinalizar as alterações de código sem referência de story (scope drift).
225
+ 4. Validar a constitution: restrições técnicas, princípios de design, metas de NFR.
226
+ 5. Pontuar e gerar o relatório.
227
+
228
+ ```
229
+ SPEC-CODE ALIGNMENT GATE ❌ Story: US-012 | Score: 65%
230
+ ✅ Requirement coverage 3/3 FR-xxx covered
231
+ ❌ Story-code mapping 2 files missing references
232
+ ❌ AC-test mapping AC-2 has no test
233
+ ⚠️ Scope drift 3 unreferenced files
234
+ Actions: 1. Add // Story: US-012 to ProfileService.ts 2. Write test for AC-2 → Fix issues before merging
235
+ ```
236
+
237
+ Relacionados: `/project:trace` (matriz de rastreabilidade), `/project:trace --gaps` (cobertura dos requisitos).
238
+
239
+ ## commit
240
+
241
+ Verifica o código antes de um commit (flags: `--fix` corrige os problemas corrigíveis, `--staged` verifica apenas os arquivos staged).
242
+
243
+ 1. **Identificar os arquivos modificados**: `git diff --cached --name-only` (staged) e `git diff --name-only` (unstaged).
244
+ 2. **Detectar a tecnologia** pela extensão: `.php` → php-cs-fixer, phpstan; `.dart` → dart format, dart analyze; `.py` → ruff, mypy; `.ts/.tsx/.js/.jsx` → eslint, prettier (+ `tsc --noEmit`).
245
+ 3. **Executar as verificações no Docker**: PHP (`docker compose exec php vendor/bin/php-cs-fixer fix --dry-run --diff`, `vendor/bin/phpstan analyse`, `lint:twig`, `lint:container`), Dart (`dart format --set-exit-if-changed`, `dart analyze`, `flutter test --coverage`), Python (`ruff check`, `ruff format --check`, `mypy`), JS/TS (`npx eslint`, `npx prettier --check`, `npx tsc --noEmit`).
246
+ 4. **Verificações globais**: padrões de segredos (atribuições de `password|secret|api_key|token`, `sk_live_`, `pk_live_`, `ghp_`, `gho_`, `AKIA`), arquivos proibidos em staging (`.env`, `.pem`, `.key`, `.p12`), arquivos-fonte maiores que 1 MB.
247
+ 5. **Relatório**: verificações bem-sucedidas, problemas (`file:line`, ferramenta, mensagem), tabela de resumo (formatação, linting, tipos, segredos), ações obrigatórias e `Commit authorized: ✅ YES / ❌ NO`.
248
+ 6. **`--fix`**: executar os corretores em vez das verificações em dry-run (`php-cs-fixer fix`, `dart format`, `ruff check --fix` + `ruff format`, `eslint --fix` + `prettier --write`).
249
+
250
+ | Bloqueante (commit proibido) | Não bloqueante (aviso) |
251
+ |------------------------------|------------------------|
252
+ | Erros de sintaxe, erros de PHPStan/mypy/tsc, segredos detectados, arquivos `.env`, chaves privadas/certificados | Problemas de formatação, avisos do ESLint, cobertura de testes reduzida, TODO/FIXME adicionado |
253
+
254
+ Para automatizar, chame-o a partir de um hook pre-commit: `claude-code "/gate:check commit --staged"`.
255
+
256
+ ## merge
257
+
258
+ Verifica uma branch antes do merge (argumentos: `[source] [target]`; source padrão: branch atual, target padrão: `main` ou `master`). Exemplo: `/gate:check merge feature/auth main`.
259
+
260
+ 1. **Analisar o diff**: commits a mesclar (`git log target..source --oneline`), arquivos modificados (`--stat`), linhas adicionadas/removidas (`--shortstat`).
261
+ 2. **Verificações de qualidade** (no Docker): a suíte completa de testes com cobertura (phpunit, `flutter test --coverage`, `pytest --cov`, `npm run test -- --coverage`); análise estática completa (`phpstan analyse -l max`, `dart analyze --fatal-infos`, `mypy --strict .`, `tsc --noEmit`); auditoria de dependências (`composer audit`, `pip-audit`, `npm audit`, `dart pub outdated`).
262
+ 3. **Verificações específicas**: migrations de banco de dados (`doctrine:migrations:diff`, `doctrine:schema:validate`, reversibilidade), breaking changes de API (diff de `openapi.yaml` / `docs/api/`), alterações de configuração (`config/`, `.env.example`, `docker-compose*.yml`).
263
+ 4. **Análise dos commits**: cada mensagem segue os Conventional Commits `type(scope): description`, caso contrário emitir aviso.
264
+ 5. **Cobertura**: comparar antes/depois; a cobertura não deve diminuir.
265
+ 6. **Verificações de spec**: executar o checkpoint `pre-merge` (veja `## --phase`).
266
+ 7. **Relatório**: estatísticas, tabela de testes (suíte, aprovados, reprovados, ignorados, variação de cobertura), tabela de análise estática, segurança (auditoria, segredos, arquivos sensíveis), migrations, pontos de atenção classificados em HIGH/MEDIUM/LOW/INFO, checklist final (code review aprovado e testes em staging são itens manuais) e `Merge authorized: ✅ YES / ❌ NO`.
267
+
268
+ | Bloqueante (merge proibido) | Não bloqueante (aviso) |
269
+ |-----------------------------|------------------------|
270
+ | Testes falhando, queda de cobertura > 2%, erros de análise estática, vulnerabilidades críticas/altas, segredos no código, migrations não reversíveis | Avisos de análise estática, TODO/FIXME adicionado, vulnerabilidades baixas/médias, queda de cobertura < 2% |
271
+
272
+ ## release
273
+
274
+ Guia a equipe ao longo de uma release (argumentos: `<version> [patch|minor|major]`, ex.: `1.2.0 minor` ou `2.0.0-beta.1`). Exemplo: `/gate:check release 1.2.0 minor`.
275
+
276
+ 1. **Validação pré-release**: branch correta (`main`/`master` ou `release/*`), nenhuma alteração não commitada, todos os testes passam; `CHANGELOG.md` atualizado (alterações desde a última tag com `git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s"`); arquivos de versão atualizados (`composer.json`, `pyproject.toml`/`__version__.py`, `package.json`, `pubspec.yaml`, `Info.plist`, `build.gradle`).
277
+ 2. **Testes exaustivos**: unitários, de integração, E2E, de desempenho, de segurança.
278
+ 3. **Documentação**: README, documentação de API gerada, guia de migração se houver breaking changes.
279
+ 4. **Gerar o checklist interativo** `RELEASE CHECKLIST - v{VERSION}` (tipo, data, branch) com as seções abaixo, cada item sendo uma caixa `- [ ]`:
280
+ - **Pré-release**: qualidade do código (testes passam, cobertura ≥ 80%, sem erros de análise estática, todos os PRs revisados, nenhum TODO/FIXME bloqueante), segurança (sem CVEs críticas, sem segredos, testes OWASP, certificados SSL válidos), documentação (CHANGELOG, README, documentação de API, guia de migração, release notes), versionamento (versão incrementada, tags preparadas, branches de release).
281
+ - **Build e empacotamento**: backend (build de produção, assets, migrations, variáveis de ambiente documentadas), frontend (bundle otimizado, CDN, service worker, sourcemaps não implantados), mobile se aplicável (builds iOS/Android assinados, screenshots e metadados das lojas).
282
+ - **Validação em staging**: implantação, migrations, smoke tests, testes de regressão, desempenho, monitoramento, rollback testado.
283
+ - **Implantação em produção**: pré-deploy (modo de manutenção, backup do banco de dados, comunicação ao suporte, janela de implantação), deploy (execução, migrations, health checks), pós-deploy (smoke tests, monitoramento, desempenho, tag git enviada, release no GitHub/GitLab).
284
+ - **Comunicação**: release notes, suporte, clientes, documentação pública, anúncio.
285
+ - **Plano de rollback**: identificar o problema (logs, alertas), limiar de decisão (ex.: > 5% de 5xx durante 5 min) e responsável pela decisão, comando de rollback, rollback do banco (migrations down), comunicação (equipe, incidente, post-mortem).
286
+ - **Validação final**: todas as caixas marcadas, validado por, data/hora da release, notas.
287
+
288
+ Comandos úteis: `git tag -a v{VERSION} -m "Release v{VERSION}"` + `git push origin v{VERSION}`; `gh release create v{VERSION} --title "v{VERSION}" --notes-file RELEASE_NOTES.md`; `git-cliff --unreleased --tag v{VERSION} > CHANGELOG.md`.
289
+
290
+ | Tipo SemVer | Quando | Exemplo |
291
+ |-------------|--------|---------|
292
+ | MAJOR | Breaking changes | 1.0.0 → 2.0.0 |
293
+ | MINOR | Nova funcionalidade | 1.0.0 → 1.1.0 |
294
+ | PATCH | Correção de bug | 1.0.0 → 1.0.1 |
295
+
296
+ ## all
297
+
298
+ Relatório agregado dos gates de documentos (argumento: `[--detailed]`, que inclui os detalhes de validação de cada gate).
299
+
300
+ 1. **Identificar os gates aplicáveis**: gate PRD se `project-management/prd.md` existir, gate Tech Spec se `project-management/tech-spec.md` existir, gate Backlog se existirem stories em `.bmad/sprint-status.yaml`, gate Sprint Ready se os metadados do sprint existirem, gates Story para cada story `in-progress` / `review`.
301
+ 2. **Executar cada gate aplicável** (`prd`, `spec`, `backlog`, `sprint`, depois `story` por story) e coletar as pontuações.
302
+ 3. **Agregar** no resumo e, em seguida, **recomendar** ações priorizadas com base nas falhas.
303
+
304
+ ```
305
+ BMAD Quality Gates Report Project: claude-craft Sprint: sprint-3 - User Management
306
+ | Gate | Threshold | Score | Status |
307
+ | PRD | 80% | 90% | ✅ PASS |
308
+ | Tech Spec | 90% | 92% | ✅ PASS |
309
+ | Backlog | 6/6 | 5.8/6 avg | ⚠️ WARN |
310
+ | Sprint Ready | 100% | 100% | ✅ PASS |
311
+ | Story DoD | 100% | varies | 📊 |
312
+ Story DoD Status: US-010 in-progress 45% ⏳ | US-012 review 85% ⚠️ | US-013 done 100% ✅
313
+ Overall Health: 🟢 Good — 4/5 gates passing, 8/10 stories on track
314
+ Recommendations: 1. ⚠️ US-002 missing story points → /project:backlog edit story US-002 --points 3
315
+ ```
316
+
317
+ O relatório `--detailed` acrescenta, por gate, o arquivo, o limiar, a pontuação, o status e cada critério, as stories com problemas (backlog), o detalhamento do DoD de cada story e os itens de ação por prioridade (1 bloqueante, 2 a corrigir, 3 desejável). O relatório pode ser gerado sob demanda, incluído na retrospectiva do sprint, usado para monitorar a saúde do projeto ou exportado para os stakeholders. Os gates de código (`commit`, `merge`, `release`) e `alignment` não fazem parte dele: execute-os separadamente.
318
+
319
+ ## --phase
320
+
321
+ Executa checkpoints automatizados nas fases críticas do ciclo de vida para garantir que as specs sejam coerentes, completas e alinhadas com a implementação.
322
+
323
+ **Pré-requisitos**: `project-management/prd.md` com IDs FR-xxx, `project-management/backlog/` com user stories, `.bmad/sprint-status.yaml` para o contexto do sprint; `project-management/constitution.md` opcional.
324
+
325
+ **O plan mode é obrigatório**: antes de executar, analisar o código impactado, propor um plano e aguardar a validação antes de qualquer alteração.
326
+
327
+ | Fase | Quando | Alvo |
328
+ |------|--------|------|
329
+ | `pre-sprint` | Antes de iniciar um sprint (após `/workflow:start`) | sprint |
330
+ | `pre-impl` | Antes de codificar uma story (após `/project:backlog next story --claim`) | story |
331
+ | `post-impl` | Após concluir uma story (antes de `/project:backlog move story US-xxx review`) | story |
332
+ | `pre-merge` | Antes de mesclar na main (chamada por `merge`) | story ou sprint |
333
+
334
+ **pre-sprint**: carregar as stories atribuídas ao sprint.
335
+
336
+ | Verificação | Obrigatória |
337
+ |-------------|-------------|
338
+ | Story AC completeness: toda story tem AC em Gherkin | Sim |
339
+ | Story estimation: todas as stories têm pontos | Sim |
340
+ | PRD traceability: `Implements:` referencia IDs FR-xxx válidos | Sim |
341
+ | Task decomposition: pelo menos 1 task por story | Sim |
342
+ | Dependency check: nenhum `Depends on:` circular ou não resolvido | Sim |
343
+ | Constitution alignment: nenhuma contradição | Não |
344
+
345
+ **pre-impl**: carregar a story e as suas seções da tech spec (referência `Tech Spec:`).
346
+
347
+ | Verificação | Obrigatória |
348
+ |-------------|-------------|
349
+ | Tech spec coverage: todo FR-xxx da story está coberto | Sim |
350
+ | AC testability: cada AC tem uma estrutura GIVEN/WHEN/THEN | Sim |
351
+ | Dependencies resolved: todas as stories `Depends on` estão `done` | Sim |
352
+ | Task clarity: as tasks têm descrições claras | Sim |
353
+ | NFR alignment: respeita os NFR da constitution | Não |
354
+
355
+ **post-impl**: carregar a story e as suas tasks.
356
+
357
+ | Verificação | Obrigatória |
358
+ |-------------|-------------|
359
+ | Code traceability: os arquivos de código referenciam `// Story: US-xxx` (ou `# Story: US-xxx`) | Sim |
360
+ | Test coverage: existem testes para cada AC | Sim |
361
+ | All tasks done | Sim |
362
+ | TDD phase: `refactor` ou `done` | Sim |
363
+ | No regressions: a suíte de testes continua passando | Sim |
364
+ | Spec drift: o escopo implementado corresponde à spec (sem scope creep) | Não |
365
+
366
+ **pre-merge**: executar todos os checkpoints anteriores e, em seguida:
367
+
368
+ | Verificação | Obrigatória |
369
+ |-------------|-------------|
370
+ | AC validation: todos os critérios de aceitação validados | Sim |
371
+ | Code review concluído | Sim |
372
+ | Suíte de testes verde (suíte completa) | Sim |
373
+ | Constitution respect | Sim |
374
+ | Traceability complete: FR → US → Code → Test, com `/project:trace` | Sim |
375
+ | Documentação atualizada | Não |
376
+
377
+ ```
378
+ CHECKPOINT FAILED ❌ Phase: pre-impl Story: US-012 Score: 60% (3/5 checks passed)
379
+ ✅ AC testability 3/3 ✅ Dependencies resolved ✅ Task clarity 4/4
380
+ ❌ Tech spec coverage Missing FR-003 mapping ❌ NFR alignment Perf target undefined
381
+ Actions required: 1. Add FR-003 coverage to tech spec section 3.2 2. Define performance targets
382
+ → Fix issues before proceeding
383
+ ```
384
+
385
+ Exemplo: `/gate:check --phase=pre-sprint Sprint-3` → "Score: 83% (5/6 passed) — WARNING: US-015 has no tasks yet". Integração: `/workflow:start` aciona `pre-sprint`, `/project:backlog next story` sugere `pre-impl`, `/project:backlog move story` aciona `post-impl` e `merge` aciona `pre-merge`.
386
+
387
+ ## Comandos relacionados
388
+
389
+ - `/project:trace` — matriz de rastreabilidade e cobertura dos requisitos (`--gaps`)
390
+ - `/workflow:design`, `/workflow:plan --only=backlog` — produzem os artefatos que os gates validam
391
+ - `/workflow:start` — iniciar o sprint (inclui o checkpoint pre-sprint)
392
+ - `/project:backlog move story` — mover uma story para o próximo status