@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
@@ -9,101 +9,101 @@ related_plan: .agent/artifacts/<taskId>-<taskTitle>/plan.md
9
9
 
10
10
  # Architectural Implementation Review — <taskId>-<taskTitle>
11
11
 
12
- ## Identificacion del agente (OBLIGATORIA)
13
- Primera linea del documento:
14
- `<icono> **<nombre-agente>**: <mensaje>`
12
+ ## Agent Identification (MANDATORY)
13
+ First line of the document:
14
+ `<icon> **<agent-name>**: <message>`
15
15
 
16
- ## 1. Resumen de la revisión
17
- - **Objetivo del review**
18
- Verificar que la implementación ejecutada cumple el **plan de implementación aprobado** sin desviaciones no autorizadas.
16
+ ## 1. Review Summary
17
+ - **Review objective**
18
+ Verify that the executed implementation meets the **approved implementation plan** without unauthorized deviations.
19
19
 
20
- - **Resultado global**
21
- - Estado: ☐ APROBADORECHAZADO
22
- - Fecha de revisión:
23
- - Arquitecto responsable:
20
+ - **Overall result**
21
+ - Status: ☐ APPROVEDREJECTED
22
+ - Review date:
23
+ - Responsible architect:
24
24
 
25
25
  ---
26
26
 
27
- ## 2. Verificación contra el plan de implementación
28
- Revisión directa y trazable **plan → implementación**.
27
+ ## 2. Verification Against the Implementation Plan
28
+ Direct and traceable review **plan → implementation**.
29
29
 
30
- ### 2.1 Pasos del plan
31
- Para **cada paso definido en `plan.md`**:
30
+ ### 2.1 Plan Steps
31
+ For **each step defined in `plan.md`**:
32
32
 
33
- | Paso del plan | Estado | Evidencia | Observaciones |
34
- |---------------|--------|-----------|---------------|
35
- | Paso 1 | ☐ OK ☐ NO OK | refs / commits / artefactos | |
36
- | Paso 2 | ☐ OK ☐ NO OK | | |
33
+ | Plan Step | Status | Evidence | Observations |
34
+ |-----------|--------|----------|-------------|
35
+ | Step 1 | ☐ OK ☐ NOT OK | refs / commits / artifacts | |
36
+ | Step 2 | ☐ OK ☐ NOT OK | | |
37
37
 
38
- > Todos los pasos **DEBEN** estar en estado **OK** para aprobar la fase.
38
+ > All steps **MUST** be in **OK** status to approve the phase.
39
39
 
40
40
  ---
41
41
 
42
- ## 3. Subtareas por agente
43
- Revisión de las implementaciones individuales.
42
+ ## 3. Subtasks by Agent
43
+ Review of individual implementations.
44
44
 
45
- ### Agente: `<agent-name>`
45
+ ### Agent: `<agent-name>`
46
46
  - **Subtask document**:
47
47
  - `.agent/artifacts/<taskId>-<taskTitle>/<agent>/subtask-implementation.md`
48
- - **Evaluación**:
49
- - ☐ Cumple el plan
50
- - ☐ Desviaciones detectadas (detallar abajo)
48
+ - **Evaluation**:
49
+ - ☐ Meets the plan
50
+ - ☐ Deviations detected (detail below)
51
51
 
52
- **Notas del arquitecto**
53
- - Cambios realizados:
54
- - Decisiones técnicas:
55
- - Coherencia con el resto del sistema:
52
+ **Architect's Notes**
53
+ - Changes made:
54
+ - Technical decisions:
55
+ - Coherence with the rest of the system:
56
56
 
57
- (Repetir sección por cada agente participante)
57
+ (Repeat section for each participating agent)
58
58
 
59
59
  ---
60
60
 
61
- ## 4. Acceptance Criteria (impacto)
62
- Verificación de que la implementación **no rompe** los acceptance criteria definidos.
61
+ ## 4. Acceptance Criteria (impact)
62
+ Verification that the implementation **does not break** the defined acceptance criteria.
63
63
 
64
- - ☐ Todos los AC siguen siendo válidos
65
- - ☐ Algún AC requiere revisión (detallar)
64
+ - ☐ All ACs remain valid
65
+ - ☐ Some AC requires review (detail)
66
66
 
67
- **Observaciones**
68
- - AC afectados:
69
- - Motivo:
67
+ **Observations**
68
+ - Affected ACs:
69
+ - Reason:
70
70
 
71
71
  ---
72
72
 
