awc-zns-mtd 2.0.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.
Files changed (130) hide show
  1. package/.editorconfig +21 -0
  2. package/CHANGELOG.md +210 -0
  3. package/LICENSE +21 -0
  4. package/README.md +439 -0
  5. package/docs/examples/example-feature.md +94 -0
  6. package/docs/getting-started/quick-start.md +85 -0
  7. package/docs/guides/agent-guide.md +56 -0
  8. package/docs/guides/workflow-guide.md +49 -0
  9. package/docs/reference/commands-reference.md +93 -0
  10. package/docs/reference/methodology-design.md +193 -0
  11. package/package.json +66 -0
  12. package/src/modules/awc-zns-mtd/agents/architect-senior.agent.yaml +159 -0
  13. package/src/modules/awc-zns-mtd/agents/developer-pro.agent.yaml +197 -0
  14. package/src/modules/awc-zns-mtd/agents/qa-specialist.agent.yaml +225 -0
  15. package/src/modules/awc-zns-mtd/agents/zen-master.agent.yaml +142 -0
  16. package/src/modules/awc-zns-mtd/config.yaml +412 -0
  17. package/src/modules/awc-zns-mtd/templates/PRD-template.md +490 -0
  18. package/src/modules/awc-zns-mtd/templates/arquitectura-conceptual.md +431 -0
  19. package/src/modules/awc-zns-mtd/templates/cotizacion.md +333 -0
  20. package/src/modules/awc-zns-mtd/templates/discovery-notes.md +205 -0
  21. package/src/modules/awc-zns-mtd/templates/kickoff-agenda.md +297 -0
  22. package/src/modules/awc-zns-mtd/templates/oferta-comercial.md +279 -0
  23. package/src/modules/awc-zns-mtd/templates/viabilidad.md +281 -0
  24. package/src/modules/awc-zns-mtd/workflows/analisis-flow/workflow.yaml +500 -0
  25. package/src/modules/awc-zns-mtd/workflows/comercial-flow/workflow.yaml +444 -0
  26. package/src/modules/awc-zns-mtd/workflows/deployment-flow/workflow.yaml +395 -0
  27. package/src/modules/awc-zns-mtd/workflows/development-flow/workflow.yaml +321 -0
  28. package/src/modules/awc-zns-mtd/workflows/enterprise-flow/workflow.yaml +276 -0
  29. package/src/modules/awc-zns-mtd/workflows/inception-flow/workflow.yaml +588 -0
  30. package/src/modules/awc-zns-mtd/workflows/planificacion-flow/workflow.yaml +526 -0
  31. package/src/modules/awc-zns-mtd/workflows/qa-flow/workflow.yaml +291 -0
  32. package/src/modules/awc-zns-mtd/workflows/quick-flow/workflow.yaml +121 -0
  33. package/src/modules/awc-zns-mtd/workflows/standard-flow/workflow.yaml +181 -0
  34. package/src/modules/awc-zns-mtd/workflows/support-flow/workflow.yaml +438 -0
  35. package/src/modules/custom-agents/ARCHITECTURE.md +566 -0
  36. package/src/modules/custom-agents/CONVERSION_SUMMARY.md +315 -0
  37. package/src/modules/custom-agents/FINAL_SUMMARY.md +296 -0
  38. package/src/modules/custom-agents/README.md +628 -0
  39. package/src/modules/custom-agents/USAGE_GUIDE.md +306 -0
  40. package/src/modules/custom-agents/agents/aspnet-core-architect-senior.agent.yaml +368 -0
  41. package/src/modules/custom-agents/agents/backend-audit-master.agent.yaml +376 -0
  42. package/src/modules/custom-agents/agents/backend-java-senior.agent.yaml +606 -0
  43. package/src/modules/custom-agents/agents/c4-diagram-specialist.agent.yaml +345 -0
  44. package/src/modules/custom-agents/agents/consolidation-context-master.agent.yaml +318 -0
  45. package/src/modules/custom-agents/agents/cost-estimator-senior.agent.yaml +369 -0
  46. package/src/modules/custom-agents/agents/database-engineer-senior.agent.yaml +331 -0
  47. package/src/modules/custom-agents/agents/devsecops-onpremise-senior.agent.yaml +370 -0
  48. package/src/modules/custom-agents/agents/document-export-specialist.agent.yaml +355 -0
  49. package/src/modules/custom-agents/agents/dotnet-core-senior.agent.yaml +258 -0
  50. package/src/modules/custom-agents/agents/frontend-audit-master.agent.yaml +356 -0
  51. package/src/modules/custom-agents/agents/frontend-react-senior.agent.yaml +470 -0
  52. package/src/modules/custom-agents/agents/obsolescence-analyst-senior.agent.yaml +339 -0
  53. package/src/modules/custom-agents/agents/php-senior.agent.yaml +277 -0
  54. package/src/modules/custom-agents/agents/product-owner-business-analyst.agent.yaml +315 -0
  55. package/src/modules/custom-agents/agents/prompt-architect-senior.agent.yaml +398 -0
  56. package/src/modules/custom-agents/agents/prompt-engineer-senior.agent.yaml +431 -0
  57. package/src/modules/custom-agents/agents/python-senior.agent.yaml +347 -0
  58. package/src/modules/custom-agents/agents/react-native-senior.agent.yaml +292 -0
  59. package/src/modules/custom-agents/agents/solution-architect-senior.agent.yaml +496 -0
  60. package/src/modules/custom-agents/agents/technical-stories-architect.agent.yaml +402 -0
  61. package/src/modules/custom-agents/agents/validation-quality-master.agent.yaml +377 -0
  62. package/src/modules/custom-agents/cli/.awc-agents/aspnet-core-architect-senior.agent.yaml +368 -0
  63. package/src/modules/custom-agents/cli/.awc-agents/backend-audit-master.agent.yaml +376 -0
  64. package/src/modules/custom-agents/cli/.awc-agents/backend-java-senior.agent.yaml +606 -0
  65. package/src/modules/custom-agents/cli/.awc-agents/c4-diagram-specialist.agent.yaml +345 -0
  66. package/src/modules/custom-agents/cli/.awc-agents/consolidation-context-master.agent.yaml +318 -0
  67. package/src/modules/custom-agents/cli/.awc-agents/cost-estimator-senior.agent.yaml +369 -0
  68. package/src/modules/custom-agents/cli/.awc-agents/database-engineer-senior.agent.yaml +331 -0
  69. package/src/modules/custom-agents/cli/.awc-agents/devsecops-onpremise-senior.agent.yaml +370 -0
  70. package/src/modules/custom-agents/cli/.awc-agents/document-export-specialist.agent.yaml +355 -0
  71. package/src/modules/custom-agents/cli/.awc-agents/dotnet-core-senior.agent.yaml +258 -0
  72. package/src/modules/custom-agents/cli/.awc-agents/frontend-audit-master.agent.yaml +356 -0
  73. package/src/modules/custom-agents/cli/.awc-agents/frontend-react-senior.agent.yaml +470 -0
  74. package/src/modules/custom-agents/cli/.awc-agents/obsolescence-analyst-senior.agent.yaml +339 -0
  75. package/src/modules/custom-agents/cli/.awc-agents/php-senior.agent.yaml +277 -0
  76. package/src/modules/custom-agents/cli/.awc-agents/product-owner-business-analyst.agent.yaml +315 -0
  77. package/src/modules/custom-agents/cli/.awc-agents/prompt-architect-senior.agent.yaml +398 -0
  78. package/src/modules/custom-agents/cli/.awc-agents/prompt-engineer-senior.agent.yaml +431 -0
  79. package/src/modules/custom-agents/cli/.awc-agents/python-senior.agent.yaml +347 -0
  80. package/src/modules/custom-agents/cli/.awc-agents/react-native-senior.agent.yaml +292 -0
  81. package/src/modules/custom-agents/cli/.awc-agents/solution-architect-senior.agent.yaml +496 -0
  82. package/src/modules/custom-agents/cli/.awc-agents/technical-stories-architect.agent.yaml +402 -0
  83. package/src/modules/custom-agents/cli/.awc-agents/validation-quality-master.agent.yaml +377 -0
  84. package/src/modules/custom-agents/cli/CHANGELOG.md +77 -0
  85. package/src/modules/custom-agents/cli/LICENSE +21 -0
  86. package/src/modules/custom-agents/cli/PUBLISH.md +292 -0
  87. package/src/modules/custom-agents/cli/README.md +333 -0
  88. package/src/modules/custom-agents/cli/agents-data/aspnet-core-architect-senior.agent.yaml +368 -0
  89. package/src/modules/custom-agents/cli/agents-data/backend-audit-master.agent.yaml +376 -0
  90. package/src/modules/custom-agents/cli/agents-data/backend-java-senior.agent.yaml +606 -0
  91. package/src/modules/custom-agents/cli/agents-data/c4-diagram-specialist.agent.yaml +345 -0
  92. package/src/modules/custom-agents/cli/agents-data/consolidation-context-master.agent.yaml +318 -0
  93. package/src/modules/custom-agents/cli/agents-data/cost-estimator-senior.agent.yaml +369 -0
  94. package/src/modules/custom-agents/cli/agents-data/database-engineer-senior.agent.yaml +331 -0
  95. package/src/modules/custom-agents/cli/agents-data/devsecops-onpremise-senior.agent.yaml +370 -0
  96. package/src/modules/custom-agents/cli/agents-data/document-export-specialist.agent.yaml +355 -0
  97. package/src/modules/custom-agents/cli/agents-data/dotnet-core-senior.agent.yaml +258 -0
  98. package/src/modules/custom-agents/cli/agents-data/frontend-audit-master.agent.yaml +356 -0
  99. package/src/modules/custom-agents/cli/agents-data/frontend-react-senior.agent.yaml +470 -0
  100. package/src/modules/custom-agents/cli/agents-data/obsolescence-analyst-senior.agent.yaml +339 -0
  101. package/src/modules/custom-agents/cli/agents-data/php-senior.agent.yaml +277 -0
  102. package/src/modules/custom-agents/cli/agents-data/product-owner-business-analyst.agent.yaml +315 -0
  103. package/src/modules/custom-agents/cli/agents-data/prompt-architect-senior.agent.yaml +398 -0
  104. package/src/modules/custom-agents/cli/agents-data/prompt-engineer-senior.agent.yaml +431 -0
  105. package/src/modules/custom-agents/cli/agents-data/python-senior.agent.yaml +347 -0
  106. package/src/modules/custom-agents/cli/agents-data/react-native-senior.agent.yaml +292 -0
  107. package/src/modules/custom-agents/cli/agents-data/solution-architect-senior.agent.yaml +496 -0
  108. package/src/modules/custom-agents/cli/agents-data/technical-stories-architect.agent.yaml +402 -0
  109. package/src/modules/custom-agents/cli/agents-data/validation-quality-master.agent.yaml +377 -0
  110. package/src/modules/custom-agents/cli/awc-agent.js +372 -0
  111. package/src/modules/custom-agents/cli/config.yaml +478 -0
  112. package/src/modules/custom-agents/cli/package.json +63 -0
  113. package/src/modules/custom-agents/config.yaml +478 -0
  114. package/templates/.github/copilot-instructions.md +120 -0
  115. package/tools/cli/awc-cli.js +137 -0
  116. package/tools/cli/commands/config.js +148 -0
  117. package/tools/cli/commands/init.js +147 -0
  118. package/tools/cli/commands/install.js +188 -0
  119. package/tools/cli/commands/status.js +128 -0
  120. package/tools/cli/commands/validate.js +147 -0
  121. package/tools/cli/commands/version.js +49 -0
  122. package/tools/cli/utils/console-logger.js +153 -0
  123. package/tools/cli/utils/file-utils.js +178 -0
  124. package/tools/cli/utils/project-analyzer.js +280 -0
  125. package/tools/cli/utils/version.js +126 -0
  126. package/tools/version/README.md +272 -0
  127. package/tools/version/changelog-manager.js +288 -0
  128. package/tools/version/update-checker.js +234 -0
  129. package/tools/version/version-bump.js +90 -0
  130. package/tools/version/version-manager.js +224 -0
