@autocode-cli/autocode 0.1.10 → 0.1.12

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 (118) hide show
  1. package/README.md +7 -6
  2. package/dist/cli/commands/comment.js +1 -1
  3. package/dist/cli/commands/comment.js.map +1 -1
  4. package/dist/cli/commands/init.js +1 -1
  5. package/dist/cli/commands/init.js.map +1 -1
  6. package/dist/cli/commands/list.js +1 -1
  7. package/dist/cli/commands/list.js.map +1 -1
  8. package/dist/cli/commands/move.js +2 -2
  9. package/dist/cli/commands/move.js.map +1 -1
  10. package/dist/cli/commands/new.js +1 -1
  11. package/dist/cli/commands/new.js.map +1 -1
  12. package/dist/cli/commands/next.js +1 -1
  13. package/dist/cli/commands/next.js.map +1 -1
  14. package/dist/cli/commands/serve.js +1 -1
  15. package/dist/cli/commands/serve.js.map +1 -1
  16. package/dist/cli/commands/show.js +1 -1
  17. package/dist/cli/commands/show.js.map +1 -1
  18. package/dist/cli/commands/stats.d.ts +9 -0
  19. package/dist/cli/commands/stats.d.ts.map +1 -0
  20. package/dist/cli/commands/stats.js +108 -0
  21. package/dist/cli/commands/stats.js.map +1 -0
  22. package/dist/cli/parser.d.ts.map +1 -1
  23. package/dist/cli/parser.js +2 -0
  24. package/dist/cli/parser.js.map +1 -1
  25. package/dist/server/api.d.ts.map +1 -1
  26. package/dist/server/api.js +28 -16
  27. package/dist/server/api.js.map +1 -1
  28. package/dist/server/dashboard/pages/index.d.ts +1 -0
  29. package/dist/server/dashboard/pages/index.d.ts.map +1 -1
  30. package/dist/server/dashboard/pages/index.js +1 -0
  31. package/dist/server/dashboard/pages/index.js.map +1 -1
  32. package/dist/server/dashboard/pages/stats-page.d.ts +8 -0
  33. package/dist/server/dashboard/pages/stats-page.d.ts.map +1 -0
  34. package/dist/server/dashboard/pages/stats-page.js +624 -0
  35. package/dist/server/dashboard/pages/stats-page.js.map +1 -0
  36. package/dist/server/dashboard/scripts/index.d.ts.map +1 -1
  37. package/dist/server/dashboard/scripts/index.js +30 -1
  38. package/dist/server/dashboard/scripts/index.js.map +1 -1
  39. package/dist/server/dashboard/styles/base.d.ts.map +1 -1
  40. package/dist/server/dashboard/styles/base.js +9 -0
  41. package/dist/server/dashboard/styles/base.js.map +1 -1
  42. package/dist/server/dashboard.d.ts +1 -1
  43. package/dist/server/dashboard.d.ts.map +1 -1
  44. package/dist/server/dashboard.js +1 -1
  45. package/dist/server/dashboard.js.map +1 -1
  46. package/dist/server/index.d.ts.map +1 -1
  47. package/dist/server/index.js +8 -1
  48. package/dist/server/index.js.map +1 -1
  49. package/dist/services/claude.d.ts +9 -0
  50. package/dist/services/claude.d.ts.map +1 -1
  51. package/dist/services/claude.js +105 -2
  52. package/dist/services/claude.js.map +1 -1
  53. package/dist/services/stats.d.ts +58 -0
  54. package/dist/services/stats.d.ts.map +1 -0
  55. package/dist/services/stats.js +196 -0
  56. package/dist/services/stats.js.map +1 -0
  57. package/dist/utils/fs.js +1 -1
  58. package/dist/utils/fs.js.map +1 -1
  59. package/package.json +1 -1
  60. package/templates/catalog.yaml +1 -1
  61. package/templates/prompts/backlog.en.md +3 -3
  62. package/templates/prompts/backlog.fr.md +3 -3
  63. package/templates/prompts/changelog.en.md +4 -9
  64. package/templates/prompts/changelog.fr.md +4 -9
  65. package/templates/prompts/deploy-prod.en.md +4 -8
  66. package/templates/prompts/deploy-prod.fr.md +4 -8
  67. package/templates/prompts/deploy-staging.en.md +5 -9
  68. package/templates/prompts/deploy-staging.fr.md +5 -9
  69. package/templates/prompts/design.en.md +3 -3
  70. package/templates/prompts/design.fr.md +3 -3
  71. package/templates/prompts/dev.en.md +5 -6
  72. package/templates/prompts/dev.fr.md +5 -6
  73. package/templates/prompts/done.en.md +2 -2
  74. package/templates/prompts/done.fr.md +2 -2
  75. package/templates/prompts/git-commit.en.md +5 -7
  76. package/templates/prompts/git-commit.fr.md +5 -7
  77. package/templates/prompts/git-push.en.md +4 -8
  78. package/templates/prompts/git-push.fr.md +4 -8
  79. package/templates/prompts/git-tag.en.md +4 -8
  80. package/templates/prompts/git-tag.fr.md +4 -8
  81. package/templates/prompts/in-progress.en.md +4 -6
  82. package/templates/prompts/in-progress.fr.md +4 -6
  83. package/templates/prompts/qualification.en.md +3 -3
  84. package/templates/prompts/qualification.fr.md +3 -3
  85. package/templates/prompts/ready.en.md +4 -6
  86. package/templates/prompts/ready.fr.md +4 -6
  87. package/templates/prompts/retest-cypress.en.md +4 -5
  88. package/templates/prompts/retest-cypress.fr.md +4 -5
  89. package/templates/prompts/retest-playwright.en.md +3 -3
  90. package/templates/prompts/retest-playwright.fr.md +3 -3
  91. package/templates/prompts/retest.en.md +3 -3
  92. package/templates/prompts/retest.fr.md +3 -3
  93. package/templates/prompts/review-best-practices.en.md +4 -5
  94. package/templates/prompts/review-best-practices.fr.md +4 -5
  95. package/templates/prompts/review-code.en.md +3 -3
  96. package/templates/prompts/review-code.fr.md +3 -3
  97. package/templates/prompts/review-consistency.en.md +4 -5
  98. package/templates/prompts/review-consistency.fr.md +4 -5
  99. package/templates/prompts/review-no-duplication.en.md +4 -5
  100. package/templates/prompts/review-no-duplication.fr.md +4 -5
  101. package/templates/prompts/review-security.en.md +4 -5
  102. package/templates/prompts/review-security.fr.md +4 -5
  103. package/templates/prompts/specification.en.md +3 -3
  104. package/templates/prompts/specification.fr.md +3 -3
  105. package/templates/prompts/splitter.en.md +12 -4
  106. package/templates/prompts/splitter.fr.md +12 -5
  107. package/templates/prompts/testing-cypress.en.md +4 -5
  108. package/templates/prompts/testing-cypress.fr.md +4 -5
  109. package/templates/prompts/testing-integration.en.md +4 -5
  110. package/templates/prompts/testing-integration.fr.md +4 -5
  111. package/templates/prompts/testing-playwright.en.md +3 -3
  112. package/templates/prompts/testing-playwright.fr.md +3 -3
  113. package/templates/prompts/testing-unit.en.md +4 -5
  114. package/templates/prompts/testing-unit.fr.md +4 -5
  115. package/templates/prompts/update-docs.en.md +4 -5
  116. package/templates/prompts/update-docs.fr.md +4 -5
  117. package/templates/prompts/validate-staging.en.md +9 -14
  118. package/templates/prompts/validate-staging.fr.md +9 -14
