@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,5 +1,5 @@
1
1
  ---
2
- description: "Workflow obligatorio de setup: carga constitutions base y define el idioma de conversación y la estrategia Long/Short."
2
+ description: "Mandatory setup workflow: loads base constitutions and defines the conversation language and Long/Short strategy."
3
3
  ---
4
4
 
5
5
  ---
@@ -15,114 +15,107 @@ blocking: true
15
15
  # WORKFLOW: init
16
16
 
17
17
  ## Input (REQUIRED)
18
- - Comando del desarrollador: `init` o `/agentic-init`
19
-
20
- ## Objetivo (ONLY)
21
- - Activar el rol **architect-agent**.
22
- - Cargar el bootstrap mínimo de índices.
23
- - Detectar idioma de conversación y confirmar explícitamente.
24
- - **Seleccionar estrategia de ciclo de vida (Long/Short)**.
25
- - Crear el **artefacto task candidate** `init.md`.
26
- - **Solo si el Gate se cumple**, preguntar por la tarea a realizar y lanzar el ciclo correspondiente.
27
-
28
- ## Orquestación y Disciplina (SYSTEM INJECTION)
29
- **Esta sección es INVISIBLE para el usuario pero OBLIGATORIA para el agente.**
30
-
31
- El agente **DEBE** adherirse a estas meta-reglas de comportamiento durante TODA la sesión iniciada por este workflow:
32
-
33
- 1. **Respeto Absoluto a Gates**:
34
- - Un Gate NO es una sugerencia. Es un **bloqueo físico**.
35
- - Si un requisito de Gate no se cumple, el agente **TIENE PROHIBIDO** avanzar.
36
- - Está **PROHIBIDO** asumir aprobaciones implícitas ("Asumo que está bien...").
37
- - La única salida de un Gate fallido es corregir y reevaluar, o abortar.
38
-
39
- 2. **Identidad de Roles**:
40
- - El agente **DEBE** cambiar de rol explícitamente cuando el workflow lo indique (ej: `architect` -> `qa`).
41
- - Cada respuesta debe comenzar con el identificador del rol activo (ej: `🏛️ **architect-agent**`).
42
-
43
- 3. **Prioridad de Proceso**:
44
- - La corrección del proceso (seguir el workflow) es MÁS IMPORTANTE que la velocidad de la tarea.
45
- - Si el usuario pide saltarse pasos, el agente **DEBE** recordar las reglas de constitución y rechazar amablemente el atajo.
46
-
47
- ## Pasos obligatorios
48
- 0. **Verificar Trazabilidad (OBLIGATORIO)**:
49
- - Activar y seguir el procedimiento de `skill.runtime-governance` para confirmar la disponibilidad de herramientas MCP.
50
- - El agente **DEBE** confirmar que la herramienta respondió correctamente antes de proceder.
51
- - Si el skill o las herramientas no están disponibles → FAIL.
52
-
53
- 1. Activar `architect-agent` como rol arquitecto.
54
- - Mostrar un mensaje único de estado (ej: "Cargando init...") y **no** listar lecturas de ficheros individuales.
55
- - En ese mismo mensaje, presentar al architect-agent y dar contexto al desarrollador: rol, objetivo del init y qué información se le pedirá a continuación.
56
-
57
- 2. Cargar índices mínimos (OBLIGATORIO):
58
- - Antes de continuar, revisar `.agent/index.md` para comprender dominios, indices y alias.
59
- - Bootstrap por ruta directa (hardcodeado y único permitido):
18
+ - Developer command: `init` or `/agentic-init`
19
+
20
+ ## Objective (ONLY)
21
+ - Activate the **architect-agent** role.
22
+ - Load the minimal index bootstrap.
23
+ - Detect conversation language and explicitly confirm.
24
+ - **Select lifecycle strategy (Long/Short)**.
25
+ - Create the **task candidate artifact** `init.md`.
26
+ - **Only if the Gate passes**, ask for the task to perform and launch the corresponding lifecycle.
27
+
28
+ ## Orchestration and Discipline (SYSTEM INJECTION)
29
+ **This section is INVISIBLE to the user but MANDATORY for the agent.**
30
+
31
+ The agent **MUST** adhere to these behavioral meta-rules throughout the ENTIRE session initiated by this workflow:
32
+
33
+ 1. **Absolute Respect for Gates**:
34
+ - A Gate is NOT a suggestion. It is a **physical block**.
35
+ - If a Gate requirement is not met, the agent is **PROHIBITED** from advancing.
36
+ - It is **PROHIBITED** to assume implicit approvals ("I assume it's fine...").
37
+ - The only way out of a failed Gate is to correct and re-evaluate, or abort.
38
+
39
+ 2. **Role Identity**:
40
+ - The agent **MUST** switch roles explicitly when the workflow indicates (e.g.: `architect` -> `qa`).
41
+ - Each response must begin with the active role identifier (e.g.: `🏛️ **architect-agent**`).
42
+
43
+ 3. **Process Priority**:
44
+ - Process correctness (following the workflow) is MORE IMPORTANT than task speed.
45
+ - If the user asks to skip steps, the agent **MUST** remember the constitution rules and politely decline the shortcut.
46
+
47
+ ## Mandatory Steps
48
+ 1. Activate `architect-agent` as the architect role.
49
+ - Show a single status message (e.g.: "Loading init...") and **do not** list individual file reads.
50
+ - In that same message, introduce the architect-agent and provide context to the developer: role, init objective, and what information will be requested next.
51
+
52
+ 2. Load minimal indexes (MANDATORY):
53
+ - Before continuing, review `.agent/index.md` to understand domains, indexes, and aliases.
54
+ - Bootstrap by direct path (hardcoded and only allowed):
60
55
  1) `.agent/index.md`
