@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-1-research
3
- description: Fase 1 del ciclo de tarea. Investigacion tecnica exhaustiva de necesidades y alternativas. Requiere aprobacion explicita del desarrollador.
3
+ description: Phase 1 of the task lifecycle. Exhaustive technical research of needs and alternatives. Requires explicit developer approval.
4
4
  owner: researcher-agent
5
5
  version: 1.0.0
6
6
  severity: PERMANENT
@@ -12,145 +12,151 @@ blocking: true
12
12
  # WORKFLOW: tasklifecycle.phase-1-research
13
13
 
14
14
  ## Input (REQUIRED)
15
- - Existe la current task:
15
+ - The current task exists:
16
16
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
17
- - El `task.md` **DEBE** reflejar:
17
+ - The `task.md` **MUST** reflect:
18
18
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_1.id`
19
- - El `task.md` **DEBE** incluir:
20
- - descripcion
21
- - objetivo
22
- - acceptance criteria definidos
19
+ - The `task.md` **MUST** include:
20
+ - description
21
+ - objective
22
+ - defined acceptance criteria
23
23
 
24
24
  > [!IMPORTANT]
25
- > **Constitución activa (OBLIGATORIO)**:
26
- > - Cargar `constitution.clean_code` antes de iniciar
27
- > - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
28
- > - **Activar `skill.runtime-governance`** (Para validación de gate y trazabilidad)
25
+ > **Active constitution (MANDATORY)**:
26
+ > - Load `constitution.clean_code` before starting
27
+ > - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
29
28
 
30
29
  ## Output (REQUIRED)
31
- - Research report (obligatorio, generado por researcher-agent):
30
+ - Research report (mandatory, generated by researcher-agent):
32
31
  - `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`
33
- - Actualizacion del estado en la current task:
32
+ - State update in the current task:
34
33
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
35
34
 
36
- ## Objetivo (ONLY)
37
- - Investigar necesidades tecnicas detectadas para la tarea.
38
- - Explorar alternativas y APIs relevantes.
39
- - Documentar compatibilidad y riesgos.
40
- - Entregar un informe riguroso y verificable para el architect-agent.
35
+ ## Objective (ONLY)
36
+ - Investigate technical needs detected for the task.
37
+ - Explore alternatives and relevant APIs.
38
+ - Document compatibility and risks.
39
+ - Deliver a rigorous and verifiable report for the architect-agent.
41
40
 
42
- > Esta fase **NO implementa código**.
43
- > Esta fase **REQUIERE aprobación explícita del desarrollador**.
41
+ > This phase **DOES NOT implement code**.
42
+ > This phase **REQUIRES explicit developer approval**.
44
43
 
45
44
  > [!CAUTION]
46
- > **REGLA PERMANENT**: Research DOCUMENTA, NO analiza.
47
- > El researcher-agent recopila información de fuentes oficiales.
48
- > **PROHIBIDO**: proponer soluciones, evaluar trade-offs, recomendar alternativas.
49
- > El análisis corresponde a Phase 2.
45
+ > **PERMANENT RULE**: Research DOCUMENTS, it does NOT analyze.
46
+ > The researcher-agent gathers information from official sources.
47
+ > **PROHIBITED**: proposing solutions, evaluating trade-offs, recommending alternatives.
48
+ > Analysis belongs to Phase 2.
50
49
 
51
- ## Template (OBLIGATORIO)
52
- - El informe **DEBE** crearse usando el template:
50
+ ## Template (MANDATORY)
51
+ - The report **MUST** be created using the template:
53
52
  - `templates.research`
54
- - Si el template no existe o no se puede cargar → **FAIL**.
53
+ - If the template does not exist or cannot be loaded → **FAIL**.
55
54
 
56
55
  ---
57
56
 
58
- ## Pasos obligatorios
59
- 0. Activar `researcher-agent` y usar prefijo obligatorio en cada mensaje.
57
+ ## Mandatory Steps
58
+ 0. Activate `researcher-agent` and use the mandatory prefix in every message.
60
59
 
61
- 1. Verificar inputs (architect-agent)
62
- - Existe `task.md`
60
+ 1. Verify inputs (architect-agent)
61
+ - `task.md` exists
63
62
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_1.id`
64
- - `task.md` contiene acceptance criteria
65
- - Si fallair a **Paso 8 (FAIL)**.
63
+ - `task.md` contains acceptance criteria
64
+ - If it fails go to **Step 8 (FAIL)**.
66
65
 