@@ -14,14 +14,10 @@ Create a version tag for the release. Follow semantic versioning.
14
14
  3. Create annotated tag: `git tag -a v<version> -m "<release notes>"`
15
15
  4. Push tag: `git push origin v<version>`
16
16
  5. Verify tag on remote
17
- 6. If out of scope work detected:
18
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
19
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
20
- - In scope: handle directly in current ticket
21
- 7. Document: `autocode comment <key> "Tagged: v<version>"`
22
- 8. Advance: `autocode next <key>`
23
-
24
- > Or return: `autocode move <key> <targetColumn>`
17
+ 6. Document: `autocode comment <ticket-key> "Tagged: v<version>"`
18
+ 7. Advance: `autocode next <ticket-key>`
19
+
20
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
25
21
 
26
22
  ## Validation Criteria
27
23
 
@@ -14,14 +14,10 @@ Creer un tag de version pour la release. Suivre le versionnement semantique.
14
14
  3. Creer un tag annote : `git tag -a v<version> -m "<notes de release>"`
15
15
  4. Pousser le tag : `git push origin v<version>`
16
16
  5. Verifier le tag sur le distant
17
- 6. Si travail hors scope detecte :
18
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
19
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
20
- - Dans le scope : traiter directement dans le ticket actuel
21
- 7. Documenter : `autocode comment <key> "Tag cree : v<version>"`
22
- 8. Avancer : `autocode next <key>`
23
-
24
- > Ou retour : `autocode move <key> <targetColumn>`
17
+ 6. Documenter : `autocode comment <ticket-key> "Tag cree : v<version>"`
18
+ 7. Avancer : `autocode next <ticket-key>`
19
+
20
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
25
21
 
