@autocode-cli/autocode 0.1.12 → 0.1.14

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 (166) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/commands/init.js +1 -1
  3. package/dist/cli/commands/init.js.map +1 -1
  4. package/dist/cli/commands/list.js +2 -2
  5. package/dist/cli/commands/list.js.map +1 -1
  6. package/dist/cli/commands/move.js +3 -3
  7. package/dist/cli/commands/move.js.map +1 -1
  8. package/dist/cli/commands/new.js +3 -3
  9. package/dist/cli/commands/new.js.map +1 -1
  10. package/dist/core/column.d.ts +0 -4
  11. package/dist/core/column.d.ts.map +1 -1
  12. package/dist/core/column.js +0 -6
  13. package/dist/core/column.js.map +1 -1
  14. package/dist/core/ticket.d.ts +1 -1
  15. package/dist/core/ticket.js +4 -4
  16. package/dist/core/ticket.js.map +1 -1
  17. package/dist/core/workflow.d.ts +1 -1
  18. package/dist/core/workflow.js +4 -4
  19. package/dist/server/api.d.ts.map +1 -1
  20. package/dist/server/api.js +168 -5
  21. package/dist/server/api.js.map +1 -1
  22. package/dist/server/dashboard/pages/autocreate.d.ts +9 -0
  23. package/dist/server/dashboard/pages/autocreate.d.ts.map +1 -0
  24. package/dist/server/dashboard/pages/autocreate.js +847 -0
  25. package/dist/server/dashboard/pages/autocreate.js.map +1 -0
  26. package/dist/server/dashboard/pages/index.d.ts +1 -0
  27. package/dist/server/dashboard/pages/index.d.ts.map +1 -1
  28. package/dist/server/dashboard/pages/index.js +1 -0
  29. package/dist/server/dashboard/pages/index.js.map +1 -1
  30. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
  31. package/dist/server/dashboard/pages/pipeline-configurator.js +198 -0
  32. package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
  33. package/dist/server/dashboard/scripts/index.js +3 -3
  34. package/dist/server/dashboard.d.ts +1 -1
  35. package/dist/server/dashboard.d.ts.map +1 -1
  36. package/dist/server/dashboard.js +1 -1
  37. package/dist/server/dashboard.js.map +1 -1
  38. package/dist/server/index.d.ts.map +1 -1
  39. package/dist/server/index.js +9 -1
  40. package/dist/server/index.js.map +1 -1
  41. package/dist/services/autocreate.d.ts +34 -0
  42. package/dist/services/autocreate.d.ts.map +1 -0
  43. package/dist/services/autocreate.js +503 -0
  44. package/dist/services/autocreate.js.map +1 -0
  45. package/dist/services/claude.d.ts +4 -1
  46. package/dist/services/claude.d.ts.map +1 -1
  47. package/dist/services/claude.js +7 -4
  48. package/dist/services/claude.js.map +1 -1
  49. package/dist/types/index.d.ts +49 -0
  50. package/dist/types/index.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/templates/analysis-prompt.en.md +77 -0
  53. package/templates/analysis-prompt.fr.md +87 -0
  54. package/templates/catalog.yaml +103 -1
  55. package/templates/prompts/accessibility-check.en.md +25 -0
  56. package/templates/prompts/accessibility-check.fr.md +25 -0
  57. package/templates/prompts/api-endpoints-test.en.md +26 -0
  58. package/templates/prompts/api-endpoints-test.fr.md +26 -0
  59. package/templates/prompts/backlog.en.md +8 -19
  60. package/templates/prompts/backlog.fr.md +8 -19
  61. package/templates/prompts/build-dist.en.md +20 -0
  62. package/templates/prompts/build-dist.fr.md +20 -0
  63. package/templates/prompts/ci-gitlab-validate.en.md +22 -0
  64. package/templates/prompts/ci-gitlab-validate.fr.md +22 -0
  65. package/templates/prompts/claude-integration-test.en.md +22 -0
  66. package/templates/prompts/claude-integration-test.fr.md +22 -0
  67. package/templates/prompts/cli-smoke-test.en.md +30 -0
  68. package/templates/prompts/cli-smoke-test.fr.md +30 -0
  69. package/templates/prompts/dashboard-responsive.en.md +27 -0
  70. package/templates/prompts/dashboard-responsive.fr.md +27 -0
  71. package/templates/prompts/dead-code-check.en.md +25 -0
  72. package/templates/prompts/dead-code-check.fr.md +25 -0
  73. package/templates/prompts/deps-licenses.en.md +23 -0
  74. package/templates/prompts/deps-licenses.fr.md +23 -0
  75. package/templates/prompts/deps-outdated.en.md +23 -0
  76. package/templates/prompts/deps-outdated.fr.md +23 -0
  77. package/templates/prompts/design.en.md +2 -2
  78. package/templates/prompts/design.fr.md +2 -2
  79. package/templates/prompts/dev.en.md +2 -2
  80. package/templates/prompts/dev.fr.md +2 -2
  81. package/templates/prompts/docs-readme-validate.en.md +22 -0
  82. package/templates/prompts/docs-readme-validate.fr.md +22 -0
  83. package/templates/prompts/done.en.md +2 -2
  84. package/templates/prompts/done.fr.md +2 -2
  85. package/templates/prompts/error-handling-review.en.md +24 -0
  86. package/templates/prompts/error-handling-review.fr.md +24 -0
  87. package/templates/prompts/esm-compatibility.en.md +24 -0
  88. package/templates/prompts/esm-compatibility.fr.md +24 -0
  89. package/templates/prompts/file-watcher-test.en.md +20 -0
  90. package/templates/prompts/file-watcher-test.fr.md +20 -0
  91. package/templates/prompts/format-prettier-setup.en.md +21 -0
  92. package/templates/prompts/format-prettier-setup.fr.md +21 -0
  93. package/templates/prompts/git-conventional-commits.en.md +21 -0
  94. package/templates/prompts/git-conventional-commits.fr.md +21 -0
  95. package/templates/prompts/git-hooks-setup.en.md +27 -0
  96. package/templates/prompts/git-hooks-setup.fr.md +27 -0
  97. package/templates/prompts/graceful-shutdown.en.md +25 -0
  98. package/templates/prompts/graceful-shutdown.fr.md +25 -0
  99. package/templates/prompts/i18n-completeness.en.md +21 -0
  100. package/templates/prompts/i18n-completeness.fr.md +21 -0
  101. package/templates/prompts/in-progress.en.md +2 -2
  102. package/templates/prompts/in-progress.fr.md +2 -2
  103. package/templates/prompts/landing-html-validate.en.md +23 -0
  104. package/templates/prompts/landing-html-validate.fr.md +23 -0
  105. package/templates/prompts/lint-eslint-setup.en.md +20 -0
  106. package/templates/prompts/lint-eslint-setup.fr.md +20 -0
  107. package/templates/prompts/node-version-check.en.md +21 -0
  108. package/templates/prompts/node-version-check.fr.md +21 -0
  109. package/templates/prompts/npm-publish-dry-run.en.md +25 -0
  110. package/templates/prompts/npm-publish-dry-run.fr.md +25 -0
  111. package/templates/prompts/pkg-exports-validate.en.md +23 -0
  112. package/templates/prompts/pkg-exports-validate.fr.md +23 -0
  113. package/templates/prompts/port-conflict-handling.en.md +22 -0
  114. package/templates/prompts/port-conflict-handling.fr.md +22 -0
  115. package/templates/prompts/qualification.en.md +2 -2
  116. package/templates/prompts/qualification.fr.md +2 -2
  117. package/templates/prompts/retest-cypress.en.md +2 -6
  118. package/templates/prompts/retest-cypress.fr.md +2 -6
  119. package/templates/prompts/retest-playwright.en.md +1 -4
  120. package/templates/prompts/retest-playwright.fr.md +1 -4
  121. package/templates/prompts/retest.en.md +1 -4
  122. package/templates/prompts/retest.fr.md +1 -4
  123. package/templates/prompts/review-best-practices.en.md +2 -6
  124. package/templates/prompts/review-best-practices.fr.md +2 -6
  125. package/templates/prompts/review-code.en.md +2 -6
  126. package/templates/prompts/review-code.fr.md +2 -6
  127. package/templates/prompts/review-consistency.en.md +2 -6
  128. package/templates/prompts/review-consistency.fr.md +2 -6
  129. package/templates/prompts/review-no-duplication.en.md +2 -6
  130. package/templates/prompts/review-no-duplication.fr.md +2 -6
  131. package/templates/prompts/review-security.en.md +2 -2
  132. package/templates/prompts/review-security.fr.md +2 -2
  133. package/templates/prompts/security-audit.en.md +20 -0
  134. package/templates/prompts/security-audit.fr.md +20 -0
  135. package/templates/prompts/security-secrets.en.md +26 -0
  136. package/templates/prompts/security-secrets.fr.md +26 -0
  137. package/templates/prompts/specification.en.md +2 -2
  138. package/templates/prompts/specification.fr.md +2 -2
  139. package/templates/prompts/splitter.en.md +3 -4
  140. package/templates/prompts/splitter.fr.md +3 -4
  141. package/templates/prompts/template-validation.en.md +23 -0
  142. package/templates/prompts/template-validation.fr.md +23 -0
  143. package/templates/prompts/testing-coverage.en.md +20 -0
  144. package/templates/prompts/testing-coverage.fr.md +20 -0
  145. package/templates/prompts/testing-cypress.en.md +1 -4
  146. package/templates/prompts/testing-cypress.fr.md +1 -4
  147. package/templates/prompts/testing-integration.en.md +1 -4
  148. package/templates/prompts/testing-integration.fr.md +1 -4
  149. package/templates/prompts/testing-playwright.en.md +1 -4
  150. package/templates/prompts/testing-playwright.fr.md +1 -4
  151. package/templates/prompts/testing-unit.en.md +1 -4
  152. package/templates/prompts/testing-unit.fr.md +1 -4
  153. package/templates/prompts/testing-vitest.en.md +17 -0
  154. package/templates/prompts/testing-vitest.fr.md +17 -0
  155. package/templates/prompts/typecheck.en.md +17 -0
  156. package/templates/prompts/typecheck.fr.md +17 -0
  157. package/templates/prompts/update-docs.en.md +2 -6
  158. package/templates/prompts/update-docs.fr.md +2 -6
  159. package/templates/prompts/version-semver.en.md +20 -0
  160. package/templates/prompts/version-semver.fr.md +20 -0
  161. package/templates/prompts/websocket-test.en.md +19 -0
  162. package/templates/prompts/websocket-test.fr.md +19 -0
  163. package/templates/prompts/yaml-validate.en.md +24 -0
  164. package/templates/prompts/yaml-validate.fr.md +24 -0
  165. package/templates/prompts/ready.en.md +0 -31
  166. package/templates/prompts/ready.fr.md +0 -31