73
- ## 5. Coherencia arquitectónica
74
- Evaluación global del sistema tras la implementación.
73
+ ## 5. Architectural Coherence
74
+ Overall system evaluation after implementation.
75
75
 
76
- - ☐ Respeta arquitectura del proyecto
77
- - ☐ Respeta clean code
78
- - ☐ No introduce deuda técnica significativa
79
- - ☐ Mantiene compatibilidad esperada (multi-browser si aplica)
76
+ - ☐ Respects project architecture
77
+ - ☐ Respects clean code
78
+ - ☐ Does not introduce significant technical debt
79
+ - ☐ Maintains expected compatibility (multi-browser if applicable)
80
80
 
81
- **Observaciones arquitectónicas**
82
- - Impacto en estructura:
83
- - Impacto en componentes:
84
- - Riesgos introducidos:
81
+ **Architectural Observations**
82
+ - Structural impact:
83
+ - Component impact:
84
+ - Introduced risks:
85
85
 
86
86
  ---
87
87
 
88
- ## 6. Desviaciones del plan
89
- Registro explícito de desviaciones (si existen).
88
+ ## 6. Plan Deviations
89
+ Explicit record of deviations (if any).
90
90
 
91
- - **Desviación**
92
- - Descripción:
93
- - Justificación:
94
- - ¿Estaba prevista en el plan? ☐ ☐ No
95
- - ¿Requiere replanificación? ☐ ☐ No
91
+ - **Deviation**
92
+ - Description:
93
+ - Justification:
94
+ - Was it planned? ☐ Yes ☐ No
95
+ - Does it require replanning? ☐ Yes ☐ No
96
96
 
97
- (Si no hay desviaciones, indicar explícitamente: “Sin desviaciones detectadas”).
97
+ (If no deviations, indicate explicitly: "No deviations detected.")
98
98
 
99
99
  ---
100
100
 
101
- ## 7. Decisión final del arquitecto
102
- Decisión **severa y binaria**.
101
+ ## 7. Architect's Final Decision
102
+ **Strict and binary** decision.
103
103
 
