@autocode-cli/autocode 0.1.7 → 0.1.9

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 (64) hide show
  1. package/dist/server/api.js +1 -1
  2. package/dist/server/dashboard/pages/pipeline-configurator.d.ts.map +1 -1
  3. package/dist/server/dashboard/pages/pipeline-configurator.js +146 -4
  4. package/dist/server/dashboard/pages/pipeline-configurator.js.map +1 -1
  5. package/package.json +1 -1
  6. package/templates/catalog.yaml +3 -1
  7. package/templates/prompts/backlog.en.md +1 -1
  8. package/templates/prompts/backlog.fr.md +1 -1
  9. package/templates/prompts/changelog.en.md +1 -1
  10. package/templates/prompts/changelog.fr.md +1 -1
  11. package/templates/prompts/deploy-prod.en.md +1 -1
  12. package/templates/prompts/deploy-prod.fr.md +1 -1
  13. package/templates/prompts/deploy-staging.en.md +1 -1
  14. package/templates/prompts/deploy-staging.fr.md +1 -1
  15. package/templates/prompts/design.en.md +1 -1
  16. package/templates/prompts/design.fr.md +1 -1
  17. package/templates/prompts/dev.en.md +1 -1
  18. package/templates/prompts/dev.fr.md +1 -1
  19. package/templates/prompts/done.en.md +1 -1
  20. package/templates/prompts/done.fr.md +1 -1
  21. package/templates/prompts/git-commit.en.md +1 -1
  22. package/templates/prompts/git-commit.fr.md +1 -1
  23. package/templates/prompts/git-push.en.md +1 -1
  24. package/templates/prompts/git-push.fr.md +1 -1
  25. package/templates/prompts/git-tag.en.md +1 -1
  26. package/templates/prompts/git-tag.fr.md +1 -1
  27. package/templates/prompts/in-progress.en.md +1 -1
  28. package/templates/prompts/in-progress.fr.md +1 -1
  29. package/templates/prompts/qualification.en.md +1 -1
  30. package/templates/prompts/qualification.fr.md +1 -1
  31. package/templates/prompts/ready.en.md +1 -1
  32. package/templates/prompts/ready.fr.md +1 -1
  33. package/templates/prompts/retest-cypress.en.md +1 -1
  34. package/templates/prompts/retest-cypress.fr.md +1 -1
  35. package/templates/prompts/retest-playwright.en.md +1 -1
  36. package/templates/prompts/retest-playwright.fr.md +1 -1
  37. package/templates/prompts/retest.en.md +1 -1
  38. package/templates/prompts/retest.fr.md +1 -1
  39. package/templates/prompts/review-best-practices.en.md +1 -1
  40. package/templates/prompts/review-best-practices.fr.md +1 -1
  41. package/templates/prompts/review-code.en.md +1 -1
  42. package/templates/prompts/review-code.fr.md +1 -1
  43. package/templates/prompts/review-consistency.en.md +1 -1
  44. package/templates/prompts/review-consistency.fr.md +1 -1
  45. package/templates/prompts/review-no-duplication.en.md +1 -1
  46. package/templates/prompts/review-no-duplication.fr.md +1 -1
  47. package/templates/prompts/review-security.en.md +1 -1
  48. package/templates/prompts/review-security.fr.md +1 -1
  49. package/templates/prompts/specification.en.md +1 -1
  50. package/templates/prompts/specification.fr.md +1 -1
  51. package/templates/prompts/splitter.en.md +31 -0
  52. package/templates/prompts/splitter.fr.md +33 -0
  53. package/templates/prompts/testing-cypress.en.md +1 -1
  54. package/templates/prompts/testing-cypress.fr.md +1 -1
  55. package/templates/prompts/testing-integration.en.md +1 -1
  56. package/templates/prompts/testing-integration.fr.md +1 -1
  57. package/templates/prompts/testing-playwright.en.md +1 -1
  58. package/templates/prompts/testing-playwright.fr.md +1 -1
  59. package/templates/prompts/testing-unit.en.md +1 -1
  60. package/templates/prompts/testing-unit.fr.md +1 -1
  61. package/templates/prompts/update-docs.en.md +1 -1
  62. package/templates/prompts/update-docs.fr.md +1 -1
  63. package/templates/prompts/validate-staging.en.md +1 -1
  64. package/templates/prompts/validate-staging.fr.md +1 -1
