@christianmaf80/agentic-workflow 1.24.0-beta.3 → 1.25.0-beta.3

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 (215) hide show
  1. package/README.es.md +13 -57
  2. package/README.md +14 -56
  3. package/bin/cli.js +22 -29
  4. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/acceptance.md +0 -6
  5. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-scores.md +0 -6
  6. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/1-dev-agent-scaffold.md +0 -6
  7. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/2-dev-agent-manifest-command.md +0 -6
  8. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/3-dev-agent-marketplace-evidence.md +0 -6
  9. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/4-qa-agent-verify-build.md +0 -6
  10. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/analysis.md +0 -6
  11. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/architect/review.md +0 -6
  12. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/metrics.md +0 -6
  13. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/plan.md +0 -6
  14. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/researcher/research.md +0 -6
  15. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/results-acceptance.md +0 -6
  16. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/task.md +0 -6
  17. package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/verification.md +0 -6
  18. package/dist/agent/artifacts/11-refinement-capas-constitution/analysis.md +24 -0
  19. package/dist/agent/artifacts/11-refinement-capas-constitution/roadmap-audit.md +34 -0
  20. package/dist/agent/artifacts/11-refinement-capas-constitution/task.md +58 -0
  21. package/dist/agent/artifacts/12-npm-workspaces/acceptance.md +78 -0
  22. package/dist/agent/artifacts/12-npm-workspaces/analysis.md +179 -0
  23. package/dist/agent/artifacts/12-npm-workspaces/plan.md +237 -0
  24. package/dist/agent/artifacts/12-npm-workspaces/researcher/research.md +186 -0
  25. package/dist/agent/artifacts/12-npm-workspaces/task.md +126 -0
  26. package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/acceptance.md +75 -0
  27. package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/researcher/research.md +121 -0
  28. package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/task.md +104 -0
  29. package/dist/agent/artifacts/14-re-implement-setup-config-d1/acceptance.md +75 -0
  30. package/dist/agent/artifacts/14-re-implement-setup-config-d1/architect/analysis.md +90 -0
  31. package/dist/agent/artifacts/14-re-implement-setup-config-d1/planner/implementation_plan.md +44 -0
  32. package/dist/agent/artifacts/14-re-implement-setup-config-d1/researcher/research.md +113 -0
  33. package/dist/agent/artifacts/14-re-implement-setup-config-d1/task.md +107 -0
  34. package/dist/agent/artifacts/14-re-implement-setup-config-d1/verification/walkthrough.md +37 -0
  35. package/dist/agent/artifacts/14-re-implement-setup-config-d1/verifier/walkthrough.md +0 -0
  36. package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/acceptance.md +0 -6
  37. package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/task.md +0 -6
  38. package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/acceptance.md +0 -6
  39. package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/task.md +0 -6
  40. package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/acceptance.md +0 -6
  41. package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/architect/implementation.md +0 -6
  42. package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/acceptance.md +0 -6
  43. package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/1-dev-agent-reestructurar-carpetas.md +1 -1
  44. package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/task.md +0 -6
  45. package/dist/agent/artifacts/6-release-beta-11/task.md +0 -6
  46. package/dist/agent/artifacts/7-extension-vscode-webview/acceptance.md +70 -0
  47. package/dist/agent/artifacts/7-extension-vscode-webview/agent-scores.md +24 -0
  48. package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/1-vscode-specialist-scaffold-extension.md +99 -0
  49. package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/2-vscode-specialist-update-manifest.md +101 -0
  50. package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/3-vscode-specialist-webview-provider.md +96 -0
  51. package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/4-vscode-specialist-activitybar-icon.md +95 -0
  52. package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/5-qa-agent-manual-verify.md +97 -0
  53. package/dist/agent/artifacts/7-extension-vscode-webview/analysis.md +195 -0
  54. package/dist/agent/artifacts/7-extension-vscode-webview/architect/review.md +124 -0
  55. package/dist/agent/artifacts/7-extension-vscode-webview/changelog.md +9 -0
  56. package/dist/agent/artifacts/7-extension-vscode-webview/metrics.md +43 -0
  57. package/dist/agent/artifacts/7-extension-vscode-webview/plan.md +181 -0
  58. package/dist/agent/artifacts/7-extension-vscode-webview/researcher/research.md +118 -0
  59. package/dist/agent/artifacts/7-extension-vscode-webview/results-acceptance.md +146 -0
  60. package/dist/agent/artifacts/7-extension-vscode-webview/task.md +119 -0
  61. package/dist/agent/artifacts/7-extension-vscode-webview/verification.md +81 -0
  62. package/dist/agent/artifacts/8-create-agentic-runtime-cli-first-as-the-single-execution-engine/task.md +126 -0
  63. package/dist/agent/artifacts/candidate/acceptance.md +23 -0
  64. package/dist/agent/artifacts/candidate/brief.md +39 -0
  65. package/dist/agent/artifacts/candidate/init.md +3 -9
  66. package/dist/agent/artifacts/candidate/task.md +4 -71
  67. package/dist/agent/artifacts/task-20260128-reorganize-structure/acceptance.md +0 -6
  68. package/dist/agent/artifacts/task-20260128-reorganize-structure/brief.md +1 -1
  69. package/dist/agent/artifacts/task-20260128-reorganize-structure/closure.md +3 -3
  70. package/dist/agent/artifacts/task-20260128-reorganize-structure/implementation.md +2 -2
  71. package/dist/agent/artifacts/task-20260128-reorganize-structure/task.md +0 -6
  72. package/dist/agent/artifacts/task-20260130-chatkit-mainview/acceptance.md +65 -0
  73. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-scores.md +26 -0
  74. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1-neo-agent-deps-chatkit.md +108 -0
  75. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/15-vscode-specialist-views-router.md +89 -0
  76. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1b-vscode-specialist-review-deps.md +106 -0
  77. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/2-neo-agent-local-server.md +111 -0
  78. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/22-vscode-specialist-external-js.md +84 -0
  79. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/23-qa-agent-coverage-tests.md +85 -0
  80. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/24-vscode-specialist-class-refactor.md +84 -0
  81. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/25-vscode-specialist-external-html.md +88 -0
  82. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/26-vscode-specialist-template-js-html.md +110 -0
  83. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/27-vscode-specialist-fix-loading-setup.md +110 -0
  84. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/28-vscode-specialist-webview-debug-setup.md +107 -0
  85. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/29-vscode-specialist-webview-logging.md +109 -0
  86. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/3-neo-agent-webview-ui.md +107 -0
  87. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/30-vscode-specialist-csp-source.md +88 -0
  88. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/31-vscode-specialist-logging-prefix.md +83 -0
  89. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/32-vscode-specialist-logging-visibility.md +85 -0
  90. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/33-vscode-specialist-lit-setup.md +85 -0
  91. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/34-vscode-specialist-core-lit-base.md +89 -0
  92. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/35-vscode-specialist-lit-decorators-ts.md +88 -0
  93. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/36-vscode-specialist-lit-module-start.md +85 -0
  94. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/37-vscode-specialist-lit-ready-state.md +86 -0
  95. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/4-qa-agent-verification.md +106 -0
  96. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/5-vscode-specialist-api-key-ui.md +107 -0
  97. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/6-vscode-specialist-refactor-protocol.md +108 -0
  98. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/7-qa-agent-unit-tests.md +104 -0
  99. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-10-vscode-specialist-api-key-handshake.md +84 -0
  100. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-11-vscode-specialist-api-key-button-style.md +83 -0
  101. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-12-vscode-specialist-key-gate-view.md +84 -0
  102. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-13-vscode-specialist-status-timeout.md +83 -0
  103. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-14-vscode-specialist-init-flow.md +84 -0
  104. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-16-vscode-specialist-view-context.md +87 -0
  105. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-17-vscode-specialist-clear-key-command.md +85 -0
  106. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-18-vscode-specialist-context-sync.md +84 -0
  107. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-19-vscode-specialist-setup-visible.md +88 -0
  108. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-20-vscode-specialist-loading-state.md +83 -0
  109. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-21-vscode-specialist-loading-label.md +84 -0
  110. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-8-vscode-specialist-api-key-detect.md +89 -0
  111. package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-9-vscode-specialist-api-key-state.md +84 -0
  112. package/dist/agent/artifacts/task-20260130-chatkit-mainview/analysis.md +156 -0
  113. package/dist/agent/artifacts/task-20260130-chatkit-mainview/architect/review.md +141 -0
  114. package/dist/agent/artifacts/task-20260130-chatkit-mainview/changelog.md +30 -0
  115. package/dist/agent/artifacts/task-20260130-chatkit-mainview/metrics.md +43 -0
  116. package/dist/agent/artifacts/task-20260130-chatkit-mainview/plan.md +151 -0
  117. package/dist/agent/artifacts/task-20260130-chatkit-mainview/research.md +115 -0
  118. package/dist/agent/artifacts/task-20260130-chatkit-mainview/results-acceptance.md +171 -0
  119. package/dist/agent/artifacts/task-20260130-chatkit-mainview/verification.md +87 -0
  120. package/dist/agent/artifacts/task-20260130-fix-mainview-provider/acceptance.md +64 -0
  121. package/dist/agent/artifacts/task-20260130-fix-mainview-provider/architect/implementation.md +30 -0
  122. package/dist/agent/artifacts/task-20260130-fix-mainview-provider/brief.md +102 -0
  123. package/dist/agent/artifacts/task-20260130-fix-mainview-provider/closure.md +95 -0
  124. package/dist/agent/artifacts/task-20260130-rol-vscode/acceptance.md +68 -0
  125. package/dist/agent/artifacts/task-20260130-rol-vscode/architect/implementation.md +33 -0
  126. package/dist/agent/artifacts/task-20260130-rol-vscode/brief.md +104 -0
  127. package/dist/agent/artifacts/task-20260130-rol-vscode/closure.md +100 -0
  128. package/dist/agent/artifacts/task-beta-release/acceptance.md +23 -0
  129. package/dist/agent/artifacts/task-beta-release/brief.md +39 -0
  130. package/dist/agent/artifacts/task-beta-release/closure.md +29 -0
  131. package/dist/agent/artifacts/task-beta-release/init.md +26 -0
  132. package/dist/agent/artifacts/task-beta-release/task.md +64 -0
  133. package/dist/agent/index.md +69 -30
  134. package/dist/agent/rules/constitution/agents-behavior.md +110 -100
  135. package/dist/agent/rules/constitution/backend.md +27 -0
  136. package/dist/agent/rules/constitution/background.md +30 -0
  137. package/dist/agent/rules/constitution/clean-code.md +5 -6
  138. package/dist/agent/rules/constitution/modular-architecture.md +66 -0
  139. package/dist/agent/rules/constitution/view.md +41 -0
  140. package/dist/agent/rules/constitution/vscode-extensions.md +32 -0
  141. package/dist/agent/rules/roles/architect.md +1 -2
  142. package/dist/agent/rules/roles/backend.md +21 -0
  143. package/dist/agent/rules/roles/background.md +20 -0
  144. package/dist/agent/rules/roles/devops.md +20 -0
  145. package/dist/agent/rules/roles/engine.md +26 -0
  146. package/dist/agent/rules/roles/neo.md +12 -13
  147. package/dist/agent/rules/roles/researcher.md +2 -2
  148. package/dist/agent/rules/roles/view.md +22 -0
  149. package/dist/agent/rules/roles/vscode-specialist.md +24 -0
  150. package/dist/agent/templates/acceptance.md +19 -25
  151. package/dist/agent/templates/agent-task.md +39 -39
  152. package/dist/agent/templates/analysis.md +92 -92
  153. package/dist/agent/templates/brief.md +43 -43
  154. package/dist/agent/templates/changelog.md +8 -8
  155. package/dist/agent/templates/closure.md +29 -29
  156. package/dist/agent/templates/coding/coding-integration-report.md +102 -0
  157. package/dist/agent/templates/coding/coding-layer-report.md +78 -0
  158. package/dist/agent/templates/init.md +0 -6
  159. package/dist/agent/templates/planning.md +73 -73
  160. package/dist/agent/templates/research.md +43 -43
  161. package/dist/agent/templates/results-acceptance.md +94 -94
  162. package/dist/agent/templates/review.md +59 -59
  163. package/dist/agent/templates/subtask-implementation.md +29 -29
  164. package/dist/agent/templates/supplemental-report.md +0 -6
  165. package/dist/agent/templates/task-metrics.md +14 -14
  166. package/dist/agent/templates/task.md +15 -15
  167. package/dist/agent/templates/todo-item.md +23 -23
  168. package/dist/agent/workflows/coding/coding-backend.md +147 -0
  169. package/dist/agent/workflows/coding/coding-background.md +149 -0
  170. package/dist/agent/workflows/coding/coding-integration.md +174 -0
  171. package/dist/agent/workflows/coding/coding-view.md +151 -0
  172. package/dist/agent/workflows/init.md +83 -90
  173. package/dist/agent/workflows/scaffold-module.md +38 -0
  174. package/dist/agent/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +124 -134
  175. package/dist/agent/workflows/tasklifecycle-long/phase-1-research.md +103 -97
  176. package/dist/agent/workflows/tasklifecycle-long/phase-2-analysis.md +107 -102
  177. package/dist/agent/workflows/tasklifecycle-long/phase-3-planning.md +125 -120
  178. package/dist/agent/workflows/tasklifecycle-long/phase-4-implementation.md +118 -118
  179. package/dist/agent/workflows/tasklifecycle-long/phase-5-verification.md +105 -101
  180. package/dist/agent/workflows/tasklifecycle-long/phase-6-results-acceptance.md +82 -78
  181. package/dist/agent/workflows/tasklifecycle-long/phase-7-evaluation.md +84 -75
  182. package/dist/agent/workflows/tasklifecycle-long/phase-8-commit-push.md +94 -89
  183. package/dist/agent/workflows/tasklifecycle-short/short-phase-1-brief.md +78 -71
  184. package/dist/agent/workflows/tasklifecycle-short/short-phase-2-implementation.md +79 -71
  185. package/dist/agent/workflows/tasklifecycle-short/short-phase-3-closure.md +73 -66
  186. package/dist/cli/commands/create.js +4 -29
  187. package/dist/cli/commands/create.js.map +1 -1
  188. package/dist/cli/commands/mcp.js +0 -6
  189. package/dist/cli/commands/mcp.js.map +1 -1
  190. package/dist/runtime/engine/engine.js +29 -57
  191. package/dist/runtime/engine/engine.js.map +1 -1
  192. package/dist/runtime/engine/service.js +1 -38
  193. package/dist/runtime/engine/service.js.map +1 -1
  194. package/dist/runtime/engine/task-loader.js +1 -1
  195. package/dist/runtime/engine/task-loader.js.map +1 -1
  196. package/dist/runtime/engine/workflow-loader.js +17 -25
  197. package/dist/runtime/engine/workflow-loader.js.map +1 -1
  198. package/dist/runtime/mcp/server.js +38 -277
  199. package/dist/runtime/mcp/server.js.map +1 -1
  200. package/package.json +69 -7
  201. package/dist/agent/artifacts/index.md +0 -25
  202. package/dist/agent/rules/constitution/index.md +0 -26
  203. package/dist/agent/rules/constitution/runtime-integration.md +0 -101
  204. package/dist/agent/rules/index.md +0 -70
  205. package/dist/agent/rules/roles/index.md +0 -44
  206. package/dist/agent/templates/index.md +0 -42
  207. package/dist/agent/workflows/index.md +0 -30
  208. package/dist/agent/workflows/tasklifecycle-long/index.md +0 -172
  209. package/dist/agent/workflows/tasklifecycle-short/index.md +0 -70
  210. package/dist/cli/commands/register-mcp.js +0 -116
  211. package/dist/cli/commands/register-mcp.js.map +0 -1
  212. package/dist/runtime/engine/logger.js +0 -74
  213. package/dist/runtime/engine/logger.js.map +0 -1
  214. package/dist/runtime/mcp/check-tools.js +0 -66
  215. package/dist/runtime/mcp/check-tools.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: workflow.tasklifecycle-long.phase-5-verification
