@autocode-cli/autocode 0.1.11 → 0.1.13

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 (97) hide show
  1. package/README.md +6 -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 +3 -3
  7. package/dist/cli/commands/list.js.map +1 -1
  8. package/dist/cli/commands/move.js +5 -5
  9. package/dist/cli/commands/move.js.map +1 -1
  10. package/dist/cli/commands/new.js +4 -4
  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/show.js +1 -1
  15. package/dist/cli/commands/show.js.map +1 -1
  16. package/dist/core/column.d.ts +0 -4
  17. package/dist/core/column.d.ts.map +1 -1
  18. package/dist/core/column.js +0 -6
  19. package/dist/core/column.js.map +1 -1
  20. package/dist/core/ticket.d.ts +1 -1
  21. package/dist/core/ticket.js +4 -4
  22. package/dist/core/ticket.js.map +1 -1
  23. package/dist/core/workflow.d.ts +1 -1
  24. package/dist/core/workflow.js +4 -4
  25. package/dist/server/api.d.ts.map +1 -1
  26. package/dist/server/api.js +76 -7
  27. package/dist/server/api.js.map +1 -1
  28. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
  29. package/dist/server/dashboard/pages/pipeline-configurator.js +176 -0
  30. package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
  31. package/dist/server/dashboard/scripts/index.js +3 -3
  32. package/dist/services/claude.d.ts +4 -1
  33. package/dist/services/claude.d.ts.map +1 -1
  34. package/dist/services/claude.js +7 -4
  35. package/dist/services/claude.js.map +1 -1
  36. package/package.json +1 -1
  37. package/templates/analysis-prompt.en.md +77 -0
  38. package/templates/analysis-prompt.fr.md +87 -0
  39. package/templates/catalog.yaml +1 -1
  40. package/templates/prompts/backlog.en.md +8 -19
  41. package/templates/prompts/backlog.fr.md +8 -19
  42. package/templates/prompts/changelog.en.md +4 -8
  43. package/templates/prompts/changelog.fr.md +4 -8
  44. package/templates/prompts/deploy-prod.en.md +4 -8
  45. package/templates/prompts/deploy-prod.fr.md +4 -8
  46. package/templates/prompts/deploy-staging.en.md +4 -8
  47. package/templates/prompts/deploy-staging.fr.md +4 -8
  48. package/templates/prompts/design.en.md +5 -5
  49. package/templates/prompts/design.fr.md +5 -5
  50. package/templates/prompts/dev.en.md +5 -5
  51. package/templates/prompts/dev.fr.md +5 -5
  52. package/templates/prompts/done.en.md +4 -4
  53. package/templates/prompts/done.fr.md +4 -4
  54. package/templates/prompts/git-commit.en.md +5 -7
  55. package/templates/prompts/git-commit.fr.md +5 -7
  56. package/templates/prompts/git-push.en.md +4 -8
  57. package/templates/prompts/git-push.fr.md +4 -8
  58. package/templates/prompts/git-tag.en.md +4 -8
  59. package/templates/prompts/git-tag.fr.md +4 -8
  60. package/templates/prompts/in-progress.en.md +5 -5
  61. package/templates/prompts/in-progress.fr.md +5 -5
  62. package/templates/prompts/qualification.en.md +5 -5
  63. package/templates/prompts/qualification.fr.md +5 -5
  64. package/templates/prompts/retest-cypress.en.md +4 -8
  65. package/templates/prompts/retest-cypress.fr.md +4 -8
  66. package/templates/prompts/retest-playwright.en.md +5 -8
  67. package/templates/prompts/retest-playwright.fr.md +5 -8
  68. package/templates/prompts/retest.en.md +5 -8
  69. package/templates/prompts/retest.fr.md +5 -8
  70. package/templates/prompts/review-best-practices.en.md +4 -8
  71. package/templates/prompts/review-best-practices.fr.md +4 -8
  72. package/templates/prompts/review-code.en.md +4 -8
  73. package/templates/prompts/review-code.fr.md +4 -8
  74. package/templates/prompts/review-consistency.en.md +4 -8
  75. package/templates/prompts/review-consistency.fr.md +4 -8
  76. package/templates/prompts/review-no-duplication.en.md +4 -8
  77. package/templates/prompts/review-no-duplication.fr.md +4 -8
  78. package/templates/prompts/review-security.en.md +5 -5
  79. package/templates/prompts/review-security.fr.md +5 -5
  80. package/templates/prompts/specification.en.md +5 -5
  81. package/templates/prompts/specification.fr.md +5 -5
  82. package/templates/prompts/splitter.en.md +4 -5
  83. package/templates/prompts/splitter.fr.md +4 -5
  84. package/templates/prompts/testing-cypress.en.md +5 -8
  85. package/templates/prompts/testing-cypress.fr.md +5 -8
  86. package/templates/prompts/testing-integration.en.md +5 -8
  87. package/templates/prompts/testing-integration.fr.md +5 -8
  88. package/templates/prompts/testing-playwright.en.md +5 -8
  89. package/templates/prompts/testing-playwright.fr.md +5 -8
  90. package/templates/prompts/testing-unit.en.md +5 -8
  91. package/templates/prompts/testing-unit.fr.md +5 -8
  92. package/templates/prompts/update-docs.en.md +4 -8
  93. package/templates/prompts/update-docs.fr.md +4 -8
  94. package/templates/prompts/validate-staging.en.md +4 -8
  95. package/templates/prompts/validate-staging.fr.md +4 -8
  96. package/templates/prompts/ready.en.md +0 -31
  97. package/templates/prompts/ready.fr.md +0 -31