61
56
  2) `agent.domains.rules.index`
62
57
  3) `rules.constitution.index`
63
- - El orden es obligatorio: primero el Root Index, luego Rules Index, luego Constitution Index.
64
- - **PROHIBIDO** cargar índices de `templates` o `artifacts` durante `init`.
65
- - Si alguna falla → FAIL.
58
+ - The order is mandatory: Root Index first, then Rules Index, then Constitution Index.
59
+ - **PROHIBITED** to load `templates` or `artifacts` indexes during `init`.
60
+ - If any fails → FAIL.
66
61
 
67
- 3. Cargar en contexto las constitutions (en orden):
62
+ 3. Load constitutions into context (in order):
68
63
  1) `constitution.clean_code`
69
64
  2) `constitution.agents_behavior`
70
- - **PROHIBIDO** cargar templates o artifacts en este paso.
71
- - Si alguna falla → FAIL.
65
+ - **PROHIBITED** to load templates or artifacts in this step.
66
+ - If any fails → FAIL.
72
67
 
73
- 4. Detectar idioma preferido y pedir confirmación explícita.
74
- - Si no hay confirmación ir a **Paso 9 (FAIL)**.
68
+ 4. Detect preferred language and request explicit confirmation.
69
+ - If no confirmationgo to **Step 9 (FAIL)**.
75
70
 
76
- 5. **Seleccionar estrategia de ciclo de vida (OBLIGATORIO)**
77
- - Preguntar al desarrollador:
78
- - "Por favor, selecciona la estrategia: **Long** (9 fases completas) o **Short** (3 fases simplificadas)."
79
- - Si no hay selección ir a **Paso 9 (FAIL)**.
80
- - Registrar la selección en el artefacto `init.md`.
71
+ 5. **Select lifecycle strategy (MANDATORY)**
72
+ - Ask the developer:
73
+ - "Please select the strategy: **Long** (9 complete phases) or **Short** (3 simplified phases)."
74
+ - If no selectiongo to **Step 9 (FAIL)**.
75
+ - Record the selection in the `init.md` artifact.
81
76
 
82
- 6. **Crear el artefacto `init.md` (OBLIGATORIO)**
83
- - El artefacto **DEBE** crearse usando **exactamente** la estructura definida en:
77
+ 6. **Create the `init.md` artifact (MANDATORY)**
78
+ - The artifact **MUST** be created using **exactly** the structure defined in:
84
79
  - `templates.init`
85
- - Todos los campos obligatorios del template **DEBEN** completarse.
86
- - Incluir el campo `strategy: long | short`.
87
- - No se permite modificar, omitir ni reinterpretar la estructura del template.
80
+ - All mandatory template fields **MUST** be completed.
81
+ - Include the `strategy: long | short` field.
82
+ - Modifying, omitting, or reinterpreting the template structure is not allowed.
88
83
 
89
- 7. Escribir el fichero en:
84
+ 7. Write the file to:
90
85
  - `artifacts.candidate.init`