3
- description: Fase 5 del ciclo de tarea. Verifica la implementación con tests (unitarios y E2E si aplica) y reporta métricas y cobertura. NO corrige código; si hay errores, delega una nueva tarea de corrección al agente responsable.
3
+ description: Phase 5 of the task lifecycle. Verifies the implementation with tests (unit and E2E if applicable) and reports metrics and coverage. DOES NOT fix code; if errors are found, delegates a new correction task to the responsible agent.
4
4
  owner: architect-agent
5
5
  version: 1.0.0
6
6
  severity: PERMANENT
@@ -12,162 +12,166 @@ blocking: true
12
12
  # WORKFLOW: tasklifecycle.phase-5-verification
13
13
 
14
14
  ## Input (REQUIRED)
15
- - Existe el informe de revisión del arquitecto creado en Fase 4:
15
+ - The architect's review report created in Phase 4 exists:
16
16
  - `.agent/artifacts/<taskId>-<taskTitle>/architect/review.md`
17
- - Existe la current task:
17
+ - The current task exists:
18
18
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
19
- - El `task.md` **DEBE** reflejar:
19
+ - The `task.md` **MUST** reflect:
20
20
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_5.id`
21
21
 
22
22
  > [!IMPORTANT]
23
- > **Constitución activa (OBLIGATORIO)**:
24
- > - Cargar `constitution.clean_code` antes de iniciar
25
- > - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
23
+ > **Active constitution (MANDATORY)**:
24
+ > - Load `constitution.clean_code` before starting
25
+ > - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
26
26
 
27
27
  ## Output (REQUIRED)
28
- - Informe detallado de verificación y testing:
28
+ - Detailed verification and testing report:
29
29
  - `.agent/artifacts/<taskId>-<taskTitle>/verification.md`
30
- - Actualización del estado en:
30
+ - State update in:
31
31
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
32
32
 
33
33
  ---
34
34
 
35
- ## Objetivo (ONLY)
36
- - Verificar la implementación mediante tests (unitarios y E2E si aplica).
37
- - Si la tarea **no requiere tests**, revisar únicamente los informes disponibles.
38
- - Reportar resultados de testing, cobertura y métricas de performance (si aplica).
39
- - Confirmar cumplimiento de los porcentajes de testing definidos en el plan cuando existan.
40
- - Obtener aprobación explícita del desarrollador (SI/NO) para avanzar.
35
+ ## Objective (ONLY)
36
+ - Verify the implementation through tests (unit and E2E if applicable).
37
+ - **ALWAYS** validate unit tests and E2E tests if applicable.
38
+ - Report testing results, coverage, and performance metrics (if applicable).
39
+ - Confirm compliance with testing percentages defined in the plan when they exist.
40
+ - Obtain explicit developer approval (SI/NO) to advance.
41
41
 
42
- > Esta fase **NO implementa código**.
43
- > Esta fase **NO corrige errores**; delega correcciones como nuevas tareas.
44
- > Esta fase **NO redefine alcance**.
42
+ > This phase **DOES NOT implement code**.
43
+ > This phase **DOES NOT fix errors**; it delegates corrections as new tasks.
44
+ > This phase **DOES NOT redefine scope**.
45
45
 
46
46
  ---
47
47
 
48
- ## Template (OBLIGATORIO)
49
- - El informe de resultados **DEBE** crearse usando el template:
48
+ ## Template (MANDATORY)
49
+ - The results report **MUST** be created using the template:
50
50
  - `templates.verification`
51
- - Si el template no existe o no se puede cargar → **FAIL**.
51
+ - If the template does not exist or cannot be loaded → **FAIL**.
52
52
 
53
53
  ---
54
54
 
55
- ## Pasos obligatorios
55
+ ## Mandatory Steps
56
56
 
57
- 0. Activar `qa-agent` y usar prefijo obligatorio en cada mensaje.
57
+ 0. Activate `qa-agent` and use the mandatory prefix in every message.
58
58
 
59
- 1. Asignar rol de verificacion
60
- - El `qa-agent` **DEBE** ejecutar esta fase de verificacion.
61
- - El `architect-agent` **DEBE** supervisar y validar el resultado.
59
+ 1. Assign verification role
60
+ - The `qa-agent` **MUST** execute this verification phase.
61
+ - The `architect-agent` **MUST** supervise and validate the result.
62
62
 
63
- 2. Verificar inputs
64
- - Existe `architect/review.md`
65
- - Existe `task.md`
63
+ 2. Verify inputs
64
+ - `architect/review.md` exists
65
+ - `task.md` exists
66
66
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_5.id`
67
- - Si fallair a **Paso 11 (FAIL)**.
67
+ - If it fails go to **Step 11 (FAIL)**.
68
68
 