@@ -0,0 +1,291 @@
1
+ workflow:
2
+ name: "QA Flow - Aseguramiento de Calidad"
3
+ id: "qa-flow"
4
+ version: "1.0.0"
5
+ description: "Workflow de testing y aseguramiento de calidad integral"
6
+
7
+ metadata:
8
+ duration: "Continuo durante desarrollo + 1 semana intensiva pre-release"
9
+ complexity: "high"
10
+ team_size: "1-3 QA Engineers"
11
+
12
+ phases:
13
+ - id: "test-planning"
14
+ name: "Test Planning"
15
+
16
+ - id: "automated-testing"
17
+ name: "Automated Testing"
18
+
19
+ - id: "manual-testing"
20
+ name: "Manual & Exploratory Testing"
21
+
22
+ - id: "uat"
23
+ name: "User Acceptance Testing"
24
+
25
+ agents:
26
+ primary:
27
+ - "qa-test-automation-engineer"
28
+ - "security-specialist"
29
+ - "performance-engineer"
30
+
31
+ steps:
32
+ - id: "qa-01"
33
+ name: "Crear Test Plan"
34
+ phase: "test-planning"
35
+ agent: "qa-test-automation-engineer"
36
+ duration: "2-4 horas"
37
+ when: "Inicio de sprint o inicio de release"
38
+
39
+ actions:
40
+ - type: "analyze"
41
+ description: "Analizar user stories del sprint"
42
+
43
+ - type: "design"
44
+ description: "Diseñar casos de prueba"
45
+ coverage:
46
+ - "Happy paths"
47
+ - "Edge cases"
48
+ - "Error scenarios"
49
+
50
+ - type: "prioritize"
51
+ description: "Priorizar testing por criticidad"
52
+
53
+ deliverables:
54
+ - "Test Plan document"
55
+ - "Test cases en test management tool"
56
+
57
+ - id: "qa-02"
58
+ name: "Unit Testing (Developers)"
59
+ phase: "automated-testing"
60
+ agent: "senior-backend-developer"
61
+ duration: "Continuo durante desarrollo"
62
+
63
+ actions:
64
+ - type: "write"
65
+ description: "Escribir unit tests (TDD)"
66
+ target: ">80% code coverage"
67
+
68
+ - type: "run"
69
+ description: "Ejecutar tests en cada commit (CI/CD)"
70
+
71
+ deliverables:
72
+ - "Unit tests con >80% coverage"
73
+
74
+ - id: "qa-03"
75
+ name: "Integration Testing"
76
+ phase: "automated-testing"
77
+ agent: "qa-test-automation-engineer"
78
+ duration: "2-4 horas por feature"
79
+
80
+ actions:
81
+ - type: "write"
82
+ description: "Escribir integration tests"
83
+ tools:
84
+ - "Postman/Newman (API testing)"
85
+ - "Jest/JUnit (integration tests)"
86
+
87
+ - type: "automate"
88
+ description: "Integrar tests al CI/CD pipeline"
89
+
90
+ deliverables:
91
+ - "Integration test suite"
92
+
93
+ - id: "qa-04"
94
+ name: "End-to-End Testing"
95
+ phase: "automated-testing"
96
+ agent: "qa-test-automation-engineer"
97
+ duration: "1-2 días por flujo crítico"
98
+
99
+ actions:
100
+ - type: "write"
101
+ description: "Escribir E2E tests para flujos críticos"
102
+ tools:
103
+ - "Cypress"
104
+ - "Playwright"
105
+ - "Selenium"
106
+
107
+ - type: "maintain"
108
+ description: "Mantener tests estables (evitar flakiness)"
109
+
110
+ deliverables:
111
+ - "E2E test suite para flujos críticos"
112
+
113
+ - id: "qa-05"
114
+ name: "Performance Testing"
115
+ phase: "automated-testing"
116
+ agent: "performance-engineer"
117
+ duration: "1-2 días"
118
+ when: "Pre-release o cuando hay cambios de performance"
119
+
120
+ actions:
121
+ - type: "test"
122
+ description: "Ejecutar load testing"
123
+ tools: "JMeter, Gatling, K6"
124
+ scenarios:
125
+ - "Normal load (usuarios promedio)"
126
+ - "Peak load (tráfico pico)"
127
+ - "Stress test (hasta breaking point)"
128
+
129
+ - type: "analyze"
130
+ description: "Analizar resultados y bottlenecks"
131
+
132
+ deliverables:
133
+ - "Performance test report"
134
+
135
+ - id: "qa-06"
136
+ name: "Security Testing"
137
+ phase: "automated-testing"
138
+ agent: "security-specialist"
139
+ duration: "1 día"
140
+ when: "Pre-release"
141
+
142
+ actions:
143
+ - type: "scan"
144
+ description: "Ejecutar security scans"
145
+ tools:
146
+ - "OWASP ZAP"
147
+ - "Snyk"
148
+ - "Burp Suite"
149
+
150
+ - type: "audit"
151
+ description: "Revisar OWASP Top 10"
152
+
153
+ deliverables:
154
+ - "Security scan report"
155
+ - "Vulnerabilities list (priorizado por CVSS)"
156
+
157
+ - id: "qa-07"
158
+ name: "Exploratory Testing"
159
+ phase: "manual-testing"
160
+ agent: "qa-test-automation-engineer"
161
+ duration: "4-8 horas por sprint"
162
+
163
+ actions:
164
+ - type: "explore"
165
+ description: "Testing exploratorio sin script"
166
+ approach: "Thinking like a user, intentar romper el sistema"
167
+
168
+ - type: "document"
169
+ description: "Documentar bugs encontrados"
170
+
171
+ deliverables:
172
+ - "Bug reports en Jira"
173
+
174
+ - id: "qa-08"
175
+ name: "Regression Testing"
176
+ phase: "manual-testing"
177
+ agent: "qa-test-automation-engineer"
178
+ duration: "Automático (CI/CD)"
179
+ when: "Cada deployment"
180
+
181
+ actions:
182
+ - type: "run"
183
+ description: "Ejecutar regression test suite completa"
184
+
185
+ - type: "verify"
186
+ description: "Verificar que no se rompió nada existente"
187
+
188
+ deliverables:
189
+ - "Regression test results"
190
+
191
+ - id: "qa-09"
192
+ name: "User Acceptance Testing (UAT)"
193
+ phase: "uat"
194
+ agent: "product-owner-business-analyst"
195
+ duration: "3-5 días"
196
+ when: "Pre-release"
197
+ attendees: "Stakeholders + usuarios finales"
198
+
199
+ actions:
200
+ - type: "prepare"
201
+ description: "Preparar ambiente de UAT"
202
+
203
+ - type: "test"
204
+ description: "Usuarios finales prueban features"
205
+
206
+ - type: "collect"
207
+ description: "Recolectar feedback y bugs"
208
+
209
+ - type: "approve"
210
+ description: "Stakeholders aprueban para producción"
211
+
212
+ deliverables:
213
+ - "UAT sign-off document"
214
+ - "Lista de bugs encontrados en UAT"
215
+
216
+ - id: "qa-10"
217
+ name: "Test Report & Go/No-Go Decision"
218
+ phase: "uat"
219
+ agent: "qa-test-automation-engineer"
220
+ duration: "2 horas"
221
+
222
+ actions:
223
+ - type: "compile"
224
+ description: "Compilar resultados de todos los tests"
225
+ metrics:
226
+ - "Test pass rate"
227
+ - "Critical bugs open"
228
+ - "Code coverage"
229
+ - "Performance benchmarks"
230
+
231
+ - type: "decide"
232
+ description: "Go/No-Go decision para producción"
233
+ criteria:
234
+ - "0 critical bugs"
235
+ - "< 5 high priority bugs"
236
+ - "Test pass rate > 95%"
237
+
238
+ deliverables:
239
+ - "Final QA Report"
240
+ - "Go/No-Go recommendation"
241
+
242
+ deliverables:
243
+ - "Test Plan"
244
+ - "Automated test suites (unit, integration, E2E)"
245
+ - "Performance test results"
246
+ - "Security scan report"
247
+ - "Bug reports"
248
+ - "Final QA Report"
249
+ - "UAT sign-off"
250
+
251
+ metrics:
252
+ - name: "Test Coverage"
253
+ target: "> 80%"
254
+
255
+ - name: "Test Pass Rate"
256
+ target: "> 95%"
257
+
258
+ - name: "Bug Detection Rate"
259
+ description: "% de bugs encontrados en QA vs producción"
260
+ target: "> 90% (pocos bugs escapan a producción)"
261
+
262
+ - name: "Regression Test Execution Time"
263
+ target: "< 30 minutos"
264
+
265
+ best_practices:
266
+ - "Shift-left testing: involucrar QA desde el inicio"
267
+ - "Automatizar todo lo que sea repetible"
268
+ - "Mantener tests estables y rápidos"
269
+ - "Testing en pirámide: muchos unit, algunos integration, pocos E2E"
270
+ - "Usar feature flags para testing en producción"
271
+
272
+ tools:
273
+ unit_testing:
274
+ - "Jest (JavaScript)"
275
+ - "JUnit (Java)"
276
+ - "PyTest (Python)"
277
+
278
+ e2e_testing:
279
+ - "Cypress"
280
+ - "Playwright"
281
+ - "Selenium"
282
+
283
+ performance:
284
+ - "JMeter"
285
+ - "Gatling"
286
+ - "K6"
287
+
288
+ security:
289
+ - "OWASP ZAP"
290
+ - "Snyk"
291
+ - "Burp Suite"
@@ -0,0 +1,121 @@
1
+ # Quick Flow - AWC ZNS-MTD
2
+ # Para bugs, hotfixes y cambios menores (< 10 min)
3
+
4
+ workflow:
5
+ metadata:
6
+ name: "Quick Flow - Cambios Rápidos ZNS"
7
+ id: "quick-flow"
8
+ version: "1.0.0"
9
+ duration: "< 10 minutos"
10
+ use_case: "Bugs, hotfixes, cambios menores que no requieren diseño arquitectónico"
11
+ complexity: "low"
12
+
13
+ description: |
14
+ Workflow optimizado para cambios rápidos que mantienen estándares ZNS:
15
+ - Bug fixes urgentes
16
+ - Cambios de configuración
17
+ - Ajustes de UI menores
18
+ - Correcciones de typos/documentación
19
+
20
+ Mantiene calidad con: spec técnica mínima + tests + code review
21
+
22
+ steps:
23
+ - id: "1-quick-init"
24
+ name: "Inicialización Rápida"
25
+ agent: "zen-master"
26
+ duration: "1 min"
27
+ actions:
28
+ - "Confirmar que el cambio es realmente 'quick' (< 10 min de implementación)"
29
+ - "Si es más complejo, recomendar Standard Flow o Enterprise Flow"
30
+ - "Verificar que no impacta arquitectura core"
31
+
32
+ outputs:
33
+ - "Confirmación de scope (simple/complejo)"
34
+ - "Prioridad del cambio (P0-P4)"
35
+
36
+ zen_principle: "Claridad en el scope - no subestimar complejidad"
37
+
38
+ - id: "2-quick-spec"
39
+ name: "Especificación Mínima"
40
+ agent: "developer-pro"
41
+ duration: "2 min"
42
+ actions:
43
+ - "Describir el cambio en 2-3 líneas"
44
+ - "Identificar archivos a modificar"
45
+ - "Definir criterio de aceptación simple"
46
+ - "Identificar riesgos potenciales"
47
+
48
+ outputs:
49
+ - "Quick spec (qué, dónde, criterio)"
50
+ - "Archivos afectados"
51
+ - "Riesgos identificados"
52
+
53
+ neutro_principle: "Evaluar riesgos objetivamente, incluso en cambios pequeños"
54
+
55
+ - id: "3-quick-implement"
56
+ name: "Implementación Ágil"
57
+ agent: "developer-pro"
58
+ duration: "5 min"
59
+ actions:
60
+ - "Implementar el cambio siguiendo coding standards"
61
+ - "Escribir test mínimo (si aplica)"
62
+ - "Verificar que no rompe tests existentes"
63
+ - "Commit con mensaje descriptivo"
64
+
65
+ outputs:
66
+ - "Código implementado"
67
+ - "Tests actualizados/creados"
68
+ - "Commit descriptivo"
69
+
70
+ sistematico_principle: "Tests y commits claros, incluso en cambios rápidos"
71
+
72
+ - id: "4-quick-test"
73
+ name: "Validación Rápida"
74
+ agent: "qa-specialist"
75
+ duration: "2 min"
76
+ actions:
77
+ - "Ejecutar tests afectados"
78
+ - "Verificar criterio de aceptación"
79
+ - "Smoke test manual si es UI"
80
+ - "Aprobar para merge si todo OK"
81
+
82
+ outputs:
83
+ - "Resultado de tests (pass/fail)"
84
+ - "QA sign-off"
85
+
86
+ zen_principle: "Testing enfocado - no sobre-testing en cambios simples"
87
+
88
+ decision_gates:
89
+ - gate: "complexity_check"
90
+ after_step: "1-quick-init"
91
+ condition: "Si el cambio requiere > 10 min o afecta arquitectura"
92
+ action: "STOP - Recomendar Standard Flow o Enterprise Flow"
93
+
94
+ - gate: "tests_pass"
95
+ after_step: "4-quick-test"
96
+ condition: "Si algún test falla"
97
+ action: "RETURN to step 3 - Fix implementation"
98
+
99
+ quality_gates:
100
+ - "Al menos 1 test de regresión (si código funcional)"
101
+ - "Code review rápido (< 5 min) por peer"
102
+ - "No introducir deuda técnica"
103
+ - "Commit message descriptivo"
104
+
105
+ success_criteria:
106
+ - "Cambio implementado en < 10 minutos"
107
+ - "Tests pasan"
108
+ - "No degradación de calidad"
109
+ - "Documentación inline si es necesario"
110
+
111
+ artifacts:
112
+ - "Quick spec (1 párrafo)"
113
+ - "Código modificado"
114
+ - "Tests actualizados"
115
+ - "Commit descriptivo"
116
+
117
+ anti_patterns_to_avoid:
118
+ - "❌ Saltarse tests porque 'es rápido'"
119
+ - "❌ No considerar efectos secundarios"
120
+ - "❌ Commits sin mensaje claro"
121
+ - "❌ Subestimar complejidad real"
@@ -0,0 +1,181 @@
1
+ # Standard Flow - AWC ZNS-MTD
2
+ # Para features medias y refactorizaciones (< 30 min)
3
+
4
+ workflow:
5
+ metadata:
6
+ name: "Standard Flow - Desarrollo Estándar ZNS"
7
+ id: "standard-flow"
8
+ version: "1.0.0"
9
+ duration: "< 30 minutos"
10
+ use_case: "Features medias, refactorizaciones, mejoras que requieren diseño técnico"
11
+ complexity: "medium"
12
+
13
+ description: |
14
+ Workflow balanceado para desarrollo iterativo con calidad:
15
+ - Features de complejidad media
16
+ - Refactorizaciones significativas
17
+ - Nuevos endpoints/componentes
18
+ - Mejoras de performance
19
+
20
+ Incluye: Análisis → Planificación → Arquitectura → Implementación → Validación
21
+
22
+ phases:
23
+ # FASE 1: ANÁLISIS ZEN
24
+ - phase: "analisis"
25
+ steps:
26
+ - id: "1-analyze"
27
+ name: "Análisis de Requerimientos"
28
+ agent: "zen-master"
29
+ duration: "3 min"
30
+ actions:
31
+ - "Entender el problema real (no solo síntomas)"
32
+ - "Identificar stakeholders y restricciones"
33
+ - "Clarificar objetivos y criterios de éxito"
34
+ - "Detectar complejidad real del cambio"
35
+
36
+ outputs:
37
+ - "Problema clarificado"
38
+ - "Objetivos SMART"
39
+ - "Stakeholders identificados"
40
+
41
+ zen_principle: "Claridad en el problema antes de saltar a soluciones"
42
+
43
+ # FASE 2: PLANIFICACIÓN NEUTRAL
44
+ - phase: "planificacion"
45
+ steps:
46
+ - id: "2-plan"
47
+ name: "Planificación Técnica"
48
+ agent: "developer-pro"
49
+ duration: "5 min"
50
+ actions:
51
+ - "Crear tech spec concisa pero completa"
52
+ - "Identificar componentes a modificar/crear"
53
+ - "Definir interfaz pública (API, props, etc.)"
54
+ - "Estimar esfuerzo real"
55
+
56
+ outputs:
57
+ - "Tech spec (500-1000 palabras)"
58
+ - "Componentes afectados"
59
+ - "Interfaces definidas"
60
+ - "Estimación de esfuerzo"
61
+
62
+ neutro_principle: "Evaluación objetiva de complejidad y esfuerzo"
63
+
64
+ # FASE 3: ARQUITECTURA SISTEMÁTICA
65
+ - phase: "arquitectura"
66
+ steps:
67
+ - id: "3-architecture"
68
+ name: "Diseño de Solución"
69
+ agent: "architect-senior"
70
+ duration: "5 min"
71
+ actions:
72
+ - "Seleccionar patrones apropiados"
73
+ - "Diseñar estructura de datos/clases"
74
+ - "Identificar dependencias"
75
+ - "Evaluar alternativas técnicas"
76
+ - "Documentar decisiones (mini-ADR si aplica)"
77
+
78
+ outputs:
79
+ - "Diseño de solución"
80
+ - "Patrones seleccionados"
81
+ - "Estructura de componentes"
82
+ - "Decisiones documentadas"
83
+
84
+ sistematico_principle: "Diseño documentado antes de codificar"
85
+
86
+ # FASE 4: IMPLEMENTACIÓN ITERATIVA
87
+ - phase: "implementacion"
88
+ steps:
89
+ - id: "4-implement"
90
+ name: "Desarrollo con TDD"
91
+ agent: "developer-pro"
92
+ duration: "12 min"
93
+ actions:
94
+ - "Escribir tests primero (TDD) o test-after si TDD no aplica"
95
+ - "Implementar siguiendo diseño"
96
+ - "Refactorizar manteniendo tests verdes"
97
+ - "Commits atómicos con mensajes claros"
98
+
99
+ outputs:
100
+ - "Código implementado"
101
+ - "Tests (unit + integration)"
102
+ - "Commits atómicos"
103
+
104
+ zen_principle: "Implementación simple y directa, sin clever tricks"
105
+
106
+ # FASE 5: VALIDACIÓN Y MEJORA
107
+ - phase: "validacion"
108
+ steps:
109
+ - id: "5-validate"
110
+ name: "Validación Integral"
111
+ agent: "qa-specialist"
112
+ duration: "5 min"
113
+ actions:
114
+ - "Ejecutar suite completa de tests"
115
+ - "Verificar cobertura >= 80%"
116
+ - "Code review con checklist ZNS"
117
+ - "Validar criterios de aceptación"
118
+ - "Performance check básico"
119
+
120
+ outputs:
121
+ - "Tests passing (100%)"
122
+ - "Cobertura >= 80%"
123
+ - "Code review aprobado"
124
+ - "QA sign-off"
125
+
126
+ neutro_principle: "Validación objetiva con métricas medibles"
127
+
128
+ decision_gates:
129
+ - gate: "complexity_escalation"
130
+ after_step: "1-analyze"
131
+ condition: "Si la complejidad es alta o afecta múltiples sistemas"
132
+ action: "ESCALATE to Enterprise Flow"
133
+
134
+ - gate: "design_approval"
135
+ after_step: "3-architecture"
136
+ condition: "Si hay decisiones arquitectónicas significativas"
137
+ action: "REVIEW with team before proceeding"
138
+
139
+ - gate: "quality_check"
140
+ after_step: "5-validate"
141
+ condition: "Si cobertura < 80% o tests fallan"
142
+ action: "RETURN to step 4 - Fix implementation"
143
+
144
+ quality_gates:
145
+ - "Tech spec revisada y aprobada"
146
+ - "Cobertura de tests >= 80%"
147
+ - "Code review aprobado por peer senior"
148
+ - "Performance no degradada"
149
+ - "No deuda técnica introducida"
150
+ - "Documentación inline para lógica compleja"
151
+
152
+ success_criteria:
153
+ - "Feature completamente funcional"
154
+ - "Todos los tests pasan"
155
+ - "Cobertura >= 80%"
156
+ - "Code review aprobado"
157
+ - "Documentación actualizada"
158
+ - "Tiempo total < 30 minutos"
159
+
160
+ artifacts:
161
+ - "Tech spec (500-1000 palabras)"
162
+ - "Diseño de solución"
163
+ - "Mini-ADR (si hay decisiones arquitectónicas)"
164
+ - "Código implementado"
165
+ - "Tests (unit + integration)"
166
+ - "Commits atómicos con mensajes claros"
167
+ - "Code review comments/approval"
168
+
169
+ metrics_tracked:
170
+ - "Tiempo por fase"
171
+ - "Cobertura de tests"
172
+ - "Número de iteraciones"
173
+ - "Defectos encontrados en QA"
174
+ - "Complejidad ciclomática"
175
+
176
+ anti_patterns_to_avoid:
177
+ - "❌ Saltarse diseño y empezar a codificar"
178
+ - "❌ No escribir tests hasta el final"
179
+ - "❌ Commits gigantes sin atomicidad"
180
+ - "❌ Code review superficial"
181
+ - "❌ Documentación desactualizada"