@@ -675,7 +675,7 @@ Generate EXACTLY this format for EACH language, nothing else:
675
675
  9. Document: \`autocode comment <key> "[summary]"\`
676
676
  10. Advance: \`autocode next <key>\`
677
677
 
678
- > Or return: \`autocode move <key> <column>\`
678
+ > Or return: \`autocode move <key> <targetColumn>\`
679
679
 
680
680
  ## Validation Criteria
681
681
 
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0hDrE"}
1
+ {"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAwqDrE"}
@@ -268,6 +268,25 @@ export function generatePipelineConfiguratorPage(lang) {
268
268
  border-radius: 4px;
269
269
  }
270
270
  .column-item .remove-btn:hover { color: var(--red); background: rgba(239, 68, 68, 0.1); }
271
+ .column-item .order-btns {
272
+ display: flex;
273
+ flex-direction: column;
274
+ gap: 2px;
275
+ margin-right: 4px;
276
+ }
277
+ .column-item .order-btn {
278
+ background: none;
279
+ border: none;
280
+ color: var(--muted);
281
+ cursor: pointer;
282
+ padding: 2px 4px;
283
+ border-radius: 3px;
284
+ font-size: 10px;
285
+ line-height: 1;
286
+ }
287
+ .column-item .order-btn:hover { color: var(--accent); background: rgba(124, 58, 237, 0.1); }
288
+ .column-item .order-btn:disabled { opacity: 0.2; cursor: not-allowed; }
289
+ .column-item .order-btn:disabled:hover { color: var(--muted); background: none; }
271
290
 
272
291
  /* Catalog */
273
292
  .catalog {
@@ -676,6 +695,10 @@ export function generatePipelineConfiguratorPage(lang) {
676
695
  </div>
677
696
  </div>
678
697
  <div id="promptPreviewContent" style="background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 16px; max-height: 60vh; overflow-y: auto; white-space: pre-wrap; font-family: monospace; font-size: 13px; line-height: 1.5;"></div>
698
+ <div class="modal-actions" id="promptPreviewActions" style="display: none;">
699
+ <button class="btn btn-success" id="applyColumnBtn" onclick="applyColumnFromModal()">Apply</button>
700
+ <button class="btn btn-danger" id="removeColumnBtn" onclick="removeColumnFromModal()" style="display: none;">Remove</button>
701
+ </div>
679
702
  </div>
680
703
  </div>
681
704
 
@@ -736,10 +759,17 @@ export function generatePipelineConfiguratorPage(lang) {
736
759
  enterPipelineName: 'Please enter a pipeline name',
737
760
  keyExists: 'A pipeline with this key already exists',
738
761
  confirmDelete: 'Are you sure you want to delete this pipeline?',
762
+ selectPipeline: 'Select a Pipeline',
763
+ selectPipelineDesc: 'Click on a pipeline from the list to edit it.',
739
764
  columnAdded: 'Column added to catalog!',
740
765
  errorFillFields: 'Please fill in all fields',
741
766
  errorColumnExists: 'A column with this name already exists in the catalog. Please choose a different name.',
742
767
  errorGeneric: 'An error occurred. Please try again.',
768
+ applyColumn: 'Apply',
769
+ removeColumn: 'Remove',
770
+ columnApplied: 'Column applied!',
771
+ columnRemoved: 'Column removed!',
772
+ selectPipelineFirst: 'Please select a pipeline first',
743
773
  },
744
774
  fr: {
745
775
  backBtn: '← Tableau de bord',
@@ -795,10 +825,17 @@ export function generatePipelineConfiguratorPage(lang) {
795
825
  enterPipelineName: 'Veuillez entrer un nom de pipeline',
796
826
  keyExists: 'Un pipeline avec cette clé existe déjà',
797
827
  confirmDelete: 'Êtes-vous sûr de vouloir supprimer ce pipeline ?',
828
+ selectPipeline: 'Sélectionnez un Pipeline',
829
+ selectPipelineDesc: 'Cliquez sur un pipeline de la liste pour le modifier.',
798
830
  columnAdded: 'Colonne ajoutée au catalogue !',
799
831
  errorFillFields: 'Veuillez remplir tous les champs',
800
832
  errorColumnExists: 'Une colonne avec ce nom existe déjà dans le catalogue. Veuillez choisir un autre nom.',
801
833
  errorGeneric: 'Une erreur est survenue. Veuillez réessayer.',
834
+ applyColumn: 'Appliquer',
835
+ removeColumn: 'Retirer',
836
+ columnApplied: 'Colonne appliquée !',
837
+ columnRemoved: 'Colonne retirée !',
838
+ selectPipelineFirst: 'Veuillez d\\'abord sélectionner un pipeline',
802
839
  }
803
840
  };
804
841
 
@@ -889,6 +926,7 @@ export function generatePipelineConfiguratorPage(lang) {
889
926
  let currentPromptSlug = null;
890
927
  let currentPromptLang = 'en';
891
928
  let currentLang = localStorage.getItem('autocode-lang') || 'en';
929
+ let currentModalColumn = null; // { slug, name, segment }
892
930
 
893
931
  // Elements
894
932
  const pipelineList = document.getElementById('pipelineList');
@@ -964,7 +1002,7 @@ export function generatePipelineConfiguratorPage(lang) {
964
1002
  item.innerHTML = '<span class="catalog-item-name">' + escapeHtml(col.name) + '</span><span class="catalog-item-eye">👁</span>';
965
1003
  item.onclick = (e) => {
966
1004
  if (!e.target.classList.contains('dragging')) {
967
- openPromptPreview(col.slug, col.name);
1005
+ openPromptPreview(col.slug, col.name, segment);
968
1006
  }
969
1007
  };
970
1008
  columnsDiv.appendChild(item);
@@ -992,6 +1030,26 @@ export function generatePipelineConfiguratorPage(lang) {
992
1030
  emptyState.style.display = '';
993
1031
  pipelineEditor.style.display = 'none';
994
1032
  }
1033
+ updateEmptyState();
1034
+ }
1035
+
1036
+ // Update empty state message based on whether pipelines exist
1037
+ function updateEmptyState() {
1038
+ const h3 = document.querySelector('#emptyState h3');
1039
+ const p = document.querySelector('#emptyState p');
1040
+ const btn = document.getElementById('createFirstBtn');
1041
+
1042
+ if (pipelines.length > 0) {
1043
+ // Pipelines exist but none selected
1044
+ if (h3) h3.textContent = t('selectPipeline');
1045
+ if (p) p.textContent = t('selectPipelineDesc');
1046
+ if (btn) btn.style.display = 'none';
1047
+ } else {
1048
+ // No pipelines at all
1049
+ if (h3) h3.textContent = t('noSelected');
1050
+ if (p) p.textContent = t('noSelectedDesc');
1051
+ if (btn) btn.style.display = '';
1052
+ }
995
1053
  }
996
1054
 
997
1055
  // Select a pipeline
@@ -1023,22 +1081,31 @@ export function generatePipelineConfiguratorPage(lang) {
1023
1081
  container.innerHTML = '';
1024
1082
 
1025
1083
  const columns = currentPipeline[segment] || [];
1084
+ const total = columns.length;
1026
1085
  columns.forEach((col, index) => {
1027
- const item = createColumnItem(col, segment, index);
1086
+ const item = createColumnItem(col, segment, index, total);
1028
1087
  container.appendChild(item);
1029
1088
  });
1030
1089
  });
1031
1090
  }
1032
1091
 
1033
1092
  // Create a column item element
1034
- function createColumnItem(col, segment, index) {
1093
+ function createColumnItem(col, segment, index, total) {
1035
1094
  const item = document.createElement('div');
1036
1095
  item.className = 'column-item';
1037
1096
  item.draggable = true;
1038
1097
  item.dataset.segment = segment;
1039
1098
  item.dataset.index = index;
1099
+
1100
+ const isFirst = index === 0;
1101
+ const isLast = index === total - 1;
1102
+
1040
1103
  item.innerHTML =
1041
1104
  '<span class="drag-handle">⋮⋮</span>' +
1105
+ '<div class="order-btns">' +
1106
+ '<button class="order-btn up-btn" title="Move up"' + (isFirst ? ' disabled' : '') + '>▲</button>' +
1107
+ '<button class="order-btn down-btn" title="Move down"' + (isLast ? ' disabled' : '') + '>▼</button>' +
1108
+ '</div>' +
1042
1109
  '<span class="name">' + escapeHtml(col.name) + '</span>' +
1043
1110
  '<button class="remove-btn" title="Remove">✕</button>';
1044
1111
 
@@ -1047,9 +1114,30 @@ export function generatePipelineConfiguratorPage(lang) {
1047
1114
  removeColumn(segment, index);
1048
1115
  };
1049
1116
 
1117
+ item.querySelector('.up-btn').onclick = (e) => {
1118
+ e.stopPropagation();
1119
+ if (!isFirst) moveColumn(segment, index, index - 1);
1120
+ };
1121
+
1122
+ item.querySelector('.down-btn').onclick = (e) => {
1123
+ e.stopPropagation();
1124
+ if (!isLast) moveColumn(segment, index, index + 1);
1125
+ };
1126
+
1050
1127
  return item;
1051
1128
  }
1052
1129
 
1130
+ // Move column within segment
1131
+ function moveColumn(segment, fromIndex, toIndex) {
1132
+ if (!currentPipeline || !currentPipeline[segment]) return;
1133
+ const columns = currentPipeline[segment];
1134
+ const [removed] = columns.splice(fromIndex, 1);
1135
+ columns.splice(toIndex, 0, removed);
1136
+ renderSegmentColumns();
1137
+ hasChanges = true;
1138
+ updateButtons();
1139
+ }
1140
+
1053
1141
  // Add column to segment
1054
1142
  function addColumn(segment, slug, name) {
1055
1143
  if (!currentPipeline) return;
@@ -1391,15 +1479,68 @@ export function generatePipelineConfiguratorPage(lang) {
1391
1479
  }
1392
1480
 
1393
1481
  // Prompt preview
1394
- async function openPromptPreview(slug, name) {
1482
+ async function openPromptPreview(slug, name, segment) {
1395
1483
  currentPromptSlug = slug;
1396
1484
  currentPromptLang = currentLang || 'en';
1485
+ currentModalColumn = { slug, name, segment };
1397
1486
  document.getElementById('promptPreviewTitle').textContent = name;
1398
1487
  document.getElementById('promptPreviewModal').classList.add('show');
1399
1488
  updatePromptLangButtons();
1489
+ updatePromptActionButtons();
1400
1490
  await loadPromptContent();
1401
1491
  }
1402
1492
 
1493
+ function updatePromptActionButtons() {
1494
+ const actionsDiv = document.getElementById('promptPreviewActions');
1495
+ const applyBtn = document.getElementById('applyColumnBtn');
1496
+ const removeBtn = document.getElementById('removeColumnBtn');
1497
+
1498
+ // Only show actions if a pipeline is selected
1499
+ if (!currentPipeline || !currentModalColumn) {
1500
+ actionsDiv.style.display = 'none';
1501
+ return;
1502
+ }
1503
+
1504
+ actionsDiv.style.display = 'flex';
1505
+ const segment = currentModalColumn.segment;
1506
+ const isInPipeline = currentPipeline[segment]?.some(c => c.slug.includes(currentModalColumn.slug));
1507
+
1508
+ applyBtn.textContent = t('applyColumn');
1509
+ removeBtn.textContent = t('removeColumn');
1510
+
1511
+ if (isInPipeline) {
1512
+ applyBtn.style.display = 'none';
1513
+ removeBtn.style.display = '';
1514
+ } else {
1515
+ applyBtn.style.display = '';
1516
+ removeBtn.style.display = 'none';
1517
+ }
1518
+ }
1519
+
1520
+ function applyColumnFromModal() {
1521
+ if (!currentPipeline) {
1522
+ showNotification(t('selectPipelineFirst'), 'warning');
1523
+ return;
1524
+ }
1525
+ if (!currentModalColumn) return;
1526
+
1527
+ addColumn(currentModalColumn.segment, currentModalColumn.slug, currentModalColumn.name);
1528
+ showNotification(t('columnApplied'));
1529
+ closePromptPreview();
1530
+ }
1531
+
1532
+ function removeColumnFromModal() {
1533
+ if (!currentPipeline || !currentModalColumn) return;
1534
+
1535
+ const segment = currentModalColumn.segment;
1536
+ const index = currentPipeline[segment]?.findIndex(c => c.slug.includes(currentModalColumn.slug));
1537
+ if (index !== undefined && index >= 0) {
1538
+ removeColumn(segment, index);
1539
+ showNotification(t('columnRemoved'));
1540
+ closePromptPreview();
1541
+ }
1542
+ }
1543
+
1403
1544
  function closePromptPreview() {
1404
1545
  document.getElementById('promptPreviewModal').classList.remove('show');
1405
1546
  currentPromptSlug = null;
@@ -1560,6 +1701,7 @@ export function generatePipelineConfiguratorPage(lang) {
1560
1701
  // Initialize
1561
1702
  init().then(() => {
1562
1703
  updateUILanguage();
1704
+ updateEmptyState();
1563
1705
  });
1564
1706
  initLangSwitcher();
1565
1707
  updateUILanguage();
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-configurator.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,IAAY;IAC3D,OAAO;cACK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuhDV,CAAC;AACT,CAAC"}
1
+ {"version":3,"file":"pipeline-configurator.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,IAAY;IAC3D,OAAO;cACK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqqDV,CAAC;AACT,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autocode-cli/autocode",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Filesystem-based ticket system with web dashboard",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,7 +21,9 @@ segments:
21
21
  - slug: ready
22
22
  name: Ready
23
23
  description: Ready for development
24
-
24
+ - slug: splitter
25
+ name: Splitter
26
+ description: Si un besoin est trop gros, il faut le splitter en pleins de petits tickets pour limiter la responsabilité ! on crée ces tickets avec `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch` une fois terminé et qu'on a RIEN oublié on vient `autocode move <key> <targetColumn>` dans la colonne terminated. et on vient créer un nouveau ticket qui cite tous ceux qu'on vient de créer pour vérifier que le "tout" fonctionne bien ensemble et est bien cohérent !
25
27
  action:
26
28
  description: Columns for implementation and validation
27
29
  columns:
@@ -16,7 +16,7 @@ Storage for new tickets. Tickets here need qualification before work can begin.
16
16
  8. Document: `autocode comment <key> "Qualification done"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Stockage des nouveaux tickets. Les tickets ici doivent etre qualifies avant de c