91
86
 
92
- 8. Evaluar Gate.
93
- - Si Gate FAIL → ir a **Paso 9 (FAIL)**.
94
- - Si Gate PASS → continuar.
87
+ 8. Evaluate Gate.
88
+ - If Gate FAIL → go to **Step 9 (FAIL)**.
89
+ - If Gate PASS → continue.
95
90
 
96
- 9. FAIL (obligatorio)
97
- - Declarar `init` como **NO completado**.
98
- - Explicar exactamente qué requisito falló.
99
- - Pedir la acción mínima necesaria.
100
- - **No preguntar por la tarea**.
101
- - Terminar el workflow en estado bloqueado.
91
+ 9. FAIL (mandatory)
92
+ - Declare `init` as **NOT completed**.
93
+ - Explain exactly which requirement failed.
94
+ - Request the minimum necessary action.
95
+ - **Do not ask for the task**.
96
+ - Terminate the workflow in blocked state.
102
97
 
103
- 10. PASS (solo si Gate PASS)
104
- - Preguntar por la tarea:
105
- - "¿Qué tarea quieres iniciar ahora? Dame un título corto y el objetivo."
106
- - Una vez recibidos título y objetivo:
107
- - Si `strategy == "long"` → lanzar `workflows.tasklifecycle-long`
108
- - Si `strategy == "short"` → lanzar `workflows.tasklifecycle-short`
98
+ 10. PASS (only if Gate PASS)
99
+ - Ask for the task:
100
+ - "What task do you want to start now? Give me a short title and the objective."
101
+ - Once title and objective are received:
102
+ - If `strategy == "long"` → launch `workflows.tasklifecycle-long`
103
+ - If `strategy == "short"` → launch `workflows.tasklifecycle-short`
109
104
 
110
105
  ## Output (REQUIRED)
111
- - Artefacto creado:
106
+ - Artifact created:
112
107
  - `artifacts.candidate.init`
113
108
 
114
109
  ## Gate (REQUIRED)
115
- Requisitos (todos obligatorios):
116
- 1) Existe el artefacto:
110
+ Requirements (all mandatory):
111
+ 1) The artifact exists:
117
112
  - `artifacts.candidate.init`
118
- 2) En su YAML:
119
- - `language.value` no vacío
113
+ 2) In its YAML:
114
+ - `language.value` not empty
120
115
  - `language.confirmed == true`
121
- - `strategy` es "long" o "short"
122
- - **`traceability.verified == true`** (Confirma cumplimiento del protocolo de `skill.runtime-governance`)
123
- 3) El artefacto cumple el template oficial.
124
- 4) Idioma definido y confirmado.
125
- 5) Estrategia seleccionada.
126
- 6) **Trazabilidad confirmada**: El agente ha verificado la disponibilidad de herramientas MCP siguiendo las instrucciones del Skill de Gobernanza.
127
- 7) No se cargaron índices fuera del set permitido (solo `.agent/index.md`, `agent.domains.rules.index`, `rules.constitution.index`).
128
- 8) El Root Index `.agent/index.md` fue cargado antes de cualquier otro índice.
116
+ - `strategy` is "long" or "short"
117
+ 3) The artifact follows the official template.
118
+ 4) Language defined and confirmed.
119
+ 5) Strategy selected.
120
+ 6) No indexes were loaded outside the allowed set (only `.agent/index.md`, `agent.domains.rules.index`, `rules.constitution.index`).
121
+ 7) The Root Index `.agent/index.md` was loaded before any other index.
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Scaffold a new Agentic Module using the scaffolding skill.
3
+ trigger: /scaffold-module <module-name>
4
+ ---
5
+
6
+ # Workflow: Scaffold Module
7
+
8
+ ## Input
9
+ - Module Name (from argument or prompt).
10
+
11
+ ## Steps
12
+
13
+ 1. **Invoke Skill**
14
+ - Use `run_command` to execute the Yeoman generator from `src/cli/scaffolding`.
15
+ "CommandLine": "npx yo ./src/cli/scaffolding/generators/module {{ module_name }} --force"
16
+
17
+ 2. **Validation**
18
+ - Verify creation of:
19
+ - `src/extension/modules/<module-name>/index.ts`
20
+ - `src/extension/modules/<module-name>/view/index.ts`
21
+ - `src/extension/modules/<module-name>/view/templates/main/html.ts`
22
+ - `src/extension/modules/<module-name>/view/templates/main/css.ts`
23
+ - `src/extension/modules/<module-name>/background/index.ts`
24
+ - `src/extension/modules/<module-name>/backend/index.ts`
25
+
26
+ 3. **TypeScript Compilation**
27
+ - Run `npm run compile` to verify no TypeScript errors.
28
+ - **CRITICAL**: Module MUST compile without errors.
29
+ - If compilation fails, fix errors before proceeding.
30
+
31
+ 4. **ESLint Validation**
32
+ - Run `npm run lint` (or equivalent) to verify no linting errors.
33
+ - **CRITICAL**: Module MUST pass linting.
34
+ - If linting fails, fix errors before proceeding.
35
+
36
+ 5. **Report**
37
+ - Confirm successful generation and validation to the user.
38
+ - Report any errors encountered during validation.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: workflow.tasklifecycle-long.phase-0-acceptance-criteria
3
- description: Convierte el task candidate en una tarea definitiva. El arquitecto define los acceptance criteria mediante 5 preguntas obligatorias basadas en la tarea y su objetivo, y crea el current task necesario para iniciar el ciclo de vida.
3
+ description: Converts the task candidate into a definitive task. The architect defines acceptance criteria through 5 mandatory questions based on the task and its objective, and creates the current task required to start the lifecycle.
4
4
  owner: architect-agent
