@christianmaf80/agentic-workflow 1.14.0-beta.1 → 1.14.0-beta.2

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 (346) hide show
  1. package/dist/artifacts/index.md +2 -26
  2. package/dist/bootstrap.md +204 -151
  3. package/dist/cli/commands/init.js +0 -5
  4. package/dist/core/mapping/resolver.js +1 -1
  5. package/dist/core/migration/detector.js +1 -1
  6. package/dist/index.md +0 -11
  7. package/dist/rules/constitution/agents-behavior.md +10 -19
  8. package/dist/rules/constitution/clean-code.md +10 -11
  9. package/dist/rules/constitution/index.md +0 -5
  10. package/dist/rules/index.md +1 -1
  11. package/dist/rules/roles/architect.md +47 -88
  12. package/dist/rules/roles/index.md +1 -4
  13. package/dist/rules/roles/qa.md +61 -136
  14. package/dist/rules/roles/researcher.md +34 -48
  15. package/dist/templates/agent-scores.md +6 -7
  16. package/dist/templates/analysis.md +6 -6
  17. package/dist/templates/changelog.md +1 -1
  18. package/dist/templates/closure.md +9 -1
  19. package/dist/templates/index.md +0 -6
  20. package/dist/templates/init.md +7 -0
  21. package/dist/templates/planning.md +10 -10
  22. package/dist/templates/research.md +1 -1
  23. package/dist/templates/results-acceptance.md +1 -1
  24. package/dist/templates/review.md +2 -2
  25. package/dist/templates/subtask-implementation.md +1 -1
  26. package/dist/templates/task.md +4 -32
  27. package/dist/templates/verification.md +3 -3
  28. package/dist/workflows/index.md +0 -2
  29. package/dist/workflows/init.md +31 -19
  30. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +2 -2
  31. package/dist/workflows/tasklifecycle-long/phase-1-research.md +3 -3
  32. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +6 -21
  33. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +5 -11
  34. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +2 -2
  35. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +3 -3
  36. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +1 -1
  37. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +12 -19
  38. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +3 -3
  39. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +2 -2
  40. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +1 -1
  41. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +5 -5
  42. package/package.json +2 -2
  43. package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +0 -480
  44. package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +0 -285
  45. package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +0 -29
  46. package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +0 -321
  47. package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +0 -522
  48. package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +0 -270
  49. package/dist/artifacts/1-mcp-server-extensio-cli/results.md +0 -143
  50. package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +0 -33
  51. package/dist/artifacts/1-mcp-server-extensio-cli/task.md +0 -178
  52. package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +0 -69
  53. package/dist/artifacts/10-shard-build-plugin/analysis.md +0 -290
  54. package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +0 -105
  55. package/dist/artifacts/10-shard-build-plugin/plan.md +0 -409
  56. package/dist/artifacts/10-shard-build-plugin/researcher/research.md +0 -109
  57. package/dist/artifacts/10-shard-build-plugin/task.md +0 -124
  58. package/dist/artifacts/11-revision-sistema-agentic/analysis.md +0 -43
  59. package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +0 -186
  60. package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +0 -162
  61. package/dist/artifacts/11-revision-sistema-agentic/metrics.md +0 -82
  62. package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +0 -126
  63. package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +0 -250
  64. package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +0 -366
  65. package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +0 -131
  66. package/dist/artifacts/11-revision-sistema-agentic/results.md +0 -116
  67. package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +0 -424
  68. package/dist/artifacts/11-revision-sistema-agentic/task.md +0 -145
  69. package/dist/artifacts/11-revision-sistema-agentic/verification.md +0 -119
  70. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +0 -305
  71. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +0 -301
  72. package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +0 -93
  73. package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +0 -111
  74. package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +0 -387
  75. package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +0 -266
  76. package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +0 -167
  77. package/dist/artifacts/13-dual-lifecycle-system/analysis.md +0 -173
  78. package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +0 -67
  79. package/dist/artifacts/13-dual-lifecycle-system/plan.md +0 -230
  80. package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +0 -243
  81. package/dist/artifacts/13-dual-lifecycle-system/task.md +0 -130
  82. package/dist/artifacts/13-dual-lifecycle-system/verification.md +0 -84
  83. package/dist/artifacts/14-core-tests-refactor/analysis.md +0 -240
  84. package/dist/artifacts/14-core-tests-refactor/architect/review.md +0 -33
  85. package/dist/artifacts/14-core-tests-refactor/evaluation.md +0 -40
  86. package/dist/artifacts/14-core-tests-refactor/plan.md +0 -344
  87. package/dist/artifacts/14-core-tests-refactor/researcher/research.md +0 -258
  88. package/dist/artifacts/14-core-tests-refactor/results.md +0 -117
  89. package/dist/artifacts/14-core-tests-refactor/task.md +0 -163
  90. package/dist/artifacts/14-core-tests-refactor/verification.md +0 -87
  91. package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +0 -47
  92. package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +0 -100
  93. package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +0 -81
  94. package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +0 -83
  95. package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +0 -160
  96. package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +0 -180
  97. package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +0 -15
  98. package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +0 -17
  99. package/dist/artifacts/16-refactorizacion-demo-core/plan.md +0 -270
  100. package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +0 -190
  101. package/dist/artifacts/16-refactorizacion-demo-core/task.md +0 -124
  102. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +0 -108
  103. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +0 -98
  104. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +0 -192
  105. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +0 -41
  106. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +0 -73
  107. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +0 -80
  108. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +0 -113
  109. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +0 -133
  110. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +0 -130
  111. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +0 -188
  112. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +0 -80
  113. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +0 -73
  114. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +0 -97
  115. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +0 -39
  116. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +0 -188
  117. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +0 -207
  118. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +0 -103
  119. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +0 -64
  120. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +0 -81
  121. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +0 -148
  122. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +0 -146
  123. package/dist/artifacts/18-refactor-phase-4-implementation/task.md +0 -140
  124. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +0 -58
  125. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +0 -78
  126. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +0 -76
  127. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +0 -77
  128. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +0 -76
  129. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +0 -77
  130. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +0 -95
  131. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +0 -190
  132. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +0 -68
  133. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +0 -203
  134. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +0 -296
  135. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +0 -132
  136. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +0 -104
  137. package/dist/artifacts/2-review-mcp-agent-system/analysis.md +0 -133
  138. package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +0 -58
  139. package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +0 -57
  140. package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +0 -83
  141. package/dist/artifacts/2-review-mcp-agent-system/changelog.md +0 -22
  142. package/dist/artifacts/2-review-mcp-agent-system/metrics.md +0 -33
  143. package/dist/artifacts/2-review-mcp-agent-system/plan.md +0 -141
  144. package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +0 -60
  145. package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +0 -77
  146. package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +0 -115
  147. package/dist/artifacts/2-review-mcp-agent-system/task.md +0 -127
  148. package/dist/artifacts/2-review-mcp-agent-system/verification.md +0 -72
  149. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +0 -139
  150. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +0 -146
  151. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +0 -142
  152. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +0 -143
  153. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +0 -53
  154. package/dist/artifacts/2026-01-19-orchestration-init/brief.md +0 -88
  155. package/dist/artifacts/2026-01-19-orchestration-init/closure.md +0 -80
  156. package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +0 -20
  157. package/dist/artifacts/21-portable-agentic-system/researcher/research.md +0 -121
  158. package/dist/artifacts/21-portable-agentic-system/task.md +0 -115
  159. package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +0 -113
  160. package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +0 -124
  161. package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +0 -76
  162. package/dist/artifacts/22-standardize-phase-0-artifact/results.md +0 -36
  163. package/dist/artifacts/22-standardize-phase-0-artifact/task.md +0 -115
  164. package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +0 -41
  165. package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +0 -62
  166. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +0 -90
  167. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +0 -85
  168. package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +0 -52
  169. package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +0 -52
  170. package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +0 -31
  171. package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +0 -90
  172. package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +0 -42
  173. package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +0 -64
  174. package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +0 -68
  175. package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +0 -79
  176. package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +0 -25
  177. package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +0 -91
  178. package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +0 -89
  179. package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +0 -59
  180. package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +0 -57
  181. package/dist/artifacts/25-auditoria-omision-gates/brief.md +0 -89
  182. package/dist/artifacts/25-auditoria-omision-gates/closure.md +0 -88
  183. package/dist/artifacts/25-auditoria-omision-gates/rca.md +0 -49
  184. package/dist/artifacts/25-auditoria-omision-gates/task.md +0 -64
  185. package/dist/artifacts/26-portable-agentic-system/acceptance.md +0 -41
  186. package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +0 -113
  187. package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +0 -117
  188. package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +0 -109
  189. package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +0 -104
  190. package/dist/artifacts/26-portable-agentic-system/analysis.md +0 -117
  191. package/dist/artifacts/26-portable-agentic-system/architect/review.md +0 -41
  192. package/dist/artifacts/26-portable-agentic-system/plan.md +0 -146
  193. package/dist/artifacts/26-portable-agentic-system/researcher/research.md +0 -96
  194. package/dist/artifacts/26-portable-agentic-system/task.md +0 -50
  195. package/dist/artifacts/26-portable-agentic-system/verification.md +0 -67
  196. package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +0 -74
  197. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +0 -86
  198. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +0 -88
  199. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +0 -89
  200. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +0 -85
  201. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +0 -84
  202. package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +0 -90
  203. package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +0 -44
  204. package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +0 -17
  205. package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +0 -52
  206. package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +0 -122
  207. package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +0 -73
  208. package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +0 -51
  209. package/dist/artifacts/27-update-portable-module-agent-identity/task.md +0 -115
  210. package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +0 -66
  211. package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +0 -67
  212. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +0 -88
  213. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +0 -87
  214. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +0 -86
  215. package/dist/artifacts/28-agent-system-update-conversion/analysis.md +0 -153
  216. package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +0 -93
  217. package/dist/artifacts/28-agent-system-update-conversion/metrics.md +0 -43
  218. package/dist/artifacts/28-agent-system-update-conversion/plan.md +0 -153
  219. package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +0 -66
  220. package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +0 -125
  221. package/dist/artifacts/28-agent-system-update-conversion/task.md +0 -103
  222. package/dist/artifacts/28-agent-system-update-conversion/verification.md +0 -60
  223. package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +0 -38
  224. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +0 -85
  225. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +0 -90
  226. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +0 -92
  227. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +0 -84
  228. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +0 -92
  229. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +0 -85
  230. package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +0 -119
  231. package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +0 -46
  232. package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +0 -95
  233. package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +0 -68
  234. package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +0 -59
  235. package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +0 -99
  236. package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +0 -54
  237. package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +0 -18
  238. package/dist/artifacts/3-developer-feedback-gate/analysis.md +0 -27
  239. package/dist/artifacts/3-developer-feedback-gate/changelog.md +0 -10
  240. package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +0 -32
  241. package/dist/artifacts/3-developer-feedback-gate/init.md +0 -13
  242. package/dist/artifacts/3-developer-feedback-gate/metrics.md +0 -34
  243. package/dist/artifacts/3-developer-feedback-gate/research.md +0 -28
  244. package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +0 -17
  245. package/dist/artifacts/3-developer-feedback-gate/task.md +0 -17
  246. package/dist/artifacts/3-developer-feedback-gate/verification.md +0 -35
  247. package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +0 -46
  248. package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +0 -34
  249. package/dist/artifacts/30-task-execution-protocol-gates/task.md +0 -77
  250. package/dist/artifacts/4-adr-workflows-modulos/adr.md +0 -380
  251. package/dist/artifacts/4-adr-workflows-modulos/analysis.md +0 -353
  252. package/dist/artifacts/4-adr-workflows-modulos/plan.md +0 -301
  253. package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +0 -253
  254. package/dist/artifacts/4-adr-workflows-modulos/results.md +0 -202
  255. package/dist/artifacts/4-adr-workflows-modulos/task.md +0 -143
  256. package/dist/artifacts/4-adr-workflows-modulos/verification.md +0 -123
  257. package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +0 -169
  258. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +0 -105
  259. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +0 -90
  260. package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +0 -7
  261. package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +0 -34
  262. package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +0 -163
  263. package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +0 -105
  264. package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +0 -153
  265. package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +0 -147
  266. package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +0 -79
  267. package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +0 -153
  268. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +0 -103
  269. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +0 -79
  270. package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +0 -8
  271. package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +0 -34
  272. package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +0 -131
  273. package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +0 -86
  274. package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +0 -108
  275. package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +0 -147
  276. package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +0 -74
  277. package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +0 -33
  278. package/dist/artifacts/7-modules-globals-constants/analysis.md +0 -205
  279. package/dist/artifacts/7-modules-globals-constants/architect/review.md +0 -110
  280. package/dist/artifacts/7-modules-globals-constants/metrics.md +0 -45
  281. package/dist/artifacts/7-modules-globals-constants/plan.md +0 -276
  282. package/dist/artifacts/7-modules-globals-constants/researcher/research.md +0 -247
  283. package/dist/artifacts/7-modules-globals-constants/task.md +0 -112
  284. package/dist/artifacts/7-modules-globals-constants/verification.md +0 -76
  285. package/dist/artifacts/8-module-workflow-refactor/analysis.md +0 -131
  286. package/dist/artifacts/8-module-workflow-refactor/changelog.md +0 -24
  287. package/dist/artifacts/8-module-workflow-refactor/metrics.md +0 -37
  288. package/dist/artifacts/8-module-workflow-refactor/plan.md +0 -193
  289. package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +0 -222
  290. package/dist/artifacts/8-module-workflow-refactor/results.md +0 -112
  291. package/dist/artifacts/8-module-workflow-refactor/review.md +0 -76
  292. package/dist/artifacts/8-module-workflow-refactor/task.md +0 -154
  293. package/dist/artifacts/8-module-workflow-refactor/verification.md +0 -76
  294. package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +0 -64
  295. package/dist/artifacts/9-build-stabilization/analysis.md +0 -62
  296. package/dist/artifacts/9-build-stabilization/metrics.md +0 -11
  297. package/dist/artifacts/9-build-stabilization/plan.md +0 -82
  298. package/dist/artifacts/9-build-stabilization/researcher/research.md +0 -102
  299. package/dist/artifacts/9-build-stabilization/task.md +0 -23
  300. package/dist/artifacts/9-build-stabilization/walkthrough.md +0 -56
  301. package/dist/artifacts/candidate/init.md +0 -34
  302. package/dist/artifacts/candidate/task.md +0 -24
  303. package/dist/metrics/agent-scores.md +0 -30
  304. package/dist/metrics/agents.json +0 -106
  305. package/dist/metrics/index.md +0 -23
  306. package/dist/rules/constitution/drivers.md +0 -294
  307. package/dist/rules/constitution/extensio-architecture.md +0 -131
  308. package/dist/rules/constitution/modules.md +0 -280
  309. package/dist/rules/constitution/pages.md +0 -454
  310. package/dist/rules/constitution/shards.md +0 -484
  311. package/dist/rules/roles/driver.md +0 -172
  312. package/dist/rules/roles/module.md +0 -175
  313. package/dist/rules/roles/surface.md +0 -60
  314. package/dist/rules/roles/tooling.md +0 -68
  315. package/dist/skills/extensio-build/SKILL.md +0 -161
  316. package/dist/skills/extensio-create-driver/SKILL.md +0 -89
  317. package/dist/skills/extensio-create-module/SKILL.md +0 -91
  318. package/dist/skills/extensio-demo/SKILL.md +0 -84
  319. package/dist/skills/extensio-test/SKILL.md +0 -96
  320. package/dist/skills/extensio-validate-code/SKILL.md +0 -262
  321. package/dist/skills/index.md +0 -79
  322. package/dist/templates/driver-create.md +0 -116
  323. package/dist/templates/driver-delete.md +0 -84
  324. package/dist/templates/driver-refactor.md +0 -94
  325. package/dist/templates/module-create.md +0 -117
  326. package/dist/templates/module-delete.md +0 -79
  327. package/dist/templates/module-refactor.md +0 -87
  328. package/dist/todo/001-anadir-seccion-reasoning.md +0 -42
  329. package/dist/todo/002-anadir-ejemplos-few-shot.md +0 -46
  330. package/dist/todo/003-explorar-paralelizacion-phase4.md +0 -46
  331. package/dist/todo/004-portable-agentic-system.md +0 -44
  332. package/dist/todo/README.md +0 -58
  333. package/dist/todo/index.md +0 -27
  334. package/dist/tools/extensio-cli.md +0 -76
  335. package/dist/tools/index.md +0 -14
  336. package/dist/tools/run-command.md +0 -42
  337. package/dist/workflows/drivers/create.md +0 -139
  338. package/dist/workflows/drivers/delete.md +0 -124
  339. package/dist/workflows/drivers/index.md +0 -25
  340. package/dist/workflows/drivers/refactor.md +0 -125
  341. package/dist/workflows/modules/create.md +0 -160
  342. package/dist/workflows/modules/delete.md +0 -121
  343. package/dist/workflows/modules/index.md +0 -27
  344. package/dist/workflows/modules/pages.create.md +0 -234
  345. package/dist/workflows/modules/refactor.md +0 -122
  346. package/dist/workflows/modules/shards.create.md +0 -215