16
16
  8. Documenter : `autocode comment <key> "Qualification effectuee"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -17,7 +17,7 @@ Update the changelog with the changes made in this ticket. Document for users an
17
17
  9. Document: `autocode comment <key> "Changelog updated"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Mettre a jour le changelog avec les changements effectues dans ce ticket. Docume
17
17
  9. Documenter : `autocode comment <key> "Changelog mis a jour"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -18,7 +18,7 @@ Deploy the release to production environment. Ensure zero-downtime deployment.
18
18
  10. Document: `autocode comment <key> "Deployed to production: v<version>"`
19
19
  11. Advance: `autocode next <key>`
20
20
 
21
- > Or rollback: `autocode move <key> <column>`
21
+ > Or rollback: `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Validation Criteria
24
24
 
@@ -18,7 +18,7 @@ Deployer la release en environnement de production. Assurer un deploiement sans
18
18
  10. Documenter : `autocode comment <key> "Deploye en production : v<version>"`
19
19
  11. Avancer : `autocode next <key>`
20
20
 
21
- > Ou rollback : `autocode move <key> <column>`
21
+ > Ou rollback : `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Criteres de Validation
24
24
 
@@ -15,7 +15,7 @@ Deploy changes to staging environment for validation.
15
15
  7. Document: `autocode comment <key> "Deployed to staging"`
16
16
  8. Advance: `autocode next <key>`
17
17
 
18
- > Or return: `autocode move <key> <column>`
18
+ > Or return: `autocode move <key> <targetColumn>`
19
19
 
20
20
  ## Validation Criteria
21
21
 
@@ -15,7 +15,7 @@ Deployer les changements sur l'environnement de staging pour validation.
15
15
  7. Documenter : `autocode comment <key> "Deploye en staging"`
16
16
  8. Avancer : `autocode next <key>`
17
17
 
18
- > Ou retour : `autocode move <key> <column>`
18
+ > Ou retour : `autocode move <key> <targetColumn>`
19
19
 
20
20
  ## Criteres de Validation
21
21
 
@@ -16,7 +16,7 @@ Create technical and/or UX design for the feature. Prepare mockups, diagrams, or
16
16
  8. Document: `autocode comment <key> "Design complete: <summary>"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Creer le design technique et/ou UX pour la fonctionnalite. Preparer les maquette