69
- 3. Cargar template de verificación
70
- - Cargar `templates.verification`
71
- - Si no existe o no se puede leerir a **Paso 11 (FAIL)**.
69
+ 3. Load verification template
70
+ - Load `templates.verification`
71
+ - If it does not exist or cannot be read go to **Step 11 (FAIL)**.
72
72
 
73
- 4. Ejecutar testing
74
- - Ejecutar tests segun la estrategia obligatoria definida en:
73
+ 4. Execute testing
74
+ - Run tests according to the mandatory strategy defined in:
75
75
  - `constitution.clean_code`
76
- - Recopilar métricas de coverage y performance si aplica.
76
+ - Collect coverage and performance metrics if applicable.
77
77
 
78
- 5. Crear informe de verificación
79
- - Crear:
78
+ 5. Create verification report
79
+ - Create:
80
80
  - `.agent/artifacts/<taskId>-<taskTitle>/verification.md`
81
- - El informe **DEBE** incluir:
82
- - resultados de tests (pass/fail)
83
- - cobertura (porcentaje y scope)
84
- - métricas de performance (si aplica)
85
- - evidencia de cumplimiento de thresholds definidos en el plan
86
- - Si no hay tests en la tarea, el informe **DEBE** reflejar:
87
- - informes revisados
88
- - evidencias disponibles
89
- - justificación de ausencia de tests
90
-
91
- 6. Validar thresholds del plan (si aplica)
92
- - Confirmar que se cumplen los porcentajes de test definidos en `plan.md` cuando existan.
93
- - Si no se cumplen ir a **Paso 11 (FAIL)**.
94
-
95
- 7. Solicitar aprobación del desarrollador (OBLIGATORIA, por consola)
96
- - El desarrollador **DEBE** emitir una decisión binaria:
97
- - **SI** → aprobado
98
- - **NO** → rechazado
99
- - Registrar la decisión en `verification.md` con el formato:
81
+ - The report **MUST** include:
82
+ - test results (pass/fail)
83
+ - coverage (percentage and scope)
84
+ - performance metrics (if applicable)
85
+ - evidence of compliance with thresholds defined in the plan
86
+ - If there are no tests in the task, the report **MUST** reflect:
87
+ - reviewed reports
88
+ - available evidence
89
+ - justification for the absence of tests
90
+
91
+ 6. Validate plan thresholds (if applicable)
92
+ - Confirm that test percentages defined in `plan.md` are met when they exist.
93
+ - If not metgo to **Step 11 (FAIL)**.
94
+
95
+ 7. Request developer approval (MANDATORY, via console)
96
+ - The developer **MUST** issue a binary decision:
97
+ - **SI** → approved
98
+ - **NO** → rejected
99
+ - Record the decision in `verification.md` with the format:
100
100
  ```yaml
101
101
  approval:
102
102
  developer:
103
103
  decision: SI | NO
104
104
  date: <ISO-8601>
105
- comments: <opcional>
105
+ comments: <optional>
106
106
  ```
