@autocode-cli/autocode 0.1.4 → 0.1.6

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 (125) hide show
  1. package/README.md +28 -24
  2. package/dist/cli/commands/init.js +1 -1
  3. package/dist/cli/commands/init.js.map +1 -1
  4. package/dist/cli/commands/serve.d.ts.map +1 -1
  5. package/dist/cli/commands/serve.js +27 -0
  6. package/dist/cli/commands/serve.js.map +1 -1
  7. package/dist/cli/commands/sync.d.ts +9 -0
  8. package/dist/cli/commands/sync.d.ts.map +1 -0
  9. package/dist/cli/commands/sync.js +91 -0
  10. package/dist/cli/commands/sync.js.map +1 -0
  11. package/dist/cli/parser.d.ts.map +1 -1
  12. package/dist/cli/parser.js +2 -0
  13. package/dist/cli/parser.js.map +1 -1
  14. package/dist/core/catalog.d.ts +52 -0
  15. package/dist/core/catalog.d.ts.map +1 -0
  16. package/dist/core/catalog.js +101 -0
  17. package/dist/core/catalog.js.map +1 -0
  18. package/dist/core/column.d.ts +2 -1
  19. package/dist/core/column.d.ts.map +1 -1
  20. package/dist/core/column.js +23 -11
  21. package/dist/core/column.js.map +1 -1
  22. package/dist/core/pipeline.d.ts +70 -0
  23. package/dist/core/pipeline.d.ts.map +1 -0
  24. package/dist/core/pipeline.js +199 -0
  25. package/dist/core/pipeline.js.map +1 -0
  26. package/dist/core/sync.d.ts +41 -0
  27. package/dist/core/sync.d.ts.map +1 -0
  28. package/dist/core/sync.js +269 -0
  29. package/dist/core/sync.js.map +1 -0
  30. package/dist/server/api.d.ts.map +1 -1
  31. package/dist/server/api.js +300 -0
  32. package/dist/server/api.js.map +1 -1
  33. package/dist/server/dashboard/pages/index.d.ts +1 -0
  34. package/dist/server/dashboard/pages/index.d.ts.map +1 -1
  35. package/dist/server/dashboard/pages/index.js +1 -0
  36. package/dist/server/dashboard/pages/index.js.map +1 -1
  37. package/dist/server/dashboard/pages/main-dashboard.d.ts.map +1 -1
  38. package/dist/server/dashboard/pages/main-dashboard.js +2 -1
  39. package/dist/server/dashboard/pages/main-dashboard.js.map +1 -1
  40. package/dist/server/dashboard/pages/pipeline-configurator.d.ts +8 -0
  41. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -0
  42. package/dist/server/dashboard/pages/pipeline-configurator.js +1531 -0
  43. package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -0
  44. package/dist/server/dashboard/pages/water-quality-form.d.ts +10 -0
  45. package/dist/server/dashboard/pages/water-quality-form.d.ts.map +1 -0
  46. package/dist/server/dashboard/pages/water-quality-form.js +910 -0
  47. package/dist/server/dashboard/pages/water-quality-form.js.map +1 -0
  48. package/dist/server/dashboard/styles/base.d.ts.map +1 -1
  49. package/dist/server/dashboard/styles/base.js +11 -0
  50. package/dist/server/dashboard/styles/base.js.map +1 -1
  51. package/dist/server/dashboard.d.ts +1 -1
  52. package/dist/server/dashboard.d.ts.map +1 -1
  53. package/dist/server/dashboard.js +1 -1
  54. package/dist/server/dashboard.js.map +1 -1
  55. package/dist/server/index.d.ts.map +1 -1
  56. package/dist/server/index.js +67 -1
  57. package/dist/server/index.js.map +1 -1
  58. package/dist/services/claude.d.ts +2 -1
  59. package/dist/services/claude.d.ts.map +1 -1
  60. package/dist/services/claude.js +8 -1
  61. package/dist/services/claude.js.map +1 -1
  62. package/dist/types/index.d.ts +67 -0
  63. package/dist/types/index.d.ts.map +1 -1
  64. package/dist/utils/config.d.ts +28 -20
  65. package/dist/utils/config.d.ts.map +1 -1
  66. package/dist/utils/config.js +12 -10
  67. package/dist/utils/config.js.map +1 -1
  68. package/package.json +2 -2
  69. package/templates/catalog.yaml +100 -0
  70. package/templates/{columns/00_backlog.en.md → prompts/backlog.en.md} +1 -1
  71. package/templates/{columns/00_backlog.fr.md → prompts/backlog.fr.md} +1 -1
  72. package/templates/prompts/changelog.en.md +31 -0
  73. package/templates/prompts/changelog.fr.md +31 -0
  74. package/templates/prompts/deploy-prod.en.md +32 -0
  75. package/templates/prompts/deploy-prod.fr.md +32 -0
  76. package/templates/{columns/10_deploy-staging.en.md → prompts/deploy-staging.en.md} +1 -1
  77. package/templates/{columns/10_deploy-staging.fr.md → prompts/deploy-staging.fr.md} +1 -1
  78. package/templates/prompts/design.en.md +30 -0
  79. package/templates/prompts/design.fr.md +30 -0
  80. package/templates/prompts/dev.en.md +31 -0
  81. package/templates/prompts/dev.fr.md +31 -0
  82. package/templates/{columns/12_done.en.md → prompts/done.en.md} +1 -1
  83. package/templates/{columns/12_done.fr.md → prompts/done.fr.md} +1 -1
  84. package/templates/prompts/git-commit.en.md +35 -0
  85. package/templates/prompts/git-commit.fr.md +35 -0
  86. package/templates/prompts/git-push.en.md +31 -0
  87. package/templates/prompts/git-push.fr.md +31 -0
  88. package/templates/prompts/git-tag.en.md +32 -0
  89. package/templates/prompts/git-tag.fr.md +32 -0
  90. package/templates/{columns/02_in-progress.en.md → prompts/in-progress.en.md} +1 -1
  91. package/templates/{columns/02_in-progress.fr.md → prompts/in-progress.fr.md} +1 -1
  92. package/templates/prompts/qualification.en.md +30 -0
  93. package/templates/prompts/qualification.fr.md +30 -0
  94. package/templates/{columns/01_ready.en.md → prompts/ready.en.md} +1 -1
  95. package/templates/{columns/01_ready.fr.md → prompts/ready.fr.md} +1 -1
  96. package/templates/prompts/retest-cypress.en.md +29 -0
  97. package/templates/prompts/retest-cypress.fr.md +29 -0
  98. package/templates/prompts/retest-playwright.en.md +30 -0
  99. package/templates/prompts/retest-playwright.fr.md +30 -0
  100. package/templates/prompts/retest.en.md +31 -0
  101. package/templates/prompts/retest.fr.md +31 -0
  102. package/templates/{columns/03_review-best-practices.en.md → prompts/review-best-practices.en.md} +1 -1
  103. package/templates/{columns/03_review-best-practices.fr.md → prompts/review-best-practices.fr.md} +1 -1
  104. package/templates/prompts/review-code.en.md +31 -0
  105. package/templates/prompts/review-code.fr.md +31 -0
  106. package/templates/{columns/05_review-consistency.en.md → prompts/review-consistency.en.md} +1 -1
  107. package/templates/{columns/05_review-consistency.fr.md → prompts/review-consistency.fr.md} +1 -1
  108. package/templates/{columns/04_review-no-duplication.en.md → prompts/review-no-duplication.en.md} +1 -1
  109. package/templates/{columns/04_review-no-duplication.fr.md → prompts/review-no-duplication.fr.md} +1 -1
  110. package/templates/{columns/06_review-security.en.md → prompts/review-security.en.md} +1 -1
  111. package/templates/{columns/06_review-security.fr.md → prompts/review-security.fr.md} +1 -1
  112. package/templates/prompts/specification.en.md +30 -0
  113. package/templates/prompts/specification.fr.md +30 -0
  114. package/templates/{columns/08_testing-cypress.en.md → prompts/testing-cypress.en.md} +1 -1
  115. package/templates/{columns/08_testing-cypress.fr.md → prompts/testing-cypress.fr.md} +1 -1
  116. package/templates/prompts/testing-integration.en.md +32 -0
  117. package/templates/prompts/testing-integration.fr.md +32 -0
  118. package/templates/{columns/07_testing-playwright.en.md → prompts/testing-playwright.en.md} +1 -1
  119. package/templates/{columns/07_testing-playwright.fr.md → prompts/testing-playwright.fr.md} +1 -1
  120. package/templates/prompts/testing-unit.en.md +32 -0
  121. package/templates/prompts/testing-unit.fr.md +32 -0
  122. package/templates/{columns/09_update-docs.en.md → prompts/update-docs.en.md} +1 -1
  123. package/templates/{columns/09_update-docs.fr.md → prompts/update-docs.fr.md} +1 -1
  124. package/templates/{columns/11_validate-staging.en.md → prompts/validate-staging.en.md} +1 -1
  125. package/templates/{columns/11_validate-staging.fr.md → prompts/validate-staging.fr.md} +1 -1