16
16
  8. Documenter : `autocode comment <key> "Design termine : <resume>"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -17,7 +17,7 @@ Implement the feature or fix according to specifications. Write clean, maintaina
17
17
  9. Document: `autocode comment <key> "Development complete: <files modified>"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Implementer la fonctionnalite ou le correctif selon les specifications. Ecrire d
17
17
  9. Documenter : `autocode comment <key> "Developpement termine : <fichiers modifies>"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -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>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
11
+ > If problem discovered: `autocode move <key> <targetColumn>` 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 "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
11
+ > Si probleme decouvert : `autocode move <key> <targetColumn>` ou `autocode new "<titre>" "<description>" -p P2 -l "<labels>" -a "<critères>" -s patch`
12
12
 
13
13
  ## Criteres de Validation
14
14
 
@@ -21,7 +21,7 @@ Create a clean, atomic git commit for the changes. Follow conventional commit fo
21
21
  8. Document: `autocode comment <key> "Committed: <commit hash>"`
22
22
  9. Advance: `autocode next <key>`
23
23
 
24
- > Or return: `autocode move <key> <column>`
24
+ > Or return: `autocode move <key> <targetColumn>`
25
25
 
26
26
  ## Validation Criteria
27
27
 
@@ -21,7 +21,7 @@ Creer un commit git propre et atomique pour les changements. Suivre le format co
21
21
  8. Documenter : `autocode comment <key> "Commite : <hash du commit>"`
22
22
  9. Avancer : `autocode next <key>`
23
23
 
24
- > Ou retour : `autocode move <key> <column>`
24
+ > Ou retour : `autocode move <key> <targetColumn>`
25
25
 
26
26
  ## Criteres de Validation
27
27
 
@@ -17,7 +17,7 @@ Push committed changes to the remote repository. Ensure CI/CD pipelines pass.
17
17
  9. Document: `autocode comment <key> "Pushed to <branch>"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Pousser les changements commites vers le depot distant. S'assurer que les pipeli