107
- - Si `decision != SI` → ir a **Paso 11 (FAIL)**.
107
+ - If `decision != SI` → go to **Step 11 (FAIL)**.
108
108
 
109
109
  8. PASS
110
- - Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
111
- - marcar Fase 5 como completada
112
- - establecer `task.lifecycle.phases.phase-5-verification.validated_at = <ISO-8601>`
113
- - actualizar `task.phase.updated_at = <ISO-8601>`
114
- - avanzar:
110
+ - Report that Phase 5 is correctly completed.
111
+ - The `architect-agent` **MUST explicitly perform** the following actions:
112
+ - Mark Phase 5 as completed in `task.md`.
113
+ - Set `task.lifecycle.phases.phase-5-verification.completed = true`.
114
+ - Set `task.lifecycle.phases.phase-5-verification.validated_at = <ISO-8601>`.
115
+ - Update `task.phase.updated_at = <ISO-8601>`.
116
+ - Update the state:
115
117
  - `task.phase.current = aliases.tasklifecycle-long.phases.phase_6.id`
116
- - Indicar rutas:
118
+ - This update is **NOT automatic** and **CANNOT be inferred**.
119
+ - Until this change is reflected in `task.md`, **Phase 6 cannot be started**.
120
+ - Indicate paths:
117
121
  - `verification.md`