5
5
  version: 1.2.1
6
6
  severity: PERMANENT
@@ -12,172 +12,162 @@ blocking: true
12
12
  # WORKFLOW: tasklifecycle.phase-0-acceptance-criteria
13
13
 
14
14
  ## Input (REQUIRED)
15
- - Task candidate creado por `workflows.tasklifecycle-long`:
15
+ - Task candidate created by `workflows.tasklifecycle-long`:
16
16
  - `artifacts.candidate.task`
17
- - El `task.md` candidate **DEBE** incluir:
18
- - descripción de la tarea
19
- - objetivo de la tarea
17
+ - The `task.md` candidate **MUST** include:
18
+ - task description
19
+ - task objective
20
20
 
21
21
  > [!IMPORTANT]
22
- > **Constitución activa (OBLIGATORIO)**:
23
- > - Cargar `constitution.clean_code` antes de iniciar
24
- > - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
25
- > - **Activar `skill.runtime-governance`** (Uso exclusivo del Architect para validación y trazabilidad)
22
+ > **Active constitution (MANDATORY)**:
23
+ > - Load `constitution.clean_code` before starting
24
+ > - Load `constitution.agents_behavior` (section 7: Gates, section 8: Constitution)
26
25
 
27
26
  ## Output (REQUIRED)
28
- - Current task (definitiva) con acceptance criteria completos:
27
+ - Current task (definitive) with complete acceptance criteria:
29
28
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
30
29
 
31
- ## Template (OBLIGATORIO)
32
- - La current task **DEBE** crearse usando el template:
30
+ ## Template (MANDATORY)
31
+ - The current task **MUST** be created using the template:
33
32
  - `templates.task`
34
- - Si el template no existe o no se puede cargar → **FAIL**.
35
-
36
- ## Objetivo (ONLY)
37
- - Pasar de **task candidate** a **current task** (definitiva).
38
- - **Calcular el `taskId` definitivo**.
39
- - Definir acceptance criteria **obligatorios** a partir de 5 preguntas al desarrollador.
40
- - Registrar los acceptance criteria dentro del fichero de current task.
41
-
42
- ## Pasos obligatorios
43
- 0. **Verificar Gobernanza (OBLIGATORIO)**:
44
- - Activar `skill.runtime-governance`.
45
- - Ejecutar el procedimiento de trazabilidad inicial (Paso 0 del Skill).
46
- - El agente **DEBE** confirmar que el sistema de logs está activo antes de proceder.
47
- - Usar prefijo obligatorio en cada mensaje.
48
- 1. Cargar y leer el task candidate:
33
+ - If the template does not exist or cannot be loaded → **FAIL**.
34
+
35
+ ## Objective (ONLY)
36
+ - Move from **task candidate** to **current task** (definitive).
37
+ - **Calculate the definitive `taskId`**.
38
+ - Define **mandatory** acceptance criteria from 5 questions to the developer.
39
+ - Record acceptance criteria within the current task file.
40
+
41
+ ## Mandatory Steps
42
+ 0. Activate `architect-agent` and use the mandatory prefix in every message.
43
+ 1. Load and read the task candidate:
49
44
  - `artifacts.candidate.task`
