@autocode-cli/autocode 0.1.9 → 0.1.11
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 +2 -1
- package/dist/cli/commands/init.js +1 -1
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/new.d.ts.map +1 -1
- package/dist/cli/commands/new.js +20 -2
- package/dist/cli/commands/new.js.map +1 -1
- package/dist/cli/commands/serve.js +1 -1
- package/dist/cli/commands/serve.js.map +1 -1
- package/dist/cli/commands/stats.d.ts +9 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +108 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/parser.d.ts.map +1 -1
- package/dist/cli/parser.js +2 -0
- package/dist/cli/parser.js.map +1 -1
- package/dist/server/api.d.ts.map +1 -1
- package/dist/server/api.js +25 -13
- package/dist/server/api.js.map +1 -1
- 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/stats-page.d.ts +8 -0
- package/dist/server/dashboard/pages/stats-page.d.ts.map +1 -0
- package/dist/server/dashboard/pages/stats-page.js +624 -0
- package/dist/server/dashboard/pages/stats-page.js.map +1 -0
- package/dist/server/dashboard/scripts/index.d.ts.map +1 -1
- package/dist/server/dashboard/scripts/index.js +30 -1
- package/dist/server/dashboard/scripts/index.js.map +1 -1
- package/dist/server/dashboard/styles/base.d.ts.map +1 -1
- package/dist/server/dashboard/styles/base.js +9 -0
- package/dist/server/dashboard/styles/base.js.map +1 -1
- 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 +8 -1
- package/dist/server/index.js.map +1 -1
- package/dist/services/claude.d.ts +9 -0
- package/dist/services/claude.d.ts.map +1 -1
- package/dist/services/claude.js +105 -2
- package/dist/services/claude.js.map +1 -1
- package/dist/services/stats.d.ts +58 -0
- package/dist/services/stats.d.ts.map +1 -0
- package/dist/services/stats.js +196 -0
- package/dist/services/stats.js.map +1 -0
- package/dist/utils/fs.js +1 -1
- package/dist/utils/fs.js.map +1 -1
- package/package.json +1 -1
- package/templates/prompts/backlog.en.md +4 -1
- package/templates/prompts/backlog.fr.md +4 -1
- package/templates/prompts/changelog.en.md +6 -4
- package/templates/prompts/changelog.fr.md +6 -4
- package/templates/prompts/deploy-prod.en.md +4 -1
- package/templates/prompts/deploy-prod.fr.md +4 -1
- package/templates/prompts/deploy-staging.en.md +6 -3
- package/templates/prompts/deploy-staging.fr.md +6 -3
- package/templates/prompts/design.en.md +4 -1
- package/templates/prompts/design.fr.md +4 -1
- package/templates/prompts/dev.en.md +7 -5
- package/templates/prompts/dev.fr.md +7 -5
- package/templates/prompts/done.en.md +3 -1
- package/templates/prompts/done.fr.md +3 -1
- package/templates/prompts/git-commit.en.md +4 -1
- package/templates/prompts/git-commit.fr.md +4 -1
- package/templates/prompts/git-push.en.md +4 -1
- package/templates/prompts/git-push.fr.md +4 -1
- package/templates/prompts/git-tag.en.md +4 -1
- package/templates/prompts/git-tag.fr.md +4 -1
- package/templates/prompts/in-progress.en.md +6 -5
- package/templates/prompts/in-progress.fr.md +6 -5
- package/templates/prompts/qualification.en.md +4 -1
- package/templates/prompts/qualification.fr.md +4 -1
- package/templates/prompts/ready.en.md +6 -5
- package/templates/prompts/ready.fr.md +6 -5
- package/templates/prompts/retest-cypress.en.md +6 -4
- package/templates/prompts/retest-cypress.fr.md +6 -4
- package/templates/prompts/retest-playwright.en.md +4 -1
- package/templates/prompts/retest-playwright.fr.md +4 -1
- package/templates/prompts/retest.en.md +4 -1
- package/templates/prompts/retest.fr.md +4 -1
- package/templates/prompts/review-best-practices.en.md +6 -4
- package/templates/prompts/review-best-practices.fr.md +6 -4
- package/templates/prompts/review-code.en.md +4 -1
- package/templates/prompts/review-code.fr.md +4 -1
- package/templates/prompts/review-consistency.en.md +6 -4
- package/templates/prompts/review-consistency.fr.md +6 -4
- package/templates/prompts/review-no-duplication.en.md +6 -4
- package/templates/prompts/review-no-duplication.fr.md +6 -4
- package/templates/prompts/review-security.en.md +6 -4
- package/templates/prompts/review-security.fr.md +6 -4
- package/templates/prompts/specification.en.md +4 -1
- package/templates/prompts/specification.fr.md +4 -1
- package/templates/prompts/splitter.en.md +9 -1
- package/templates/prompts/splitter.fr.md +9 -2
- package/templates/prompts/testing-cypress.en.md +6 -4
- package/templates/prompts/testing-cypress.fr.md +6 -4
- package/templates/prompts/testing-integration.en.md +6 -4
- package/templates/prompts/testing-integration.fr.md +6 -4
- package/templates/prompts/testing-playwright.en.md +4 -1
- package/templates/prompts/testing-playwright.fr.md +4 -1
- package/templates/prompts/testing-unit.en.md +6 -4
- package/templates/prompts/testing-unit.fr.md +6 -4
- package/templates/prompts/update-docs.en.md +6 -4
- package/templates/prompts/update-docs.fr.md +6 -4
- package/templates/prompts/validate-staging.en.md +11 -9
- package/templates/prompts/validate-staging.fr.md +11 -9
|
@@ -12,7 +12,10 @@ Analyser et qualifier le besoin du ticket. S'assurer que la demande est claire,
|
|
|
12
12
|
4. Estimer la complexite (simple/moyenne/complexe)
|
|
13
13
|
5. Identifier les dependances avec d'autres tickets ou systemes
|
|
14
14
|
6. Si clarification necessaire : ajouter un commentaire avec les questions
|
|
15
|
-
7. Si travail hors scope detecte :
|
|
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
|
|
16
19
|
8. Documenter : `autocode comment <key> "Qualification terminee : <resume>"`
|
|
17
20
|
9. Avancer : `autocode next <key>`
|
|
18
21
|
|
|
@@ -11,10 +11,12 @@ 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.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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>`
|
|
18
20
|
|
|
19
21
|
> Or return: `autocode move <key> <targetColumn>`
|
|
20
22
|
|
|
@@ -22,7 +24,6 @@ Qualified tickets ready to be worked on. All information needed is available.
|
|
|
22
24
|
|
|
23
25
|
- [ ] Feature/fix is implemented
|
|
24
26
|
- [ ] Local tests pass
|
|
25
|
-
- [ ] Code is committed and pushed
|
|
26
27
|
- [ ] A comment summarizes work done
|
|
27
28
|
|
|
28
29
|
## Notes
|
|
@@ -11,10 +11,12 @@ 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.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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>`
|
|
18
20
|
|
|
19
21
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
20
22
|
|
|
@@ -22,7 +24,6 @@ Tickets qualifies prets a etre travailles. Toutes les informations necessaires s
|
|
|
22
24
|
|
|
23
25
|
- [ ] Feature/fix implementee
|
|
24
26
|
- [ ] Tests locaux passent
|
|
25
|
-
- [ ] Code commite et pousse
|
|
26
27
|
- [ ] Un commentaire resume le travail effectue
|
|
27
28
|
|
|
28
29
|
## Notes
|
|
@@ -10,10 +10,12 @@ 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.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
5. If out of scope work detected:
|
|
14
|
+
- Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch -c ready`
|
|
15
|
+
- Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
|
|
16
|
+
- In scope: handle directly in current ticket
|
|
17
|
+
6. Document: `autocode comment <key> "Retest Cypress OK"`
|
|
18
|
+
7. Advance: `autocode next <key>`
|
|
17
19
|
|
|
18
20
|
> Or return: `autocode move <key> <targetColumn>`
|
|
19
21
|
|
|
@@ -10,10 +10,12 @@ 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.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
5. Si travail hors scope detecte :
|
|
14
|
+
- Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch -c ready`
|
|
15
|
+
- Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
|
|
16
|
+
- Dans le scope : traiter directement dans le ticket actuel
|
|
17
|
+
6. Documenter : `autocode comment <key> "Retest Cypress OK"`
|
|
18
|
+
7. Avancer : `autocode next <key>`
|
|
17
19
|
|
|
18
20
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
19
21
|
|
|
@@ -12,7 +12,10 @@ Post-refactoring validation with Playwright. Verify that refactoring did not bre
|
|
|
12
12
|
4. Verify edge cases still work
|
|
13
13
|
5. Compare behavior with pre-refactoring state
|
|
14
14
|
6. If regression detected: return to review step
|
|
15
|
-
7. If out of scope work detected:
|
|
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
|
|
16
19
|
8. Document: `autocode comment <key> "Retest Playwright OK"`
|
|
17
20
|
9. Advance: `autocode next <key>`
|
|
18
21
|
|
|
@@ -12,7 +12,10 @@ Validation post-refactoring avec Playwright. Verifier que le refactoring n'a pas
|
|
|
12
12
|
4. Verifier que les cas limites fonctionnent toujours
|
|
13
13
|
5. Comparer le comportement avec l'etat pre-refactoring
|
|
14
14
|
6. Si regression detectee : retour a l'etape de review
|
|
15
|
-
7. Si travail hors scope detecte :
|
|
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
|
|
16
19
|
8. Documenter : `autocode comment <key> "Retest Playwright OK"`
|
|
17
20
|
9. Avancer : `autocode next <key>`
|
|
18
21
|
|
|
@@ -13,7 +13,10 @@ Re-run all tests after bug fixes or corrections. Ensure no regressions were intr
|
|
|
13
13
|
5. Verify the original issue is fixed
|
|
14
14
|
6. Check for regressions in related functionality
|
|
15
15
|
7. If tests fail: return to appropriate column for fixes
|
|
16
|
-
8. If out of scope work detected:
|
|
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
|
|
17
20
|
9. Document: `autocode comment <key> "Retest passed: all tests green"`
|
|
18
21
|
10. Advance: `autocode next <key>`
|
|
19
22
|
|
|
@@ -13,7 +13,10 @@ Re-executer tous les tests apres corrections de bugs. S'assurer qu'aucune regres
|
|
|
13
13
|
5. Verifier que le probleme original est corrige
|
|
14
14
|
6. Verifier les regressions dans les fonctionnalites liees
|
|
15
15
|
7. Si les tests echouent : retourner a la colonne appropriee pour corrections
|
|
16
|
-
8. Si travail hors scope detecte :
|
|
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
|
|
17
20
|
9. Documenter : `autocode comment <key> "Retest OK : tous les tests verts"`
|
|
18
21
|
10. Avancer : `autocode next <key>`
|
|
19
22
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review best practices OK"`
|
|
20
|
+
9. Advance: `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Or return: `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review best practices OK"`
|
|
20
|
+
9. Avancer : `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -13,7 +13,10 @@ Perform peer code review. Ensure code quality, readability, and adherence to pro
|
|
|
13
13
|
5. Check error handling
|
|
14
14
|
6. Suggest improvements if needed
|
|
15
15
|
7. If issues found: add comment with feedback and return to dev
|
|
16
|
-
8. If out of scope work detected:
|
|
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
|
|
17
20
|
9. Document: `autocode comment <key> "Code review passed: <summary>"`
|
|
18
21
|
10. Advance: `autocode next <key>`
|
|
19
22
|
|
|
@@ -13,7 +13,10 @@ Effectuer une revue de code. Assurer la qualite du code, sa lisibilite et le res
|
|
|
13
13
|
5. Verifier la gestion des erreurs
|
|
14
14
|
6. Suggerer des ameliorations si necessaire
|
|
15
15
|
7. Si problemes trouves : ajouter un commentaire avec feedback et retourner au dev
|
|
16
|
-
8. Si travail hors scope detecte :
|
|
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
|
|
17
20
|
9. Documenter : `autocode comment <key> "Code review OK : <resume>"`
|
|
18
21
|
10. Avancer : `autocode next <key>`
|
|
19
22
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review consistency OK"`
|
|
20
|
+
9. Advance: `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Or return: `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review consistency OK"`
|
|
20
|
+
9. Avancer : `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review no duplication OK"`
|
|
20
|
+
9. Advance: `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Or return: `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Review no duplication OK"`
|
|
20
|
+
9. Avancer : `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -13,10 +13,12 @@ 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.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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> "Review security OK"`
|
|
21
|
+
10. Advance: `autocode next <key>`
|
|
20
22
|
|
|
21
23
|
> Or return: `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -13,10 +13,12 @@ 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.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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> "Review security OK"`
|
|
21
|
+
10. Avancer : `autocode next <key>`
|
|
20
22
|
|
|
21
23
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -12,7 +12,10 @@ Write detailed technical specifications for the ticket. Define the implementatio
|
|
|
12
12
|
4. Define data structures if applicable
|
|
13
13
|
5. Specify API contracts if applicable
|
|
14
14
|
6. Document edge cases and error handling
|
|
15
|
-
7. If out of scope work detected:
|
|
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
|
|
16
19
|
8. Document: `autocode comment <key> "Specification complete: <technical approach>"`
|
|
17
20
|
9. Advance: `autocode next <key>`
|
|
18
21
|
|
|
@@ -12,7 +12,10 @@ Rediger les specifications techniques detaillees pour le ticket. Definir clairem
|
|
|
12
12
|
4. Definir les structures de donnees si applicable
|
|
13
13
|
5. Specifier les contrats API si applicable
|
|
14
14
|
6. Documenter les cas limites et la gestion d'erreurs
|
|
15
|
-
7. Si travail hors scope detecte :
|
|
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
|
|
16
19
|
8. Documenter : `autocode comment <key> "Specification terminee : <approche technique>"`
|
|
17
20
|
9. Avancer : `autocode next <key>`
|
|
18
21
|
|
|
@@ -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
|
|
|
@@ -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
|
-
|
|
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
|
|
|
@@ -12,10 +12,12 @@ 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.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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> "Cypress tests OK"`
|
|
20
|
+
9. Advance: `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Or return: `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -12,10 +12,12 @@ Rediger ET executer des tests E2E automatises pour prevenir les regressions.
|
|
|
12
12
|
4. Decrire les tests clairement (describe/it)
|
|
13
13
|
5. Executer les tests : npx cypress run
|
|
14
14
|
6. Si echecs : corriger les tests ou le code
|
|
15
|
-
7.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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 Cypress OK"`
|
|
20
|
+
9. Avancer : `autocode next <key>`
|
|
19
21
|
|
|
20
22
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
21
23
|
|
|
@@ -13,10 +13,12 @@ Run integration tests to verify components work correctly together. Ensure syste
|
|
|
13
13
|
5. Test database operations
|
|
14
14
|
6. Test external service connections
|
|
15
15
|
7. Fix any failing tests
|
|
16
|
-
8.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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> "Integration tests passed"`
|
|
21
|
+
10. Advance: `autocode next <key>`
|
|
20
22
|
|
|
21
23
|
> Or return: `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -13,10 +13,12 @@ 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.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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>`
|
|
20
22
|
|
|
21
23
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -12,7 +12,10 @@ 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:
|
|
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
|
|
16
19
|
8. Document: `autocode comment <key> "Playwright tests OK"`
|
|
17
20
|
9. Advance: `autocode next <key>`
|
|
18
21
|
|
|
@@ -12,7 +12,10 @@ 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 :
|
|
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
|
|
16
19
|
8. Documenter : `autocode comment <key> "Tests Playwright OK"`
|
|
17
20
|
9. Avancer : `autocode next <key>`
|
|
18
21
|
|
|
@@ -13,10 +13,12 @@ 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.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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>`
|
|
20
22
|
|
|
21
23
|
> Or return: `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -13,10 +13,12 @@ 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.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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>`
|
|
20
22
|
|
|
21
23
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
22
24
|
|
|
@@ -11,10 +11,12 @@ 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.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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>`
|
|
18
20
|
|
|
19
21
|
> Or return: `autocode move <key> <targetColumn>`
|
|
20
22
|
|
|
@@ -11,10 +11,12 @@ 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.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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>`
|
|
18
20
|
|
|
19
21
|
> Ou retour : `autocode move <key> <targetColumn>`
|
|
20
22
|
|