118
- - `task.md` actualizado
122
+ - `task.md` updated
119
123
 
120
124
  ---
121
125
 
122
- ## FAIL (OBLIGATORIO)
126
+ ## FAIL (MANDATORY)
123
127
 
124
- ### 11. Declarar Fase 5 como **NO completada**
128
+ ### 11. Declare Phase 5 as **NOT completed**
125
129
 
126
- Casos de FAIL:
127
- - Informe de review inexistente.
128
- - Fase incorrecta.
129
- - Fallo al crear `verification.md`.
130
- - Thresholds de testing no cumplidos (si aplica).
131
- - Tests fallidos.
132
- - Aprobación del desarrollador = NO o inexistente.
130
+ FAIL cases:
131
+ - Non-existent review report.
132
+ - Incorrect phase.
133
+ - Failure creating `verification.md`.
134
+ - Testing thresholds not met (if applicable).
135
+ - Failed tests.
136
+ - Developer approval = NO or missing.
133
137
 
134
- ### 12. Delegar corrección (NO corregir código)
138
+ ### 12. Delegate correction (DO NOT fix code)
135
139
 
136
140
  > [!CAUTION]
137
- > La Fase 5 **NUNCA corrige código**. Solo notifica y delega.
141
+ > Phase 5 **NEVER fixes code**. It only notifies and delegates.
138
142
 