@@ -0,0 +1,100 @@
1
+ # AutoCode Column Catalog
2
+ # Defines available columns for each pipeline segment
3
+ # Columns can be selected from this catalog when configuring pipelines
4
+
5
+ segments:
6
+ definition:
7
+ description: "Columns for ticket qualification and preparation"
8
+ columns:
9
+ - slug: backlog
10
+ name: Backlog
11
+ description: "Initial ticket storage before prioritization"
12
+ - slug: qualification
13
+ name: Qualification
14
+ description: "Analysis and qualification of the requirement"
15
+ - slug: specification
16
+ name: Specification
17
+ description: "Writing detailed specifications"
18
+ - slug: design
19
+ name: Design
20
+ description: "Technical/UX design phase"
21
+ - slug: ready
22
+ name: Ready
23
+ description: "Ready for development"
24
+
25
+ action:
26
+ description: "Columns for implementation and validation"
27
+ columns:
28
+ - slug: in-progress
29
+ name: In Progress
30
+ description: "Work currently in progress"
31
+ - slug: dev
32
+ name: Development
33
+ description: "Code implementation"
34
+ - slug: review-code
35
+ name: Review Code
36
+ description: "Peer code review"
37
+ - slug: review-best-practices
38
+ name: Review Best Practices
39
+ description: "Best practices verification"
40
+ - slug: review-no-duplication
41
+ name: Review No Duplication
42
+ description: "Check for code duplication"
43
+ - slug: review-consistency
44
+ name: Review Consistency
45
+ description: "Consistency verification"
46
+ - slug: review-security
47
+ name: Review Security
48
+ description: "Security audit"
49
+ - slug: testing-unit
50
+ name: Testing Unit
51
+ description: "Unit tests execution"
52
+ - slug: testing-playwright
53
+ name: Testing Playwright
54
+ description: "Playwright E2E tests"
55
+ - slug: testing-cypress
56
+ name: Testing Cypress
57
+ description: "Cypress E2E tests"
58
+ - slug: testing-integration
59
+ name: Testing Integration
60
+ description: "Integration tests"
61
+ - slug: retest-playwright
62
+ name: Retest Playwright
63
+ description: "Re-run Playwright tests after fixes"
64
+ - slug: retest-cypress
65
+ name: Retest Cypress
66
+ description: "Re-run Cypress tests after fixes"
67
+ - slug: retest
68
+ name: Retest
69
+ description: "General retest after corrections"
70
+
71
+ finish:
72
+ description: "Columns for finalization and deployment"
73
+ columns:
74
+ - slug: update-docs
75
+ name: Update Docs
76
+ description: "Documentation update"
77
+ - slug: changelog
78
+ name: Changelog
79
+ description: "Changelog update"
80
+ - slug: git-commit
81
+ name: Git Commit
82
+ description: "Create Git commit"
83
+ - slug: git-push
84
+ name: Git Push
85
+ description: "Push to remote repository"
86
+ - slug: git-tag
87
+ name: Git Tag
88
+ description: "Create version tag"
89
+ - slug: deploy-staging
90
+ name: Deploy Staging
91
+ description: "Deploy to staging environment"
92
+ - slug: validate-staging
93
+ name: Validate Staging
94
+ description: "Validate staging deployment"
95
+ - slug: deploy-prod
96
+ name: Deploy Production
97
+ description: "Deploy to production"
98
+ - slug: done
99
+ name: Done
100
+ description: "Completed"
@@ -12,7 +12,7 @@ Storage for new tickets. Tickets here need qualification before work can begin.
12
12
  4. Define acceptance criteria if missing