@@ -0,0 +1,19 @@
1
+ # Test WebSocket
2
+
3
+ ## Rôle
4
+ Vérifier que la connexion WebSocket fonctionne pour les mises à jour temps réel.
5
+
6
+ ## Actions
7
+ 1. Démarrer le serveur avec WebSocket activé
8
+ 2. Se connecter au WebSocket: `ws://localhost:3456/ws`
9
+ 3. Vérifier la réception du message de connexion
10
+ 4. Créer/modifier un ticket via l'API
11
+ 5. Vérifier que l'événement est reçu via WebSocket
12
+ 6. Tester la reconnexion automatique
13
+ 7. Vérifier les performances avec plusieurs clients
14
+
15
+ ## Critères de validation
16
+ - [ ] Connexion WebSocket établie
17
+ - [ ] Messages reçus en temps réel
18
+ - [ ] Format JSON des événements correct
19
+ - [ ] Pas de fuite mémoire sur connexions multiples
@@ -0,0 +1,24 @@
1
+ # YAML Files Validation
2
+
3
+ ## Role
4
+ Verify syntax and structure of project YAML files.
5
+
6
+ ## Actions
7
+ 1. Identify all YAML files:
8
+ - pipeline.yml
9
+ - .gitlab-ci.yml
10
+ - .autocode/config.yml (if present)
11
+ - templates/*.yml
12
+ 2. Validate each file with yamllint:
13
+ ```bash
14
+ npx yaml-lint pipeline.yml
15
+ ```
16
+ 3. Check indentation (2 spaces)
17
+ 4. Check duplicate keys
18
+ 5. Validate specific schemas (GitLab CI)
19
+
20
+ ## Validation Criteria
21
+ - [ ] All YAML files syntactically valid
22
+ - [ ] Consistent indentation
23
+ - [ ] No duplicate keys
24
+ - [ ] Specific schemas respected
@@ -0,0 +1,24 @@
1
+ # Validation des fichiers YAML
2
+
3
+ ## Rôle
4
+ Vérifier la syntaxe et la structure des fichiers YAML du projet.
5
+
6
+ ## Actions
7
+ 1. Identifier tous les fichiers YAML:
8
+ - pipeline.yml
9
+ - .gitlab-ci.yml
10
+ - .autocode/config.yml (si présent)
11
+ - templates/*.yml
12
+ 2. Valider chaque fichier avec yamllint:
13
+ ```bash
14
+ npx yaml-lint pipeline.yml
15
+ ```
16
+ 3. Vérifier l'indentation (2 espaces)
17
+ 4. Vérifier les clés dupliquées
18
+ 5. Valider les schémas spécifiques (GitLab CI)
19
+
20
+ ## Critères de validation
21
+ - [ ] Tous les fichiers YAML sont syntaxiquement valides
22
+ - [ ] Indentation cohérente
23
+ - [ ] Pas de clés dupliquées
24
+ - [ ] Schémas spécifiques respectés
@@ -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 <ticket-key> "Work completed"`
19
- 8. Advance: `autocode next <ticket-key>`
20
-
21
- > Or return: `autocode move <ticket-key> <target-column-slug>`
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 <ticket-key> "Travail effectue"`
19
- 8. Avancer : `autocode next <ticket-key>`
20
-
21
- > Ou retour : `autocode move <ticket-key> <target-column-slug>`
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.