26
22
  ## Criteres de Validation
27
23
 
@@ -11,21 +11,19 @@ Active development. Ticket is being worked on, code is being written.
11
11
  3. Plan modifications (files to create/modify)
12
12
  4. Implement the solution
13
13
  5. Test locally that it works
14
- 6. Commit + push work done
15
- 7. If out of scope work detected:
14
+ 6. If out of scope work detected:
16
15
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
16
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
17
  - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Work completed"`
20
- 9. Advance: `autocode next <key>`
18
+ 7. Document: `autocode comment <ticket-key> "Work completed"`
19
+ 8. Advance: `autocode next <ticket-key>`
21
20
 
22
- > Or return: `autocode move <key> <targetColumn>`
21
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
22
 
24
23
  ## Validation Criteria
25
24
 
26
25
  - [ ] Feature/fix is implemented
27
26
  - [ ] Local tests pass
28
- - [ ] Code is committed and pushed
29
27
  - [ ] A comment summarizes work done
30
28
 
31
29
  ## Notes
@@ -11,21 +11,19 @@ Developpement actif. Le ticket est en cours de travail, le code est en cours d'e
11
11
  3. Planifier les modifications (fichiers a creer/modifier)
12
12
  4. Implementer la solution
13
13
  5. Tester localement que ca fonctionne
14
- 6. Commit + push du travail effectue
15
- 7. Si travail hors scope detecte :
14
+ 6. Si travail hors scope detecte :
16
15
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
16
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
17
  - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Travail effectue"`
20
- 9. Avancer : `autocode next <key>`
18
+ 7. Documenter : `autocode comment <ticket-key> "Travail effectue"`
19
+ 8. Avancer : `autocode next <ticket-key>`
21
20
 
22
- > Ou retour : `autocode move <key> <targetColumn>`
21
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
22
 
24
23
  ## Criteres de Validation
25
24
 
26
25
  - [ ] Feature/fix implementee
27
26
  - [ ] Tests locaux passent
28
- - [ ] Code commite et pousse
29
27
  - [ ] Un commentaire resume le travail effectue
30
28
 
31
29
  ## Notes
@@ -16,10 +16,10 @@ Analyze and qualify the ticket requirement. Ensure the request is clear, feasibl
16
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
18
  - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Qualification complete: <summary>"`
20
- 9. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Qualification complete: <summary>"`
20
+ 9. Advance: `autocode next <ticket-key>`
21
21
 
22
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Validation Criteria
25
25
 
@@ -16,10 +16,10 @@ Analyser et qualifier le besoin du ticket. S'assurer que la demande est claire,
16
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
18
  - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Qualification terminee : <resume>"`
20
- 9. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Qualification terminee : <resume>"`
20
+ 9. Avancer : `autocode next <ticket-key>`
21
21
 
22
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Criteres de Validation
25
25
 
@@ -11,21 +11,19 @@ Qualified tickets ready to be worked on. All information needed is available.
11
11
  3. Plan modifications (files to create/modify)
12
12
  4. Implement the solution
13
13
  5. Test locally that it works
14
- 6. Commit + push work done
15
- 7. If out of scope work detected:
14
+ 6. If out of scope work detected:
16
15
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
16
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
17
  - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Work completed"`
20
- 9. Advance: `autocode next <key>`
18
+ 7. Document: `autocode comment <ticket-key> "Work completed"`
19
+ 8. Advance: `autocode next <ticket-key>`
21
20
 