@@ -13,14 +13,11 @@ Executer les tests d'integration pour verifier que les composants fonctionnent c
13
13
  5. Tester les operations base de donnees
14
14
  6. Tester les connexions aux services externes
15
15
  7. Corriger les tests en echec
16
- 8. Si travail hors scope detecte :
17
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
- - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Tests d'integration OK"`
21
- 10. Avancer : `autocode next <key>`
22
-
23
- > Ou retour : `autocode move <key> <targetColumn>`
16
+ 8. Ne pas ecrire de tests pour du code hors scope du ticket
17
+ 9. Documenter : `autocode comment <ticket-key> "Tests d'integration OK"`
18
+ 10. Avancer : `autocode next <ticket-key>`
19
+
20
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
21
 
25
22
  ## Criteres de Validation
26
23
 
@@ -12,14 +12,11 @@ Live functional testing with Playwright. Manually verify feature works by naviga
12
12
  4. Test edge cases
13
13
  5. Verify error handling
14
14
  6. Capture screenshots if needed
15
- 7. If out of scope work detected:
16
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
- - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Playwright tests OK"`
20
- 9. Advance: `autocode next <key>`
21
-
22
- > Or return: `autocode move <key> <targetColumn>`
15
+ 7. Do not test functionality outside the ticket scope
16
+ 8. Document: `autocode comment <ticket-key> "Playwright tests OK"`
17
+ 9. Advance: `autocode next <ticket-key>`
18
+
19
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
20
 
24
21
  ## Validation Criteria
25
22
 
@@ -12,14 +12,11 @@ Test fonctionnel live avec Playwright. Verifier manuellement que la feature fonc
12
12
  4. Tester les cas limites
13
13
  5. Verifier la gestion d'erreurs
14
14
  6. Capturer des screenshots si necessaire
15
- 7. Si travail hors scope detecte :
16
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
- - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Tests Playwright OK"`
20
- 9. Avancer : `autocode next <key>`
21
-
22
- > Ou retour : `autocode move <key> <targetColumn>`
15
+ 7. Ne pas tester de fonctionnalites hors scope du ticket
16
+ 8. Documenter : `autocode comment <ticket-key> "Tests Playwright OK"`
17
+ 9. Avancer : `autocode next <ticket-key>`
18
+
19
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
20
 