67
- 2. Cargar template de research (architect-agent)
68
- - Cargar `templates.research`
69
- - Si no existe o no se puede leerir a **Paso 8 (FAIL)**.
66
+ 2. Load research template (architect-agent)
67
+ - Load `templates.research`
68
+ - If it does not exist or cannot be read go to **Step 8 (FAIL)**.
70
69
 
71
- 3. **Delegar al researcher-agent (OBLIGATORIO)**
72
- > ⚠️ **REGLA PERMANENTE**: El `architect-agent` **NO PUEDE** crear el informe de research.
73
- > El `researcher-agent` es el **único agente autorizado** para crear `research.md`.
70
+ 3. **Delegate to researcher-agent (MANDATORY)**
71
+ > ⚠️ **PERMANENT RULE**: The `architect-agent` **CANNOT** create the research report.
72
+ > The `researcher-agent` is the **only authorized agent** to create `research.md`.
74
73
 
75
- El `architect-agent` **DEBE**:
76
- a) Activar al `researcher-agent` con el contexto de la tarea:
77
- - Descripción y objetivo de la tarea
74
+ The `architect-agent` **MUST**:
75
+ a) Activate the `researcher-agent` with the task context:
76
+ - Task description and objective
78
77
  - Acceptance criteria
79
- - Template a utilizar (`templates.research`)
80
- b) Esperar a que el `researcher-agent` complete su informe
81
- c) Verificar que el informe existe y cumple el template
78
+ - Template to use (`templates.research`)
79
+ b) Wait for the `researcher-agent` to complete the report
80
+ c) Verify that the report exists and follows the template
82
81
 
83
- **Prefijo obligatorio del researcher-agent**: `🔬 **researcher-agent**:`
82
+ **Mandatory researcher-agent prefix**: `🔬 **researcher-agent**:`
84
83
 
85
- El `researcher-agent` **DEBE**:
86
- - Crear el directorio: `.agent/artifacts/<taskId>-<taskTitle>/researcher/`
87
- - Crear el informe: `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`
88
- - Seguir estrictamente el template `templates.research`
89
- - Cubrir todos los puntos obligatorios:
90
- - alternativas tecnicas y APIs relevantes
91
- - compatibilidad multi-browser
92
- - riesgos y trade-offs
93
- - recomendaciones AI-first
94
- - fuentes oficiales o de prestigio
95
- - Devolver el control al `architect-agent` al finalizar
96
-
97
-
98
- 4. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
99
- - El desarrollador **DEBE** emitir una decision binaria:
100
- - **SI** → aprobado
101
- - **NO** → rechazado
102
- - Registrar la decision en `research.md` con el formato:
84
+ The `researcher-agent` **MUST**:
85
+ - Create the directory: `.agent/artifacts/<taskId>-<taskTitle>/researcher/`
86
+ - Create the report: `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`
87
+ - Strictly follow the `templates.research` template
88
+ - Cover all mandatory points:
89
+ - technical alternatives and relevant APIs
90
+ - multi-browser compatibility
91
+ - risks and trade-offs
92
+ - AI-first recommendations
93
+ - official or reputable sources
94
+ - Return control to the `architect-agent` upon completion
95
+
96
+
97
+ 4. Request developer approval (MANDATORY, via console)
98
+ - The developer **MUST** issue a binary decision:
99
+ - **SI** → approved
100
+ - **NO** → rejected
101
+ - Record the decision in `research.md` with the format:
103
102
  ```yaml
104
103
  approval:
105
104
  developer:
106
105
  decision: SI | NO
107
106
  date: <ISO-8601>
108
- comments: <opcional>
107
+ comments: <optional>
109
108
  ```
110
- - Si `decision != SI` → ir a **Paso 8 (FAIL)**.
109
+ - If `decision != SI` → go to **Step 8 (FAIL)**.
111
110
 
112
111
  5. PASS