22
- > Or return: `autocode move <key> <targetColumn>`
21
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
22
 
24
23
  ## Validation Criteria
25
24
 
26
25
  - [ ] Feature/fix is implemented
27
26
  - [ ] Local tests pass
28
- - [ ] Code is committed and pushed
29
27
  - [ ] A comment summarizes work done
30
28
 
31
29
  ## Notes
@@ -11,21 +11,19 @@ Tickets qualifies prets a etre travailles. Toutes les informations necessaires s
11
11
  3. Planifier les modifications (fichiers a creer/modifier)
12
12
  4. Implementer la solution
13
13
  5. Tester localement que ca fonctionne
14
- 6. Commit + push du travail effectue
15
- 7. Si travail hors scope detecte :
14
+ 6. Si travail hors scope detecte :
16
15
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
16
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
17
  - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Travail effectue"`
20
- 9. Avancer : `autocode next <key>`
18
+ 7. Documenter : `autocode comment <ticket-key> "Travail effectue"`
19
+ 8. Avancer : `autocode next <ticket-key>`
21
20
 
22
- > Ou retour : `autocode move <key> <targetColumn>`
21
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
22
 
24
23
  ## Criteres de Validation
25
24
 
26
25
  - [ ] Feature/fix implementee
27
26
  - [ ] Tests locaux passent
28
- - [ ] Code commite et pousse
29
27
  - [ ] Un commentaire resume le travail effectue
30
28
 
31
29
  ## Notes
@@ -10,15 +10,14 @@ Re-run all automated E2E tests to ensure refactoring did not introduce regressio
10
10
  2. Compare results with pre-refactoring run
11
11
  3. If new failures: identify cause (test or code issue)
12
12
  4. Fix any regressions before proceeding
13
- 5. Commit test fixes if needed
14
- 6. If out of scope work detected:
13
+ 5. If out of scope work detected:
15
14
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
16
15
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
17
16
  - In scope: handle directly in current ticket
18
- 7. Document: `autocode comment <key> "Retest Cypress OK"`
19
- 8. Advance: `autocode next <key>`
17
+ 6. Document: `autocode comment <ticket-key> "Retest Cypress OK"`
18
+ 7. Advance: `autocode next <ticket-key>`
20
19
 
21
- > Or return: `autocode move <key> <targetColumn>`
20
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
22
21
 
23
22
  ## Validation Criteria
24
23
 
@@ -10,15 +10,14 @@ Re-executer tous les tests E2E automatises pour s'assurer que le refactoring n'a
10
10
  2. Comparer les resultats avec l'execution pre-refactoring
11
11
  3. Si nouveaux echecs : identifier la cause (probleme de test ou de code)
12
12
  4. Corriger toute regression avant de continuer
13
- 5. Commiter les corrections de tests si necessaire
14
- 6. Si travail hors scope detecte :
13
+ 5. Si travail hors scope detecte :
15
14
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
16
15
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
16
  - Dans le scope : traiter directement dans le ticket actuel
18
- 7. Documenter : `autocode comment <key> "Retest Cypress OK"`
19
- 8. Avancer : `autocode next <key>`
17
+ 6. Documenter : `autocode comment <ticket-key> "Retest Cypress OK"`
18
+ 7. Avancer : `autocode next <ticket-key>`
20
19
 
21
- > Ou retour : `autocode move <key> <targetColumn>`
20
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
22
21
 
23
22
  ## Criteres de Validation
24
23
 
@@ -16,10 +16,10 @@ Post-refactoring validation with Playwright. Verify that refactoring did not bre
16
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
18
  - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Retest Playwright OK"`
20
- 9. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Retest Playwright OK"`
20
+ 9. Advance: `autocode next <ticket-key>`
21
21
 
22
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Validation Criteria
25
25
 
@@ -16,10 +16,10 @@ Validation post-refactoring avec Playwright. Verifier que le refactoring n'a pas
16
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
18
  - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Retest Playwright OK"`
20
- 9. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Retest Playwright OK"`
20
+ 9. Avancer : `autocode next <ticket-key>`
21
21
 
22
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Criteres de Validation
25
25
 