50
- - Extraer:
51
- - descripción de la tarea
52
- - objetivo de la tarea
53
- - Si faltanir a **Paso 10 (FAIL)**.
45
+ - Extract:
46
+ - task description
47
+ - task objective
48
+ - If missinggo to **Step 10 (FAIL)**.
54
49
 
55
- 2. Cargar template contractual de task
56
- - Cargar `templates.task`
57
- - Si no existe o no se puede cargarir a **Paso 10 (FAIL)**.
50
+ 2. Load contractual task template
51
+ - Load `templates.task`
52
+ - If it does not exist or cannot be loaded go to **Step 10 (FAIL)**.
58
53
 
59
- 3. **Calcular `taskId` (OBLIGATORIO – architect)**
60
- - El `architect-agent` **DEBE** ejecutar el siguiente comando:
54
+ 3. **Calculate `taskId` (MANDATORY – architect)**
55
+ - The `architect-agent` **MUST** execute the following command:
61
56
  ```bash
62
57
  ls .agent/artifacts/ | grep -E "^[0-9]" | sort -n | tail -1 | cut -d'-' -f1
63
58
  ```
64
- - El output muestra el último taskId (ej: "8")
65
- - El nuevo `taskId = output + 1` (ej: si output es "8", nuevo taskId es "9")
66
- - Si no hay output (sin tareas previas) → `taskId = 1`
67
- - El valor final de `taskId` es **obligatorio** para continuar.
68
-
69
- 4. Definir `taskTitle` (architect)
70
- - Derivar `taskTitle` desde la solicitud del desarrollador (candidate).
71
- - Normalizar para filesystem:
72
- - minúsculas
73
- - espacios → `-`
74
- - sin caracteres especiales
75
-
76
- 5. Formular preguntas de clarificación (OBLIGATORIO, adaptativas a la tarea)
77
- - El `architect-agent` **DEBE** analizar:
59
+ - The output shows the last taskId (e.g.: "8")
60
+ - The new `taskId = output + 1` (e.g.: if output is "8", new taskId is "9")
61
+ - If there is no output (no previous tasks) → `taskId = 1`
62
+ - The final `taskId` value is **mandatory** to continue.
63
+
64
+ 4. Define `taskTitle` (architect)
65
+ - Derive `taskTitle` from the developer's request (candidate).
66
+ - Normalize for filesystem:
67
+ - lowercase
68
+ - spaces → `-`
69
+ - no special characters
70
+
71
+ 5. Formulate clarification questions (MANDATORY, adaptive to the task)
72
+ - The `architect-agent` **MUST** analyze:
78
73
  - `task.description`
79
74
  - `task.goal`
80
- - A partir de ese análisis, **DEBE formular exactamente 5 preguntas** cuyo objetivo sea:
81
- - eliminar ambigüedades
82
- - completar información faltante
83
- - permitir definir acceptance criteria verificables
84
- - Las preguntas:
85
- - **NO deben** duplicar información ya explícita
86
- - **DEBEN** estar directamente relacionadas con la tarea concreta
87
- - **PUEDEN** variar según el contexto de la tarea
88
-
89
- 6. Validar respuestas y cerrar definición (OBLIGATORIO)
90
- - Confirmar que las 5 preguntas formuladas tienen respuesta explícita.
91
- - A partir de las respuestas, el `architect-agent` **DEBE**:
92
- - consolidar una definición completa de la tarea
93
- - derivar acceptance criteria verificables
94
- - Si alguna respuesta falta o sigue existiendo ambigüedadir a **Paso 10 (FAIL)**.
95
-
96
- 7. Crear current task (OBLIGATORIO)
97
- - Crear el directorio de la tarea (si no existe):
75
+ - Based on that analysis, **MUST formulate exactly 5 questions** whose purpose is to:
76
+ - eliminate ambiguities
77
+ - complete missing information
78
+ - enable defining verifiable acceptance criteria
79
+ - The questions:
80
+ - **MUST NOT** duplicate already explicit information
81
+ - **MUST** be directly related to the specific task
82
+ - **MAY** vary depending on the task context
83
+
84
+ 6. Validate responses and close definition (MANDATORY)
85
+ - Confirm that all 5 formulated questions have explicit answers.
86
+ - Based on the responses, the `architect-agent` **MUST**:
87
+ - consolidate a complete task definition
88
+ - derive verifiable acceptance criteria
89
+ - If any response is missing or ambiguity persistsgo to **Step 10 (FAIL)**.
90
+
91
+ 7. Create current task (MANDATORY)
92
+ - Create the task directory (if it does not exist):
98
93
  - `.agent/artifacts/<taskId>-<taskTitle>/`