113
- - Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
114
- - marcar Fase 1 como completada
115
- - establecer `task.lifecycle.phases.phase-1-research.validated_at = <ISO-8601>`
116
- - actualizar `task.phase.updated_at = <ISO-8601>`
117
- - avanzar `task.phase.current = aliases.tasklifecycle-long.phases.phase_2.id`
112
+ - Report that Phase 1 is correctly completed.
113
+ - The `architect-agent` **MUST explicitly perform** the following actions:
114
+ - Mark Phase 1 as completed in `task.md`.
115
+ - Set `task.lifecycle.phases.phase-1-research.completed = true`.
116
+ - Set `task.lifecycle.phases.phase-1-research.validated_at = <ISO-8601>`.
117
+ - Update `task.phase.updated_at = <ISO-8601>`.
118
+ - Update the state:
119
+ - `task.phase.current = aliases.tasklifecycle-long.phases.phase_2.id`
120
+ - This update is **NOT automatic** and **CANNOT be inferred**.
121
+ - Until this change is reflected in `task.md`, **Phase 2 cannot be started**.
122
+ - Indicate paths:
123
+ - `research.md`
124
+ - `task.md` updated
118
125
 
119
126
  ---
120
127
 
121
- ## FAIL (OBLIGATORIO)
128
+ ## FAIL (MANDATORY)
122
129
 
123
- 8. Declarar Fase 1 como **NO completada**
124
- - Indicar exactamente que fallo:
125
- - task inexistente
126
- - fase incorrecta
127
- - template inexistente
128
- - fallo al crear `research.md`
129
- - aprobacion del desarrollador = NO o inexistente
130
- - Pedir la accion minima para solventar
131
- - Terminar bloqueado: no avanzar de fase.
130
+ 8. Declare Phase 1 as **NOT completed**
131
+ - Indicate exactly what failed:
132
+ - non-existent task
133
+ - incorrect phase
134
+ - non-existent template
135
+ - failure creating `research.md`
136
+ - developer approval = NO or missing
137
+ - Request the minimum action to resolve
138
+ - Terminate blocked: do not advance phase.
132
139
 
133
140
  ---
134
141
 
135
142
  ## Gate (REQUIRED)
136
143
 
137
- Requisitos (todos obligatorios):
138
- 1. Existe `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`.
139
- 2. El informe sigue la estructura del template `templates.research`.
140
- 3. El `research.md` inicia con el prefijo del `researcher-agent`.
141
- 4. El informe **DEBE** haber sido creado por el `researcher-agent`, **NO** por el `architect-agent`.
142
- > ⚠️ Si el informe fue creado por otro agente → **Gate FAIL**.
143
- 5. Existe aprobacion explicita del desarrollador:
144
+ Requirements (all mandatory):
145
+ 1. `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md` exists.
146
+ 2. The report follows the `templates.research` template structure.
147
+ 3. The `research.md` starts with the `researcher-agent` prefix.
148
+ 4. The report **MUST** have been created by the `researcher-agent`, **NOT** by the `architect-agent`.
149
+ > ⚠️ If the report was created by another agent → **Gate FAIL**.
150
+ 5. Explicit developer approval exists:
144
151
  - `approval.developer.decision == SI`