@@ -1,186 +0,0 @@
1
- # Informe de Impacto: CLI y MCP Server
2
-
3
- ## Resumen Ejecutivo
4
-
5
- Las nuevas constituciones de Modules, Pages y Shards requieren actualizaciones en el CLI y MCP Server para garantizar coherencia entre la documentación y la implementación.
6
-
7
- ---
8
-
9
- ## 1. Estado Actual del CLI
10
-
11
- ### 1.1 MCP Tool `extensio_create`
12
-
13
- | Característica | Soportado | Flag |
14
- |----------------|-----------|------|
15
- | Crear módulo | ✅ | `--type module` |
16
- | Con Shards | ✅ | `--withShard` |
17
- | Con Pages | ✅ | `--withPage` |
18
- | Con Demo | ✅ | `--includeDemo` |
19
- | Con Tests | ✅ | `--testType` |
20
-
21
- ### 1.2 Plugins de Build
22
-
23
- | Plugin | Estado | Función |
24
- |--------|--------|---------|
25
- | `surface-pages` | ✅ Funcional | Procesa HTML y compila scripts de Pages |
26
- | `process-shards` | ✅ Funcional | Detecta y compila Shards independientes |
27
-
28
- ### 1.3 Templates de Generación
29
-
30
- | Template | Estado | Problema |
31
- |----------|--------|----------|
32
- | `engine.engine.ts.ejs` | ✅ Completo | - |
33
- | `shard.ts.ejs` | ⚠️ Parcial | Falta `getTagName()`, falta herencia de Surface |
34
- | `page.ts.ejs` | ❌ Incompleto | Solo 2 líneas, no genera estructura correcta |
35
-
36
- ---
37
-
38
- ## 2. Gaps Identificados
39
-
40
- ### 2.1 Gap Crítico: Template de Page
41
-
42
- **Archivo**: `packages/cli/src/generators/module/templates/page.ts.ejs`
43
-
44
- **Estado actual** (2 líneas):
45
- ```ts
46
- // Página de UI completa para el módulo <%= name %>
47
- console.log('[<%= name %>] Page rendered');
48
- ```
49
-
50
- **Estado requerido** (según `constitution.pages`):
51
- ```ts
52
- import { Page } from '@extensio/core/surface/pages';
53
-
54
- class <%= Name %>Page extends Page {
55
- constructor() {
56
- super('<%= name %>-page');
57
- }
58
-
59
- override listen() {
60
- super.listen();
61
- }
62
-
63
- override start() {
64
- this.render();
65
- }
66
-
67
- private render() {
68
- const app = document.getElementById('app');
69
- if (app) {
70
- app.innerHTML = '<h1><%= Name %> Page</h1>';
71
- }
72
- }
73
- }
74
-
75
- const page = new <%= Name %>Page();
76
- page.run();
77
- ```
78
-
79
- **Impacto**: 🔴 Alta - Los módulos creados con `--withPage` no tendrán estructura correcta.
80
-
81
- ---
82
-
83
- ### 2.2 Gap Medio: Template de Shard
84
-
85
- **Archivo**: `packages/cli/src/generators/module/templates/shard.ts.ejs`
86
-
87
- **Problemas**:
88
- 1. No implementa `getTagName()` (método abstracto obligatorio)
89
- 2. No hereda de Surface (cuando el código de Core se actualice)
90
- 3. Indentación incorrecta
91
-
92
- **Estado actual**:
93
- ```ts
94
- export class <%= Name %>Shard extends Shard {
95
- // Falta getTagName()
96
- }
97
- ```
98
-
99
- **Estado requerido**:
100
- ```ts
101
- export class <%= Name %>Shard extends Shard {
102
- getTagName(): string {
103
- return '<%= moduleName %>-<%= name %>';
104
- }
105
- // ...
106
- }
107
- ```
108
-
109
- **Impacto**: 🟡 Media - Los Shards generados no cumplen el contrato completo.
110
-
111
- ---
112
-
113
- ### 2.3 Gap Funcional: No hay comandos para añadir Surfaces a módulos existentes
114
-
115
- **Situación actual**:
116
- - `--withShard` y `--withPage` solo funcionan al crear un módulo nuevo
117
- - No existe `ext add-shard <module>` ni `ext add-page <module>`
118
-
119
- **Impacto**: 🟡 Media - Los desarrolladores deben crear Shards/Pages manualmente en módulos existentes.
120
-
121
- **Recomendación**: Crear comandos `extensio_add_shard` y `extensio_add_page` en el MCP server.
122
-
123
- ---
124
-
125
- ## 3. Cambios Requeridos en CLI
126
-
127
- ### 3.1 Actualizar Template de Page (Prioridad: Alta)
128
-
129
- | Tarea | Archivo |
130
- |-------|---------|
131
- | Reescribir template completo | `templates/page.ts.ejs` |
132
- | Añadir template HTML | `templates/surface/pages/index.html.ejs` |
133
- | Añadir template de índice | `templates/surface/pages/index.mts.ejs` |
134
-
135
- ### 3.2 Actualizar Template de Shard (Prioridad: Media)
136
-
137
- | Tarea | Archivo |
138
- |-------|---------|
139
- | Añadir `getTagName()` | `templates/shard.ts.ejs` |
140
- | Corregir indentación | `templates/shard.ts.ejs` |
141
- | Actualizar herencia cuando Core cambie | `templates/shard.ts.ejs` |
142
-
143
- ### 3.3 Nuevos Comandos MCP (Prioridad: Baja - Mejora)
144
-
145
- | Comando | Descripción |
146
- |---------|-------------|
147
- | `extensio_add_shard` | Añadir Shard a módulo existente |
148
- | `extensio_add_page` | Añadir Page a módulo existente |
149
-
150
- ---
151
-
152
- ## 4. Cambios Requeridos en MCP Server
153
-
154
- Actualmente el MCP server delega todo al CLI. Los cambios serán automáticos cuando se actualice el CLI.
155
-
156
- Aún así, considerar añadir:
157
-
158
- | Tool | Descripción |
159
- |------|-------------|
160
- | `extensio_validate_module` | Validar que un módulo cumple `constitution.modules` |
161
- | `extensio_validate_surface` | Validar que una Surface cumple su constitución |
162
-
163
- ---
164
-
165
- ## 5. Resumen de Prioridades
166
-
167
- | Cambio | Prioridad | Tipo |
168
- |--------|-----------|------|
169
- | Reescribir `page.ts.ejs` | 🔴 Alta | CLI Template |
170
- | Actualizar `shard.ts.ejs` con `getTagName()` | 🟡 Media | CLI Template |
171
- | Actualizar Shard para heredar de Surface | 🔴 Alta | Core Code |
172
- | Añadir comandos add-shard/add-page | 🟢 Baja | CLI Command |
173
- | Añadir validadores MCP | 🟢 Baja | MCP Tool |
174
-
175
- ---
176
-
177
- ## 6. Criterio de Éxito
178
-
179
- 1. `ext create --type module --name test --withPage` genera estructura conforme a `constitution.pages`
180
- 2. `ext create --type module --name test --withShard` genera Shard con `getTagName()` implementado
181
- 3. Build procesa correctamente Pages y Shards
182
- 4. Demo funciona sin errores
183
-
184
- ---
185
-
186
- Este informe fue generado como parte de la tarea `11-revision-sistema-agentic`.
@@ -1,162 +0,0 @@
1
- # Impacto en Core: Refactorización de Surface/Shard
2
-
3
- ## Contexto
4
- Durante la revisión de las constituciones de Modules, Pages y Shards, se identificaron cambios arquitectónicos necesarios en el código del Core para alinear la implementación con la arquitectura definida.
5
-
6
- ## Cambios Requeridos
7
-
8
- ### 1. Shard debe heredar de Surface (no de Core)
9
-
10
- **Archivo**: `packages/core/src/surface/shards/index.mts`
11
-
12
- **Estado actual**:
13
- ```ts
14
- export abstract class Shard extends Core implements ShardLifecycle
15
- ```
16
-
17
- **Estado deseado**:
18
- ```ts
19
- export abstract class Shard extends Surface implements ShardLifecycle
20
- ```
21
-
22
- **Impacto**:
23
- - Shard heredará `onMount()` y `onUnmount()` de Surface
24
- - Shard tendrá acceso a `onStorageChanged()` y `checkListeners()`
25
- - La jerarquía será: `Core → Surface → Shard`
26
-
27
- **Riesgo**: Medio. Verificar que no hay conflictos de métodos.
28
-
29
- ---
30
-
31
- ### 2. onMount() debe ser automático post-render
32
-
33
- **Archivo**: `packages/core/src/surface/surface.mts`
34
-
35
- **Estado actual**:
36
- ```ts
37
- onMount(): void {
38
- this.run();
39
- }
40
- ```
41
-
42
- **Estado deseado**:
43
- ```ts
44
- // onMount es un hook que se ejecuta DESPUÉS de render()
45
- protected onMount(): void {
46
- // Hook vacío - subclases lo sobrescriben
47
- }
48
-
49
- public async run() {
50
- await this._setup();
51
- await this.start();
52
- await this.render();
53
- this.onMount(); // <-- Llamar automáticamente después de render
54
- }
55
- ```
56
-
57
- **Impacto**:
58
- - `onMount()` ya no es el punto de entrada
59
- - `run()` es el punto de entrada
60
- - `onMount()` es un hook que el desarrollador sobrescribe
61
-
62
- **Riesgo**: Alto. Cambio de comportamiento. Revisar uso en código existente.
63
-
64
- ---
65
-
66
- ### 3. Añadir render() abstracto a Surface
67
-
68
- **Archivo**: `packages/core/src/surface/surface.mts`
69
-
70
- **Estado actual**: No existe `render()` en Surface.
71
-
72
- **Estado deseado**:
73
- ```ts
74
- export abstract class Surface extends Core {
75
- // ...
76
-
77
- /**
78
- * Renderiza el contenido de la Surface.
79
- * Subclases deben implementar.
80
- */
81
- public abstract render(): Promise<void>;
82
- }
83
- ```
84
-
85
- **Impacto**:
86
- - Page y Shard deben implementar `render()`
87
- - Unifica el contrato de renderizado
88
-
89
- **Riesgo**: Medio. Page actual no tiene `render()`.
90
-
91
- ---
92
-
93
- ### 4. Evaluar integración de ShardLifecycle en Surface
94
-
95
- **Archivos**:
96
- - `packages/core/src/surface/shards/types.d.mts`
97
- - `packages/core/src/surface/surface.mts`
98
-
99
- **Evaluación**:
100
- La interface `ShardLifecycle` define:
101
- ```ts
102
- interface ShardLifecycle {
103
- mount(container: HTMLElement): Promise<void>;
104
- update(props: Record<string, any>): void;
105
- unmount(): void;
106
- getTagName(): string;
107
- render?(): Promise<void>;
108
- }
109
- ```
110
-
111
- **Propuesta**:
112
- - `render()` → Mover a Surface (abstracto)
113
- - `mount(container)` → Solo en Shard (Page no usa container explícito)
114
- - `update(props)` → Solo en Shard
115
- - `getTagName()` → Solo en Shard
116
- - `unmount()` → Mover a Surface (con implementación base)
117
-
118
- **Resultado**:
119
- - Surface: `render()`, `unmount()`, `onMount()`, `onUnmount()`
120
- - Shard: `mount(container)`, `update(props)`, `getTagName()`, `_mount()`, `_unmount()`
121
-
122
- ---
123
-
124
- ## Orden de Implementación Recomendado
125
-
126
- 1. **Añadir `render()` abstracto a Surface**
127
- 2. **Implementar `render()` en Page** (vacío o con lógica base)
128
- 3. **Mover `onMount()` a ser hook post-render** en Surface
129
- 4. **Cambiar Shard para extender Surface**
130
- 5. **Ajustar `mount()` de Shard** para llamar hooks en orden correcto
131
- 6. **Tests**: Ejecutar tests unitarios y E2E
132
-
133
- ---
134
-
135
- ## Tests Afectados
136
-
137
- - `packages/core/test/unit/decorators.test.mts`
138
- - `packages/core/demo/` (demo de Core)
139
- - Cualquier módulo que use Shards
140
-
141
- ---
142
-
143
- ## Criterio de Éxito
144
-
145
- 1. Jerarquía: `Core → Surface → Page` y `Core → Surface → Shard`
146
- 2. `onMount()` se ejecuta automáticamente después de `render()`
147
- 3. `onUnmount()` se ejecuta automáticamente antes de destruir
148
- 4. Todos los tests pasan
149
- 5. Demo funciona correctamente
150
-
151
- ---
152
-
153
- ## Prioridad
154
-
155
- **Alta** - Estos cambios son necesarios para que la implementación coincida con las constituciones aprobadas.
156
-
157
- ---
158
-
159
- ## Notas
160
-
161
- Este documento fue generado como parte de la tarea `11-revision-sistema-agentic`.
162
- Los cambios de código deben realizarse en una tarea separada después de aprobar las constituciones.
@@ -1,82 +0,0 @@
1
- # Evaluación de Agentes - Phase 7
2
-
3
- ## Tarea: 11-revision-sistema-agentic
4
- ## Fecha: 2026-01-13T23:52:00+01:00
5
-
6
- ---
7
-
8
- ## 1. Agentes Participantes
9
-
10
- | Agente | Rol | Participación |
11
- |--------|-----|---------------|
12
- | architect-agent | Orquestador | Principal |
13
- | researcher-agent | Investigación | Phase 1 |
14
- | module-agent | Gobernanza | Consulta |
15
-
16
- ---
17
-
18
- ## 2. Evaluación del architect-agent
19
-
20
- | Criterio | Puntuación (1-5) | Comentario |
21
- |----------|------------------|------------|
22
- | Cumplimiento de constituciones | 5/5 | Todas las constituciones actualizadas |
23
- | Coherencia arquitectónica | 5/5 | Decisiones alineadas con filosofía Extensio |
24
- | Comunicación | 5/5 | Propuestas claras, confirmación de decisiones |
25
- | Gestión de fases | 4/5 | Algunas fases implícitas |
26
- | Documentación | 5/5 | Informes completos y detallados |
27
- | **Total** | **24/25** | **96%** |
28
-
29
- ---
30
-
31
- ## 3. Evaluación del researcher-agent
32
-
33
- | Criterio | Puntuación (1-5) | Comentario |
34
- |----------|------------------|------------|
35
- | Calidad de investigación | 4/5 | Identificó gaps principales |
36
- | Análisis de alternativas | 4/5 | Propuso Option A vs B |
37
- | Documentación | 4/5 | Informe de research completo |
38
- | **Total** | **12/15** | **80%** |
39
-
40
- ---
41
-
42
- ## 4. Métricas de la Tarea
43
-
44
- | Métrica | Valor |
45
- |---------|-------|
46
- | Duración total | ~14 horas (con interrupciones) |
47
- | Archivos modificados | 8 constituciones/workflows/roles |
48
- | Archivos creados | 6 artefactos |
49
- | Líneas añadidas (aprox) | +1,800 líneas |
50
- | Gaps identificados | 4 (Core + CLI) |
51
-
52
- ---
53
-
54
- ## 5. Lecciones Aprendidas
55
-
56
- ### Positivas
57
- 1. La separación architecture vs constituciones mejora la claridad
58
- 2. Los hooks automáticos unifican el ciclo de vida
59
- 3. Las responsabilidades SRP de Pages evitan duplicación con Engine
60
-
61
- ### Áreas de Mejora
62
- 1. Los templates del CLI estaban desactualizados
63
- 2. El código de Core (Shard) no coincidía con la arquitectura documentada
64
- 3. Algunas fases del workflow se fusionaron implícitamente
65
-
66
- ---
67
-
68
- ## 6. Evaluación del Desarrollador (PENDIENTE)
69
-
70
- > El desarrollador debe completar esta sección:
71
-
72
- | Criterio | Puntuación (0-5) | Comentario |
73
- |----------|------------------|------------|
74
- | Satisfacción con entregables | 5/5 | Excelente |
75
- | Calidad de documentación | 4/5 | Muy buena |
76
- | Comunicación del agente | 5/5 | Excelente |
77
- | Utilidad de la tarea | 5/5 | Muy útil |
78
- | **Aprobación final** | **SI** | Aprobado |
79
-
80
- ---
81
-
82
- Generado por: architect-agent
@@ -1,126 +0,0 @@
1
- ---
2
- description: Workflow para crear módulos siguiendo la constitución y reglas de arquitectura del ecosistema Extensio.
3
- ---
4
-
5
- ---
6
- id: workflow.modules.create
7
- owner: module-agent
8
- version: 2.0.0
9
- severity: PERMANENT
10
- trigger:
11
- commands: ["module-create", "modules:create"]
12
- blocking: true
13
- ---
14
-
15
- # WORKFLOW: modules.create
16
-
17
- ## Input (REQUIRED)
18
- - El arquitecto ha determinado en el plan la creación de un nuevo módulo:
19
- - `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
20
-
21
- ## Output (REQUIRED)
22
- - Informe de creación de módulo (OBLIGATORIO):
23
- - `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`
24
-
25
- ## Objetivo (ONLY)
26
- Asegurar que la creación de un nuevo módulo cumple:
27
- - la constitución de módulos (`constitution.modules`)
28
- - la constitución de pages (`constitution.pages`) si aplica
29
- - la constitución de shards (`constitution.shards`) si aplica
30
- - la arquitectura de Extensio y reglas globales
31
- - la integración correcta en el ecosistema
32
-
33
- > Esta fase **NO** omite auditoría del architect-agent.
34
-
35
- ## Template (OBLIGATORIO)
36
- - El informe **DEBE** crearse usando el template:
37
- - `templates.module_create`
38
- - Si el template no existe o no se puede cargar → **FAIL**.
39
-
40
- ---
41
-
42
- ## Pasos obligatorios
43
-
44
- 1. Verificar inputs
45
- - Existe `plan.md` que requiere crear un módulo.
46
- - Si falla → ir a **Paso 8 (FAIL)**.
47
-
48
- 2. Crear el módulo
49
- - Crear el módulo usando el tool:
50
- - `mcp_extensio-cli tools`
51
- - Configurar flags según necesidades:
52
- - `withShards` para componentes UI
53
- - `withPages` para páginas completas
54
- - `includeDemo` (default true)
55
- - La creación manual **solo** es válida si el CLI no soporta la operación.
56
- - Garantizar estructura, types, constants, globals y ciclo de vida.
57
-
58
- 3. Verificar estructura base (OBLIGATORIO)
59
- - Verificar que `global.d.mts` contiene el namespace `Extensio.<NombreModulo>`.
60
- - Verificar que `constants.mts` root exporta las constantes del módulo.
61
- - Verificar que `demo/` existe y es funcional.
62
- - Validar scopes (Engine obligatorio).
63
- - Verificar reactividad y `waitingLoadProps` donde aplique.
64
- - Si falta algo → corregir antes de continuar.
65
-
66
- 4. Verificar Surfaces (si aplica)
67
-
68
- **Si el módulo tiene Pages:**
69
- - Verificar que existe `src/surface/pages/index.mts` con imports de HTML.
70
- - Verificar estructura: `<page-name>/index.html` + `<page-name>/index.mts`
71
- - Verificar ciclo de vida: `run()` → `listen()` → `start()`
72
- - Verificar responsabilidades (§11-12 de `constitution.pages`):
73
- - Solo lógica de presentación
74
- - Solo lógica de interacción
75
- - Solo orquestación de Shards
76
- - NO estado persistente de negocio
77
-
78
- **Si el módulo tiene Shards:**
79
- - Verificar que existe `src/surface/shards/index.mts` con `Shard.register()`.
80
- - Verificar que cada Shard tiene `getTagName()` único.
81
- - Verificar cumplimiento de `constitution.shards`.
82
-
83
- 5. Crear informe de creación
84
- - Crear:
85
- - `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`
86
- - Completar el informe según el template.
87
-
88
- 6. Auditoría del architect-agent (OBLIGATORIA)
89
- - El `architect-agent` **DEBE** revisar el módulo y el informe.
90
- - Si detecta fallos → ir a **Paso 8 (FAIL)**.
91
-
92
- 7. PASS
93
- - Informar que el módulo cumple el contrato.
94
-
95
- ---
96
-
97
- ## FAIL (OBLIGATORIO)
98
-
99
- 8. Declarar creación de módulo como **NO completada**
100
- - Indicar exactamente qué falló:
101
- - plan inexistente o no requiere módulo
102
- - template inexistente
103
- - incumplimiento de `constitution.modules`
104
- - incumplimiento de `constitution.pages` (si aplica)
105
- - incumplimiento de `constitution.shards` (si aplica)
106
- - Pages con lógica de negocio persistente (violación §11-12)
107
- - fallos de integración en el ecosistema
108
- - auditoría del architect-agent rechazada
109
- - Acción mínima:
110
- - corregir los puntos detectados por architect o desarrollador
111
- - Terminar bloqueado: no avanzar.
112
-
113
- ---
114
-
115
- ## Gate (REQUIRED)
116
-
117
- Requisitos (todos obligatorios):
118
- 1. Existe `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`.
119
- 2. El informe sigue la estructura del template `templates.module_create`.
120
- 3. El módulo cumple `constitution.modules`.
121
- 4. Si hay Pages, cumplen `constitution.pages` (especialmente §11-12).
122
- 5. Si hay Shards, cumplen `constitution.shards`.
123
- 6. Auditoría del architect-agent aprobada.
124
-
125
- Si Gate FAIL:
126
- - Ejecutar **Paso 8 (FAIL)**.