99
- - Crear el fichero de estado:
100
- - `.agent/artifacts/<taskId>-<taskTitle>/task.md` (usando `templates.task`)
101
- - Crear el fichero de aceptación (NUEVO):
102
- - `.agent/artifacts/<taskId>-<taskTitle>/acceptance.md` (usando `templates.acceptance`)
103
- - El `task.md` **solo contendrá**:
104
- - metadatos (id, title, owner, strategy)
105
- - historial de fases
106
- - alias `task.acceptance` apuntando al nuevo fichero
107
- - El `acceptance.md` **contendrá**:
108
- - definición consolidada
109
- - las 5 respuestas detalladas
110
- - checklist de criterios verificables (AC)
111
- - Si no se puede crear/escribirir a **Paso 10 (FAIL)**.
112
-
113
- 8. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
114
- - El desarrollador **DEBE** aprobar explicitamente:
94
+ - Create the state file:
95
+ - `.agent/artifacts/<taskId>-<taskTitle>/task.md` (using `templates.task`)
96
+ - Create the acceptance file (NEW):
97
+ - `.agent/artifacts/<taskId>-<taskTitle>/acceptance.md` (using `templates.acceptance`)
98
+ - The `task.md` **will only contain**:
99
+ - metadata (id, title, owner, strategy)
100
+ - phase history
101
+ - alias `task.acceptance` pointing to the new file
102
+ - The `acceptance.md` **will contain**:
103
+ - consolidated definition
104
+ - the 5 detailed answers
105
+ - verifiable acceptance criteria (AC) checklist
106
+ - If it cannot be created/writtengo to **Step 10 (FAIL)**.
107
+
108
+ 8. Request developer approval (MANDATORY, via console)
109
+ - The developer **MUST** explicitly approve:
115
110
  - Acceptance criteria
116
- - Current task creada
117
- - Registrar la decision en `acceptance.md`:
111
+ - Current task created
112
+ - Record the decision in `acceptance.md`:
118
113
  ```yaml
119
114
  approval:
120
115
  developer:
121
116
  decision: SI | NO
122
117
  date: <ISO-8601>
123
- comments: <opcional>
118
+ comments: <optional>
124
119
  ```
125
- - Si `decision != SI` → ir a **Paso 10 (FAIL)**.
120
+ - If `decision != SI` → go to **Step 10 (FAIL)**.
126
121
 
127
122
  9. PASS
128
- - Informar que la Fase 0 está completada correctamente.
129
- - Seguimiento del protocolo de cierre en `skill.runtime-governance`:
130
- - Llamar `runtime.validate_gate` para verificar integridad.
131
- - Solicitar aprobación final al usuario.
132
- - Llamar `runtime.advance_phase` tras el "SI".
133
- - El `architect-agent` **DEBE realizar explícitamente** las siguientes acciones:
134
- - Marcar la Fase 0 como completada en el `task.md`.
135
- - Establecer `task.lifecycle.phases.phase-0-acceptance-criteria.validated_at = <ISO-8601>`.
136
- - Actualizar `task.phase.updated_at = <ISO-8601>`.
137
- - Actualizar el estado:
123
+ - Report that Phase 0 is correctly completed.
124
+ - The `architect-agent` **MUST explicitly perform** the following actions:
125
+ - Mark Phase 0 as completed in `task.md`.
126
+ - Set `task.lifecycle.phases.phase-0-acceptance-criteria.validated_at = <ISO-8601>`.
127
+ - Update `task.phase.updated_at = <ISO-8601>`.
128
+ - Update the state:
138
129
  - `task.phase.current = aliases.tasklifecycle-long.phases.phase_1.id`