145
- 6. La investigación es profunda, detallada y basada en fuentes oficiales o de prestigio.
146
- 7. El informe **NO contiene** análisis, recomendaciones ni valoraciones.
147
- 8. `task.md` refleja:
148
- - Fase 1 completada
152
+ 6. The research is deep, detailed, and based on official or reputable sources.
153
+ 7. The report **DOES NOT contain** analysis, recommendations, or evaluations.
154
+ 8. `task.md` reflects:
155
+ - Phase 1 completed
149
156
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_2.id`
150
157
  - `task.lifecycle.phases.phase-1-research.completed == true`
151
- - `task.lifecycle.phases.phase-1-research.validated_at` no nulo
152
- - `task.phase.updated_at` no nulo
153
- 6. **Gobernanza verificada**: El historial de logs muestra la secuencia de herramientas MCP definida en `skill.runtime-governance`.
158
+ - `task.lifecycle.phases.phase-1-research.validated_at` not null
159
+ - `task.phase.updated_at` not null
154
160
 
155
- Si Gate FAIL:
156
- - Ejecutar **Paso 8 (FAIL)**.
161
+ If Gate FAIL:
162
+ - Execute **Step 8 (FAIL)**.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: workflow.tasklifecycle-long.phase-2-analysis
3
- description: Fase 2 del ciclo de tarea. Analisis profundo basado en la investigacion previa, cubre acceptance criteria y define agentes, responsabilidades e impacto. Requiere aprobacion del desarrollador.
3
+ description: Phase 2 of the task lifecycle. Deep analysis based on prior research, covers acceptance criteria and defines agents, responsibilities, and impact. Requires developer approval.
4
4
  owner: architect-agent
5
5
  version: 1.0.0
6
6
  severity: PERMANENT
@@ -12,133 +12,138 @@ blocking: true
12
12
  # WORKFLOW: tasklifecycle.phase-2-analysis
13
13
 
14
14
  ## Input (REQUIRED)
15
- - Existe la current task creada en Fase 0:
15
+ - The current task created in Phase 0 exists:
16
16
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
17
- - Existe el informe de investigacion aprobado:
17
+ - The approved research report exists:
18
18
  - `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`
19
- - El `task.md` **DEBE** incluir:
20
- - descripcion
21
- - objetivo
22
- - acceptance criteria definidos
19
+ - The `task.md` **MUST** include:
20
+ - description
21
+ - objective
22
+ - defined acceptance criteria
23
23
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_2.id`
24
24
 
25
25
  > [!IMPORTANT]
26
- > **Constitución activa (OBLIGATORIO)**:
27
- > - Cargar `constitution.clean_code` antes de iniciar
28
- > - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
26
+ > **Active constitution (MANDATORY)**:
27
+ > - Load `constitution.clean_code` before starting
28
+ > - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
29
29
 
30
30
  ## Output (REQUIRED)
31
- - Crear el artefacto de analisis **a partir del template**:
31
+ - Create the analysis artifact **from the template**:
32
32
  - `.agent/artifacts/<taskId>-<taskTitle>/analysis.md`
33
- - Actualizar el estado en la current task:
33
+ - Update the state in the current task:
34
34
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
35
35
 
36
- ## Objetivo (ONLY)
37
- Crear un informe de **analisis** profundo que:
38
- - cubra **todos** los acceptance criteria del `task.md`
39
- - respete la arquitectura y reglas del proyecto
40
- - analice el estado real del proyecto (estructura, componentes y areas activas)
41
- - integre la investigacion aprobada de Fase 1
42
- - defina agentes, subareas e impacto de la tarea
43
- - identifique si la tarea requiere crear, modificar o eliminar componentes del sistema
44
- - identificar si la tarea requiere crear una demo y su impacto estructural
45
- - sirva como **input contractual** para la Fase 3 (Planning)
46
-
47
- > Esta fase **NO implementa codigo**.
48
- > Esta fase **NO planifica ejecucion detallada**.
49
- > Esta fase **REQUIERE aprobacion explicita del desarrollador**.
50
-
51
- ## Template (OBLIGATORIO)
52
- - El informe **DEBE** crearse usando el template:
36
+ ## Objective (ONLY)
37
+ Create a deep **analysis** report that:
38
+ - covers **all** acceptance criteria from `task.md`
39
+ - respects the project's architecture and rules
40
+ - analyzes the actual project state (structure, components, and active areas)
41
+ - integrates the approved research from Phase 1
42
+ - defines agents, sub-areas, and task impact
43
+ - identifies whether the task requires creating, modifying, or deleting system components
44
+ - identifies whether the task requires creating a demo and its structural impact
45
+ - serves as **contractual input** for Phase 3 (Planning)
46
+
47
+ > This phase **DOES NOT implement code**.
48
+ > This phase **DOES NOT plan detailed execution**.
49
+ > This phase **REQUIRES explicit developer approval**.
50
+
51
+ ## Template (MANDATORY)
52
+ - The report **MUST** be created using the template:
53
53
  - `templates.analysis`