13
13
  5. Set priority (P0-P3) based on impact and urgency
14
14
  6. Identify scope and potentially affected files
15
- 7. If out of scope work detected: `autocode new <title> <description>`
15
+ 7. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
16
16
  8. Document: `autocode comment <key> "Qualification done"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
@@ -12,7 +12,7 @@ Stockage des nouveaux tickets. Les tickets ici doivent etre qualifies avant de c
12
12
  4. Definir les criteres d'acceptation si manquants
13
13
  5. Definir la priorite (P0-P3) selon l'impact et l'urgence
14
14
  6. Identifier le perimetre et les fichiers potentiellement impactes
15
- 7. Si travail hors scope detecte : `autocode new <title> <description>`
15
+ 7. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
16
16
  8. Documenter : `autocode comment <key> "Qualification effectuee"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ ## Role
4
+
5
+ Update the changelog with the changes made in this ticket. Document for users and future developers.
6
+
7
+ ## Actions
8
+
9
+ 1. Review all changes made in the ticket
10
+ 2. Determine change type (Added, Changed, Fixed, Removed, Security)
11
+ 3. Open CHANGELOG.md
12
+ 4. Add entry under "Unreleased" section
13
+ 5. Use clear, user-facing language
14
+ 6. Reference ticket key if applicable
15
+ 7. Commit + push changelog update
16
+ 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> "Changelog updated"`
18
+ 10. Advance: `autocode next <key>`
19
+
20
+ > Or return: `autocode move <key> <column>`
21
+
22
+ ## Validation Criteria
23
+
24
+ - [ ] Changelog entry added
25
+ - [ ] Change type is correct
26
+ - [ ] Description is clear and concise
27
+ - [ ] Entry follows project format
28
+
29
+ ## Notes
30
+
31
+ Write for end users, not developers. Focus on what changed from their perspective, not implementation details.
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ ## Role
4
+
5
+ Mettre a jour le changelog avec les changements effectues dans ce ticket. Documenter pour les utilisateurs et futurs developpeurs.
6
+
7
+ ## Actions
8
+
9
+ 1. Revoir tous les changements effectues dans le ticket
10
+ 2. Determiner le type de changement (Added, Changed, Fixed, Removed, Security)
11
+ 3. Ouvrir CHANGELOG.md
12
+ 4. Ajouter une entree sous la section "Unreleased"
13
+ 5. Utiliser un langage clair oriente utilisateur
14
+ 6. Referencer la cle du ticket si applicable
15
+ 7. Commit + push de la mise a jour du changelog
16
+ 8. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
+ 9. Documenter : `autocode comment <key> "Changelog mis a jour"`
18
+ 10. Avancer : `autocode next <key>`
19
+
20
+ > Ou retour : `autocode move <key> <column>`
21
+
22
+ ## Criteres de Validation
23
+
24
+ - [ ] Entree changelog ajoutee
25
+ - [ ] Le type de changement est correct
26
+ - [ ] La description est claire et concise
27
+ - [ ] L'entree suit le format du projet
28
+
29
+ ## Notes
30
+
31
+ Ecrire pour les utilisateurs finaux, pas les developpeurs. Se concentrer sur ce qui a change de leur point de vue, pas les details d'implementation.
@@ -0,0 +1,32 @@
1
+ # Deploy Production
2
+
3
+ ## Role
4
+
5
+ Deploy the release to production environment. Ensure zero-downtime deployment.
6
+
7
+ ## Actions
8
+
9
+ 1. Verify staging validation passed
10
+ 2. Check production environment health
11
+ 3. Create backup if applicable
12
+ 4. Deploy to production: follow project-specific process
13
+ 5. Run smoke tests on production
14
+ 6. Verify critical functionality
15
+ 7. Monitor logs for errors
16
+ 8. If issues detected: rollback immediately
17
+ 9. If out of scope work detected: `autocode new "<title>" "<description>" -p P0 -l "urgent" -a "<criteria>" -s patch`
18
+ 10. Document: `autocode comment <key> "Deployed to production: v<version>"`
19
+ 11. Advance: `autocode next <key>`
20
+
21
+ > Or rollback: `autocode move <key> <column>`
22
+
23
+ ## Validation Criteria
24
+
25
+ - [ ] Production deployment successful
26
+ - [ ] Smoke tests pass
27
+ - [ ] No errors in logs
28
+ - [ ] Performance is acceptable
29
+
30
+ ## Notes
31
+
32
+ Production deployments are critical. Have a rollback plan ready. Monitor closely for the first few minutes after deployment.
@@ -0,0 +1,32 @@
1
+ # Deploy Production
2
+
3
+ ## Role
4
+
5
+ Deployer la release en environnement de production. Assurer un deploiement sans interruption.
6
+
7
+ ## Actions
8
+
9
+ 1. Verifier que la validation staging est passee
10
+ 2. Verifier la sante de l'environnement de production
11
+ 3. Creer une sauvegarde si applicable
12
+ 4. Deployer en production : suivre le processus specifique au projet
13
+ 5. Executer les smoke tests en production
14
+ 6. Verifier les fonctionnalites critiques
15
+ 7. Surveiller les logs pour les erreurs
16
+ 8. Si problemes detectes : rollback immediatement
17
+ 9. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P0 -l "urgent" -a "<criteres>" -s patch`
18
+ 10. Documenter : `autocode comment <key> "Deploye en production : v<version>"`
19
+ 11. Avancer : `autocode next <key>`
20
+
21
+ > Ou rollback : `autocode move <key> <column>`
22
+
23
+ ## Criteres de Validation
24
+
25
+ - [ ] Deploiement production reussi
26
+ - [ ] Les smoke tests passent
27
+ - [ ] Pas d'erreurs dans les logs
28
+ - [ ] Les performances sont acceptables
29
+
30
+ ## Notes
31
+
32
+ Les deploiements production sont critiques. Avoir un plan de rollback pret. Surveiller attentivement les premieres minutes apres le deploiement.
@@ -11,7 +11,7 @@ Deploy changes to staging environment for validation.
11
11
  3. Wait for deployment to complete
