@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.
- package/README.md +1 -1
- package/dist/cli/commands/init.js +1 -1
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/list.js +2 -2
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/move.js +3 -3
- package/dist/cli/commands/move.js.map +1 -1
- package/dist/cli/commands/new.js +3 -3
- package/dist/cli/commands/new.js.map +1 -1
- package/dist/core/column.d.ts +0 -4
- package/dist/core/column.d.ts.map +1 -1
- package/dist/core/column.js +0 -6
- package/dist/core/column.js.map +1 -1
- package/dist/core/ticket.d.ts +1 -1
- package/dist/core/ticket.js +4 -4
- package/dist/core/ticket.js.map +1 -1
- package/dist/core/workflow.d.ts +1 -1
- package/dist/core/workflow.js +4 -4
- package/dist/server/api.d.ts.map +1 -1
- package/dist/server/api.js +168 -5
- package/dist/server/api.js.map +1 -1
- package/dist/server/dashboard/pages/autocreate.d.ts +9 -0
- package/dist/server/dashboard/pages/autocreate.d.ts.map +1 -0
- package/dist/server/dashboard/pages/autocreate.js +847 -0
- package/dist/server/dashboard/pages/autocreate.js.map +1 -0
- package/dist/server/dashboard/pages/index.d.ts +1 -0
- package/dist/server/dashboard/pages/index.d.ts.map +1 -1
- package/dist/server/dashboard/pages/index.js +1 -0
- package/dist/server/dashboard/pages/index.js.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
- package/dist/server/dashboard/pages/pipeline-configurator.js +198 -0
- package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
- package/dist/server/dashboard/scripts/index.js +3 -3
- package/dist/server/dashboard.d.ts +1 -1
- package/dist/server/dashboard.d.ts.map +1 -1
- package/dist/server/dashboard.js +1 -1
- package/dist/server/dashboard.js.map +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +9 -1
- package/dist/server/index.js.map +1 -1
- package/dist/services/autocreate.d.ts +34 -0
- package/dist/services/autocreate.d.ts.map +1 -0
- package/dist/services/autocreate.js +503 -0
- package/dist/services/autocreate.js.map +1 -0
- package/dist/services/claude.d.ts +4 -1
- package/dist/services/claude.d.ts.map +1 -1
- package/dist/services/claude.js +7 -4
- package/dist/services/claude.js.map +1 -1
- package/dist/types/index.d.ts +49 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/templates/analysis-prompt.en.md +77 -0
- package/templates/analysis-prompt.fr.md +87 -0
- package/templates/catalog.yaml +103 -1
- package/templates/prompts/accessibility-check.en.md +25 -0
- package/templates/prompts/accessibility-check.fr.md +25 -0
- package/templates/prompts/api-endpoints-test.en.md +26 -0
- package/templates/prompts/api-endpoints-test.fr.md +26 -0
- package/templates/prompts/backlog.en.md +8 -19
- package/templates/prompts/backlog.fr.md +8 -19
- package/templates/prompts/build-dist.en.md +20 -0
- package/templates/prompts/build-dist.fr.md +20 -0
- package/templates/prompts/ci-gitlab-validate.en.md +22 -0
- package/templates/prompts/ci-gitlab-validate.fr.md +22 -0
- package/templates/prompts/claude-integration-test.en.md +22 -0
- package/templates/prompts/claude-integration-test.fr.md +22 -0
- package/templates/prompts/cli-smoke-test.en.md +30 -0
- package/templates/prompts/cli-smoke-test.fr.md +30 -0
- package/templates/prompts/dashboard-responsive.en.md +27 -0
- package/templates/prompts/dashboard-responsive.fr.md +27 -0
- package/templates/prompts/dead-code-check.en.md +25 -0
- package/templates/prompts/dead-code-check.fr.md +25 -0
- package/templates/prompts/deps-licenses.en.md +23 -0
- package/templates/prompts/deps-licenses.fr.md +23 -0
- package/templates/prompts/deps-outdated.en.md +23 -0
- package/templates/prompts/deps-outdated.fr.md +23 -0
- package/templates/prompts/design.en.md +2 -2
- package/templates/prompts/design.fr.md +2 -2
- package/templates/prompts/dev.en.md +2 -2
- package/templates/prompts/dev.fr.md +2 -2
- package/templates/prompts/docs-readme-validate.en.md +22 -0
- package/templates/prompts/docs-readme-validate.fr.md +22 -0
- package/templates/prompts/done.en.md +2 -2
- package/templates/prompts/done.fr.md +2 -2
- package/templates/prompts/error-handling-review.en.md +24 -0
- package/templates/prompts/error-handling-review.fr.md +24 -0
- package/templates/prompts/esm-compatibility.en.md +24 -0
- package/templates/prompts/esm-compatibility.fr.md +24 -0
- package/templates/prompts/file-watcher-test.en.md +20 -0
- package/templates/prompts/file-watcher-test.fr.md +20 -0
- package/templates/prompts/format-prettier-setup.en.md +21 -0
- package/templates/prompts/format-prettier-setup.fr.md +21 -0
- package/templates/prompts/git-conventional-commits.en.md +21 -0
- package/templates/prompts/git-conventional-commits.fr.md +21 -0
- package/templates/prompts/git-hooks-setup.en.md +27 -0
- package/templates/prompts/git-hooks-setup.fr.md +27 -0
- package/templates/prompts/graceful-shutdown.en.md +25 -0
- package/templates/prompts/graceful-shutdown.fr.md +25 -0
- package/templates/prompts/i18n-completeness.en.md +21 -0
- package/templates/prompts/i18n-completeness.fr.md +21 -0
- package/templates/prompts/in-progress.en.md +2 -2
- package/templates/prompts/in-progress.fr.md +2 -2
- package/templates/prompts/landing-html-validate.en.md +23 -0
- package/templates/prompts/landing-html-validate.fr.md +23 -0
- package/templates/prompts/lint-eslint-setup.en.md +20 -0
- package/templates/prompts/lint-eslint-setup.fr.md +20 -0
- package/templates/prompts/node-version-check.en.md +21 -0
- package/templates/prompts/node-version-check.fr.md +21 -0
- package/templates/prompts/npm-publish-dry-run.en.md +25 -0
- package/templates/prompts/npm-publish-dry-run.fr.md +25 -0
- package/templates/prompts/pkg-exports-validate.en.md +23 -0
- package/templates/prompts/pkg-exports-validate.fr.md +23 -0
- package/templates/prompts/port-conflict-handling.en.md +22 -0
- package/templates/prompts/port-conflict-handling.fr.md +22 -0
- package/templates/prompts/qualification.en.md +2 -2
- package/templates/prompts/qualification.fr.md +2 -2
- package/templates/prompts/retest-cypress.en.md +2 -6
- package/templates/prompts/retest-cypress.fr.md +2 -6
- package/templates/prompts/retest-playwright.en.md +1 -4
- package/templates/prompts/retest-playwright.fr.md +1 -4
- package/templates/prompts/retest.en.md +1 -4
- package/templates/prompts/retest.fr.md +1 -4
- package/templates/prompts/review-best-practices.en.md +2 -6
- package/templates/prompts/review-best-practices.fr.md +2 -6
- package/templates/prompts/review-code.en.md +2 -6
- package/templates/prompts/review-code.fr.md +2 -6
- package/templates/prompts/review-consistency.en.md +2 -6
- package/templates/prompts/review-consistency.fr.md +2 -6
- package/templates/prompts/review-no-duplication.en.md +2 -6
- package/templates/prompts/review-no-duplication.fr.md +2 -6
- package/templates/prompts/review-security.en.md +2 -2
- package/templates/prompts/review-security.fr.md +2 -2
- package/templates/prompts/security-audit.en.md +20 -0
- package/templates/prompts/security-audit.fr.md +20 -0
- package/templates/prompts/security-secrets.en.md +26 -0
- package/templates/prompts/security-secrets.fr.md +26 -0
- package/templates/prompts/specification.en.md +2 -2
- package/templates/prompts/specification.fr.md +2 -2
- package/templates/prompts/splitter.en.md +3 -4
- package/templates/prompts/splitter.fr.md +3 -4
- package/templates/prompts/template-validation.en.md +23 -0
- package/templates/prompts/template-validation.fr.md +23 -0
- package/templates/prompts/testing-coverage.en.md +20 -0
- package/templates/prompts/testing-coverage.fr.md +20 -0
- package/templates/prompts/testing-cypress.en.md +1 -4
- package/templates/prompts/testing-cypress.fr.md +1 -4
- package/templates/prompts/testing-integration.en.md +1 -4
- package/templates/prompts/testing-integration.fr.md +1 -4
- package/templates/prompts/testing-playwright.en.md +1 -4
- package/templates/prompts/testing-playwright.fr.md +1 -4
- package/templates/prompts/testing-unit.en.md +1 -4
- package/templates/prompts/testing-unit.fr.md +1 -4
- package/templates/prompts/testing-vitest.en.md +17 -0
- package/templates/prompts/testing-vitest.fr.md +17 -0
- package/templates/prompts/typecheck.en.md +17 -0
- package/templates/prompts/typecheck.fr.md +17 -0
- package/templates/prompts/update-docs.en.md +2 -6
- package/templates/prompts/update-docs.fr.md +2 -6
- package/templates/prompts/version-semver.en.md +20 -0
- package/templates/prompts/version-semver.fr.md +20 -0
- package/templates/prompts/websocket-test.en.md +19 -0
- package/templates/prompts/websocket-test.fr.md +19 -0
- package/templates/prompts/yaml-validate.en.md +24 -0
- package/templates/prompts/yaml-validate.fr.md +24 -0
- package/templates/prompts/ready.en.md +0 -31
- 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.
|