104
104
  ```yaml
105
105
  decision:
106
106
  architect:
107
- result: APROBADO | RECHAZADO
107
+ result: APPROVED | REJECTED
108
108
  date: <ISO-8601>
109
- comments: <opcional>
109
+ comments: <optional>
@@ -9,54 +9,54 @@ subtask_id: <id>
9
9
  ---
10
10
 
11
11
  > [!WARNING]
12
- > **@deprecated**: Este template está obsoleto. Usar `templates.agent_task` para nuevas tareas.
12
+ > **@deprecated**: This template is obsolete. Use `templates.agent_task` for new tasks.
13
13
 
14
14
  # Subtask Implementation Report — <taskId>-<taskTitle> — <agent> — <subtask_id>
15
15
 
16
- ## 1. Contexto y alcance
17
- - Descripcion precisa de la subtask
18
- - Objetivo especifico
19
- - Relacion con el plan (referencia a paso exacto)
16
+ ## 1. Context and Scope
17
+ - Precise description of the subtask
18
+ - Specific objective
19
+ - Relationship with the plan (reference to exact step)
20
20
 
21
21
  ---
22
22
 
23
- ## 2. Cambios realizados (detallado)
24
- - Archivos tocados (lista completa)
25
- - Cambios por archivo (resumen por archivo)
26
- - APIs/contratos afectados
27
- - Nuevas funciones/clases/constantes
23
+ ## 2. Changes Made (detailed)
24
+ - Files touched (complete list)
25
+ - Changes per file (summary per file)
26
+ - APIs/contracts affected
27
+ - New functions/classes/constants
28
28
 
29
29
  ---
30
30
 
31
- ## 3. Decisiones tecnicas
32
- - Decisiones clave y su justificacion
33
- - Alternativas consideradas y por que se descartaron
34
- - Impacto en otros componentes (si aplica)
31
+ ## 3. Technical Decisions
32
+ - Key decisions and their justification
33
+ - Alternatives considered and why they were discarded
34
+ - Impact on other components (if applicable)
35
35
 
36
36
  ---
37
37
 
38
- ## 4. Testing y evidencia
39
- - Tests ejecutados (comando y alcance)
40
- - Resultados (pass/fail)
41
- - Evidencias (logs, capturas, reportes)
38
+ ## 4. Testing and Evidence
39
+ - Tests executed (command and scope)
40
+ - Results (pass/fail)
41
+ - Evidence (logs, screenshots, reports)
42
42
 
43
43
  ---
44
44
 
45
- ## 5. Desviaciones del plan
46
- - Desviaciones detectadas
47
- - Motivo
48
- - Accion correctiva o deuda registrada
45
+ ## 5. Plan Deviations
46
+ - Detected deviations
47
+ - Reason
48
+ - Corrective action or registered debt
49
49
 
50
50
  ---
51
51
 
52
- ## 6. Riesgos y validaciones pendientes
53
- - Riesgos abiertos
54
- - Validaciones pendientes
52
+ ## 6. Risks and Pending Validations
53
+ - Open risks
54
+ - Pending validations
55
55
 
56
56
  ---
57
57
 
58
58
  ## 7. Checklist
59
- - [ ] Subtask completada
60
- - [ ] Cambios documentados
61
- - [ ] Testing documentado
62
- - [ ] Lista para revision de arquitecto
59
+ - [ ] Subtask completed
60
+ - [ ] Changes documented
61
+ - [ ] Testing documented
62
+ - [ ] Ready for architect review
@@ -1,9 +1,3 @@
1
- ---
2
- kind: template
3
- name: supplemental-report
4
- source: agentic-system-structure
5
- ---
6
-
7
1
  # Supplemental Report (Template)
8
2
 
9
3
  ## Identificacion
@@ -8,31 +8,31 @@ related_task: <taskId>-<taskTitle>
8
8
 
9
9
  # Task Metrics — <taskId>-<taskTitle>
10
10
 
11
- ## Identificacion del agente (OBLIGATORIA)
12
- Primera linea del documento:
13
- `<icono> **<nombre-agente>**: <mensaje>`
11
+ ## Agent Identification (MANDATORY)
12
+ First line of the document:
13
+ `<icon> **<agent-name>**: <message>`
14
14
 
15
- ## 1. Agentes evaluados
15
+ ## 1. Evaluated Agents
16
16
  - Agent A
17
17
  - Agent B
18
18
 
19
19
  ---
20
20
 
21
- ## 2. Puntuacion por agente (0-10)
21
+ ## 2. Score per Agent (0-10)
22
22
  - **Agent A**: score
23
- - Justificacion
23
+ - Justification
24
24
  - **Agent B**: score
25
- - Justificacion
25
+ - Justification
26
26
 
27
27
  ---
28
28
 
29
- ## 3. Puntuacion global de la tarea
30
- - Promedio ponderado: score
31
- - Observaciones
29
+ ## 3. Overall Task Score
30
+ - Weighted average: score
31
+ - Observations
32
32
 
33
33
  ---
34
34
 
35
- ## 4. Validación del Desarrollador
36
- - Aprobado: [SI/NO]
37
- - Puntuación del desarrollador (0-5):
38
- - Comentarios:
35
+ ## 4. Developer Validation
36
+ - Approved: [SI/NO]
37
+ - Developer score (0-5):
38
+ - Comments:
@@ -7,25 +7,25 @@ strategy: {{task.strategy}}
7
7
 
8
8
  # Task (Template)
9
9
 
10
- ## Identificación
10
+ ## Identification
11
11
  - id: {{task.id}}
12
12
  - title: {{task.title}}
13
13
  - scope: candidate | current
14
14
  - owner: architect-agent
15
15
 
16
- ## Origen
16
+ ## Origin
17
17
  - created_from:
18
18
  - workflow: tasklifecycle
19
19
  - source: init / tasklifecycle
20
20
  - candidate_path: artifacts.candidate.task
21
21
 
22
- ## Descripción de la tarea
22
+ ## Task Description
23
23
  {{task.description}}
24
24
 
25
- ## Objetivo
25
+ ## Objective
26
26
  {{task.goal}}
27
27
 
28
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
28
+ ## Lifecycle State (SINGLE SOURCE OF TRUTH)
29
29
 
30
30
  ```yaml
31
31
  task:
@@ -109,18 +109,18 @@ task:
109
109
 
110
110
  ---
111
111
 