12
12
  4. Verify deployment is stable
13
13
  5. Document deployed version
14
- 6. If out of scope work detected: `autocode new <title> <description>`
14
+ 6. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
15
15
  7. Document: `autocode comment <key> "Deployed to staging"`
16
16
  8. Advance: `autocode next <key>`
17
17
 
@@ -11,7 +11,7 @@ Deployer les changements sur l'environnement de staging pour validation.
11
11
  3. Attendre la fin du deploiement
12
12
  4. Verifier que le deploiement est stable
13
13
  5. Documenter la version deployee
14
- 6. Si travail hors scope detecte : `autocode new <title> <description>`
14
+ 6. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
15
15
  7. Documenter : `autocode comment <key> "Deploye en staging"`
16
16
  8. Avancer : `autocode next <key>`
17
17
 
@@ -0,0 +1,30 @@
1
+ # Design
2
+
3
+ ## Role
4
+
5
+ Create technical and/or UX design for the feature. Prepare mockups, diagrams, or architecture documents as needed.
6
+
7
+ ## Actions
8
+
9
+ 1. Review specifications and requirements
10
+ 2. Create UI mockups/wireframes if user-facing
11
+ 3. Design component architecture if applicable
12
+ 4. Create sequence diagrams for complex flows
13
+ 5. Define state management approach if applicable
14
+ 6. Document design decisions and trade-offs
15
+ 7. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
16
+ 8. Document: `autocode comment <key> "Design complete: <summary>"`
17
+ 9. Advance: `autocode next <key>`
18
+
19
+ > Or return: `autocode move <key> <column>`
20
+
21
+ ## Validation Criteria
22
+
23
+ - [ ] Design addresses all requirements
24
+ - [ ] User experience is considered
25
+ - [ ] Technical feasibility confirmed
26
+ - [ ] Design is documented/accessible
27
+
28
+ ## Notes
29
+
30
+ Good design prevents costly refactoring later. Balance thoroughness with pragmatism based on ticket complexity.
@@ -0,0 +1,30 @@
1
+ # Design
2
+
3
+ ## Role
4
+
5
+ Creer le design technique et/ou UX pour la fonctionnalite. Preparer les maquettes, diagrammes ou documents d'architecture selon les besoins.
6
+
7
+ ## Actions
8
+
9
+ 1. Revoir les specifications et exigences
10
+ 2. Creer des maquettes UI/wireframes si interface utilisateur
11
+ 3. Designer l'architecture des composants si applicable
12
+ 4. Creer des diagrammes de sequence pour les flux complexes
13
+ 5. Definir l'approche de gestion d'etat si applicable
14
+ 6. Documenter les decisions de design et compromis
15
+ 7. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
16
+ 8. Documenter : `autocode comment <key> "Design termine : <resume>"`
17
+ 9. Avancer : `autocode next <key>`
18
+
19
+ > Ou retour : `autocode move <key> <column>`
20
+
21
+ ## Criteres de Validation
22
+
23
+ - [ ] Le design repond a toutes les exigences
24
+ - [ ] L'experience utilisateur est consideree
25
+ - [ ] La faisabilite technique est confirmee
26
+ - [ ] Le design est documente/accessible
27
+
28
+ ## Notes
29
+
30
+ Un bon design evite des refactorisations couteuses plus tard. Equilibrer rigueur et pragmatisme selon la complexite du ticket.
@@ -0,0 +1,31 @@
1
+ # Development
2
+
3
+ ## Role
4
+
5
+ Implement the feature or fix according to specifications. Write clean, maintainable code.
6
+
7
+ ## Actions
8
+
9
+ 1. Review specifications and design documents
10
+ 2. Create/modify necessary files
11
+ 3. Implement the feature following coding standards
12
+ 4. Add inline comments for complex logic
13
+ 5. Handle edge cases and errors gracefully
14
+ 6. Test locally before committing
15
+ 7. Commit + push with descriptive message
16
+ 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> "Development complete: <files modified>"`
18
+ 10. Advance: `autocode next <key>`
19
+
20
+ > Or return: `autocode move <key> <column>`
21
+
22
+ ## Validation Criteria
23
+
24
+ - [ ] Feature works as specified
25
+ - [ ] Code follows project conventions
26
+ - [ ] No console errors or warnings
27
+ - [ ] Edge cases handled
28
+
29
+ ## Notes
30
+
31
+ Write code for humans first, computers second. Keep functions small and focused. When in doubt, refactor.
@@ -0,0 +1,31 @@
1
+ # Developpement
2
+
3
+ ## Role
4
+
5
+ Implementer la fonctionnalite ou le correctif selon les specifications. Ecrire du code propre et maintenable.
6
+
7
+ ## Actions
8
+
9
+ 1. Revoir les specifications et documents de design
10
+ 2. Creer/modifier les fichiers necessaires
11
+ 3. Implementer la fonctionnalite en suivant les standards de code
12
+ 4. Ajouter des commentaires pour la logique complexe
13
+ 5. Gerer les cas limites et erreurs elegamment
14
+ 6. Tester localement avant de commiter
15
+ 7. Commit + push avec message descriptif
16
+ 8. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
+ 9. Documenter : `autocode comment <key> "Developpement termine : <fichiers modifies>"`
18
+ 10. Avancer : `autocode next <key>`
19
+
20
+ > Ou retour : `autocode move <key> <column>`
21
+
22
+ ## Criteres de Validation
23
+
24
+ - [ ] La fonctionnalite fonctionne comme specifie
25
+ - [ ] Le code suit les conventions du projet
26
+ - [ ] Pas d'erreurs ou warnings console
27
+ - [ ] Les cas limites sont geres
28
+
29
+ ## Notes
30
+
31
+ Ecrire du code pour les humains d'abord, les machines ensuite. Garder les fonctions petites et focalisees. En cas de doute, refactoriser.
@@ -8,7 +8,7 @@ Archive of completed and validated tickets. End of workflow.
8
8
 
9
9
  1. Document: `autocode comment <key> "Ticket completed"`
10
10
 
11
- > If problem discovered: `autocode move <key> <column>` or `autocode new <title> <description>`
11
+ > If problem discovered: `autocode move <key> <column>` or `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
12
12
 