54
- - El template **NO DEBE** modificarse.
55
- - Si el template no existe o no se puede cargar → **FAIL**.
56
-
57
- ## Pasos obligatorios
58
- 0. Activar `architect-agent` y usar prefijo obligatorio en cada mensaje.
59
- 1. Verificar inputs
60
- - Existe `.agent/artifacts/<taskId>-<taskTitle>/task.md`
61
- - Existe `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md`
54
+ - The template **MUST NOT** be modified.
55
+ - If the template does not exist or cannot be loaded → **FAIL**.
56
+
57
+ ## Mandatory Steps
58
+ 0. Activate `architect-agent` and use the mandatory prefix in every message.
59
+ 1. Verify inputs
60
+ - `.agent/artifacts/<taskId>-<taskTitle>/task.md` exists
61
+ - `.agent/artifacts/<taskId>-<taskTitle>/researcher/research.md` exists
62
62
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_2.id`
63
- - El `task.md` contiene acceptance criteria definidos
64
- - El research esta aprobado por el desarrollador (SI)
65
- - Si fallair a **Paso 10 (FAIL)**.
63
+ - `task.md` contains defined acceptance criteria
64
+ - Research is approved by the developer (SI)
65
+ - If it fails go to **Step 10 (FAIL)**.
66
66
 
67
- 2. Cargar template de analysis
68
- - Cargar `templates.analysis`
69
- - Si no existe o no se puede leerir a **Paso 10 (FAIL)**.
67
+ 2. Load analysis template
68
+ - Load `templates.analysis`
69
+ - If it does not exist or cannot be read go to **Step 10 (FAIL)**.
70
70
 
71
- 3. Crear instancia de analysis
72
- - Copiar el template a:
71
+ 3. Create analysis instance
72
+ - Copy the template to:
73
73
  - `.agent/artifacts/<taskId>-<taskTitle>/analysis.md`
74
- - Rellenar secciones segun la tarea concreta.
75
-
76
- 4. Analizar estado del proyecto e historial de agentes
77
- - Revisar estructura, componentes y tareas previas.
78
- - Documentar hallazgos en `analysis.md`.
79
-
80
- 5. Integrar investigacion aprobada
81
- - Basar alternativas, riesgos y compatibilidad en `research.md`.
82
- - Complementar con analisis arquitectonico propio.
83
-
84
- 6. Cobertura de acceptance criteria
85
- - Mapear **cada acceptance criteria** a su analisis, verificacion y riesgos.
86
-
87
- 7. Definir agentes y subareas
88
- - Enumerar agentes necesarios.
89
- - Definir responsabilidades y handoffs.
90
- - Identificar si se requiere crear, modificar o eliminar componentes.
91
- - Identificar si se requiere crear demo y su impacto estructural.
92
-
93
- 8. Solicitar aprobacion del desarrollador (OBLIGATORIO, por consola)
94
- - El desarrollador **DEBE** emitir una decision binaria:
95
- - **SI** (aprobado)
96
- - **NO** (rechazado)
97
- - La decision **DEBE** registrarse en `analysis.md` con el formato:
74
+ - Fill sections according to the specific task.
75
+
76
+ 4. Analyze project state and agent history
77
+ - Review structure, components, and previous tasks.
78
+ - Document findings in `analysis.md`.
79
+
80
+ 5. Integrate approved research
81
+ - Base alternatives, risks, and compatibility on `research.md`.
82
+ - Complement with own architectural analysis.
83
+
84
+ 6. Acceptance criteria coverage
85
+ - Map **each acceptance criterion** to its analysis, verification, and risks.
86
+
87
+ 7. Define agents and sub-areas
88
+ - List required agents.
89
+ - Define responsibilities and handoffs.
90
+ - Identify if creating, modifying, or deleting components is required.
91
+ - Identify if creating a demo is required and its structural impact.
92
+
93
+ 8. Request developer approval (MANDATORY, via console)
94
+ - The developer **MUST** issue a binary decision:
95
+ - **SI** (approved)
96
+ - **NO** (rejected)
97
+ - The decision **MUST** be recorded in `analysis.md` with the format:
98
98
  ```yaml
99
99
  approval:
100
100
  developer:
101
101
  decision: SI | NO
102
102
  date: <ISO-8601>