112
- ## 2. Definición y Alcance (Contrato)
112
+ ## 2. Definition and Scope (Contract)
113
113
  - **Acceptance Criteria**: [acceptance.md](file:///{{task.acceptance_path}})
114
114
  - **Alias**: `task.acceptance`
115
115
 
116
116
  ---
117
117
 
118
- ## Reglas contractuales
119
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
120
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
121
- - El campo `task.lifecycle.phases.*` **SOLO puede ser marcado como completed por `architect-agent`**.
122
- - Una fase **NO puede marcarse como completed** si no es la fase actual.
123
- - El avance de fase requiere:
124
- 1. Marcar la fase actual como `completed: true`
125
- 2. Validación explícita del architect
126
- 3. Actualización de `task.phase.current` a la siguiente fase
118
+ ## Contractual Rules
119
+ - This file is the **single source of truth** of the task state.
120
+ - The `task.phase.current` field can **ONLY be modified by `architect-agent`**.
121
+ - The `task.lifecycle.phases.*` field can **ONLY be marked as completed by `architect-agent`**.
122
+ - A phase **CANNOT be marked as completed** if it is not the current phase.
123
+ - Phase advancement requires:
124
+ 1. Marking the current phase as `completed: true`
125
+ 2. Explicit architect validation
126
+ 3. Updating `task.phase.current` to the next phase
@@ -2,44 +2,44 @@
2
2
  artifact: todo_item
3
3
  owner: architect-agent
4
4
  status: open | in-progress | done | cancelled
5
- priority: alta | media | baja
5
+ priority: high | medium | low
6
6
  ---
7
7
 
8
- # TODO: <título breve>
8
+ # TODO: <short title>
9
9
 
10
- ## Origen
11
- - **Detectado en tarea**: <taskId>-<taskTitle>
12
- - **Fase**: <phase donde se detectó>
13
- - **Fecha**: <ISO-8601>
14
- - **Agente**: <agente que lo detectó>
10
+ ## Origin
11
+ - **Detected in task**: <taskId>-<taskTitle>
12
+ - **Phase**: <phase where detected>
13
+ - **Date**: <ISO-8601>
14
+ - **Agent**: <agent that detected it>
15
15
 
16
- ## Descripción
17
- <Descripción clara de la mejora propuesta>
16
+ ## Description
17
+ <Clear description of the proposed improvement>
18
18
 
19
- ## Justificación
20
- <Por qué es importante hacer este cambio>
19
+ ## Justification
20
+ <Why it is important to make this change>
21
21
 
22
- ## Impacto estimado
23
- - **Complejidad**: baja | media | alta
24
- - **Áreas afectadas**: <componentes/workflows/templates>
22
+ ## Estimated Impact
23
+ - **Complexity**: low | medium | high
24
+ - **Affected areas**: <components/workflows/templates>
25
25
 
26
- ## Criterio de aceptación
27
- - [ ] <Condición verificable 1>
28
- - [ ] <Condición verificable 2>
26
+ ## Acceptance Criterion
27
+ - [ ] <Verifiable condition 1>
28
+ - [ ] <Verifiable condition 2>
29
29
 
30
- ## Notas
31
- <Información adicional relevante>
30
+ ## Notes
31
+ <Additional relevant information>
32
32
 
33
33
  ---
34
34
 
35
- ## Historial
35
+ ## History
36
36
  ```yaml
37
37
  history:
38
38
  - action: created
39
39
  date: <ISO-8601>
40
- by: <agente>
40
+ by: <agent>
41
41
  # - action: started | completed | cancelled
42
42
  # date: <ISO-8601>
43
- # by: <agente>
44
- # task: <taskId donde se implementó>
43
+ # by: <agent>
44
+ # task: <taskId where implemented>
45
45
  ```
@@ -0,0 +1,147 @@
1
+ ---
2
+ id: workflow.coding.backend
3
+ description: On-demand coding workflow for the Backend layer. Invoked by architect-agent during Phase 4 implementation.
4
+ owner: backend
5
+ version: 1.0.0
6
+ severity: PERMANENT
7
+ trigger:
8
+ commands: ["coding-backend"]
9
+ blocking: true
10
+ ---
11
+
12
+ # WORKFLOW: coding.backend
13
+
14
+ ## Input (REQUIRED)
15
+ - Agent task file assigned by architect:
16
+ - `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-backend-<taskName>.md`
17
+ - Constitution loaded:
18
+ - `constitution.backend` (MANDATORY)
19
+ - `constitution.clean_code` (MANDATORY)
20
+ - Role activated:
21
+ - `roles.backend`
22
+
23
+ > [!IMPORTANT]
24
+ > **This is an on-demand workflow.** It is invoked by `architect-agent` during Phase 4 as part of the implementation plan. The architect defines the execution order of coding workflows.
25
+
26
+ ## Output (REQUIRED)
27
+ - Implementation report using `templates.coding.layer_report`:
28
+ - Embedded in the agent task file under "Implementation Report"
29
+ - All code changes passing compilation
30
+
31
+ ---
32
+
33
+ ## Objective (ONLY)
34
+ - Implement the **backend layer** of the assigned task following `constitution.backend`.
35
+ - Generate a detailed implementation report.
36
+ - Present to developer for Gate approval.
37
+
38
+ > This workflow **ONLY** implements backend logic.
39
+ > This workflow **NEVER** imports `vscode` or DOM APIs.
40
+ > This workflow **NEVER** communicates directly with View.
41
+
42
+ ---
43
+
44
+ ## Mandatory Steps
45
+
46
+ ### 0. Activate role
47
+ - Activate `roles.backend` and use mandatory agent prefix in all messages.
48
+
49
+ ### 1. Verify inputs
50
+ - Agent task file exists and has Input section completed by architect.
51
+ - Constitution `constitution.backend` loaded.
52
+ - Constitution `constitution.clean_code` loaded.
53
+ - If missing → **FAIL**.
54
+
55
+ ### 2. Analyze the task
56
+ - Read the agent task Input (objective, scope, dependencies).
57
+ - Complete the "Reasoning" section of the agent task:
58
+ - Analyze objective
59
+ - Consider options
60
+ - Document decision and justification
61
+
62
+ ### 3. Implement
63
+ - Write code following `constitution.backend`:
64
+ - **Extend AbstractServer** from `core/backend`.
65
+ - **No vscode imports** — logic must be IDE-decoupled.
66
+ - **Transport agnostic** — use abstract adapters.
67
+ - **Error handling** — return `{ error, code }`, no raw exceptions.
68
+ - **Response format** — strictly typed JSON.
69
+ - Write code following `constitution.clean_code`.
70
+
71
+ ### 4. Self-validate
72
+ - Verify all constitution rules are satisfied:
73
+ - [ ] Extends `AbstractServer` (if applicable)
74
+ - [ ] No `vscode` or `dom` imports
75
+ - [ ] Error handling via structured responses
76
+ - [ ] No direct View communication
77
+ - [ ] Clean code principles applied
78
+ - Run compilation: `npm run compile`
79
+ - If compilation fails → fix before proceeding.
80
+
81
+ ### 5. Generate implementation report
82
+ - Complete the "Implementation Report" section using `templates.coding.layer_report`:
83
+ - **Who**: Agent identity and role
84
+ - **How**: Technical details, specifications, diagrams if needed
85
+ - **Why**: Justification and reasoning
86
+ - **Results**: What was achieved, compilation status
87
+ - **E2E Test Indications**: Scenarios for e2e testing
88
+
89
+ ### 6. Present to developer (Gate)
90
+ - Present completed task with report to developer.
91
+ - Request approval: **SI / NO**
92
+
93
+ ### 7. Register Gate
94
+ ```yaml
95
+ approval:
96
+ developer:
97
+ decision: SI | NO
98
+ date: <ISO-8601>
99
+ comments: <optional>
100
+ ```
101
+
102
+ ### 8. Evaluate Gate
103
+ - If `decision == SI` → go to **Step 9 (PASS)**.
104
+ - If `decision == NO`:
105
+ - Mark task as `failed`.
106
+ - Define corrective actions.
107
+ - **Do NOT advance** until resolved.
108
+ - Go to **Step 10 (FAIL)**.
109
+
110
+ ### 9. PASS (only if Gate approved)
111
+ - Mark agent task as `completed`.
112
+ - Update agent task file:
113
+ ```yaml
114
+ execution:
115
+ status: completed
116
+ completed_at: <ISO-8601>
117
+ ```
118
+ - Update the coding layer report with final status.
119
+ - Return control to `architect-agent` for next workflow in the sequence.
120
+
121
+ ---
122
+
123
+ ## FAIL (MANDATORY)
124
+
125
+ ### 10. Declare workflow as NOT completed
126
+ Cases:
127
+ - Missing inputs or constitution.
128
+ - Compilation failure not resolved.
129
+ - Constitution violation detected.
130
+ - Gate = NO without resolution.
131
+
132
+ Actions:
133
+ - Identify the failure point.
134
+ - Define corrective actions.
135
+ - Iterate until Gate PASS.
136
+
137
+ ---
138
+
139
+ ## Gate (REQUIRED)
140
+
141
+ Requirements (all mandatory):
142
+ 1. Code compiles without errors.
143
+ 2. All `constitution.backend` rules are satisfied.
144
+ 3. All `constitution.clean_code` rules are satisfied.
145
+ 4. Implementation report is complete (all 5 sections).
146
+ 5. Developer Gate PASS (`decision == SI`).
147
+ 6. Agent task file starts with backend agent prefix.