139
- Si se detectan errores en tests:
140
- 1. Identificar la tarea de Fase 4 responsable del código fallido.
141
- 2. Identificar el agente que ejecutó esa tarea.
142
- 3. Crear una **nueva tarea de corrección** en:
143
+ If test errors are detected:
144
+ 1. Identify the Phase 4 task responsible for the failed code.
145
+ 2. Identify the agent that executed that task.
146
+ 3. Create a **new correction task** in:
143
147
  - `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/fix-<N>-<agent>-<issue>.md`
144
- 4. La tarea de corrección **DEBE** usar `templates.agent_task`.
145
- 5. El flujo vuelve a Fase 4 para ejecutar la tarea de corrección.
146
- 6. Solo cuando la corrección pase Gate, se re-ejecuta Fase 5.
148
+ 4. The correction task **MUST** use `templates.agent_task`.
149
+ 5. The flow returns to Phase 4 to execute the correction task.
150
+ 6. Only when the correction passes Gate, Phase 5 is re-executed.
147
151
 
148
- Terminar bloqueado: no avanzar de fase.
152
+ Terminate blocked: do not advance phase.
149
153
 
150
154
  ---
151
155
 
152
156
  ## Gate (REQUIRED)
153
157
 
154
- Requisitos (todos obligatorios):
155
- 1. Existe `.agent/artifacts/<taskId>-<taskTitle>/verification.md`.
156
- 2. El informe refleja resultados completos y trazables de testing.
157
- 3. El `verification.md` inicia con el prefijo del `qa-agent`.
158
- 4. El informe contiene **evidencia de ejecución de tests**:
159
- - Logs de salida de comandos de test (`npm test`, `pnpm test`, etc.)
160
- - O screenshots/grabaciones de E2E
161
- - O justificación documentada si la tarea no requiere tests
162
- 5. Se cumplen los porcentajes de test definidos en el plan (si aplica).
163
- 6. Existe aprobación explícita del desarrollador:
158
+ Requirements (all mandatory):
159
+ 1. `.agent/artifacts/<taskId>-<taskTitle>/verification.md` exists.
160
+ 2. The report reflects complete and traceable testing results.
161
+ 3. The `verification.md` starts with the `qa-agent` prefix.
162
+ 4. The report contains **evidence of test execution**:
163
+ - Test command output logs (`npm test`, `pnpm test`, etc.)
164
+ - Or E2E screenshots/recordings
165
+ - Or documented justification if the task does not require tests
166
+ 5. Test percentages defined in the plan are met (if applicable).
167
+ 6. Explicit developer approval exists:
164
168
  - `approval.developer.decision == SI`
165
- 7. `task.md` refleja:
166
- - Fase 5 completada
169
+ 7. `task.md` reflects:
170
+ - Phase 5 completed
167
171
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_6.id`
168
172
  - `task.lifecycle.phases.phase-5-verification.completed == true`
169
- - `task.lifecycle.phases.phase-5-verification.validated_at` no nulo
170
- - `task.phase.updated_at` no nulo
173
+ - `task.lifecycle.phases.phase-5-verification.validated_at` not null
174
+ - `task.phase.updated_at` not null
171
175
 
172
- Si Gate FAIL:
173
- - Ejecutar **Paso 11 (FAIL)**.
176
+ If Gate FAIL:
177
+ - Execute **Step 11 (FAIL)**.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: workflow.tasklifecycle-long.phase-6-results-acceptance
3
- description: Fase 6 del ciclo de tarea. Presenta el informe final de resultados y requiere aceptación explícita del desarrollador (SI/NO).
3
+ description: Phase 6 of the task lifecycle. Presents the final results report and requires explicit developer acceptance (SI/NO).
4
4
  owner: architect-agent
5
5
  version: 1.0.0
6
6
  severity: PERMANENT
@@ -12,128 +12,132 @@ blocking: true
12
12
  # WORKFLOW: tasklifecycle.phase-6-results-acceptance
13
13
 
14
14
  ## Input (REQUIRED)
15
- - Existe el informe de verificación:
15
+ - The verification report exists:
16
16
  - `.agent/artifacts/<taskId>-<taskTitle>/verification.md`
17
- - Existe la current task:
17
+ - The current task exists:
18
18
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
19
- - El `task.md` **DEBE** reflejar:
19
+ - The `task.md` **MUST** reflect:
20
20
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_6.id`
21
21
 