@@ -17,10 +17,10 @@ Re-run all tests after bug fixes or corrections. Ensure no regressions were intr
17
17
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
18
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
19
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Retest passed: all tests green"`
21
- 10. Advance: `autocode next <key>`
20
+ 9. Document: `autocode comment <ticket-key> "Retest passed: all tests green"`
21
+ 10. Advance: `autocode next <ticket-key>`
22
22
 
23
- > Or return: `autocode move <key> <targetColumn>`
23
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
24
 
25
25
  ## Validation Criteria
26
26
 
@@ -17,10 +17,10 @@ Re-executer tous les tests apres corrections de bugs. S'assurer qu'aucune regres
17
17
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
18
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
19
  - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Retest OK : tous les tests verts"`
21
- 10. Avancer : `autocode next <key>`
20
+ 9. Documenter : `autocode comment <ticket-key> "Retest OK : tous les tests verts"`
21
+ 10. Avancer : `autocode next <ticket-key>`
22
22
 
23
- > Ou retour : `autocode move <key> <targetColumn>`
23
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
24
 
25
25
  ## Criteres de Validation
26
26
 
@@ -12,15 +12,14 @@ Code quality audit. Verify conventions and best practices are followed.
12
12
  4. Verify file size (components < 300 lines)
13
13
  5. Verify import organization
14
14
  6. Fix violations found
15
- 7. Commit + push corrections
16
- 8. If out of scope work detected:
15
+ 7. If out of scope work detected:
17
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
18
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Review best practices OK"`
21
- 10. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Review best practices OK"`
20
+ 9. Advance: `autocode next <ticket-key>`
22
21
 
23
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Validation Criteria
26
25
 
@@ -12,15 +12,14 @@ Audit qualite du code. Verifier que les conventions et bonnes pratiques sont res
12
12
  4. Verifier la taille des fichiers (composants < 300 lignes)
13
13
  5. Verifier l'organisation des imports
14
14
  6. Corriger les violations trouvees
15
- 7. Commit + push des corrections
16
- 8. Si travail hors scope detecte :
15
+ 7. Si travail hors scope detecte :
17
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
18
  - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Review best practices OK"`
21
- 10. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Review best practices OK"`
20
+ 9. Avancer : `autocode next <ticket-key>`
22
21
 
23
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Criteres de Validation
26
25
 
@@ -17,10 +17,10 @@ Perform peer code review. Ensure code quality, readability, and adherence to pro
17
17
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
18
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
19
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Code review passed: <summary>"`
21
- 10. Advance: `autocode next <key>`
20
+ 9. Document: `autocode comment <ticket-key> "Code review passed: <summary>"`
21
+ 10. Advance: `autocode next <ticket-key>`
22
22
 
23
- > Or return: `autocode move <key> <targetColumn>`
23
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
24
 
25
25
  ## Validation Criteria
26
26
 
@@ -17,10 +17,10 @@ Effectuer une revue de code. Assurer la qualite du code, sa lisibilite et le res
17
17
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
18
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
19
  - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Code review OK : <resume>"`
21
- 10. Avancer : `autocode next <key>`
20
+ 9. Documenter : `autocode comment <ticket-key> "Code review OK : <resume>"`
21
+ 10. Avancer : `autocode next <ticket-key>`
22
22
 
23
- > Ou retour : `autocode move <key> <targetColumn>`
23
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
24
 
25
25
  ## Criteres de Validation
26
26
 
@@ -12,15 +12,14 @@ Verify code integrates harmoniously with existing project architecture.
12
12
  4. Check error handling (uniform try/catch)
13
13
  5. Verify correct Pinia store usage
14
14
  6. Fix inconsistencies
15
- 7. Commit + push
16
- 8. If out of scope work detected:
15
+ 7. If out of scope work detected:
17
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
18
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Review consistency OK"`
21
- 10. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Review consistency OK"`
20
+ 9. Advance: `autocode next <ticket-key>`
22
21
 
23
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Validation Criteria
26
25
 
@@ -12,15 +12,14 @@ Verifier que le code s'integre harmonieusement avec l'architecture existante du
12
12
  4. Controler la gestion d'erreurs (try/catch uniforme)
13
13
  5. Verifier l'usage correct des stores Pinia
14
14
  6. Corriger les incoherences
