@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.
- package/Dev/i18n/base/Common/commands/aliases.md +7 -13
- package/Dev/i18n/base/Common/commands/init.md +89 -1
- package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
- package/Dev/i18n/base/Common/commands/search.md +2 -2
- package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
- package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
- package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/de/QA/commands/fix.md +8 -8
- package/Dev/i18n/de/QA/commands/recette.md +7 -8
- package/Dev/i18n/de/QA/commands/regression.md +11 -11
- package/Dev/i18n/de/QA/commands/report.md +5 -162
- package/Dev/i18n/de/QA/commands/status.md +140 -13
- package/Dev/i18n/de/QA/commands/tdd.md +1 -1
- package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/de/Workflow/commands/design.md +151 -209
- package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
- package/Dev/i18n/de/Workflow/commands/init.md +42 -14
- package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
- package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/de/Workflow/commands/review.md +1 -1
- package/Dev/i18n/de/Workflow/commands/start.md +115 -25
- package/Dev/i18n/de/Workflow/commands/status.md +275 -201
- package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/en/QA/commands/fix.md +8 -8
- package/Dev/i18n/en/QA/commands/recette.md +7 -8
- package/Dev/i18n/en/QA/commands/regression.md +11 -11
- package/Dev/i18n/en/QA/commands/report.md +5 -221
- package/Dev/i18n/en/QA/commands/status.md +140 -13
- package/Dev/i18n/en/QA/commands/tdd.md +1 -1
- package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
- package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/en/Workflow/commands/design.md +143 -200
- package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
- package/Dev/i18n/en/Workflow/commands/init.md +42 -14
- package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
- package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/en/Workflow/commands/review.md +1 -1
- package/Dev/i18n/en/Workflow/commands/start.md +107 -17
- package/Dev/i18n/en/Workflow/commands/status.md +265 -191
- package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/es/QA/commands/fix.md +8 -8
- package/Dev/i18n/es/QA/commands/recette.md +7 -8
- package/Dev/i18n/es/QA/commands/regression.md +11 -11
- package/Dev/i18n/es/QA/commands/report.md +5 -162
- package/Dev/i18n/es/QA/commands/status.md +140 -13
- package/Dev/i18n/es/QA/commands/tdd.md +1 -1
- package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/es/Workflow/commands/design.md +158 -218
- package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
- package/Dev/i18n/es/Workflow/commands/init.md +42 -14
- package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
- package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/es/Workflow/commands/review.md +1 -1
- package/Dev/i18n/es/Workflow/commands/start.md +113 -23
- package/Dev/i18n/es/Workflow/commands/status.md +284 -210
- package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/fr/QA/commands/fix.md +8 -8
- package/Dev/i18n/fr/QA/commands/recette.md +7 -8
- package/Dev/i18n/fr/QA/commands/regression.md +11 -11
- package/Dev/i18n/fr/QA/commands/report.md +5 -163
- package/Dev/i18n/fr/QA/commands/status.md +140 -13
- package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
- package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
- package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
- package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
- package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
- package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
- package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
- package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/pt/QA/commands/fix.md +8 -8
- package/Dev/i18n/pt/QA/commands/recette.md +7 -8
- package/Dev/i18n/pt/QA/commands/regression.md +11 -11
- package/Dev/i18n/pt/QA/commands/report.md +5 -162
- package/Dev/i18n/pt/QA/commands/status.md +140 -13
- package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
- package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
- package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
- package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
- package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
- package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
- package/Dev/scripts/install-common-rules.sh +7 -10
- package/Dev/scripts/prune-removed-commands.sh +22 -0
- package/Project/i18n/de/Gate/commands/check.md +392 -0
- package/Project/i18n/de/Gate/commands/report.md +5 -230
- package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/de/Sprint/commands/dev.md +5 -443
- package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/de/Sprint/commands/status.md +5 -173
- package/Project/i18n/de/Sprint/commands/transition.md +5 -259
- package/Project/i18n/de/agents/product-owner.md +5 -5
- package/Project/i18n/de/agents/tech-lead.md +8 -8
- package/Project/i18n/de/commands/add-epic.md +5 -88
- package/Project/i18n/de/commands/add-story.md +5 -112
- package/Project/i18n/de/commands/add-task.md +5 -127
- package/Project/i18n/de/commands/analyze-backlog.md +5 -110
- package/Project/i18n/de/commands/backlog.md +653 -0
- package/Project/i18n/de/commands/batch-status.md +5 -209
- package/Project/i18n/de/commands/board.md +5 -130
- package/Project/i18n/de/commands/burndown.md +5 -120
- package/Project/i18n/de/commands/checkpoint.md +5 -239
- package/Project/i18n/de/commands/coverage-map.md +5 -217
- package/Project/i18n/de/commands/critical-path.md +5 -123
- package/Project/i18n/de/commands/decompose-tasks.md +5 -600
- package/Project/i18n/de/commands/dependencies.md +5 -139
- package/Project/i18n/de/commands/gap-analysis.md +5 -290
- package/Project/i18n/de/commands/generate-backlog.md +5 -378
- package/Project/i18n/de/commands/generate-constitution.md +5 -223
- package/Project/i18n/de/commands/generate-prd.md +5 -210
- package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/de/commands/list-epics.md +5 -91
- package/Project/i18n/de/commands/list-stories.md +5 -116
- package/Project/i18n/de/commands/list-tasks.md +5 -128
- package/Project/i18n/de/commands/metrics.md +5 -223
- package/Project/i18n/de/commands/migrate-backlog.md +5 -144
- package/Project/i18n/de/commands/migrate.md +158 -0
- package/Project/i18n/de/commands/move-task.md +5 -200
- package/Project/i18n/de/commands/report.md +156 -0
- package/Project/i18n/de/commands/reverse-prd.md +5 -284
- package/Project/i18n/de/commands/reverse-stories.md +5 -301
- package/Project/i18n/de/commands/reverse.md +249 -0
- package/Project/i18n/de/commands/run-epic.md +5 -187
- package/Project/i18n/de/commands/run-queue.md +5 -250
- package/Project/i18n/de/commands/run-sprint.md +5 -262
- package/Project/i18n/de/commands/scan.md +5 -267
- package/Project/i18n/de/commands/sync-backlog.md +5 -161
- package/Project/i18n/de/commands/trace.md +126 -174
- package/Project/i18n/de/commands/update-epic.md +5 -101
- package/Project/i18n/de/commands/update-stories.md +5 -190
- package/Project/i18n/de/commands/update-story.md +5 -146
- package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/de/scaffold/project-management__README.md +7 -7
- package/Project/i18n/de/templates/board.md +22 -9
- package/Project/i18n/de/templates/epic.md +4 -4
- package/Project/i18n/de/templates/prd.md +1 -1
- package/Project/i18n/de/templates/sprint-status.md +60 -0
- package/Project/i18n/de/templates/task.md +1 -1
- package/Project/i18n/de/templates/user-story.md +8 -6
- package/Project/i18n/en/Gate/commands/check.md +392 -0
- package/Project/i18n/en/Gate/commands/report.md +5 -261
- package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
- package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
- package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/en/Sprint/commands/dev.md +5 -441
- package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/en/Sprint/commands/status.md +5 -214
- package/Project/i18n/en/Sprint/commands/transition.md +5 -259
- package/Project/i18n/en/agents/product-owner.md +5 -5
- package/Project/i18n/en/agents/tech-lead.md +8 -8
- package/Project/i18n/en/commands/add-epic.md +5 -88
- package/Project/i18n/en/commands/add-story.md +5 -112
- package/Project/i18n/en/commands/add-task.md +5 -127
- package/Project/i18n/en/commands/analyze-backlog.md +5 -133
- package/Project/i18n/en/commands/backlog.md +653 -0
- package/Project/i18n/en/commands/batch-status.md +5 -209
- package/Project/i18n/en/commands/board.md +5 -130
- package/Project/i18n/en/commands/burndown.md +5 -120
- package/Project/i18n/en/commands/checkpoint.md +5 -239
- package/Project/i18n/en/commands/coverage-map.md +5 -217
- package/Project/i18n/en/commands/critical-path.md +5 -123
- package/Project/i18n/en/commands/decompose-tasks.md +5 -600
- package/Project/i18n/en/commands/dependencies.md +5 -139
- package/Project/i18n/en/commands/gap-analysis.md +5 -290
- package/Project/i18n/en/commands/generate-backlog.md +5 -378
- package/Project/i18n/en/commands/generate-constitution.md +5 -223
- package/Project/i18n/en/commands/generate-prd.md +5 -210
- package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/en/commands/list-epics.md +5 -91
- package/Project/i18n/en/commands/list-stories.md +5 -116
- package/Project/i18n/en/commands/list-tasks.md +5 -128
- package/Project/i18n/en/commands/metrics.md +5 -223
- package/Project/i18n/en/commands/migrate-backlog.md +5 -186
- package/Project/i18n/en/commands/migrate.md +158 -0
- package/Project/i18n/en/commands/move-task.md +5 -200
- package/Project/i18n/en/commands/report.md +156 -0
- package/Project/i18n/en/commands/reverse-prd.md +5 -284
- package/Project/i18n/en/commands/reverse-stories.md +5 -301
- package/Project/i18n/en/commands/reverse.md +249 -0
- package/Project/i18n/en/commands/run-epic.md +5 -187
- package/Project/i18n/en/commands/run-queue.md +5 -250
- package/Project/i18n/en/commands/run-sprint.md +5 -262
- package/Project/i18n/en/commands/scan.md +5 -267
- package/Project/i18n/en/commands/sync-backlog.md +5 -161
- package/Project/i18n/en/commands/trace.md +119 -167
- package/Project/i18n/en/commands/update-epic.md +5 -101
- package/Project/i18n/en/commands/update-stories.md +5 -190
- package/Project/i18n/en/commands/update-story.md +5 -146
- package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/en/scaffold/project-management__README.md +7 -7
- package/Project/i18n/en/templates/board.md +22 -9
- package/Project/i18n/en/templates/epic.md +4 -4
- package/Project/i18n/en/templates/prd.md +1 -1
- package/Project/i18n/en/templates/sprint-status.md +60 -0
- package/Project/i18n/en/templates/task.md +1 -1
- package/Project/i18n/en/templates/user-story.md +7 -5
- package/Project/i18n/es/Gate/commands/check.md +392 -0
- package/Project/i18n/es/Gate/commands/report.md +5 -229
- package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/es/Sprint/commands/dev.md +5 -441
- package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/es/Sprint/commands/status.md +5 -172
- package/Project/i18n/es/Sprint/commands/transition.md +5 -259
- package/Project/i18n/es/agents/product-owner.md +5 -5
- package/Project/i18n/es/agents/tech-lead.md +8 -8
- package/Project/i18n/es/commands/add-epic.md +5 -88
- package/Project/i18n/es/commands/add-story.md +5 -112
- package/Project/i18n/es/commands/add-task.md +5 -127
- package/Project/i18n/es/commands/analyze-backlog.md +5 -110
- package/Project/i18n/es/commands/backlog.md +653 -0
- package/Project/i18n/es/commands/batch-status.md +5 -209
- package/Project/i18n/es/commands/board.md +5 -130
- package/Project/i18n/es/commands/burndown.md +5 -120
- package/Project/i18n/es/commands/checkpoint.md +5 -239
- package/Project/i18n/es/commands/coverage-map.md +5 -217
- package/Project/i18n/es/commands/critical-path.md +5 -123
- package/Project/i18n/es/commands/decompose-tasks.md +5 -600
- package/Project/i18n/es/commands/dependencies.md +5 -139
- package/Project/i18n/es/commands/gap-analysis.md +5 -290
- package/Project/i18n/es/commands/generate-backlog.md +5 -378
- package/Project/i18n/es/commands/generate-constitution.md +5 -223
- package/Project/i18n/es/commands/generate-prd.md +5 -210
- package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/es/commands/list-epics.md +5 -91
- package/Project/i18n/es/commands/list-stories.md +5 -116
- package/Project/i18n/es/commands/list-tasks.md +5 -128
- package/Project/i18n/es/commands/metrics.md +5 -223
- package/Project/i18n/es/commands/migrate-backlog.md +5 -144
- package/Project/i18n/es/commands/migrate.md +158 -0
- package/Project/i18n/es/commands/move-task.md +5 -200
- package/Project/i18n/es/commands/report.md +156 -0
- package/Project/i18n/es/commands/reverse-prd.md +5 -284
- package/Project/i18n/es/commands/reverse-stories.md +5 -301
- package/Project/i18n/es/commands/reverse.md +249 -0
- package/Project/i18n/es/commands/run-epic.md +5 -187
- package/Project/i18n/es/commands/run-queue.md +5 -250
- package/Project/i18n/es/commands/run-sprint.md +5 -262
- package/Project/i18n/es/commands/scan.md +5 -267
- package/Project/i18n/es/commands/sync-backlog.md +5 -161
- package/Project/i18n/es/commands/trace.md +126 -174
- package/Project/i18n/es/commands/update-epic.md +5 -101
- package/Project/i18n/es/commands/update-stories.md +5 -190
- package/Project/i18n/es/commands/update-story.md +5 -146
- package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/es/scaffold/project-management__README.md +7 -7
- package/Project/i18n/es/templates/board.md +22 -9
- package/Project/i18n/es/templates/epic.md +4 -4
- package/Project/i18n/es/templates/prd.md +1 -1
- package/Project/i18n/es/templates/sprint-status.md +60 -0
- package/Project/i18n/es/templates/task.md +1 -1
- package/Project/i18n/es/templates/user-story.md +8 -6
- package/Project/i18n/fr/Gate/commands/check.md +392 -0
- package/Project/i18n/fr/Gate/commands/report.md +5 -196
- package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
- package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
- package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/fr/Sprint/commands/status.md +5 -172
- package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
- package/Project/i18n/fr/agents/product-owner.md +5 -5
- package/Project/i18n/fr/agents/tech-lead.md +8 -8
- package/Project/i18n/fr/commands/add-epic.md +5 -88
- package/Project/i18n/fr/commands/add-story.md +5 -112
- package/Project/i18n/fr/commands/add-task.md +5 -127
- package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
- package/Project/i18n/fr/commands/backlog.md +653 -0
- package/Project/i18n/fr/commands/batch-status.md +5 -209
- package/Project/i18n/fr/commands/board.md +5 -130
- package/Project/i18n/fr/commands/burndown.md +5 -120
- package/Project/i18n/fr/commands/checkpoint.md +5 -239
- package/Project/i18n/fr/commands/coverage-map.md +5 -217
- package/Project/i18n/fr/commands/critical-path.md +5 -123
- package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
- package/Project/i18n/fr/commands/dependencies.md +5 -139
- package/Project/i18n/fr/commands/gap-analysis.md +5 -290
- package/Project/i18n/fr/commands/generate-backlog.md +5 -378
- package/Project/i18n/fr/commands/generate-constitution.md +5 -223
- package/Project/i18n/fr/commands/generate-prd.md +5 -210
- package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/fr/commands/list-epics.md +5 -91
- package/Project/i18n/fr/commands/list-stories.md +5 -116
- package/Project/i18n/fr/commands/list-tasks.md +5 -128
- package/Project/i18n/fr/commands/metrics.md +5 -223
- package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
- package/Project/i18n/fr/commands/migrate.md +158 -0
- package/Project/i18n/fr/commands/move-task.md +5 -200
- package/Project/i18n/fr/commands/report.md +156 -0
- package/Project/i18n/fr/commands/reverse-prd.md +5 -284
- package/Project/i18n/fr/commands/reverse-stories.md +5 -301
- package/Project/i18n/fr/commands/reverse.md +249 -0
- package/Project/i18n/fr/commands/run-epic.md +5 -187
- package/Project/i18n/fr/commands/run-queue.md +5 -250
- package/Project/i18n/fr/commands/run-sprint.md +5 -262
- package/Project/i18n/fr/commands/scan.md +5 -267
- package/Project/i18n/fr/commands/sync-backlog.md +5 -161
- package/Project/i18n/fr/commands/trace.md +125 -173
- package/Project/i18n/fr/commands/update-epic.md +5 -101
- package/Project/i18n/fr/commands/update-stories.md +5 -190
- package/Project/i18n/fr/commands/update-story.md +5 -146
- package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
- package/Project/i18n/fr/templates/board.md +22 -9
- package/Project/i18n/fr/templates/epic.md +4 -4
- package/Project/i18n/fr/templates/prd.md +1 -1
- package/Project/i18n/fr/templates/sprint-status.md +60 -0
- package/Project/i18n/fr/templates/task.md +1 -1
- package/Project/i18n/fr/templates/user-story.md +8 -6
- package/Project/i18n/pt/Gate/commands/check.md +392 -0
- package/Project/i18n/pt/Gate/commands/report.md +5 -229
- package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
- package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
- package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/pt/Sprint/commands/status.md +5 -172
- package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
- package/Project/i18n/pt/agents/product-owner.md +5 -5
- package/Project/i18n/pt/agents/tech-lead.md +8 -8
- package/Project/i18n/pt/commands/add-epic.md +5 -88
- package/Project/i18n/pt/commands/add-story.md +5 -112
- package/Project/i18n/pt/commands/add-task.md +5 -127
- package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
- package/Project/i18n/pt/commands/backlog.md +653 -0
- package/Project/i18n/pt/commands/batch-status.md +5 -209
- package/Project/i18n/pt/commands/board.md +5 -130
- package/Project/i18n/pt/commands/burndown.md +5 -120
- package/Project/i18n/pt/commands/checkpoint.md +5 -239
- package/Project/i18n/pt/commands/coverage-map.md +5 -217
- package/Project/i18n/pt/commands/critical-path.md +5 -123
- package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
- package/Project/i18n/pt/commands/dependencies.md +5 -139
- package/Project/i18n/pt/commands/gap-analysis.md +5 -290
- package/Project/i18n/pt/commands/generate-backlog.md +5 -378
- package/Project/i18n/pt/commands/generate-constitution.md +5 -223
- package/Project/i18n/pt/commands/generate-prd.md +5 -210
- package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/pt/commands/list-epics.md +5 -91
- package/Project/i18n/pt/commands/list-stories.md +5 -116
- package/Project/i18n/pt/commands/list-tasks.md +5 -128
- package/Project/i18n/pt/commands/metrics.md +5 -223
- package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
- package/Project/i18n/pt/commands/migrate.md +158 -0
- package/Project/i18n/pt/commands/move-task.md +5 -200
- package/Project/i18n/pt/commands/report.md +156 -0
- package/Project/i18n/pt/commands/reverse-prd.md +5 -284
- package/Project/i18n/pt/commands/reverse-stories.md +5 -301
- package/Project/i18n/pt/commands/reverse.md +249 -0
- package/Project/i18n/pt/commands/run-epic.md +5 -187
- package/Project/i18n/pt/commands/run-queue.md +5 -250
- package/Project/i18n/pt/commands/run-sprint.md +5 -262
- package/Project/i18n/pt/commands/scan.md +5 -267
- package/Project/i18n/pt/commands/sync-backlog.md +5 -161
- package/Project/i18n/pt/commands/trace.md +126 -174
- package/Project/i18n/pt/commands/update-epic.md +5 -101
- package/Project/i18n/pt/commands/update-stories.md +5 -190
- package/Project/i18n/pt/commands/update-story.md +5 -146
- package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
- package/Project/i18n/pt/templates/board.md +22 -9
- package/Project/i18n/pt/templates/epic.md +4 -4
- package/Project/i18n/pt/templates/prd.md +1 -1
- package/Project/i18n/pt/templates/sprint-status.md +60 -0
- package/Project/i18n/pt/templates/task.md +1 -1
- package/Project/i18n/pt/templates/user-story.md +8 -6
- package/Project/install-project-commands.sh +33 -52
- package/README.md +22 -5
- package/Tools/Ralph/README.md +9 -9
- package/bundles/cursor/.cursorrules +2 -2
- package/bundles/windsurf/.windsurfrules +2 -2
- package/cli/kanban/server/app.js +9 -4
- package/cli/kanban/server/services/repository.js +35 -8
- package/cli/kanban/server/services/sprint-cache.js +45 -1
- package/cli/kanban/shared/schemas.js +2 -0
- package/cli/lib/update.js +15 -0
- package/config/removed-commands.yaml +14 -0
- package/package.json +4 -2
- package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
- package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
- package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
- package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
- package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
- package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
|
@@ -1,271 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- name: scope
|
|
6
|
-
description: Scope to scan (all, backend, frontend, api, tests)
|
|
7
|
-
required: false
|
|
8
|
-
- name: output
|
|
9
|
-
description: Output path (default project-management/scan-report.md)
|
|
10
|
-
required: false
|
|
2
|
+
description: "Deprecated (removed in 9.0): use /project:reverse scan"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: /project:reverse
|
|
11
5
|
---
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
> ⚠️ `/project:scan` is deprecated and will be removed in 9.0. Use `/project:reverse scan`.
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Analyze an existing codebase to generate a comprehensive, structured inventory of all modules, endpoints, models, services, and tests. This command is the entry point for brownfield projects that need reverse-engineered specifications.
|
|
18
|
-
|
|
19
|
-
## Prerequisites
|
|
20
|
-
|
|
21
|
-
- Project directory exists with source code
|
|
22
|
-
- Codebase is accessible (not encrypted or obfuscated)
|
|
23
|
-
- Optional: `README.md` with project description
|
|
24
|
-
- Optional: `docker-compose.yml` for infrastructure context
|
|
25
|
-
|
|
26
|
-
## Plan Mode
|
|
27
|
-
|
|
28
|
-
> **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
|
|
29
|
-
|
|
30
|
-
## Workflow
|
|
31
|
-
|
|
32
|
-
### Step 1: Stack Detection
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
+--------------------------------------------------------------+
|
|
36
|
-
| CODEBASE SCAN - DETECTION |
|
|
37
|
-
+--------------------------------------------------------------+
|
|
38
|
-
| Detecting technology stack... |
|
|
39
|
-
+--------------------------------------------------------------+
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
**Automatic Detection Rules:**
|
|
43
|
-
|
|
44
|
-
| File Pattern | Detected Stack |
|
|
45
|
-
|-------------|----------------|
|
|
46
|
-
| `*.php` + `symfony.lock` | Symfony |
|
|
47
|
-
| `*.php` + `artisan` | Laravel |
|
|
48
|
-
| `*.php` + `composer.json` | PHP (generic) |
|
|
49
|
-
| `*.dart` + `pubspec.yaml` | Flutter |
|
|
50
|
-
| `*.tsx` / `*.jsx` + `next.config.*` | React (Next.js) |
|
|
51
|
-
| `*.tsx` / `*.jsx` + `package.json` | React |
|
|
52
|
-
| `*.vue` + `package.json` | Vue.js |
|
|
53
|
-
| `angular.json` | Angular |
|
|
54
|
-
| `*.cs` + `*.csproj` | .NET / C# |
|
|
55
|
-
| `*.py` + `pyproject.toml` | Python |
|
|
56
|
-
| `Dockerfile` / `docker-compose.yml` | Docker (infra) |
|
|
57
|
-
|
|
58
|
-
**Actions:**
|
|
59
|
-
1. Scan root directory for framework markers
|
|
60
|
-
2. Read `composer.json`, `package.json`, `pubspec.yaml`, `*.csproj`, or `pyproject.toml`
|
|
61
|
-
3. Identify framework version and key dependencies
|
|
62
|
-
4. Detect infrastructure (Docker, CI/CD, Redis, queues)
|
|
63
|
-
5. Assign the appropriate tech-specific reviewer agent
|
|
64
|
-
|
|
65
|
-
### Step 2: Structure Scan
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
+--------------------------------------------------------------+
|
|
69
|
-
| CODEBASE SCAN - STRUCTURE |
|
|
70
|
-
+--------------------------------------------------------------+
|
|
71
|
-
| Scanning project structure... |
|
|
72
|
-
+--------------------------------------------------------------+
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
**Categorize all files into:**
|
|
76
|
-
|
|
77
|
-
1. **Modules / Domains**: Group files by bounded context or feature
|
|
78
|
-
- Detect domain boundaries from directory structure
|
|
79
|
-
- Identify shared/common modules
|
|
80
|
-
- Map namespace structure
|
|
81
|
-
|
|
82
|
-
2. **Endpoints**: List all API routes and controllers
|
|
83
|
-
- Parse route definitions (annotations, attributes, config files)
|
|
84
|
-
- Extract HTTP methods, paths, and handler references
|
|
85
|
-
- Identify middleware/guards applied
|
|
86
|
-
|
|
87
|
-
3. **Models / Entities**: List all data models
|
|
88
|
-
- Parse entity/model classes
|
|
89
|
-
- Extract field names, types, and relationships
|
|
90
|
-
- Identify database migrations
|
|
91
|
-
|
|
92
|
-
4. **Services**: List all services, use cases, and handlers
|
|
93
|
-
- Identify service classes and their dependencies
|
|
94
|
-
- Map command/query handlers (CQRS patterns)
|
|
95
|
-
- Detect event listeners and subscribers
|
|
96
|
-
|
|
97
|
-
5. **Tests**: List test files and coverage scope
|
|
98
|
-
- Identify unit, integration, and E2E tests
|
|
99
|
-
- Map test files to source files
|
|
100
|
-
- Detect test frameworks in use
|
|
101
|
-
|
|
102
|
-
6. **Infrastructure**: Configuration and deployment
|
|
103
|
-
- Docker configuration
|
|
104
|
-
- CI/CD pipelines
|
|
105
|
-
- Environment configuration
|
|
106
|
-
- Third-party service integrations
|
|
107
|
-
|
|
108
|
-
### Step 3: Code Analysis
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
+--------------------------------------------------------------+
|
|
112
|
-
| CODEBASE SCAN - ANALYSIS |
|
|
113
|
-
+--------------------------------------------------------------+
|
|
114
|
-
| Analyzing code patterns and complexity... |
|
|
115
|
-
+--------------------------------------------------------------+
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
**Analysis Tasks:**
|
|
119
|
-
1. Estimate lines of code (LOC) per module
|
|
120
|
-
2. Identify architectural patterns in use (MVC, Clean Architecture, DDD, etc.)
|
|
121
|
-
3. Detect code quality indicators (linting config, static analysis)
|
|
122
|
-
4. Map dependency graph between modules
|
|
123
|
-
5. Identify potential technical debt markers
|
|
124
|
-
6. Use tech-specific reviewer (e.g., `@symfony-reviewer`, `@react-reviewer`) for stack-specific insights
|
|
125
|
-
|
|
126
|
-
### Step 4: Report Generation
|
|
127
|
-
|
|
128
|
-
Generate a structured Markdown report at the configured output path.
|
|
129
|
-
|
|
130
|
-
### Step 5: Next Steps
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
+--------------------------------------------------------------+
|
|
134
|
-
| NEXT STEPS |
|
|
135
|
-
+--------------------------------------------------------------+
|
|
136
|
-
| Scan complete! Recommended next actions: |
|
|
137
|
-
| |
|
|
138
|
-
| 1. /project:reverse-prd -> Generate PRD from code |
|
|
139
|
-
| 2. /project:reverse-stories -> Generate user stories |
|
|
140
|
-
| 3. /project:gap-analysis -> Compare spec vs code |
|
|
141
|
-
+--------------------------------------------------------------+
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
## Output Format
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
project-management/
|
|
148
|
-
+-- scan-report.md # Full scan report
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
**Report Structure:**
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
+==============================================================+
|
|
155
|
-
| CODEBASE SCAN REPORT |
|
|
156
|
-
+==============================================================+
|
|
157
|
-
| Project: {name} |
|
|
158
|
-
| Stack: Symfony 7.x / PHP 8.4 |
|
|
159
|
-
| Size: ~15,000 LOC |
|
|
160
|
-
| Modules: 5 bounded contexts |
|
|
161
|
-
+==============================================================+
|
|
162
|
-
|
|
163
|
-
## Technology Stack
|
|
164
|
-
| Component | Technology | Version |
|
|
165
|
-
|-----------------|---------------|---------|
|
|
166
|
-
| Framework | Symfony | 7.2 |
|
|
167
|
-
| Language | PHP | 8.4 |
|
|
168
|
-
| Database | PostgreSQL | 16 |
|
|
169
|
-
| Cache | Redis | 7.x |
|
|
170
|
-
| Containerization| Docker | Yes |
|
|
171
|
-
|
|
172
|
-
## Modules / Bounded Contexts
|
|
173
|
-
| Module | Files | LOC | Tests | Coverage |
|
|
174
|
-
|-----------------|-------|-------|-------|----------|
|
|
175
|
-
| User | 24 | 1,800 | 12 | ~65% |
|
|
176
|
-
| Order | 31 | 2,400 | 18 | ~72% |
|
|
177
|
-
| Payment | 18 | 1,200 | 8 | ~55% |
|
|
178
|
-
| Notification | 12 | 800 | 5 | ~40% |
|
|
179
|
-
| Shared/Common | 15 | 600 | 3 | ~30% |
|
|
180
|
-
|
|
181
|
-
## Endpoints (API)
|
|
182
|
-
| Method | Path | Controller | Auth |
|
|
183
|
-
|--------|-----------------------|--------------------|------|
|
|
184
|
-
| GET | /api/users | UserController | JWT |
|
|
185
|
-
| POST | /api/users | UserController | JWT |
|
|
186
|
-
| GET | /api/orders | OrderController | JWT |
|
|
187
|
-
| POST | /api/orders | OrderController | JWT |
|
|
188
|
-
| ... | ... | ... | ... |
|
|
189
|
-
|
|
190
|
-
## Models / Entities
|
|
191
|
-
| Entity | Fields | Relationships | Migrations |
|
|
192
|
-
|-------------|--------|---------------------|------------|
|
|
193
|
-
| User | 12 | hasMany: Order | 3 |
|
|
194
|
-
| Order | 15 | belongsTo: User | 5 |
|
|
195
|
-
| Product | 10 | manyToMany: Order | 2 |
|
|
196
|
-
| ... | ... | ... | ... |
|
|
197
|
-
|
|
198
|
-
## Services
|
|
199
|
-
| Service | Dependencies | Type |
|
|
200
|
-
|----------------------|-------------|------------|
|
|
201
|
-
| CreateOrderHandler | 3 | Command |
|
|
202
|
-
| GetUserQuery | 2 | Query |
|
|
203
|
-
| PaymentGateway | 4 | Service |
|
|
204
|
-
| ... | ... | ... |
|
|
205
|
-
|
|
206
|
-
## Tests
|
|
207
|
-
| Type | Count | Framework |
|
|
208
|
-
|-------------|-------|-------------|
|
|
209
|
-
| Unit | 42 | PHPUnit |
|
|
210
|
-
| Integration | 15 | PHPUnit |
|
|
211
|
-
| E2E | 3 | Cypress |
|
|
212
|
-
| Total | 60 | |
|
|
213
|
-
|
|
214
|
-
## Infrastructure
|
|
215
|
-
| Component | Config File | Notes |
|
|
216
|
-
|-------------|--------------------|--------------------|
|
|
217
|
-
| Docker | docker-compose.yml | 4 services |
|
|
218
|
-
| CI/CD | .github/workflows | 2 pipelines |
|
|
219
|
-
| Env | .env.example | 15 variables |
|
|
220
|
-
|
|
221
|
-
## Complexity Summary
|
|
222
|
-
| Metric | Value |
|
|
223
|
-
|---------------------------|----------------|
|
|
224
|
-
| Total LOC | ~15,000 |
|
|
225
|
-
| Total files | 142 |
|
|
226
|
-
| Bounded contexts | 5 |
|
|
227
|
-
| API endpoints | 23 |
|
|
228
|
-
| Database entities | 8 |
|
|
229
|
-
| Test files | 60 |
|
|
230
|
-
| Estimated test coverage | ~55% |
|
|
231
|
-
| Architecture pattern | Clean Arch |
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
## Example Session
|
|
235
|
-
|
|
236
|
-
```
|
|
237
|
-
User: /project:scan
|
|
238
|
-
|
|
239
|
-
Claude: Starting codebase scan...
|
|
240
|
-
|
|
241
|
-
[Stack Detection]
|
|
242
|
-
Detected: Symfony 7.2 / PHP 8.4
|
|
243
|
-
Key dependencies: doctrine/orm, api-platform/core, lexik/jwt-auth
|
|
244
|
-
|
|
245
|
-
[Structure Scan]
|
|
246
|
-
Scanning directories...
|
|
247
|
-
Found 5 bounded contexts: User, Order, Payment, Notification, Shared
|
|
248
|
-
Found 23 API endpoints across 6 controllers
|
|
249
|
-
Found 8 Doctrine entities with 12 migrations
|
|
250
|
-
Found 60 test files (42 unit, 15 integration, 3 E2E)
|
|
251
|
-
|
|
252
|
-
[Code Analysis]
|
|
253
|
-
Architecture: Clean Architecture (Domain/Application/Infrastructure layers)
|
|
254
|
-
Estimated LOC: ~15,000
|
|
255
|
-
Code quality: PHPStan level 8, PHP-CS-Fixer configured
|
|
256
|
-
|
|
257
|
-
Scan report generated: project-management/scan-report.md
|
|
258
|
-
|
|
259
|
-
Would you like me to:
|
|
260
|
-
1. Run /project:reverse-prd to generate a PRD from this scan?
|
|
261
|
-
2. Run /project:reverse-stories to generate user stories?
|
|
262
|
-
3. Focus the scan on a specific module?
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
## Related Commands
|
|
266
|
-
|
|
267
|
-
- `/project:reverse-prd` - Generate a PRD from existing codebase
|
|
268
|
-
- `/project:reverse-stories` - Generate user stories from codebase features
|
|
269
|
-
- `/project:gap-analysis` - Compare specifications with actual codebase
|
|
270
|
-
- `/project:generate-prd` - Generate a PRD interactively (greenfield)
|
|
271
|
-
- `/project:generate-backlog` - Create SCRUM backlog from PRD
|
|
9
|
+
Run `/project:reverse scan $ARGUMENTS`: read `.claude/commands/project/reverse.md` and follow it with these arguments.
|
|
@@ -1,165 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "
|
|
3
|
-
|
|
2
|
+
description: "Deprecated (removed in 9.0): use /project:migrate --resync"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: /project:migrate
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
> ⚠️ `/project:sync-backlog` is deprecated and will be removed in 9.0. Use `/project:migrate --resync`.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
$ARGUMENTS (format: [--direction source] [--dry-run])
|
|
13
|
-
- **--direction** (optional): Sync direction
|
|
14
|
-
- `files-to-yaml`: Update sprint-status.yaml from markdown files
|
|
15
|
-
- `yaml-to-files`: Update markdown files from sprint-status.yaml
|
|
16
|
-
- `bidirectional`: Merge both (default, newest wins)
|
|
17
|
-
- **--dry-run** (optional): Preview changes without applying
|
|
18
|
-
|
|
19
|
-
## Process
|
|
20
|
-
|
|
21
|
-
### Step 1: Load both sources
|
|
22
|
-
|
|
23
|
-
1. Parse `.bmad/sprint-status.yaml`
|
|
24
|
-
2. Parse all story files from backlog directory
|
|
25
|
-
3. Build comparison map by story ID
|
|
26
|
-
|
|
27
|
-
### Step 2: Detect conflicts
|
|
28
|
-
|
|
29
|
-
For each story, compare:
|
|
30
|
-
- Status
|
|
31
|
-
- Task completion counts
|
|
32
|
-
- Acceptance criteria validation
|
|
33
|
-
- TDD phase
|
|
34
|
-
- Assignment
|
|
35
|
-
|
|
36
|
-
Conflict detection:
|
|
37
|
-
```yaml
|
|
38
|
-
conflicts:
|
|
39
|
-
US-001:
|
|
40
|
-
field: status
|
|
41
|
-
yaml_value: "in-progress"
|
|
42
|
-
file_value: "🟢 Done"
|
|
43
|
-
yaml_timestamp: "2026-01-29T09:00:00Z"
|
|
44
|
-
file_timestamp: "2026-01-29T10:00:00Z"
|
|
45
|
-
resolution: "file" # newer wins
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Step 3: Resolve conflicts
|
|
49
|
-
|
|
50
|
-
Resolution strategies:
|
|
51
|
-
1. **newest-wins** (default): Use most recently modified value
|
|
52
|
-
2. **yaml-wins**: Always prefer sprint-status.yaml
|
|
53
|
-
3. **files-win**: Always prefer markdown files
|
|
54
|
-
4. **prompt**: Ask user for each conflict
|
|
55
|
-
|
|
56
|
-
### Step 4: Sync files → YAML
|
|
57
|
-
|
|
58
|
-
Update sprint-status.yaml with:
|
|
59
|
-
- New stories found in files
|
|
60
|
-
- Status changes from files
|
|
61
|
-
- Task updates from files
|
|
62
|
-
- AC validation from files
|
|
63
|
-
|
|
64
|
-
### Step 5: Sync YAML → files
|
|
65
|
-
|
|
66
|
-
Update markdown files with:
|
|
67
|
-
- TDD phase (add to metadata comment)
|
|
68
|
-
- History (add to metadata comment)
|
|
69
|
-
- INVEST score (add to metadata comment)
|
|
70
|
-
- Sync timestamp
|
|
71
|
-
|
|
72
|
-
### Step 6: Handle orphans
|
|
73
|
-
|
|
74
|
-
- **Stories in YAML but not in files**: Mark as `archived` or warn
|
|
75
|
-
- **Stories in files but not in YAML**: Add to sprint-status.yaml
|
|
76
|
-
|
|
77
|
-
### Step 7: Update timestamps
|
|
78
|
-
|
|
79
|
-
Add last sync timestamp to both:
|
|
80
|
-
- `.bmad/sprint-status.yaml`: `last_sync: "2026-01-29T10:00:00Z"`
|
|
81
|
-
- Story files: `<!-- last_sync: 2026-01-29T10:00:00Z -->`
|
|
82
|
-
|
|
83
|
-
## Output Format
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
🔄 Backlog Synchronization
|
|
87
|
-
==========================
|
|
88
|
-
|
|
89
|
-
## Direction: Bidirectional
|
|
90
|
-
|
|
91
|
-
## Changes Detected
|
|
92
|
-
|
|
93
|
-
### Files → YAML (4 changes)
|
|
94
|
-
| Story | Field | Old | New |
|
|
95
|
-
|-------|-------|-----|-----|
|
|
96
|
-
| US-001 | status | in-progress | done |
|
|
97
|
-
| US-002 | tasks.completed | 2 | 3 |
|
|
98
|
-
|
|
99
|
-
### YAML → Files (2 changes)
|
|
100
|
-
| Story | Field | Old | New |
|
|
101
|
-
|-------|-------|-----|-----|
|
|
102
|
-
| US-003 | tdd_phase | - | green |
|
|
103
|
-
| US-004 | invest_score | - | 5/6 |
|
|
104
|
-
|
|
105
|
-
## Conflicts Resolved
|
|
106
|
-
|
|
107
|
-
| Story | Field | Resolution | Value |
|
|
108
|
-
|-------|-------|------------|-------|
|
|
109
|
-
| US-005 | status | newest-wins | done |
|
|
110
|
-
|
|
111
|
-
## Orphans
|
|
112
|
-
|
|
113
|
-
### In YAML only (archived):
|
|
114
|
-
- US-010: "Old feature" (archived on 2026-01-15)
|
|
115
|
-
|
|
116
|
-
### In files only (added to YAML):
|
|
117
|
-
- US-015: "New feature"
|
|
118
|
-
|
|
119
|
-
## Sync Complete
|
|
120
|
-
|
|
121
|
-
✅ sprint-status.yaml updated
|
|
122
|
-
✅ 12 story files updated
|
|
123
|
-
⏰ Last sync: 2026-01-29T10:00:00Z
|
|
124
|
-
|
|
125
|
-
## Next Steps
|
|
126
|
-
- Review changes in git diff
|
|
127
|
-
- Run `/sprint:status` to verify
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
## Dry Run Output
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
🔄 Backlog Synchronization (DRY RUN)
|
|
134
|
-
====================================
|
|
135
|
-
|
|
136
|
-
⚠️ No changes will be made
|
|
137
|
-
|
|
138
|
-
## Would Change:
|
|
139
|
-
|
|
140
|
-
### sprint-status.yaml
|
|
141
|
-
- US-001.status: "in-progress" → "done"
|
|
142
|
-
- US-002.tasks.completed: 2 → 3
|
|
143
|
-
|
|
144
|
-
### Story Files
|
|
145
|
-
- US-003: Add tdd_phase metadata
|
|
146
|
-
- US-004: Add invest_score metadata
|
|
147
|
-
|
|
148
|
-
Run without --dry-run to apply changes.
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
## Example
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
/project:sync-backlog
|
|
155
|
-
/project:sync-backlog --direction files-to-yaml
|
|
156
|
-
/project:sync-backlog --direction yaml-to-files --dry-run
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## Automation
|
|
160
|
-
|
|
161
|
-
Add to pre-commit hook for automatic sync:
|
|
162
|
-
```bash
|
|
163
|
-
# .bmad/hooks/pre-commit.sh
|
|
164
|
-
/project:sync-backlog --direction files-to-yaml
|
|
165
|
-
```
|
|
9
|
+
Run `/project:migrate --resync $ARGUMENTS`: read `.claude/commands/project/migrate.md` and follow it with these arguments.
|