103
- comments: <opcional>
103
+ comments: <optional>
104
104
  ```
105
- - Si `decision != SI` → ir a **Paso 10 (FAIL)**.
105
+ - If `decision != SI` → go to **Step 10 (FAIL)**.
106
106
 
107
107
  9. PASS
108
- - Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
109
- - marcar Fase 2 como completada
110
- - establecer `task.lifecycle.phases.phase-2-analysis.validated_at = <ISO-8601>`
111
- - actualizar `task.phase.updated_at = <ISO-8601>`
112
- - avanzar `task.phase.current = aliases.tasklifecycle-long.phases.phase_3.id`
113
- - Indicar rutas:
108
+ - Report that Phase 2 is correctly completed.
109
+ - The `architect-agent` **MUST explicitly perform** the following actions:
110
+ - Mark Phase 2 as completed in `task.md`.
111
+ - Set `task.lifecycle.phases.phase-2-analysis.completed = true`.
112
+ - Set `task.lifecycle.phases.phase-2-analysis.validated_at = <ISO-8601>`.
113
+ - Update `task.phase.updated_at = <ISO-8601>`.
114
+ - Update the state:
115
+ - `task.phase.current = aliases.tasklifecycle-long.phases.phase_3.id`
116
+ - This update is **NOT automatic** and **CANNOT be inferred**.
117
+ - Until this change is reflected in `task.md`, **Phase 3 cannot be started**.
118
+ - Indicate paths:
114
119
  - `analysis.md`
115
- - `task.md` actualizado
116
-
117
- ## FAIL (OBLIGATORIO)
118
- 10. Declarar Fase 2 como **NO completada**
119
- - Indicar exactamente que fallo:
120
- - task inexistente
121
- - fase incorrecta
122
- - research inexistente o no aprobado
123
- - template inexistente
124
- - fallo al crear `analysis.md`
125
- - aprobacion del desarrollador = NO o inexistente
126
- - Pedir la accion minima para solventar
127
- - Terminar bloqueado: no avanzar de fase.
120
+ - `task.md` updated
121
+
122
+ ## FAIL (MANDATORY)
123
+ 10. Declare Phase 2 as **NOT completed**
124
+ - Indicate exactly what failed:
125
+ - non-existent task
126
+ - incorrect phase
127
+ - non-existent or unapproved research
128
+ - non-existent template
129
+ - failure creating `analysis.md`
130
+ - developer approval = NO or missing
131
+ - Request the minimum action to resolve
132
+ - Terminate blocked: do not advance phase.
128
133
 
129
134
  ## Gate (REQUIRED)
130
- Requisitos (todos obligatorios):
131
- 1. Existe `.agent/artifacts/<taskId>-<taskTitle>/analysis.md`.
132
- 2. El fichero sigue la estructura del template `templates.analysis`.
133
- 3. El `analysis.md` inicia con el prefijo del `architect-agent`.
134
- 4. Cubre todos los acceptance criteria del `task.md`.
135
- 5. Existe aprobacion explicita del desarrollador:
135
+ Requirements (all mandatory):
136
+ 1. `.agent/artifacts/<taskId>-<taskTitle>/analysis.md` exists.
137
+ 2. The file follows the `templates.analysis` template structure.
138
+ 3. The `analysis.md` starts with the `architect-agent` prefix.
139
+ 4. Covers all acceptance criteria from `task.md`.
140
+ 5. Explicit developer approval exists:
136
141
  - `approval.developer.decision == SI`
137
- 6. `task.md` refleja:
138
- - Fase 2 completada
142
+ 6. `task.md` reflects:
143
+ - Phase 2 completed
139
144
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_3.id`
140
145
  - `task.lifecycle.phases.phase-2-analysis.completed == true`
141
- - `task.lifecycle.phases.phase-2-analysis.validated_at` no nulo
142
- - `task.phase.updated_at` no nulo
143
- Si Gate FAIL:
144
- - Ejecutar **Paso 10 (FAIL)**.
146
+ - `task.lifecycle.phases.phase-2-analysis.validated_at` not null
147
+ - `task.phase.updated_at` not null
148
+ If Gate FAIL:
149
+ - Execute **Step 10 (FAIL)**.