15
- 7. Commit + push
16
- 8. Si travail hors scope detecte :
15
+ 7. Si travail hors scope detecte :
17
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
18
  - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Review consistency OK"`
21
- 10. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Review consistency OK"`
20
+ 9. Avancer : `autocode next <ticket-key>`
22
21
 
23
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Criteres de Validation
26
25
 
@@ -12,15 +12,14 @@ Identify and eliminate code duplication. Factor into reusable functions/composab
12
12
  4. Detect copy-pasted business logic
13
13
  5. Extract to composable/service/shared function if >2 usages
14
14
  6. Update all existing calls
15
- 7. Commit + push
16
- 8. If out of scope work detected:
15
+ 7. If out of scope work detected:
17
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
18
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Review no duplication OK"`
21
- 10. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Review no duplication OK"`
20
+ 9. Advance: `autocode next <ticket-key>`
22
21
 
23
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Validation Criteria
26
25
 
@@ -12,15 +12,14 @@ Identifier et eliminer la duplication de code. Factoriser en fonctions/composabl
12
12
  4. Detecter la logique metier copiee-collee
13
13
  5. Extraire en composable/service/fonction partagee si >2 usages
14
14
  6. Mettre a jour tous les appels existants
15
- 7. Commit + push
16
- 8. Si travail hors scope detecte :
15
+ 7. Si travail hors scope detecte :
17
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
18
  - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Review no duplication OK"`
21
- 10. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Review no duplication OK"`
20
+ 9. Avancer : `autocode next <ticket-key>`
22
21
 
23
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Criteres de Validation
26
25
 
@@ -13,15 +13,14 @@ Security audit. Identify and fix potential vulnerabilities (OWASP Top 10).
13
13
  5. Ensure API keys are in .env, never in code
14
14
  6. Audit API calls (injection, XSS)
15
15
  7. Fix vulnerabilities
16
- 8. Commit + push
17
- 9. If out of scope work detected:
16
+ 8. If out of scope work detected:
18
17
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
19
18
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
20
19
  - In scope: handle directly in current ticket
21
- 10. Document: `autocode comment <key> "Review security OK"`
22
- 11. Advance: `autocode next <key>`
20
+ 9. Document: `autocode comment <ticket-key> "Review security OK"`
21
+ 10. Advance: `autocode next <ticket-key>`
23
22
 
24
- > Or return: `autocode move <key> <targetColumn>`
23
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
25
24
 
26
25
  ## Validation Criteria
27
26
 