24
21
  ## Criteres de Validation
25
22
 
@@ -13,14 +13,11 @@ Write and run unit tests for the implemented feature. Ensure code coverage and r
13
13
  5. Run all unit tests: `npm test` or equivalent
14
14
  6. Fix any failing tests
15
15
  7. Verify coverage meets project standards
16
- 8. If out of scope work detected:
17
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
18
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
19
- - In scope: handle directly in current ticket
20
- 9. Document: `autocode comment <key> "Unit tests passed: <coverage>%"`
21
- 10. Advance: `autocode next <key>`
22
-
23
- > Or return: `autocode move <key> <targetColumn>`
16
+ 8. Do not write tests for code outside the ticket scope
17
+ 9. Document: `autocode comment <ticket-key> "Unit tests passed: <coverage>%"`
18
+ 10. Advance: `autocode next <ticket-key>`
19
+
20
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
24
21
 
25
22
  ## Validation Criteria
26
23
 
@@ -13,14 +13,11 @@ Ecrire et executer les tests unitaires pour la fonctionnalite implementee. Assur
13
13
  5. Executer tous les tests unitaires : `npm test` ou equivalent
14
14
  6. Corriger les tests en echec
15
15
  7. Verifier que la couverture respecte les standards du projet
16
- 8. Si travail hors scope detecte :
17
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
18
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
19
- - Dans le scope : traiter directement dans le ticket actuel
20
- 9. Documenter : `autocode comment <key> "Tests unitaires OK : <couverture>%"`
21
- 10. Avancer : `autocode next <key>`
22
-
23
- > Ou retour : `autocode move <key> <targetColumn>`
16
+ 8. Ne pas ecrire de tests pour du code hors scope du ticket
17
+ 9. Documenter : `autocode comment <ticket-key> "Tests unitaires OK : <couverture>%"`
18
+ 10. Avancer : `autocode next <ticket-key>`
19
+
20
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
24
21
 
25
22
  ## Criteres de Validation
26
23
 
@@ -11,14 +11,10 @@ Document changes for future developers and users.
11
11
  3. Document new features
12
12
  4. Update existing guides if impacted
13
13
  5. Verify doc consistency
14
- 6. If out of scope work detected:
15
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
16
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
17
- - In scope: handle directly in current ticket
18
- 7. Document: `autocode comment <key> "Documentation updated"`
19
- 8. Advance: `autocode next <key>`
20
-
21
- > Or return: `autocode move <key> <targetColumn>`
14
+ 6. Document: `autocode comment <ticket-key> "Documentation updated"`
15
+ 7. Advance: `autocode next <ticket-key>`
16
+
17
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
22
18
 
23
19
  ## Validation Criteria
24
20
 
@@ -11,14 +11,10 @@ Documenter les changements pour les futurs developpeurs et utilisateurs.
11
11
  3. Documenter les nouvelles features
12
12
  4. Mettre a jour les guides existants si impactes
13
13
  5. Verifier la coherence de la doc
14
- 6. Si travail hors scope detecte :
15
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
16
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
- - Dans le scope : traiter directement dans le ticket actuel
18
- 7. Documenter : `autocode comment <key> "Documentation mise a jour"`
19
- 8. Avancer : `autocode next <key>`
20
-
21
- > Ou retour : `autocode move <key> <targetColumn>`
14
+ 6. Documenter : `autocode comment <ticket-key> "Documentation mise a jour"`
15
+ 7. Avancer : `autocode next <ticket-key>`
16
+
17
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
22
18
 
23
19
  ## Criteres de Validation
24
20
 
@@ -12,14 +12,10 @@ Final validation: verify everything works in staging AND git repo is clean.
12
12
  4. Verify visually everything is OK
13
13
  5. Capture proof (screenshot)