17
17
  9. Documenter : `autocode comment <key> "Pousse vers <branche>"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -18,7 +18,7 @@ Create a version tag for the release. Follow semantic versioning.
18
18
  7. Document: `autocode comment <key> "Tagged: v<version>"`
19
19
  8. Advance: `autocode next <key>`
20
20
 
21
- > Or return: `autocode move <key> <column>`
21
+ > Or return: `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Validation Criteria
24
24
 
@@ -18,7 +18,7 @@ Creer un tag de version pour la release. Suivre le versionnement semantique.
18
18
  7. Documenter : `autocode comment <key> "Tag cree : v<version>"`
19
19
  8. Avancer : `autocode next <key>`
20
20
 
21
- > Ou retour : `autocode move <key> <column>`
21
+ > Ou retour : `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Criteres de Validation
24
24
 
@@ -16,7 +16,7 @@ Active development. Ticket is being worked on, code is being written.
16
16
  8. Document: `autocode comment <key> "Work completed"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Developpement actif. Le ticket est en cours de travail, le code est en cours d'e
16
16
  8. Documenter : `autocode comment <key> "Travail effectue"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -16,7 +16,7 @@ Analyze and qualify the ticket requirement. Ensure the request is clear, feasibl
16
16
  8. Document: `autocode comment <key> "Qualification complete: <summary>"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Analyser et qualifier le besoin du ticket. S'assurer que la demande est claire,