@@ -13,15 +13,14 @@ Audit securite. Identifier et corriger les vulnerabilites potentielles (OWASP To
13
13
  5. S'assurer que les cles API sont dans .env, jamais dans le code
14
14
  6. Auditer les appels API (injection, XSS)
15
15
  7. Corriger les vulnerabilites
16
- 8. Commit + push
17
- 9. Si travail hors scope detecte :
16
+ 8. Si travail hors scope detecte :
18
17
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
19
18
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
20
19
  - Dans le scope : traiter directement dans le ticket actuel
21
- 10. Documenter : `autocode comment <key> "Review security OK"`
22
- 11. Avancer : `autocode next <key>`
20
+ 9. Documenter : `autocode comment <ticket-key> "Review security OK"`
21
+ 10. Avancer : `autocode next <ticket-key>`
23
22
 
24
- > Ou retour : `autocode move <key> <targetColumn>`
23
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
25
24
 
26
25
  ## Criteres de Validation
27
26
 
@@ -16,10 +16,10 @@ Write detailed technical specifications for the ticket. Define the implementatio
16
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
18
  - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Specification complete: <technical approach>"`
20
- 9. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Specification complete: <technical approach>"`
20
+ 9. Advance: `autocode next <ticket-key>`
21
21
 
22
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Validation Criteria
25
25
 
@@ -16,10 +16,10 @@ Rediger les specifications techniques detaillees pour le ticket. Definir clairem
16
16
  - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
17
  - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
18
  - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Specification terminee : <approche technique>"`
20
- 9. Avancer : `autocode next <key>`
19
+ 8. Documenter : `autocode comment <ticket-key> "Specification terminee : <approche technique>"`
20
+ 9. Avancer : `autocode next <ticket-key>`
21
21
 
22
- > Ou retour : `autocode move <key> <targetColumn>`
22
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
23
 
24
24
  ## Criteres de Validation
25
25
 
@@ -2,7 +2,15 @@
2
2
 
3
3
  ## Role
4
4
 
5
- Break down large requirements into smaller, focused tickets to limit responsibility and improve traceability. Create atomic tasks that can be independently implemented and verified.
5
+ Break down large requirements into smaller, focused tickets **when needed** to limit responsibility and improve traceability. Create atomic tasks that can be independently implemented and verified.
6
+
7
+ ## When to Split
8
+
9
+ **Use judgment** - splitting is not always necessary:
10
+ - **Split** when the task is large, involves multiple components, or would benefit from parallel work
11
+ - **Don't split** when the task is small, focused, or already atomic
12
+
13
+ If the task is small enough to be completed in one go, proceed directly without splitting.
6
14
 
7
15
  ## Actions
8
16
 
@@ -14,10 +22,10 @@ Break down large requirements into smaller, focused tickets to limit responsibil
14
22
  6. Verify no functionality has been forgotten or duplicated across tickets
15
23
  7. Create an integration ticket that references all sub-tickets to validate cohesion
16
24
  8. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
17
- 9. Document: `autocode comment <key> "[summary]"`
18
- 10. Advance: `autocode next <key>`
25
+ 9. Document: `autocode comment <ticket-key> "[summary]"`
26
+ 10. Advance: `autocode next <ticket-key>`
19
27
 
20
- > Or return: `autocode move <key> <targetColumn>`
28
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
21
29
 
22
30
  ## Validation Criteria
23
31
 
@@ -2,8 +2,15 @@
2
2
 
3
3
  ## Rôle
4
4
 
5
- Découper les besoins trop importants en tickets plus petits et ciblés pour limiter la responsabilité et améliorer la
6
- traçabilité. Créer des tâches atomiques pouvant être implémentées et vérifiées indépendamment.
5
+ Découper les besoins trop importants en tickets plus petits et ciblés **si nécessaire** pour limiter la responsabilité et améliorer la traçabilité. Créer des tâches atomiques pouvant être implémentées et vérifiées indépendamment.
6
+
7
+ ## Quand Découper
8
+
9
+ **Faire preuve de jugement** - le découpage n'est pas systématique :
10
+ - **Découper** quand la tâche est large, implique plusieurs composants, ou bénéficierait d'un travail parallèle
11
+ - **Ne pas découper** quand la tâche est petite, ciblée, ou déjà atomique
12
+
13
+ Si la tâche est suffisamment petite pour être complétée en une fois, procéder directement sans découpage.
7
14
 
8
15
  ## Actions
9
16
 
@@ -15,10 +22,10 @@ traçabilité. Créer des tâches atomiques pouvant être implémentées et vér
15
22
  6. Vérifier qu'aucune fonctionnalité n'a été oubliée ou dupliquée entre les tickets
16
23
  7. Créer un ticket d'intégration qui référence tous les sous-tickets pour valider la cohésion
17
24
  8. Si travail hors scope détecté : `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
- 9. Documenter : `autocode comment <key> "[résumé]"`
19
- 10. Avancer : `autocode next <key>`
25
+ 9. Documenter : `autocode comment <ticket-key> "[résumé]"`
26
+ 10. Avancer : `autocode next <ticket-key>`
20
27
 
21
- > Ou retourner : `autocode move <key> <targetColumn>`
28
+ > Ou retourner : `autocode move <ticket-key> <target-column-slug>`
22
29
 
23
30
  ## Critères de Validation
24
31
 
@@ -12,15 +12,14 @@ Write AND execute E2E automated tests to prevent regressions.
12
12
  4. Describe tests clearly (describe/it)
13
13
  5. Execute tests: npx cypress run
14
14
  6. If failures: fix tests or code
15
- 7. Commit + push tests
16
- 8. If out of scope work detected:
15
+ 7. If out of scope work detected:
17
16
  - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
17
  - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
18
  - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Cypress tests OK"`
21
- 10. Advance: `autocode next <key>`
19
+ 8. Document: `autocode comment <ticket-key> "Cypress tests OK"`
20
+ 9. Advance: `autocode next <ticket-key>`
22
21
 
23
- > Or return: `autocode move <key> <targetColumn>`
22
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
23
 
25
24
  ## Validation Criteria
26
25