14
14
  6. Confirm feature works
15
- 7. If out of scope work detected:
16
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
17
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
- - In scope: handle directly in current ticket
19
- 8. Document: `autocode comment <key> "Staging validation OK"`
20
- 9. Advance: `autocode next <key>`
21
-
22
- > Or return: `autocode move <key> <targetColumn>`
15
+ 7. Document: `autocode comment <ticket-key> "Staging validation OK"`
16
+ 8. Advance: `autocode next <ticket-key>`
17
+
18
+ > Or return: `autocode move <ticket-key> <target-column-slug>`
23
19
 
24
20
  ## Validation Criteria
25
21
 
@@ -12,14 +12,10 @@ Validation finale : verifier que tout fonctionne en staging ET que le repo git e
12
12
  4. Verifier visuellement que tout est OK
13
13
  5. Capturer une preuve (screenshot)
14
14
  6. Confirmer que la feature fonctionne
15
- 7. Si travail hors scope detecte :
16
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
17
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
- - Dans le scope : traiter directement dans le ticket actuel
19
- 8. Documenter : `autocode comment <key> "Validation staging OK"`
20
- 9. Avancer : `autocode next <key>`
21
-
22
- > Ou retour : `autocode move <key> <targetColumn>`
15
+ 7. Documenter : `autocode comment <ticket-key> "Validation staging OK"`
16
+ 8. Avancer : `autocode next <ticket-key>`
17
+
18
+ > Ou retour : `autocode move <ticket-key> <target-column-slug>`
23
19
 
24
20
  ## Criteres de Validation
25
21
 
@@ -1,31 +0,0 @@
1
- # Ready
2
-
3
- ## Role
4
-
5
- Qualified tickets ready to be worked on. All information needed is available.
6
-
7
- ## Actions
8
-
9
- 1. Analyze ticket and acceptance criteria
10
- 2. Explore codebase to understand existing context
11
- 3. Plan modifications (files to create/modify)
12
- 4. Implement the solution
13
- 5. Test locally that it works
14
- 6. If out of scope work detected:
15
- - Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
16
- - Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
17
- - In scope: handle directly in current ticket
18
- 7. Document: `autocode comment <key> "Work completed"`
19
- 8. Advance: `autocode next <key>`
20
-
21
- > Or return: `autocode move <key> <targetColumn>`
22
-
23
- ## Validation Criteria
24
-
25
- - [ ] Feature/fix is implemented
26
- - [ ] Local tests pass
27
- - [ ] A comment summarizes work done
28
-
29
- ## Notes
30
-
31
- For investigation: documented answer is the deliverable. For bug: identify root cause before coding fix.
@@ -1,31 +0,0 @@
1
- # Ready
2
-
3
- ## Role
4
-
5
- Tickets qualifies prets a etre travailles. Toutes les informations necessaires sont disponibles.
6
-
7
- ## Actions
8
-
9
- 1. Analyser le ticket et les criteres d'acceptation
10
- 2. Explorer le codebase pour comprendre le contexte existant
11
- 3. Planifier les modifications (fichiers a creer/modifier)
12
- 4. Implementer la solution
13
- 5. Tester localement que ca fonctionne
14
- 6. Si travail hors scope detecte :
15
- - Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
16
- - Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
- - Dans le scope : traiter directement dans le ticket actuel
18
- 7. Documenter : `autocode comment <key> "Travail effectue"`
19
- 8. Avancer : `autocode next <key>`
20
-
21
- > Ou retour : `autocode move <key> <targetColumn>`
22
-
23
- ## Criteres de Validation
24
-
25
- - [ ] Feature/fix implementee
26
- - [ ] Tests locaux passent
27
- - [ ] Un commentaire resume le travail effectue
28
-
29
- ## Notes
30
-
31
- Pour investigation : la reponse documentee est le livrable. Pour bug : identifier la cause racine avant de coder le fix.