16
16
  8. Documenter : `autocode comment <key> "Qualification terminee : <resume>"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -16,7 +16,7 @@ Qualified tickets ready to be worked on. All information needed is available.
16
16
  8. Document: `autocode comment <key> "Work completed"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Tickets qualifies prets a etre travailles. Toutes les informations necessaires s
16
16
  8. Documenter : `autocode comment <key> "Travail effectue"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -15,7 +15,7 @@ Re-run all automated E2E tests to ensure refactoring did not introduce regressio
15
15
  7. Document: `autocode comment <key> "Retest Cypress OK"`
16
16
  8. Advance: `autocode next <key>`
17
17
 
18
- > Or return: `autocode move <key> <column>`
18
+ > Or return: `autocode move <key> <targetColumn>`
19
19
 
20
20
  ## Validation Criteria
21
21
 
@@ -15,7 +15,7 @@ Re-executer tous les tests E2E automatises pour s'assurer que le refactoring n'a
15
15
  7. Documenter : `autocode comment <key> "Retest Cypress OK"`
16
16
  8. Avancer : `autocode next <key>`
17
17
 
18
- > Ou retour : `autocode move <key> <column>`
18
+ > Ou retour : `autocode move <key> <targetColumn>`
19
19
 
20
20
  ## Criteres de Validation
21
21
 
@@ -16,7 +16,7 @@ Post-refactoring validation with Playwright. Verify that refactoring did not bre
16
16
  8. Document: `autocode comment <key> "Retest Playwright OK"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Validation post-refactoring avec Playwright. Verifier que le refactoring n'a pas
16
16
  8. Documenter : `autocode comment <key> "Retest Playwright OK"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -17,7 +17,7 @@ Re-run all tests after bug fixes or corrections. Ensure no regressions were intr
17
17
  9. Document: `autocode comment <key> "Retest passed: all tests green"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Re-executer tous les tests apres corrections de bugs. S'assurer qu'aucune regres
17
17
  9. Documenter : `autocode comment <key> "Retest OK : tous les tests verts"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -17,7 +17,7 @@ Code quality audit. Verify conventions and best practices are followed.
17
17
  9. Document: `autocode comment <key> "Review best practices OK"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Audit qualite du code. Verifier que les conventions et bonnes pratiques sont res
17
17
  9. Documenter : `autocode comment <key> "Review best practices OK"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -17,7 +17,7 @@ Perform peer code review. Ensure code quality, readability, and adherence to pro
17
17
  9. Document: `autocode comment <key> "Code review passed: <summary>"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Effectuer une revue de code. Assurer la qualite du code, sa lisibilite et le res