22
22
  > [!IMPORTANT]
23
- > **Constitución activa (OBLIGATORIO)**:
24
- > - Cargar `constitution.clean_code` antes de iniciar
25
- > - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
23
+ > **Active constitution (MANDATORY)**:
24
+ > - Load `constitution.clean_code` before starting
25
+ > - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
26
26
 
27
27
  ## Output (REQUIRED)
28
- - Crear el informe de aceptación de resultados:
28
+ - Create the results acceptance report:
29
29
  - `.agent/artifacts/<taskId>-<taskTitle>/results-acceptance.md`
30
- - Decisión final del desarrollador (OBLIGATORIA):
30
+ - Final developer decision (MANDATORY):
31
31
  - **SI / NO**
32
- - Actualización del estado en:
32
+ - State update in:
33
33
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
34
34
 
35
35
  ---
36
36
 
37
- ## Objetivo (ONLY)
38
- - Presentar un **informe final de resultados** basado en la verificación.
39
- - Facilitar al desarrollador una **visión completa y clara** del trabajo realizado.
40
- - Obtener una **aceptación final explícita (SI/NO)** por parte del desarrollador.
37
+ ## Objective (ONLY)
38
+ - Present a **final results report** based on the verification.
39
+ - Provide the developer with a **complete and clear vision** of the work performed.
40
+ - Obtain an **explicit final acceptance (SI/NO)** from the developer.
41
41
 
42
- > Esta fase **NO implementa código**.
43
- > Esta fase **CIERRA la evaluación de resultados**.
42
+ > This phase **DOES NOT implement code**.
43
+ > This phase **CLOSES the results evaluation**.
44
44
 
45
45
  ---
46
46
 
47
- ## Template (OBLIGATORIO)
48
- - El informe de resultados **DEBE** crearse usando el template:
47
+ ## Template (MANDATORY)
48
+ - The results report **MUST** be created using the template:
49
49
  - `templates.results_acceptance`
50
- - Si el template no existe o no se puede cargar → **FAIL**.
50
+ - If the template does not exist or cannot be loaded → **FAIL**.
51
51
 
52
52
  ---
53
53
 
54
- ## Pasos obligatorios
54
+ ## Mandatory Steps
55
55
 
56
- 0. Activar `architect-agent` y usar prefijo obligatorio en cada mensaje.
56
+ 0. Activate `architect-agent` and use the mandatory prefix in every message.
57
57
 
58
- 1. Verificar inputs
59
- - Existe `verification.md`
60
- - Existe `task.md`
58
+ 1. Verify inputs
59
+ - `verification.md` exists
60
+ - `task.md` exists
61
61
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_6.id`
62
- - Si fallair a **Paso 10 (FAIL)**.
62
+ - If it fails go to **Step 10 (FAIL)**.
63
63
 
64
- 2. Cargar template de resultados
65
- - Cargar `templates.results_acceptance`
66
- - Si no existe o no se puede leerir a **Paso 10 (FAIL)**.
64
+ 2. Load results template
65
+ - Load `templates.results_acceptance`
66
+ - If it does not exist or cannot be read go to **Step 10 (FAIL)**.
67
67
 
68
- 3. Crear informe de resultados
69
- - Crear:
68
+ 3. Create results report
69
+ - Create:
70
70
  - `.agent/artifacts/<taskId>-<taskTitle>/results-acceptance.md`
71
- - El informe **DEBE** incluir:
72
- - resumen de verificación
73
- - estado final de acceptance criteria
74
-
75
- 4. Presentar resultados al desarrollador
76
- - El `architect-agent` **DEBE** presentar el informe `results-acceptance.md`.
77
- - Resolver dudas sin modificar alcance ni resultados documentados.
78
-
79
- 5. Solicitar aceptación final del desarrollador (OBLIGATORIA, por consola)
80
- - El desarrollador **DEBE** emitir una decisión binaria:
81
- - **SI** → acepta los resultados
82
- - **NO** → no acepta los resultados
83
- - Registrar la decisión en `results-acceptance.md`:
71
+ - The report **MUST** include:
72
+ - verification summary
73
+ - final acceptance criteria status
74
+
75
+ 4. Present results to the developer
76
+ - The `architect-agent` **MUST** present the `results-acceptance.md` report.
77
+ - Resolve questions without modifying scope or documented results.
78
+
79
+ 5. Request final developer acceptance (MANDATORY, via console)
80
+ - The developer **MUST** issue a binary decision:
81
+ - **SI** → accepts the results
82
+ - **NO** → does not accept the results
83
+ - Record the decision in `results-acceptance.md`:
84
84
  ```yaml