13
13
  ## Validation Criteria
14
14
 
@@ -8,7 +8,7 @@ Archive des tickets termines et valides. Fin du workflow.
8
8
 
9
9
  1. Documenter : `autocode comment <key> "Ticket termine"`
10
10
 
11
- > Si probleme decouvert : `autocode move <key> <column>` ou `autocode new <title> <description>`
11
+ > Si probleme decouvert : `autocode move <key> <column>` ou `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
12
12
 
13
13
  ## Criteres de Validation
14
14
 
@@ -0,0 +1,35 @@
1
+ # Git Commit
2
+
3
+ ## Role
4
+
5
+ Create a clean, atomic git commit for the changes. Follow conventional commit format.
6
+
7
+ ## Actions
8
+
9
+ 1. Review all staged changes: `git status`
10
+ 2. Ensure only relevant files are staged
11
+ 3. Write commit message following format:
12
+ - `feat:` for new features
13
+ - `fix:` for bug fixes
14
+ - `docs:` for documentation
15
+ - `refactor:` for refactoring
16
+ - `test:` for tests
17
+ 4. Include ticket key in commit body
18
+ 5. Create commit: `git commit -m "<type>: <description>"`
19
+ 6. Verify commit: `git log -1`
20
+ 7. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
21
+ 8. Document: `autocode comment <key> "Committed: <commit hash>"`
22
+ 9. Advance: `autocode next <key>`
23
+
24
+ > Or return: `autocode move <key> <column>`
25
+
26
+ ## Validation Criteria
27
+
28
+ - [ ] Commit message follows convention
29
+ - [ ] Only relevant files included
30
+ - [ ] Commit is atomic (single purpose)
31
+ - [ ] Ticket key referenced
32
+
33
+ ## Notes
34
+
35
+ Good commits tell a story. Each commit should be a logical unit of change that could be reverted independently.
@@ -0,0 +1,35 @@
1
+ # Git Commit
2
+
3
+ ## Role
4
+
5
+ Creer un commit git propre et atomique pour les changements. Suivre le format conventional commit.
6
+
7
+ ## Actions
8
+
9
+ 1. Revoir tous les changements stages : `git status`
10
+ 2. S'assurer que seuls les fichiers pertinents sont stages
11
+ 3. Ecrire le message de commit suivant le format :
12
+ - `feat:` pour les nouvelles fonctionnalites
13
+ - `fix:` pour les corrections de bugs
14
+ - `docs:` pour la documentation
15
+ - `refactor:` pour le refactoring
16
+ - `test:` pour les tests
17
+ 4. Inclure la cle du ticket dans le corps du commit
18
+ 5. Creer le commit : `git commit -m "<type>: <description>"`
19
+ 6. Verifier le commit : `git log -1`
20
+ 7. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
21
+ 8. Documenter : `autocode comment <key> "Commite : <hash du commit>"`
22
+ 9. Avancer : `autocode next <key>`
23
+
24
+ > Ou retour : `autocode move <key> <column>`
25
+
26
+ ## Criteres de Validation
27
+
28
+ - [ ] Le message de commit suit la convention
29
+ - [ ] Seuls les fichiers pertinents sont inclus
30
+ - [ ] Le commit est atomique (but unique)
31
+ - [ ] La cle du ticket est referencee
32
+
33
+ ## Notes
34
+
35
+ De bons commits racontent une histoire. Chaque commit doit etre une unite logique de changement qui pourrait etre revertee independamment.
@@ -0,0 +1,31 @@
1
+ # Git Push
2
+
3
+ ## Role
4
+
5
+ Push committed changes to the remote repository. Ensure CI/CD pipelines pass.
6
+
7
+ ## Actions
8
+
9
+ 1. Verify all commits are ready: `git log origin/main..HEAD`
10
+ 2. Pull latest changes: `git pull --rebase origin main`
11
+ 3. Resolve any conflicts if needed
12
+ 4. Push to remote: `git push origin <branch>`
13
+ 5. Verify push succeeded
14
+ 6. Check CI/CD pipeline status
15
+ 7. If pipeline fails: fix issues and re-push
16
+ 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> "Pushed to <branch>"`
18
+ 10. Advance: `autocode next <key>`
19
+
20
+ > Or return: `autocode move <key> <column>`
21
+
22
+ ## Validation Criteria
23
+
24
+ - [ ] Changes pushed successfully
25
+ - [ ] No merge conflicts
26
+ - [ ] CI/CD pipeline passes
27
+ - [ ] Branch is up to date
28
+
29
+ ## Notes
30
+
31
+ Always pull before push to avoid conflicts. If CI fails, fix it immediately - don't leave the build broken.
@@ -0,0 +1,31 @@
1
+ # Git Push
2
+
3
+ ## Role
4
+
5
+ Pousser les changements commites vers le depot distant. S'assurer que les pipelines CI/CD passent.
6
+
7
+ ## Actions
8
+
9
+ 1. Verifier que tous les commits sont prets : `git log origin/main..HEAD`
10
+ 2. Recuperer les derniers changements : `git pull --rebase origin main`
11
+ 3. Resoudre les conflits si necessaire
12
+ 4. Pousser vers le distant : `git push origin <branche>`
13
+ 5. Verifier que le push a reussi
14
+ 6. Verifier le statut du pipeline CI/CD
15
+ 7. Si le pipeline echoue : corriger les problemes et re-pousser
16
+ 8. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
17
+ 9. Documenter : `autocode comment <key> "Pousse vers <branche>"`
18
+ 10. Avancer : `autocode next <key>`
19
+
20
+ > Ou retour : `autocode move <key> <column>`
21
+
22
+ ## Criteres de Validation
23
+
24
+ - [ ] Les changements sont pousses avec succes
25
+ - [ ] Pas de conflits de merge
26
+ - [ ] Le pipeline CI/CD passe
27
+ - [ ] La branche est a jour
28
+
29
+ ## Notes
30
+
31
+ Toujours pull avant push pour eviter les conflits. Si la CI echoue, corriger immediatement - ne pas laisser le build casse.
@@ -0,0 +1,32 @@
1
+ # Git Tag
2
+
3
+ ## Role
4
+
5
+ Create a version tag for the release. Follow semantic versioning.
6
+
7
+ ## Actions
8
+
9
+ 1. Determine version bump based on changes:
10
+ - MAJOR: breaking changes
11
+ - MINOR: new features (backward compatible)
12
+ - PATCH: bug fixes
13
+ 2. Check current version: `git describe --tags --abbrev=0`
14
+ 3. Create annotated tag: `git tag -a v<version> -m "<release notes>"`
15
+ 4. Push tag: `git push origin v<version>`
16
+ 5. Verify tag on remote
17
+ 6. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
+ 7. Document: `autocode comment <key> "Tagged: v<version>"`
19
+ 8. Advance: `autocode next <key>`
20
+
21
+ > Or return: `autocode move <key> <column>`
22
+
23
+ ## Validation Criteria
24
+
25
+ - [ ] Version follows semver
26
+ - [ ] Tag is annotated with message
27
+ - [ ] Tag pushed to remote
28
+ - [ ] Version increment is appropriate
29
+
30
+ ## Notes
31
+
32
+ Semantic versioning: MAJOR.MINOR.PATCH. Be conservative - when in doubt, use PATCH. Breaking changes require MAJOR bump.
@@ -0,0 +1,32 @@
1
+ # Git Tag
2
+
3
+ ## Role
4
+
5
+ Creer un tag de version pour la release. Suivre le versionnement semantique.
6
+
7
+ ## Actions
8
+
9
+ 1. Determiner l'increment de version selon les changements :
10
+ - MAJOR : changements cassants
11
+ - MINOR : nouvelles fonctionnalites (retrocompatibles)
12
+ - PATCH : corrections de bugs
13
+ 2. Verifier la version actuelle : `git describe --tags --abbrev=0`
14
+ 3. Creer un tag annote : `git tag -a v<version> -m "<notes de release>"`
15
+ 4. Pousser le tag : `git push origin v<version>`
16
+ 5. Verifier le tag sur le distant
17
+ 6. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<criteres>" -s patch`
18
+ 7. Documenter : `autocode comment <key> "Tag cree : v<version>"`
19
+ 8. Avancer : `autocode next <key>`
20
+
21
+ > Ou retour : `autocode move <key> <column>`
22
+
23
+ ## Criteres de Validation
24
+
25
+ - [ ] La version suit semver
26
+ - [ ] Le tag est annote avec un message
27
+ - [ ] Le tag est pousse sur le distant
28
+ - [ ] L'increment de version est approprie
29
+
30
+ ## Notes
31
+
32
+ Versionnement semantique : MAJOR.MINOR.PATCH. Etre conservateur - en cas de doute, utiliser PATCH. Les changements cassants necessitent un bump MAJOR.
@@ -12,7 +12,7 @@ Active development. Ticket is being worked on, code is being written.
12
12
  4. Implement the solution
13
13
  5. Test locally that it works
14
14
  6. Commit + push work done
15
- 7. If out of scope work detected: `autocode new <title> <description>`
15
+ 7. If out of scope work detected: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
16
16
  8. Document: `autocode comment <key> "Work completed"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
@@ -12,7 +12,7 @@ Developpement actif. Le ticket est en cours de travail, le code est en cours d'e
12
12
  4. Implementer la solution
13
13
  5. Tester localement que ca fonctionne
14
14
  6. Commit + push du travail effectue
15
- 7. Si travail hors scope detecte : `autocode new <title> <description>`
15
+ 7. Si travail hors scope detecte : `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
16
16
  8. Documenter : `autocode comment <key> "Travail effectue"`
17
17
  9. Avancer : `autocode next <key>`
18
18