17
17
  9. Documenter : `autocode comment <key> "Code review OK : <resume>"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -17,7 +17,7 @@ Verify code integrates harmoniously with existing project architecture.
17
17
  9. Document: `autocode comment <key> "Review consistency OK"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Verifier que le code s'integre harmonieusement avec l'architecture existante du
17
17
  9. Documenter : `autocode comment <key> "Review consistency OK"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -17,7 +17,7 @@ Identify and eliminate code duplication. Factor into reusable functions/composab
17
17
  9. Document: `autocode comment <key> "Review no duplication OK"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Identifier et eliminer la duplication de code. Factoriser en fonctions/composabl
17
17
  9. Documenter : `autocode comment <key> "Review no duplication OK"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -18,7 +18,7 @@ Security audit. Identify and fix potential vulnerabilities (OWASP Top 10).
18
18
  10. Document: `autocode comment <key> "Review security OK"`
19
19
  11. Advance: `autocode next <key>`
20
20
 
21
- > Or return: `autocode move <key> <column>`
21
+ > Or return: `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Validation Criteria
24
24
 
@@ -18,7 +18,7 @@ Audit securite. Identifier et corriger les vulnerabilites potentielles (OWASP To
18
18
  10. Documenter : `autocode comment <key> "Review security OK"`
19
19
  11. Avancer : `autocode next <key>`
20
20
 
21
- > Ou retour : `autocode move <key> <column>`
21
+ > Ou retour : `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Criteres de Validation
24
24
 
@@ -16,7 +16,7 @@ Write detailed technical specifications for the ticket. Define the implementatio
16
16
  8. Document: `autocode comment <key> "Specification complete: <technical approach>"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Rediger les specifications techniques detaillees pour le ticket. Definir clairem
16
16
  8. Documenter : `autocode comment <key> "Specification terminee : <approche technique>"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -0,0 +1,31 @@
1
+ # Splitter
2
+
3
+ ## Role
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.
6
+
7
+ ## Actions
8
+
9
+ 1. Analyze the requirement to identify distinct functional components
10
+ 2. Identify natural boundaries between features, layers, or responsibilities
11
+ 3. Define clear acceptance criteria for each sub-ticket
12
+ 4. Ensure each split ticket is independently testable and deployable
13
+ 5. Create sub-tickets: `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
14
+ 6. Verify no functionality has been forgotten or duplicated across tickets
15
+ 7. Create an integration ticket that references all sub-tickets to validate cohesion
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> "[summary]"`
18
+ 10. Advance: `autocode next <key>`
19
+
20
+ > Or return: `autocode move <key> <targetColumn>`
21
+
22
+ ## Validation Criteria
23
+
24
+ - [ ] All sub-tickets are atomic and independently implementable
25
+ - [ ] No functionality from the original requirement has been forgotten
26
+ - [ ] An integration ticket exists to verify all parts work together cohesively
27
+ - [ ] Each sub-ticket has clear acceptance criteria
28
+
29
+ ## Notes
30
+
31
+ Smaller tickets reduce cognitive load and merge conflicts. Always create an integration ticket to ensure the split parts form a coherent whole.
@@ -0,0 +1,33 @@
1
+ # Splitter
2
+
3
+ ## Rôle
4
+
5
+ Découper les besoins trop importants en tickets plus petits et ciblés pour limiter la responsabilité et améliorer la
6
+ traçabilité. Créer des tâches atomiques pouvant être implémentées et vérifiées indépendamment.
7
+
8
+ ## Actions
9
+
10
+ 1. Analyser le besoin pour identifier les composants fonctionnels distincts
11
+ 2. Identifier les frontières naturelles entre fonctionnalités, couches ou responsabilités
12
+ 3. Définir des critères d'acceptation clairs pour chaque sous-ticket
13
+ 4. S'assurer que chaque ticket découpé est testable et déployable indépendamment
14
+ 5. Créer les sous-tickets : `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
15
+ 6. Vérifier qu'aucune fonctionnalité n'a été oubliée ou dupliquée entre les tickets
16
+ 7. Créer un ticket d'intégration qui référence tous les sous-tickets pour valider la cohésion
17
+ 8. Si travail hors scope détecté : `autocode new "<title>" "<description>" -p P2 -l "<labels>" -a "<criteria>" -s patch`
18
+ 9. Documenter : `autocode comment <key> "[résumé]"`
19
+ 10. Avancer : `autocode next <key>`
20
+
21
+ > Ou retourner : `autocode move <key> <targetColumn>`
22
+
23
+ ## Critères de Validation
24
+
25
+ - [ ] Tous les sous-tickets sont atomiques et implémentables indépendamment
26
+ - [ ] Aucune fonctionnalité du besoin original n'a été oubliée
27
+ - [ ] Un ticket d'intégration existe pour vérifier que toutes les parties fonctionnent ensemble
28
+ - [ ] Chaque sous-ticket possède des critères d'acceptation clairs
29
+
30
+ ## Notes
31
+
32
+ Les tickets plus petits réduisent la charge cognitive et les conflits de merge. Toujours créer un ticket d'intégration
33
+ pour s'assurer que les parties découpées forment un tout cohérent.
@@ -17,7 +17,7 @@ Write AND execute E2E automated tests to prevent regressions.
17
17
  9. Document: `autocode comment <key> "Cypress tests OK"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Rediger ET executer des tests E2E automatises pour prevenir les regressions.
17
17
  9. Documenter : `autocode comment <key> "Tests Cypress OK"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23
 
@@ -18,7 +18,7 @@ Run integration tests to verify components work correctly together. Ensure syste
18
18
  10. Document: `autocode comment <key> "Integration tests passed"`
19
19
  11. Advance: `autocode next <key>`
20
20
 
21
- > Or return: `autocode move <key> <column>`
21
+ > Or return: `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Validation Criteria
24
24
 
@@ -18,7 +18,7 @@ Executer les tests d'integration pour verifier que les composants fonctionnent c
18
18
  10. Documenter : `autocode comment <key> "Tests d'integration OK"`
19
19
  11. Avancer : `autocode next <key>`
20
20
 
21
- > Ou retour : `autocode move <key> <column>`
21
+ > Ou retour : `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Criteres de Validation
24
24
 
@@ -16,7 +16,7 @@ Live functional testing with Playwright. Manually verify feature works by naviga
16
16
  8. Document: `autocode comment <key> "Playwright tests OK"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Test fonctionnel live avec Playwright. Verifier manuellement que la feature fonc
16
16
  8. Documenter : `autocode comment <key> "Tests Playwright OK"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -18,7 +18,7 @@ Write and run unit tests for the implemented feature. Ensure code coverage and r
18
18
  10. Document: `autocode comment <key> "Unit tests passed: <coverage>%"`
19
19
  11. Advance: `autocode next <key>`
20
20
 
21
- > Or return: `autocode move <key> <column>`
21
+ > Or return: `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Validation Criteria
24
24
 
@@ -18,7 +18,7 @@ Ecrire et executer les tests unitaires pour la fonctionnalite implementee. Assur
18
18
  10. Documenter : `autocode comment <key> "Tests unitaires OK : <couverture>%"`
19
19
  11. Avancer : `autocode next <key>`
20
20
 
21
- > Ou retour : `autocode move <key> <column>`
21
+ > Ou retour : `autocode move <key> <targetColumn>`
22
22
 
23
23
  ## Criteres de Validation
24
24
 
@@ -16,7 +16,7 @@ Document changes for future developers and users.
16
16
  8. Document: `autocode comment <key> "Documentation updated"`
17
17
  9. Advance: `autocode next <key>`
18
18
 
19
- > Or return: `autocode move <key> <column>`
19
+ > Or return: `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Validation Criteria
22
22
 
@@ -16,7 +16,7 @@ Documenter les changements pour les futurs developpeurs et utilisateurs.
16
16
  8. Documenter : `autocode comment <key> "Documentation mise a jour"`
17
17
  9. Avancer : `autocode next <key>`
18
18
 
19
- > Ou retour : `autocode move <key> <column>`
19
+ > Ou retour : `autocode move <key> <targetColumn>`
20
20
 
21
21
  ## Criteres de Validation
22
22
 
@@ -17,7 +17,7 @@ Final validation: verify everything works in staging AND git repo is clean.
17
17
  9. Document: `autocode comment <key> "Staging validation OK"`
18
18
  10. Advance: `autocode next <key>`
19
19
 
20
- > Or return: `autocode move <key> <column>`
20
+ > Or return: `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Validation Criteria
23
23
 
@@ -17,7 +17,7 @@ Validation finale : verifier que tout fonctionne en staging ET que le repo git e
17
17
  9. Documenter : `autocode comment <key> "Validation staging OK"`
18
18
  10. Avancer : `autocode next <key>`
19
19
 
20
- > Ou retour : `autocode move <key> <column>`
20
+ > Ou retour : `autocode move <key> <targetColumn>`
21
21
 
22
22
  ## Criteres de Validation
23
23