@autocode-cli/autocode 0.22.0 → 0.23.0
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{DFQ30pd7.js → 4sw7JTbp.js} +1 -1
- package/.output/public/_nuxt/{BvF9_V7p.js → B6pOO9Bz.js} +1 -1
- package/.output/public/_nuxt/{DBuWa6JT.js → BAAVMorC.js} +1 -1
- package/.output/public/_nuxt/{BBgAVlXU.js → BJ-MtkWm.js} +1 -1
- package/.output/public/_nuxt/{CWENDdnZ.js → BJz8iexS.js} +1 -1
- package/.output/public/_nuxt/{DykwyQae.js → BMCm0zjc.js} +1 -1
- package/.output/public/_nuxt/{BvUbqlcZ.js → BU6KT1Jg.js} +1 -1
- package/.output/public/_nuxt/{FIIaIpPb.js → BXorvbPI.js} +1 -1
- package/.output/public/_nuxt/{DwfwVH0w.js → BdgB0Sk8.js} +1 -1
- package/.output/public/_nuxt/{QtPIr4OQ.js → BiqphZN8.js} +1 -1
- package/.output/public/_nuxt/{Bsd2P-Xc.js → Bn2y2u4i.js} +1 -1
- package/.output/public/_nuxt/{Bu1Qq2g-.js → BtXQIoy8.js} +1 -1
- package/.output/public/_nuxt/{DRo5NaOZ.js → Byshfb8L.js} +1 -1
- package/.output/public/_nuxt/{D8RlVVzC.js → C10TWEVH.js} +1 -1
- package/.output/public/_nuxt/{DU0awelf.js → C2rmiAJ1.js} +1 -1
- package/.output/public/_nuxt/{Zzp33YZj.js → CMIuQb6D.js} +1 -1
- package/.output/public/_nuxt/{jYigECdj.js → CTbIP459.js} +1 -1
- package/.output/public/_nuxt/{D4lcVP-d.js → ClY4a-PO.js} +1 -1
- package/.output/public/_nuxt/{CjVJcaTo.js → D0HHOq4k.js} +3 -3
- package/.output/public/_nuxt/{DYYF8rpr.js → D1JH-OfY.js} +1 -1
- package/.output/public/_nuxt/{Bxcwuw3U.js → D9fas07B.js} +1 -1
- package/.output/public/_nuxt/{DaYBQX26.js → DAd8dbng.js} +1 -1
- package/.output/public/_nuxt/{iHS1jy-1.js → DNMLSDtV.js} +1 -1
- package/.output/public/_nuxt/{_HJO0SwU.js → DbZiOpag.js} +1 -1
- package/.output/public/_nuxt/{TB1o0NrH.js → DuqM_LGj.js} +1 -1
- package/.output/public/_nuxt/{CoGBQbLh.js → DxFm2Qrx.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/35ace9c2-472c-4755-ae87-74fdb84336dd.json +1 -0
- package/.output/public/_nuxt/{BZUmpBmU.js → c4NRZ8AG.js} +1 -1
- package/.output/public/_nuxt/{BthlfLoK.js → g7WOzF8b.js} +1 -1
- package/.output/public/_nuxt/{TA-NBooC.js → kNuGsBnB.js} +1 -1
- package/.output/public/_nuxt/{DNUcHFTN.js → kZiZQgsI.js} +1 -1
- package/.output/public/_nuxt/{CTV7-Iux.js → mty-mFWB.js} +1 -1
- package/.output/public/_payload.json +1 -1
- package/.output/public/fake-features/cocktail-generator/cocktails.js +541 -0
- package/.output/public/fake-features/cocktail-generator/index.html +620 -0
- package/.output/public/index.html +1 -1
- package/.output/server/chunks/build/_name_-UJA12Rs2.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/fetch-B5NxMLIO.mjs +1 -1
- package/.output/server/chunks/build/nuxt-link-Cq8xZgFP.mjs +1 -1
- package/.output/server/chunks/build/server.mjs +3 -3
- package/.output/server/chunks/build/styles.mjs +7 -7
- package/.output/server/chunks/build/usePipeline-ZPHbtOs6.mjs +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +802 -379
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/_ws.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get2.mjs +6 -2
- package/.output/server/chunks/routes/api/index.get2.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.get3.mjs +1 -1
- package/.output/server/chunks/routes/api/index.get4.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post2.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post3.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs +1 -2
- package/.output/server/chunks/routes/api/issues/_id/comments.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs +1 -2
- package/.output/server/chunks/routes/api/issues/_id/comments.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/issues/_id/full-history.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/full-terminal.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/log.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history/_sessionId/prompt.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/history.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/log.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/move.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/_id/next.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/actionable.get.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/autocomplete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/issues/graph.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/activate.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/activate.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version/finalize.post.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions/_version_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name/versions.post.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/pipelines/_name_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/stats.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workflow/health.get.mjs +1 -1
- package/.output/server/chunks/routes/api/ws/status.get.mjs +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/node_modules/.prisma/client/index.js +6 -3
- package/.output/server/node_modules/.prisma/client/package.json +1 -1
- package/.output/server/package.json +1 -1
- package/bin/autocode +50 -0
- package/package.json +1 -1
- package/templates/prompts/_transition-decision.en.md +69 -0
- package/templates/prompts/_transition-decision.fr.md +69 -0
- package/templates/prompts/backlog.en.md +1 -3
- package/templates/prompts/backlog.fr.md +1 -3
- package/templates/prompts/changelog.en.md +1 -4
- package/templates/prompts/changelog.fr.md +1 -4
- package/templates/prompts/deploy-prod.en.md +1 -4
- package/templates/prompts/deploy-prod.fr.md +1 -4
- package/templates/prompts/deploy-staging.en.md +1 -4
- package/templates/prompts/deploy-staging.fr.md +1 -4
- package/templates/prompts/design.en.md +1 -4
- package/templates/prompts/design.fr.md +1 -4
- package/templates/prompts/dev.en.md +1 -4
- package/templates/prompts/dev.fr.md +1 -4
- package/templates/prompts/done.en.md +2 -3
- package/templates/prompts/done.fr.md +2 -3
- package/templates/prompts/git-commit.en.md +1 -4
- package/templates/prompts/git-commit.fr.md +1 -4
- package/templates/prompts/git-push.en.md +1 -4
- package/templates/prompts/git-push.fr.md +1 -4
- package/templates/prompts/git-tag.en.md +1 -4
- package/templates/prompts/git-tag.fr.md +1 -4
- package/templates/prompts/in-progress.en.md +2 -8
- package/templates/prompts/in-progress.fr.md +1 -7
- package/templates/prompts/qualification.en.md +1 -4
- package/templates/prompts/qualification.fr.md +0 -3
- package/templates/prompts/ready.en.md +3 -6
- package/templates/prompts/ready.fr.md +3 -6
- package/templates/prompts/retest-cypress.en.md +1 -4
- package/templates/prompts/retest-cypress.fr.md +1 -4
- package/templates/prompts/retest-playwright.en.md +1 -4
- package/templates/prompts/retest-playwright.fr.md +1 -4
- package/templates/prompts/retest-unit.en.md +1 -4
- package/templates/prompts/retest-unit.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 +1 -4
- package/templates/prompts/review-best-practices.fr.md +1 -4
- package/templates/prompts/review-code.en.md +1 -4
- package/templates/prompts/review-code.fr.md +1 -4
- package/templates/prompts/review-consistency.en.md +1 -4
- package/templates/prompts/review-consistency.fr.md +1 -4
- package/templates/prompts/review-no-duplication.en.md +1 -4
- package/templates/prompts/review-no-duplication.fr.md +1 -4
- package/templates/prompts/review-security.en.md +1 -4
- package/templates/prompts/review-security.fr.md +1 -4
- package/templates/prompts/specification.en.md +1 -4
- package/templates/prompts/specification.fr.md +1 -4
- package/templates/prompts/splitter.en.md +1 -4
- package/templates/prompts/splitter.fr.md +0 -3
- 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/update-docs.en.md +1 -4
- package/templates/prompts/update-docs.fr.md +1 -4
- package/templates/prompts/validate-staging.en.md +1 -4
- package/templates/prompts/validate-staging.fr.md +1 -4
- package/.output/public/_nuxt/builds/meta/83d9a3fc-c99e-4e26-adef-e7f5b329b81a.json +0 -1
- package/.output/server/chunks/_/comments.service.mjs +0 -26
- package/.output/server/chunks/_/comments.service.mjs.map +0 -1
- /package/.output/public/_i18n/{zP5M_e1m → __ad3z6g}/en/messages.json +0 -0
- /package/.output/public/_i18n/{zP5M_e1m → __ad3z6g}/fr/messages.json +0 -0
|
@@ -13,10 +13,7 @@ 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. Document: `autocode comment <issue-key> "Code review passed
|
|
17
|
-
9. Advance: `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Document: `autocode comment <issue-key> "Code review: [passed/issues found] - <summary>"`
|
|
20
17
|
|
|
21
18
|
## Validation Criteria
|
|
22
19
|
|
|
@@ -13,10 +13,7 @@ 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. Documenter : `autocode comment <issue-key> "Code review OK
|
|
17
|
-
9. Avancer : `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Documenter : `autocode comment <issue-key> "Code review : [OK/Problemes trouves] - <resume>"`
|
|
20
17
|
|
|
21
18
|
## Criteres de Validation
|
|
22
19
|
|
|
@@ -12,10 +12,7 @@ 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. Document: `autocode comment <issue-key> "
|
|
16
|
-
8. Advance: `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Document: `autocode comment <issue-key> "Consistency review: [passed/issues found] - <summary>"`
|
|
19
16
|
|
|
20
17
|
## Validation Criteria
|
|
21
18
|
|
|
@@ -12,10 +12,7 @@ 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. Documenter : `autocode comment <issue-key> "Review consistency OK"`
|
|
16
|
-
8. Avancer : `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Documenter : `autocode comment <issue-key> "Review consistency : [OK/problemes] - <resume>"`
|
|
19
16
|
|
|
20
17
|
## Criteres de Validation
|
|
21
18
|
|
|
@@ -12,10 +12,7 @@ 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. Document: `autocode comment <issue-key> "
|
|
16
|
-
8. Advance: `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Document: `autocode comment <issue-key> "Duplication review: [passed/issues found] - <summary>"`
|
|
19
16
|
|
|
20
17
|
## Validation Criteria
|
|
21
18
|
|
|
@@ -12,10 +12,7 @@ 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. Documenter : `autocode comment <issue-key> "Review
|
|
16
|
-
8. Avancer : `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Documenter : `autocode comment <issue-key> "Review duplication : [OK/problemes] - <resume>"`
|
|
19
16
|
|
|
20
17
|
## Criteres de Validation
|
|
21
18
|
|
|
@@ -17,10 +17,7 @@ Security audit. Identify and fix potential vulnerabilities (OWASP Top 10).
|
|
|
17
17
|
- Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column ready`
|
|
18
18
|
- Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column backlog`
|
|
19
19
|
- In scope: handle directly in current issue
|
|
20
|
-
9. Document: `autocode comment <issue-key> "
|
|
21
|
-
10. Advance: `autocode next <issue-key>`
|
|
22
|
-
|
|
23
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
20
|
+
9. Document: `autocode comment <issue-key> "Security review: [passed/issues found] - <summary>"`
|
|
24
21
|
|
|
25
22
|
## Validation Criteria
|
|
26
23
|
|
|
@@ -17,10 +17,7 @@ Audit securite. Identifier et corriger les vulnerabilites potentielles (OWASP To
|
|
|
17
17
|
- Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteres>" --semver patch --column ready`
|
|
18
18
|
- Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteres>" --semver patch --column backlog`
|
|
19
19
|
- Dans le scope : traiter directement dans le ticket actuel
|
|
20
|
-
9. Documenter : `autocode comment <issue-key> "Review security OK"`
|
|
21
|
-
10. Avancer : `autocode next <issue-key>`
|
|
22
|
-
|
|
23
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
20
|
+
9. Documenter : `autocode comment <issue-key> "Review security : [OK/Problemes] - <resume>"`
|
|
24
21
|
|
|
25
22
|
## Criteres de Validation
|
|
26
23
|
|
|
@@ -16,10 +16,7 @@ Write detailed technical specifications for the issue. Define the implementation
|
|
|
16
16
|
- Slightly out of scope (minor improvement, edge case): `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column ready`
|
|
17
17
|
- Significantly out of scope (new feature, major change): `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column backlog`
|
|
18
18
|
- In scope: handle directly in current issue
|
|
19
|
-
8. Document: `autocode comment <issue-key> "Specification complete
|
|
20
|
-
9. Advance: `autocode next <issue-key>`
|
|
21
|
-
|
|
22
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
19
|
+
8. Document: `autocode comment <issue-key> "Specification: [complete/in progress] - <technical approach>"`
|
|
23
20
|
|
|
24
21
|
## Validation Criteria
|
|
25
22
|
|
|
@@ -16,10 +16,7 @@ Rediger les specifications techniques detaillees pour le ticket. Definir clairem
|
|
|
16
16
|
- Legerement hors scope (amelioration mineure, cas limite) : `autocode new "<titre>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteres>" --semver patch --column ready`
|
|
17
17
|
- Tres hors scope (nouvelle feature, changement majeur) : `autocode new "<titre>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteres>" --semver patch --column backlog`
|
|
18
18
|
- Dans le scope : traiter directement dans le ticket actuel
|
|
19
|
-
8. Documenter : `autocode comment <issue-key> "Specification terminee
|
|
20
|
-
9. Avancer : `autocode next <issue-key>`
|
|
21
|
-
|
|
22
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
19
|
+
8. Documenter : `autocode comment <issue-key> "Specification : [terminee/en cours] - <approche technique>"`
|
|
23
20
|
|
|
24
21
|
## Criteres de Validation
|
|
25
22
|
|
|
@@ -21,10 +21,7 @@ If the task is small enough to be completed in one go, proceed directly without
|
|
|
21
21
|
5. Create sub-issues: `autocode new "<title>" "<description>" --priority P2 --labels "<labels>" --acceptance "<criteria>" --semver patch --column backlog --parent <issue-key>`
|
|
22
22
|
6. Verify no functionality has been forgotten or duplicated across issues
|
|
23
23
|
7. Create an integration issue that references all sub-issues to validate cohesion
|
|
24
|
-
8. Document: `autocode comment <issue-key> "[summary]"`
|
|
25
|
-
9. Advance: `autocode next <issue-key>`
|
|
26
|
-
|
|
27
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
24
|
+
8. Document: `autocode comment <issue-key> "Splitter: [summary]"`
|
|
28
25
|
|
|
29
26
|
## Validation Criteria
|
|
30
27
|
|
|
@@ -22,9 +22,6 @@ Si la tâche est suffisamment petite pour être complétée en une fois, procéd
|
|
|
22
22
|
6. Vérifier qu'aucune fonctionnalité n'a été oubliée ou dupliquée entre les tickets
|
|
23
23
|
7. Créer un ticket d'intégration qui référence tous les sous-tickets pour valider la cohésion
|
|
24
24
|
8. Documenter : `autocode comment <issue-key> "[résumé]"`
|
|
25
|
-
9. Avancer : `autocode next <issue-key>`
|
|
26
|
-
|
|
27
|
-
> Ou retourner : `autocode move <issue-key> <target-column-slug>`
|
|
28
25
|
|
|
29
26
|
## Critères de Validation
|
|
30
27
|
|
|
@@ -13,10 +13,7 @@ Write AND execute E2E automated tests to prevent regressions.
|
|
|
13
13
|
5. Execute tests: npx cypress run
|
|
14
14
|
6. If failures: fix tests or code
|
|
15
15
|
7. Do not write tests for code outside the issue scope
|
|
16
|
-
8. Document: `autocode comment <issue-key> "Cypress tests
|
|
17
|
-
9. Advance: `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Document: `autocode comment <issue-key> "Cypress tests: [passed/failed] - <details>"`
|
|
20
17
|
|
|
21
18
|
## Validation Criteria
|
|
22
19
|
|
|
@@ -13,10 +13,7 @@ Rediger ET executer des tests E2E automatises pour prevenir les regressions.
|
|
|
13
13
|
5. Executer les tests : npx cypress run
|
|
14
14
|
6. Si echecs : corriger les tests ou le code
|
|
15
15
|
7. Ne pas ecrire de tests pour du code hors scope du ticket
|
|
16
|
-
8. Documenter : `autocode comment <issue-key> "Tests Cypress OK"`
|
|
17
|
-
9. Avancer : `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Documenter : `autocode comment <issue-key> "Tests Cypress : [OK/echecs] - <details>"`
|
|
20
17
|
|
|
21
18
|
## Criteres de Validation
|
|
22
19
|
|
|
@@ -14,10 +14,7 @@ Run integration tests to verify components work correctly together. Ensure syste
|
|
|
14
14
|
6. Test external service connections
|
|
15
15
|
7. Fix any failing tests
|
|
16
16
|
8. Do not write tests for code outside the issue scope
|
|
17
|
-
9. Document: `autocode comment <issue-key> "Integration tests passed"`
|
|
18
|
-
10. Advance: `autocode next <issue-key>`
|
|
19
|
-
|
|
20
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
17
|
+
9. Document: `autocode comment <issue-key> "Integration tests: [passed/failed] - <details>"`
|
|
21
18
|
|
|
22
19
|
## Validation Criteria
|
|
23
20
|
|
|
@@ -14,10 +14,7 @@ Executer les tests d'integration pour verifier que les composants fonctionnent c
|
|
|
14
14
|
6. Tester les connexions aux services externes
|
|
15
15
|
7. Corriger les tests en echec
|
|
16
16
|
8. Ne pas ecrire de tests pour du code hors scope du ticket
|
|
17
|
-
9. Documenter : `autocode comment <issue-key> "Tests
|
|
18
|
-
10. Avancer : `autocode next <issue-key>`
|
|
19
|
-
|
|
20
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
17
|
+
9. Documenter : `autocode comment <issue-key> "Tests integration : [OK/echecs] - <details>"`
|
|
21
18
|
|
|
22
19
|
## Criteres de Validation
|
|
23
20
|
|
|
@@ -13,10 +13,7 @@ Live functional testing with Playwright. Manually verify feature works by naviga
|
|
|
13
13
|
5. Verify error handling
|
|
14
14
|
6. Capture screenshots if needed
|
|
15
15
|
7. Do not test functionality outside the issue scope
|
|
16
|
-
8. Document: `autocode comment <issue-key> "Playwright tests
|
|
17
|
-
9. Advance: `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Document: `autocode comment <issue-key> "Playwright tests: [passed/failed] - <details>"`
|
|
20
17
|
|
|
21
18
|
## Validation Criteria
|
|
22
19
|
|
|
@@ -13,10 +13,7 @@ Test fonctionnel live avec Playwright. Verifier manuellement que la feature fonc
|
|
|
13
13
|
5. Verifier la gestion d'erreurs
|
|
14
14
|
6. Capturer des screenshots si necessaire
|
|
15
15
|
7. Ne pas tester de fonctionnalites hors scope du ticket
|
|
16
|
-
8. Documenter : `autocode comment <issue-key> "Tests Playwright OK"`
|
|
17
|
-
9. Avancer : `autocode next <issue-key>`
|
|
18
|
-
|
|
19
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
16
|
+
8. Documenter : `autocode comment <issue-key> "Tests Playwright : [OK/echecs] - <details>"`
|
|
20
17
|
|
|
21
18
|
## Criteres de Validation
|
|
22
19
|
|
|
@@ -14,10 +14,7 @@ Write and run unit tests for the implemented feature. Ensure code coverage and r
|
|
|
14
14
|
6. Fix any failing tests
|
|
15
15
|
7. Verify coverage meets project standards
|
|
16
16
|
8. Do not write tests for code outside the issue scope
|
|
17
|
-
9. Document: `autocode comment <issue-key> "Unit tests passed
|
|
18
|
-
10. Advance: `autocode next <issue-key>`
|
|
19
|
-
|
|
20
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
17
|
+
9. Document: `autocode comment <issue-key> "Unit tests: [passed/failed] - <coverage>%"`
|
|
21
18
|
|
|
22
19
|
## Validation Criteria
|
|
23
20
|
|
|
@@ -14,10 +14,7 @@ Ecrire et executer les tests unitaires pour la fonctionnalite implementee. Assur
|
|
|
14
14
|
6. Corriger les tests en echec
|
|
15
15
|
7. Verifier que la couverture respecte les standards du projet
|
|
16
16
|
8. Ne pas ecrire de tests pour du code hors scope du ticket
|
|
17
|
-
9. Documenter : `autocode comment <issue-key> "Tests unitaires OK
|
|
18
|
-
10. Avancer : `autocode next <issue-key>`
|
|
19
|
-
|
|
20
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
17
|
+
9. Documenter : `autocode comment <issue-key> "Tests unitaires : [OK/Echecs] - <couverture>%"`
|
|
21
18
|
|
|
22
19
|
## Criteres de Validation
|
|
23
20
|
|
|
@@ -11,10 +11,7 @@ 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. Document: `autocode comment <issue-key> "Documentation updated"`
|
|
15
|
-
7. Advance: `autocode next <issue-key>`
|
|
16
|
-
|
|
17
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
14
|
+
6. Document: `autocode comment <issue-key> "Documentation: [updated/not applicable]"`
|
|
18
15
|
|
|
19
16
|
## Validation Criteria
|
|
20
17
|
|
|
@@ -11,10 +11,7 @@ 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. Documenter : `autocode comment <issue-key> "Documentation mise a jour"`
|
|
15
|
-
7. Avancer : `autocode next <issue-key>`
|
|
16
|
-
|
|
17
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
14
|
+
6. Documenter : `autocode comment <issue-key> "Documentation : [mise a jour/non applicable]"`
|
|
18
15
|
|
|
19
16
|
## Criteres de Validation
|
|
20
17
|
|
|
@@ -12,10 +12,7 @@ Final validation: verify everything works in staging AND git repo is clean.
|
|
|
12
12
|
4. Verify visually everything is OK
|
|
13
13
|
5. Capture proof (screenshot)
|
|
14
14
|
6. Confirm feature works
|
|
15
|
-
7. Document: `autocode comment <issue-key> "Staging validation OK"`
|
|
16
|
-
8. Advance: `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Or return: `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Document: `autocode comment <issue-key> "Staging validation: [OK/failed] - <summary>"`
|
|
19
16
|
|
|
20
17
|
## Validation Criteria
|
|
21
18
|
|
|
@@ -12,10 +12,7 @@ Validation finale : verifier que tout fonctionne en staging ET que le repo git e
|
|
|
12
12
|
4. Verifier visuellement que tout est OK
|
|
13
13
|
5. Capturer une preuve (screenshot)
|
|
14
14
|
6. Confirmer que la feature fonctionne
|
|
15
|
-
7. Documenter : `autocode comment <issue-key> "Validation staging OK"`
|
|
16
|
-
8. Avancer : `autocode next <issue-key>`
|
|
17
|
-
|
|
18
|
-
> Ou retour : `autocode move <issue-key> <target-column-slug>`
|
|
15
|
+
7. Documenter : `autocode comment <issue-key> "Validation staging : [OK/echec] - <resume>"`
|
|
19
16
|
|
|
20
17
|
## Criteres de Validation
|
|
21
18
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"83d9a3fc-c99e-4e26-adef-e7f5b329b81a","timestamp":1767659950446,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { i as debug, p as prisma } from '../nitro/nitro.mjs';
|
|
2
|
-
|
|
3
|
-
async function findByIssue(issueKey) {
|
|
4
|
-
debug("comments", "findByIssue", { issueKey });
|
|
5
|
-
return prisma.comment.findMany({
|
|
6
|
-
where: { issueKey },
|
|
7
|
-
orderBy: { createdAt: "desc" }
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
async function create(issueKey, data) {
|
|
11
|
-
const id = String(Date.now());
|
|
12
|
-
debug("comments", "create", { issueKey, author: data.author, contentLength: data.content.length });
|
|
13
|
-
const comment = await prisma.comment.create({
|
|
14
|
-
data: {
|
|
15
|
-
id,
|
|
16
|
-
issueKey,
|
|
17
|
-
content: data.content,
|
|
18
|
-
author: data.author
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
debug("comments", "created", { id: comment.id, issueKey });
|
|
22
|
-
return comment;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { create as c, findByIssue as f };
|
|
26
|
-
//# sourceMappingURL=comments.service.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comments.service.mjs","sources":["../../../../server/services/comments.service.ts"],"names":[],"mappings":";;AAYA,eAAsB,YAAY,QAAA,EAAsC;AACtE,EAAA,KAAA,CAAM,UAAA,EAAY,aAAA,EAAe,EAAE,QAAA,EAAU,CAAA;AAC7C,EAAA,OAAO,MAAA,CAAO,QAAQ,QAAA,CAAS;AAAA,IAC7B,KAAA,EAAO,EAAE,QAAA,EAAS;AAAA,IAClB,OAAA,EAAS,EAAE,SAAA,EAAW,MAAA;AAAO,GAC9B,CAAA;AACH;AAcA,eAAsB,MAAA,CAAO,UAAkB,IAAA,EAA4C;AACzF,EAAA,MAAM,EAAA,GAAK,MAAA,CAAO,IAAA,CAAK,GAAA,EAAK,CAAA;AAE5B,EAAA,KAAA,CAAM,UAAA,EAAY,QAAA,EAAU,EAAE,QAAA,EAAU,MAAA,EAAQ,IAAA,CAAK,MAAA,EAAQ,aAAA,EAAe,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,CAAA;AAEjG,EAAA,MAAM,OAAA,GAAU,MAAM,MAAA,CAAO,OAAA,CAAQ,MAAA,CAAO;AAAA,IAC1C,IAAA,EAAM;AAAA,MACJ,EAAA;AAAA,MACA,QAAA;AAAA,MACA,SAAS,IAAA,CAAK,OAAA;AAAA,MACd,QAAQ,IAAA,CAAK;AAAA;AACf,GACD,CAAA;AAED,EAAA,KAAA,CAAM,YAAY,SAAA,EAAW,EAAE,IAAI,OAAA,CAAQ,EAAA,EAAI,UAAU,CAAA;AACzD,EAAA,OAAO,OAAA;AACT;;;;"}
|
|
File without changes
|
|
File without changes
|