85
85
  approval:
86
86
  developer:
87
87
  decision: SI | NO
88
88
  date: <ISO-8601>
89
- comments: <opcional>
89
+ comments: <optional>
90
90
  ```
91
- - Si `decision != SI` → ir a **Paso 10 (FAIL)**.
92
-
93
- 6. PASS (solo si aceptado)
94
- - Marcar el informe de resultados como **ACEPTADO**.
95
- - Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
96
- - marcar Fase 6 como completada
97
- - establecer `task.lifecycle.phases.phase-6-results-acceptance.validated_at = <ISO-8601>`
98
- - actualizar `task.phase.updated_at = <ISO-8601>`
99
- - avanzar:
91
+ - If `decision != SI` → go to **Step 10 (FAIL)**.
92
+
93
+ 6. PASS (only if accepted)
94
+ - Report that Phase 6 is correctly completed.
95
+ - Mark the results report as **ACCEPTED**.
96
+ - The `architect-agent` **MUST explicitly perform** the following actions:
97
+ - Mark Phase 6 as completed in `task.md`.
98
+ - Set `task.lifecycle.phases.phase-6-results-acceptance.completed = true`.
99
+ - Set `task.lifecycle.phases.phase-6-results-acceptance.validated_at = <ISO-8601>`.
100
+ - Update `task.phase.updated_at = <ISO-8601>`.
101
+ - Update the state:
100
102
  - `task.phase.current = aliases.tasklifecycle-long.phases.phase_7.id`
101
- - Indicar rutas:
103
+ - This update is **NOT automatic** and **CANNOT be inferred**.
104
+ - Until this change is reflected in `task.md`, **Phase 7 cannot be started**.
105
+ - Indicate paths:
102
106
  - `results-acceptance.md`
103
- - `task.md` actualizado
107
+ - `task.md` updated
104
108
 
105
109
  ---
106
110
 
107
- ## FAIL (OBLIGATORIO)
111
+ ## FAIL (MANDATORY)
108
112
 
109
- 10. Declarar Fase 6 como **NO completada**
110
- - Casos de FAIL:
111
- - falta algún informe requerido
112
- - fase incorrecta
113
- - fallo al crear `results-acceptance.md`
114
- - aceptación del desarrollador = NO o inexistente
115
- - Acciones obligatorias:
116
- - analizar los incumplimientos indicados
117
- - **iterar para resolver issues detectados**
118
- - Terminar bloqueado: no avanzar de fase.
113
+ 10. Declare Phase 6 as **NOT completed**
114
+ - FAIL cases:
115
+ - missing required report
116
+ - incorrect phase
117
+ - failure creating `results-acceptance.md`
118
+ - developer acceptance = NO or missing
119
+ - Mandatory actions:
120
+ - analyze the indicated non-compliances
121
+ - **iterate to resolve detected issues**
122
+ - Terminate blocked: do not advance phase.
119
123
 
120
124
  ---
121
125
 
122
126
  ## Gate (REQUIRED)
123
127
 
124
- Requisitos (todos obligatorios):
125
- 1. Existe `.agent/artifacts/<taskId>-<taskTitle>/results-acceptance.md`.
126
- 2. El informe resume verificación y estado final de acceptance criteria.
127
- 3. El `results-acceptance.md` inicia con el prefijo del `architect-agent`.
128
- 4. Todos los acceptance criteria están marcados comoen el informe.
129
- 5. Existe aceptación final explícita del desarrollador (por consola):
128
+ Requirements (all mandatory):
129
+ 1. `.agent/artifacts/<taskId>-<taskTitle>/results-acceptance.md` exists.
130
+ 2. The report summarizes verification and final acceptance criteria status.
131
+ 3. The `results-acceptance.md` starts with the `architect-agent` prefix.
132
+ 4. All acceptance criteria are marked asin the report.
133
+ 5. Explicit final developer acceptance exists (via console):
130
134
  - `approval.developer.decision == SI`
131
- 6. `task.md` refleja:
132
- - Fase 6 completada
135
+ 6. `task.md` reflects:
136
+ - Phase 6 completed
133
137
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_7.id`
134
138
  - `task.lifecycle.phases.phase-6-results-acceptance.completed == true`
135
- - `task.lifecycle.phases.phase-6-results-acceptance.validated_at` no nulo
136
- - `task.phase.updated_at` no nulo
139
+ - `task.lifecycle.phases.phase-6-results-acceptance.validated_at` not null
140
+ - `task.phase.updated_at` not null
137
141
 
138
- Si Gate FAIL:
139
- - Ejecutar **Paso 10 (FAIL)**.
142
+ If Gate FAIL:
143
+ - Execute **Step 10 (FAIL)**.