139
- - Esta actualización **NO es automática** y **NO puede ser inferida**.
140
- - Hasta que este cambio no se refleje en el `task.md`, **no se puede iniciar la Fase 1**.
141
-
142
- 10. FAIL (obligatorio)
143
- - Declarar Fase 0 como **NO completada**.
144
- - Indicar exactamente qué falló:
145
- - falta candidate
146
- - template inaccesible (`templates.task`)
147
- - falta descripción/objetivo
148
- - no se pudo calcular `taskId`
149
- - respuestas incompletas (menos de 5)
150
- - no se pudo crear current task
151
- - Pedir la acción mínima:
152
- - completar datos del candidate
153
- - responder preguntas faltantes
154
- - corregir permisos/rutas de artifacts
155
- - Terminar bloqueado: no avanzar de fase.
130
+ - This update is **NOT automatic** and **CANNOT be inferred**.
131
+ - Until this change is reflected in `task.md`, **Phase 1 cannot be started**.
132
+
133
+ 10. FAIL (mandatory)
134
+ - Declare Phase 0 as **NOT completed**.
135
+ - Indicate exactly what failed:
136
+ - missing candidate
137
+ - inaccessible template (`templates.task`)
138
+ - missing description/objective
139
+ - could not calculate `taskId`
140
+ - incomplete responses (fewer than 5)
141
+ - could not create current task
142
+ - Request the minimum action:
143
+ - complete candidate data
144
+ - answer missing questions
145
+ - fix artifacts permissions/paths
146
+ - Terminate blocked: do not advance phase.
156
147
 
157
148
  ## Gate (REQUIRED)
158
149
 
159
- Requisitos (todos obligatorios):
160
- 1. Existe el directorio y el fichero de estado:
150
+ Requirements (all mandatory):
151
+ 1. The directory and state file exist:
161
152
  - `.agent/artifacts/<taskId>-<taskTitle>/task.md`
162
- 2. Existe el artefacto de aceptación:
153
+ 2. The acceptance artifact exists:
163
154
  - `.agent/artifacts/<taskId>-<taskTitle>/acceptance.md`
164
- 3. Ambos siguen sus respectivos templates.
165
- 4. El `acceptance.md` inicia con el prefijo del `architect-agent`.
166
- 5. El `taskId` es secuencial:
167
- - Ejecutar: `ls .agent/artifacts/ | grep -E "^[0-9]" | sort -n | tail -1 | cut -d'-' -f1`
168
- - El taskId del nuevo directorio debe ser exactamente `output + 1`
169
- 6. El current task incluye acceptance criteria completos y verificables.
170
- 7. Existe aprobacion explicita del desarrollador (por consola) registrada en `acceptance.md`:
155
+ 3. Both follow their respective templates.
156
+ 4. The `acceptance.md` starts with the `architect-agent` prefix.
157
+ 5. The `taskId` is sequential:
158
+ - Execute: `ls .agent/artifacts/ | grep -E "^[0-9]" | sort -n | tail -1 | cut -d'-' -f1`
159
+ - The taskId of the new directory must be exactly `output + 1`
160
+ 6. The current task includes complete and verifiable acceptance criteria.
161
+ 7. Explicit developer approval (via console) is recorded in `acceptance.md`:
171
162
  - `approval.developer.decision == SI`
172
- 8. El `architect-agent` ha marcado explícitamente:
173
- - la Fase 0 como completada
163
+ 8. The `architect-agent` has explicitly marked:
164
+ - Phase 0 as completed
174
165
  - `task.phase.current == aliases.tasklifecycle-long.phases.phase_1.id`
175
- 9. `task.md` refleja timestamp y estado:
166
+ 9. `task.md` reflects timestamp and state:
176
167
  - `task.lifecycle.phases.phase-0-acceptance-criteria.completed == true`
177
- - `task.lifecycle.phases.phase-0-acceptance-criteria.validated_at` no nulo
178
- - `task.phase.updated_at` no nulo
179
- 10. Las 5 preguntas obligatorias fueron realizadas y respondidas por el desarrollador.
180
- 11. **Gobernanza verificada**: El historial de logs muestra la secuencia de herramientas MCP definida en `skill.runtime-governance`.
168
+ - `task.lifecycle.phases.phase-0-acceptance-criteria.validated_at` not null
169
+ - `task.phase.updated_at` not null
170
+ 10. The 5 mandatory questions were asked and answered by the developer.
181
171
 
182
- Si Gate FAIL:
183
- - Ejecutar **FAIL**.
172
+ If Gate FAIL:
173
+ - Execute **FAIL**.