@christianmaf80/agentic-workflow 1.14.0-beta.1 → 1.14.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 (345) 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/planning.md +10 -10
  21. package/dist/templates/research.md +1 -1
  22. package/dist/templates/results-acceptance.md +1 -1
  23. package/dist/templates/review.md +2 -2
  24. package/dist/templates/subtask-implementation.md +1 -1
  25. package/dist/templates/task.md +4 -32
  26. package/dist/templates/verification.md +3 -3
  27. package/dist/workflows/index.md +0 -2
  28. package/dist/workflows/init.md +26 -17
  29. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +2 -2
  30. package/dist/workflows/tasklifecycle-long/phase-1-research.md +3 -3
  31. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +6 -21
  32. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +5 -11
  33. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +2 -2
  34. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +3 -3
  35. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +1 -1
  36. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +12 -19
  37. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +3 -3
  38. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +2 -2
  39. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +1 -1
  40. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +5 -5
  41. package/package.json +2 -2
  42. package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +0 -480
  43. package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +0 -285
  44. package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +0 -29
  45. package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +0 -321
  46. package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +0 -522
  47. package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +0 -270
  48. package/dist/artifacts/1-mcp-server-extensio-cli/results.md +0 -143
  49. package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +0 -33
  50. package/dist/artifacts/1-mcp-server-extensio-cli/task.md +0 -178
  51. package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +0 -69
  52. package/dist/artifacts/10-shard-build-plugin/analysis.md +0 -290
  53. package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +0 -105
  54. package/dist/artifacts/10-shard-build-plugin/plan.md +0 -409
  55. package/dist/artifacts/10-shard-build-plugin/researcher/research.md +0 -109
  56. package/dist/artifacts/10-shard-build-plugin/task.md +0 -124
  57. package/dist/artifacts/11-revision-sistema-agentic/analysis.md +0 -43
  58. package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +0 -186
  59. package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +0 -162
  60. package/dist/artifacts/11-revision-sistema-agentic/metrics.md +0 -82
  61. package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +0 -126
  62. package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +0 -250
  63. package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +0 -366
  64. package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +0 -131
  65. package/dist/artifacts/11-revision-sistema-agentic/results.md +0 -116
  66. package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +0 -424
  67. package/dist/artifacts/11-revision-sistema-agentic/task.md +0 -145
  68. package/dist/artifacts/11-revision-sistema-agentic/verification.md +0 -119
  69. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +0 -305
  70. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +0 -301
  71. package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +0 -93
  72. package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +0 -111
  73. package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +0 -387
  74. package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +0 -266
  75. package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +0 -167
  76. package/dist/artifacts/13-dual-lifecycle-system/analysis.md +0 -173
  77. package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +0 -67
  78. package/dist/artifacts/13-dual-lifecycle-system/plan.md +0 -230
  79. package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +0 -243
  80. package/dist/artifacts/13-dual-lifecycle-system/task.md +0 -130
  81. package/dist/artifacts/13-dual-lifecycle-system/verification.md +0 -84
  82. package/dist/artifacts/14-core-tests-refactor/analysis.md +0 -240
  83. package/dist/artifacts/14-core-tests-refactor/architect/review.md +0 -33
  84. package/dist/artifacts/14-core-tests-refactor/evaluation.md +0 -40
  85. package/dist/artifacts/14-core-tests-refactor/plan.md +0 -344
  86. package/dist/artifacts/14-core-tests-refactor/researcher/research.md +0 -258
  87. package/dist/artifacts/14-core-tests-refactor/results.md +0 -117
  88. package/dist/artifacts/14-core-tests-refactor/task.md +0 -163
  89. package/dist/artifacts/14-core-tests-refactor/verification.md +0 -87
  90. package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +0 -47
  91. package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +0 -100
  92. package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +0 -81
  93. package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +0 -83
  94. package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +0 -160
  95. package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +0 -180
  96. package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +0 -15
  97. package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +0 -17
  98. package/dist/artifacts/16-refactorizacion-demo-core/plan.md +0 -270
  99. package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +0 -190
  100. package/dist/artifacts/16-refactorizacion-demo-core/task.md +0 -124
  101. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +0 -108
  102. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +0 -98
  103. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +0 -192
  104. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +0 -41
  105. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +0 -73
  106. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +0 -80
  107. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +0 -113
  108. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +0 -133
  109. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +0 -130
  110. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +0 -188
  111. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +0 -80
  112. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +0 -73
  113. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +0 -97
  114. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +0 -39
  115. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +0 -188
  116. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +0 -207
  117. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +0 -103
  118. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +0 -64
  119. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +0 -81
  120. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +0 -148
  121. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +0 -146
  122. package/dist/artifacts/18-refactor-phase-4-implementation/task.md +0 -140
  123. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +0 -58
  124. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +0 -78
  125. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +0 -76
  126. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +0 -77
  127. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +0 -76
  128. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +0 -77
  129. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +0 -95
  130. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +0 -190
  131. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +0 -68
  132. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +0 -203
  133. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +0 -296
  134. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +0 -132
  135. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +0 -104
  136. package/dist/artifacts/2-review-mcp-agent-system/analysis.md +0 -133
  137. package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +0 -58
  138. package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +0 -57
  139. package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +0 -83
  140. package/dist/artifacts/2-review-mcp-agent-system/changelog.md +0 -22
  141. package/dist/artifacts/2-review-mcp-agent-system/metrics.md +0 -33
  142. package/dist/artifacts/2-review-mcp-agent-system/plan.md +0 -141
  143. package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +0 -60
  144. package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +0 -77
  145. package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +0 -115
  146. package/dist/artifacts/2-review-mcp-agent-system/task.md +0 -127
  147. package/dist/artifacts/2-review-mcp-agent-system/verification.md +0 -72
  148. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +0 -139
  149. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +0 -146
  150. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +0 -142
  151. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +0 -143
  152. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +0 -53
  153. package/dist/artifacts/2026-01-19-orchestration-init/brief.md +0 -88
  154. package/dist/artifacts/2026-01-19-orchestration-init/closure.md +0 -80
  155. package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +0 -20
  156. package/dist/artifacts/21-portable-agentic-system/researcher/research.md +0 -121
  157. package/dist/artifacts/21-portable-agentic-system/task.md +0 -115
  158. package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +0 -113
  159. package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +0 -124
  160. package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +0 -76
  161. package/dist/artifacts/22-standardize-phase-0-artifact/results.md +0 -36
  162. package/dist/artifacts/22-standardize-phase-0-artifact/task.md +0 -115
  163. package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +0 -41
  164. package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +0 -62
  165. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +0 -90
  166. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +0 -85
  167. package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +0 -52
  168. package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +0 -52
  169. package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +0 -31
  170. package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +0 -90
  171. package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +0 -42
  172. package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +0 -64
  173. package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +0 -68
  174. package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +0 -79
  175. package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +0 -25
  176. package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +0 -91
  177. package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +0 -89
  178. package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +0 -59
  179. package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +0 -57
  180. package/dist/artifacts/25-auditoria-omision-gates/brief.md +0 -89
  181. package/dist/artifacts/25-auditoria-omision-gates/closure.md +0 -88
  182. package/dist/artifacts/25-auditoria-omision-gates/rca.md +0 -49
  183. package/dist/artifacts/25-auditoria-omision-gates/task.md +0 -64
  184. package/dist/artifacts/26-portable-agentic-system/acceptance.md +0 -41
  185. package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +0 -113
  186. package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +0 -117
  187. package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +0 -109
  188. package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +0 -104
  189. package/dist/artifacts/26-portable-agentic-system/analysis.md +0 -117
  190. package/dist/artifacts/26-portable-agentic-system/architect/review.md +0 -41
  191. package/dist/artifacts/26-portable-agentic-system/plan.md +0 -146
  192. package/dist/artifacts/26-portable-agentic-system/researcher/research.md +0 -96
  193. package/dist/artifacts/26-portable-agentic-system/task.md +0 -50
  194. package/dist/artifacts/26-portable-agentic-system/verification.md +0 -67
  195. package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +0 -74
  196. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +0 -86
  197. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +0 -88
  198. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +0 -89
  199. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +0 -85
  200. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +0 -84
  201. package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +0 -90
  202. package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +0 -44
  203. package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +0 -17
  204. package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +0 -52
  205. package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +0 -122
  206. package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +0 -73
  207. package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +0 -51
  208. package/dist/artifacts/27-update-portable-module-agent-identity/task.md +0 -115
  209. package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +0 -66
  210. package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +0 -67
  211. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +0 -88
  212. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +0 -87
  213. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +0 -86
  214. package/dist/artifacts/28-agent-system-update-conversion/analysis.md +0 -153
  215. package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +0 -93
  216. package/dist/artifacts/28-agent-system-update-conversion/metrics.md +0 -43
  217. package/dist/artifacts/28-agent-system-update-conversion/plan.md +0 -153
  218. package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +0 -66
  219. package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +0 -125
  220. package/dist/artifacts/28-agent-system-update-conversion/task.md +0 -103
  221. package/dist/artifacts/28-agent-system-update-conversion/verification.md +0 -60
  222. package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +0 -38
  223. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +0 -85
  224. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +0 -90
  225. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +0 -92
  226. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +0 -84
  227. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +0 -92
  228. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +0 -85
  229. package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +0 -119
  230. package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +0 -46
  231. package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +0 -95
  232. package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +0 -68
  233. package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +0 -59
  234. package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +0 -99
  235. package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +0 -54
  236. package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +0 -18
  237. package/dist/artifacts/3-developer-feedback-gate/analysis.md +0 -27
  238. package/dist/artifacts/3-developer-feedback-gate/changelog.md +0 -10
  239. package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +0 -32
  240. package/dist/artifacts/3-developer-feedback-gate/init.md +0 -13
  241. package/dist/artifacts/3-developer-feedback-gate/metrics.md +0 -34
  242. package/dist/artifacts/3-developer-feedback-gate/research.md +0 -28
  243. package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +0 -17
  244. package/dist/artifacts/3-developer-feedback-gate/task.md +0 -17
  245. package/dist/artifacts/3-developer-feedback-gate/verification.md +0 -35
  246. package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +0 -46
  247. package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +0 -34
  248. package/dist/artifacts/30-task-execution-protocol-gates/task.md +0 -77
  249. package/dist/artifacts/4-adr-workflows-modulos/adr.md +0 -380
  250. package/dist/artifacts/4-adr-workflows-modulos/analysis.md +0 -353
  251. package/dist/artifacts/4-adr-workflows-modulos/plan.md +0 -301
  252. package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +0 -253
  253. package/dist/artifacts/4-adr-workflows-modulos/results.md +0 -202
  254. package/dist/artifacts/4-adr-workflows-modulos/task.md +0 -143
  255. package/dist/artifacts/4-adr-workflows-modulos/verification.md +0 -123
  256. package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +0 -169
  257. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +0 -105
  258. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +0 -90
  259. package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +0 -7
  260. package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +0 -34
  261. package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +0 -163
  262. package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +0 -105
  263. package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +0 -153
  264. package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +0 -147
  265. package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +0 -79
  266. package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +0 -153
  267. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +0 -103
  268. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +0 -79
  269. package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +0 -8
  270. package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +0 -34
  271. package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +0 -131
  272. package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +0 -86
  273. package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +0 -108
  274. package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +0 -147
  275. package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +0 -74
  276. package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +0 -33
  277. package/dist/artifacts/7-modules-globals-constants/analysis.md +0 -205
  278. package/dist/artifacts/7-modules-globals-constants/architect/review.md +0 -110
  279. package/dist/artifacts/7-modules-globals-constants/metrics.md +0 -45
  280. package/dist/artifacts/7-modules-globals-constants/plan.md +0 -276
  281. package/dist/artifacts/7-modules-globals-constants/researcher/research.md +0 -247
  282. package/dist/artifacts/7-modules-globals-constants/task.md +0 -112
  283. package/dist/artifacts/7-modules-globals-constants/verification.md +0 -76
  284. package/dist/artifacts/8-module-workflow-refactor/analysis.md +0 -131
  285. package/dist/artifacts/8-module-workflow-refactor/changelog.md +0 -24
  286. package/dist/artifacts/8-module-workflow-refactor/metrics.md +0 -37
  287. package/dist/artifacts/8-module-workflow-refactor/plan.md +0 -193
  288. package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +0 -222
  289. package/dist/artifacts/8-module-workflow-refactor/results.md +0 -112
  290. package/dist/artifacts/8-module-workflow-refactor/review.md +0 -76
  291. package/dist/artifacts/8-module-workflow-refactor/task.md +0 -154
  292. package/dist/artifacts/8-module-workflow-refactor/verification.md +0 -76
  293. package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +0 -64
  294. package/dist/artifacts/9-build-stabilization/analysis.md +0 -62
  295. package/dist/artifacts/9-build-stabilization/metrics.md +0 -11
  296. package/dist/artifacts/9-build-stabilization/plan.md +0 -82
  297. package/dist/artifacts/9-build-stabilization/researcher/research.md +0 -102
  298. package/dist/artifacts/9-build-stabilization/task.md +0 -23
  299. package/dist/artifacts/9-build-stabilization/walkthrough.md +0 -56
  300. package/dist/artifacts/candidate/init.md +0 -34
  301. package/dist/artifacts/candidate/task.md +0 -24
  302. package/dist/metrics/agent-scores.md +0 -30
  303. package/dist/metrics/agents.json +0 -106
  304. package/dist/metrics/index.md +0 -23
  305. package/dist/rules/constitution/drivers.md +0 -294
  306. package/dist/rules/constitution/extensio-architecture.md +0 -131
  307. package/dist/rules/constitution/modules.md +0 -280
  308. package/dist/rules/constitution/pages.md +0 -454
  309. package/dist/rules/constitution/shards.md +0 -484
  310. package/dist/rules/roles/driver.md +0 -172
  311. package/dist/rules/roles/module.md +0 -175
  312. package/dist/rules/roles/surface.md +0 -60
  313. package/dist/rules/roles/tooling.md +0 -68
  314. package/dist/skills/extensio-build/SKILL.md +0 -161
  315. package/dist/skills/extensio-create-driver/SKILL.md +0 -89
  316. package/dist/skills/extensio-create-module/SKILL.md +0 -91
  317. package/dist/skills/extensio-demo/SKILL.md +0 -84
  318. package/dist/skills/extensio-test/SKILL.md +0 -96
  319. package/dist/skills/extensio-validate-code/SKILL.md +0 -262
  320. package/dist/skills/index.md +0 -79
  321. package/dist/templates/driver-create.md +0 -116
  322. package/dist/templates/driver-delete.md +0 -84
  323. package/dist/templates/driver-refactor.md +0 -94
  324. package/dist/templates/module-create.md +0 -117
  325. package/dist/templates/module-delete.md +0 -79
  326. package/dist/templates/module-refactor.md +0 -87
  327. package/dist/todo/001-anadir-seccion-reasoning.md +0 -42
  328. package/dist/todo/002-anadir-ejemplos-few-shot.md +0 -46
  329. package/dist/todo/003-explorar-paralelizacion-phase4.md +0 -46
  330. package/dist/todo/004-portable-agentic-system.md +0 -44
  331. package/dist/todo/README.md +0 -58
  332. package/dist/todo/index.md +0 -27
  333. package/dist/tools/extensio-cli.md +0 -76
  334. package/dist/tools/index.md +0 -14
  335. package/dist/tools/run-command.md +0 -42
  336. package/dist/workflows/drivers/create.md +0 -139
  337. package/dist/workflows/drivers/delete.md +0 -124
  338. package/dist/workflows/drivers/index.md +0 -25
  339. package/dist/workflows/drivers/refactor.md +0 -125
  340. package/dist/workflows/modules/create.md +0 -160
  341. package/dist/workflows/modules/delete.md +0 -121
  342. package/dist/workflows/modules/index.md +0 -27
  343. package/dist/workflows/modules/pages.create.md +0 -234
  344. package/dist/workflows/modules/refactor.md +0 -122
  345. package/dist/workflows/modules/shards.create.md +0 -215
@@ -1,167 +0,0 @@
1
- # Task
2
-
3
- ## Identificación
4
- - id: 12
5
- - title: adaptacion-core-cli-surfaces
6
- - scope: current
7
- - owner: architect-agent
8
-
9
- ## Origen
10
- - created_from:
11
- - workflow: tasklifecycle
12
- - source: init
13
- - candidate_path: artifacts.candidate.task
14
-
15
- ## Descripción de la tarea
16
- Verificar qué cambios a nivel de core (`@extensio/core`) y CLI (`extensio-cli`) son necesarios para adaptarse a la nueva arquitectura de Pages y Shards (Surfaces).
17
-
18
- ## Objetivo
19
- Analizar el estado actual de `@extensio/core` y `extensio-cli`, contrastarlos con las constituciones de Pages y Shards recientemente definidas, e identificar:
20
- - Gaps de implementación en core (Surface base class, lifecycle hooks, exports)
21
- - Gaps en CLI (generadores, templates, comandos)
22
- - Cambios de breaking/non-breaking necesarios
23
- - Orden de implementación recomendado
24
-
25
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
26
-
27
- ```yaml
28
- task:
29
- id: "12"
30
- title: "adaptacion-core-cli-surfaces"
31
- phase:
32
- current: "phase-4-implementation"
33
- validated_by: "architect-agent"
34
- updated_at: "2026-01-14T08:07:44+01:00"
35
- lifecycle:
36
- phases:
37
- phase-0-acceptance-criteria:
38
- completed: true
39
- validated_by: architect-agent
40
- validated_at: "2026-01-14T07:18:46+01:00"
41
- phase-1-research:
42
- completed: true
43
- validated_by: architect-agent
44
- validated_at: "2026-01-14T07:26:50+01:00"
45
- phase-2-analysis:
46
- completed: true
47
- validated_by: architect-agent
48
- validated_at: "2026-01-14T08:03:49+01:00"
49
- phase-3-planning:
50
- completed: true
51
- validated_by: architect-agent
52
- validated_at: "2026-01-14T08:07:44+01:00"
53
- phase-4-implementation:
54
- completed: false
55
- validated_by: null
56
- validated_at: null
57
- phase-5-verification:
58
- completed: false
59
- validated_by: null
60
- validated_at: null
61
- phase-6-results-acceptance:
62
- completed: false
63
- validated_by: null
64
- validated_at: null
65
- phase-7-evaluation:
66
- completed: false
67
- validated_by: null
68
- validated_at: null
69
- phase-8-commit-push:
70
- completed: false
71
- validated_by: null
72
- validated_at: null
73
- ```
74
-
75
- ## 5 Preguntas Obligatorias (REQUERIDO - Phase 0)
76
-
77
- | # | Pregunta (formulada por architect) | Respuesta (del desarrollador) |
78
- |---|-----------------------------------|-------------------------------|
79
- | 1 | ¿Cuál es el alcance exacto de "Surfaces"? ¿Incluye únicamente Pages y Shards, o también otros componentes visuales como popups, sidepanels u offscreen documents? | Solo Surfaces ya que con ambos Pages y Shards se pueden construir cualquier elemento visual |
80
- | 2 | ¿Existe ya una clase base `Surface` en core? ¿O debe crearse desde cero? Si existe, ¿qué funcionalidad tiene actualmente vs. lo que necesita según la constitución? | Sí existe, revisarlo para validar conformidad con constitución |
81
- | 3 | ¿Los lifecycle hooks (`onMount`, `onUnmount`) deben ser uniformes para Pages y Shards, o cada uno puede tener hooks específicos adicionales? | Sí deben ser a nivel de Surface (uniformes) |
82
- | 4 | ¿Qué nivel de cambios es aceptable en CLI? ¿Solo ajustes a templates existentes, o también nuevos comandos/generadores? | Lo necesario para que se pueda construir Pages y Shards correctamente sin fallos |
83
- | 5 | ¿Hay una demo existente que deba validar la nueva arquitectura? ¿O se debe crear una nueva demo específica? | Sí, en core existe carpeta demo. Borrar la actual y construir una nueva con el CLI, validar mediante E2E y Unit test de que todo es funcional en Chrome, Firefox y Safari |
84
-
85
- ---
86
-
87
- ## Acceptance Criteria (OBLIGATORIO PARA CURRENT TASK)
88
-
89
- ### 1. Alcance
90
- - Surfaces = Pages + Shards únicamente
91
- - La clase base `Surface` debe definir hooks uniformes que heredan tanto `Page` como `Shard`
92
- - No se contemplan otros tipos de componentes visuales en este alcance
93
-
94
- ### 2. Entradas / Datos
95
- - Código actual de `@extensio/core`:
96
- - `src/surface/surface.mts` (clase Surface existente)
97
- - `src/surface/pages/index.mts` (clase Page existente)
98
- - `src/surface/shards/index.mts` (clase Shard existente)
99
- - Código actual del CLI (`extensio-cli`):
100
- - Generadores de modules, drivers
101
- - Plugins de build (surface-pages, surface-shards)
102
- - Constituciones definidas:
103
- - `constitution.pages` (v2.1.0)
104
- - `constitution.shards` (v2.0.0)
105
- - Demo actual en `packages/core/demo/`
106
-
107
- ### 3. Salidas / Resultado esperado
108
- - **Informe de gaps** documentando:
109
- - Gaps entre implementación actual y constitución (core)
110
- - Gaps en CLI (comandos, templates, plugins)
111
- - Lista priorizada de cambios con clasificación breaking/non-breaking
112
- - **Core actualizado** (si aplica):
113
- - Clase `Surface` con hooks `onMount()`, `onUnmount()` uniformes
114
- - Clase `Page` conforme a constitución
115
- - Clase `Shard` conforme a constitución
116
- - Exports en `package.json` alineados
117
- - **CLI actualizado** (si aplica):
118
- - Generadores `extensio create page`, `extensio create shard`
119
- - Templates conformes a constitución
120
- - Plugins de build funcionales
121
- - **Nueva demo** en `packages/core/demo/`:
122
- - Construida con CLI
123
- - Demuestra Pages y Shards funcionando
124
- - Tests E2E y Unit pasando en Chrome, Firefox, Safari
125
-
126
- ### 4. Restricciones
127
- - No mezclar lógica de negocio en Surfaces (solo UI)
128
- - Lifecycle hooks deben definirse en `Surface`, no duplicarse en subclases
129
- - La demo debe ser creada con el CLI, no manualmente
130
- - Tests deben pasar en los 3 navegadores antes de considerar la tarea completa
131
-
132
- ### 5. Criterio de aceptación (Done)
133
- - [ ] Informe de gaps documentado
134
- - [ ] Clase `Surface` con hooks uniformes (`onMount`, `onUnmount`)
135
- - [ ] Clase `Page` hereda de `Surface` y cumple constitución
136
- - [ ] Clase `Shard` hereda de `Surface` y cumple constitución (nota: actualmente hereda de `Core`, hay gap potencial)
137
- - [ ] CLI puede generar Pages con `extensio create page`
138
- - [ ] CLI puede generar Shards con `extensio create shard`
139
- - [ ] Demo eliminada y reconstruida con CLI
140
- - [ ] Tests unitarios pasan
141
- - [ ] Tests E2E pasan en Chrome, Firefox, Safari
142
- - [ ] Build sin errores para los 3 navegadores
143
-
144
- ## Historial de validaciones (append-only)
145
- ```yaml
146
- history:
147
- - phase: "phase-0-acceptance-criteria"
148
- action: "completed"
149
- validated_by: "architect-agent"
150
- timestamp: "2026-01-14T07:18:46+01:00"
151
- notes: "Acceptance criteria definidos. Se identificó un gap potencial: Shard hereda de Core, no de Surface."
152
- - phase: "phase-1-research"
153
- action: "completed"
154
- validated_by: "architect-agent"
155
- timestamp: "2026-01-14T07:26:50+01:00"
156
- notes: "Research completado y aprobado. Gaps críticos identificados: Shard hereda Core no Surface, no hay comandos CLI para page/shard, demo incompleta."
157
- ```
158
-
159
- ## Reglas contractuales
160
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
161
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
162
- - El campo `task.lifecycle.phases.*` **SOLO puede ser marcado como completed por `architect-agent`**.
163
- - Una fase **NO puede marcarse como completed** si no es la fase actual.
164
- - El avance de fase requiere:
165
- 1. Marcar la fase actual como `completed: true`
166
- 2. Validación explícita del architect
167
- 3. Actualización de `task.phase.current` a la siguiente fase
@@ -1,173 +0,0 @@
1
- ---
2
- artifact: analysis
3
- phase: phase-2-analysis
4
- owner: architect-agent
5
- status: approved
6
- related_task: 13-dual-lifecycle-system
7
- ---
8
-
9
- # Analysis — 13-dual-lifecycle-system
10
-
11
- ## 1. Resumen ejecutivo
12
-
13
- **Problema**
14
- El ciclo de vida actual (`tasklifecycle`) impone 9 fases obligatorias para cualquier tarea, generando overhead innecesario para tareas simples. El desarrollador necesita flexibilidad operativa.
15
-
16
- **Objetivo**
17
- Implementar un sistema dual (Long/Short) que permita elegir la estrategia adecuada según la complejidad, sin perder la integridad de los gates arquitectónicos.
18
-
19
- **Criterio de éxito**
20
- - El desarrollador puede elegir "Short" durante `init`.
21
- - El flujo Short completa 3 fases con validación exitosa del arquitecto.
22
- - El campo `task.strategy` persiste en `task.md` entre sesiones.
23
- - Los aliases resuelven correctamente en ambos ciclos.
24
-
25
- ---
26
-
27
- ## 2. Estado del proyecto (As-Is)
28
-
29
- ### Estructura relevante
30
- ```
31
- .agent/
32
- ├── workflows/
33
- │ ├── init.md
34
- │ ├── index.md
35
- │ └── tasklifecycle/ # Ciclo actual (9 fases)
36
- │ ├── index.md
37
- │ └── phase-[0-8]-*.md
38
- ├── templates/
39
- │ ├── index.md
40
- │ └── task.md # Sin campo strategy
41
- └── artifacts/
42
- └── index.md
43
- ```
44
-
45
- ### Limitaciones detectadas
46
- 1. **Naming asimétrico**: Si creamos `tasklifecycle-short`, la carpeta original debería llamarse `tasklifecycle-long` para simetría.
47
- 2. **Sin selector de estrategia**: El workflow `init.md` no tiene paso de selección Long/Short.
48
- 3. **Template incompleto**: `task.md` no tiene campo `strategy`.
49
- 4. **Aliases únicos**: Solo existe namespace para un ciclo.
50
-
51
- ---
52
-
53
- ## 3. Cobertura de Acceptance Criteria
54
-
55
- ### AC-1: Modificación de `workflow.init` para incluir el selector
56
- - **Interpretación**: Añadir un paso tras la confirmación de idioma para preguntar Long/Short.
57
- - **Verificación**: El agente debe poder ejecutar `init` y recibir la pregunta de estrategia.
58
- - **Riesgos**: Ninguno identificado.
59
-
60
- ### AC-2: Creación de workflows y fases Short
61
- - **Interpretación**: Nueva carpeta `tasklifecycle-short/` con 3 fases y su `index.md`.
62
- - **Verificación**: Los ficheros existen y los aliases resuelven correctamente.
63
- - **Riesgos**: Inconsistencia en estructura de gates.
64
-
65
- ### AC-3: Actualización de `templates.task` con campo `strategy`
66
- - **Interpretación**: Añadir `task.strategy: long | short` en el bloque YAML.
67
- - **Verificación**: El template incluye el campo y ambos valores son válidos.
68
- - **Riesgos**: Breaking change mínimo (los task.md existentes no tienen el campo).
69
-
70
- ### AC-4: Gates arquitectónicos intactos
71
- - **Interpretación**: Cada fase Short tiene su propio gate con requisitos explícitos.
72
- - **Verificación**: Revisar que cada workflow Short tiene sección `## Gate (REQUIRED)`.
73
- - **Riesgos**: Omitir gates por simplificación excesiva.
74
-
75
- ### AC-5: Análisis profundo en Short para detectar complejidad
76
- - **Interpretación**: La fase Brief incluye las 5 preguntas y evaluación de complejidad.
77
- - **Verificación**: El workflow Short-P1 incluye paso de detección y opción de abortar.
78
- - **Riesgos**: El desarrollador ignora la recomendación de abortar.
79
-
80
- ---
81
-
82
- ## 4. Diseño técnico (basado en Research aprobado)
83
-
84
- ### Rename de carpeta
85
- | Actual | Nuevo |
86
- |--------|-------|
87
- | `tasklifecycle/` | `tasklifecycle-long/` |
88
-
89
- ### Nuevos ficheros a crear
90
- 1. `.agent/workflows/tasklifecycle-short/index.md`
91
- 2. `.agent/workflows/tasklifecycle-short/short-phase-1-brief.md`
92
- 3. `.agent/workflows/tasklifecycle-short/short-phase-2-implementation.md`
93
- 4. `.agent/workflows/tasklifecycle-short/short-phase-3-closure.md`
94
- 5. `.agent/templates/brief.md`
95
- 6. `.agent/templates/closure.md`
96
-
97
- ### Ficheros a modificar
98
- 1. `.agent/workflows/tasklifecycle-long/index.md` - Actualizar ID y aliases
99
- 2. `.agent/workflows/init.md` - Añadir selector Long/Short
100
- 3. `.agent/templates/task.md` - Añadir campo `strategy`
101
- 4. `.agent/workflows/index.md` - Registrar ambos ciclos
102
- 5. `.agent/templates/index.md` - Registrar nuevos templates
103
-
104
- ---
105
-
106
- ## 5. Agentes participantes
107
-
108
- ### architect-agent (Owner)
109
- - Responsable de crear los workflows Short.
110
- - Valida integridad de gates.
111
- - Ejecuta verificación de aliases.
112
-
113
- **No se requieren agentes adicionales** para esta tarea. Es puramente estructural.
114
-
115
- ### Componentes necesarios
116
- - **Crear**: 6 ficheros nuevos (workflows + templates).
117
- - **Modificar**: 5 ficheros existentes.
118
- - **Eliminar**: Ninguno (rename, no delete).
119
-
120
- ### Demo
121
- **No aplica**. Esta tarea modifica el sistema agéntico interno, no requiere demo funcional.
122
-
123
- ---
124
-
125
- ## 6. Impacto de la tarea
126
-
127
- ### Arquitectura
128
- - Introduce dualidad de ciclos (Long/Short).
129
- - Mantiene compatibilidad total con tareas existentes.
130
-
131
- ### APIs / contratos
132
- - Nuevo campo `task.strategy` en el contrato de `task.md`.
133
- - Nuevos namespaces de aliases: `taskcycle-short.phases.*`.
134
-
135
- ### Compatibilidad
136
- - **Breaking change controlado**: El rename de carpeta requiere actualizar referencias.
137
- - Las tareas existentes (sin `strategy`) se asumen como Long por defecto.
138
-
139
- ### Testing / verificación
140
- - **No requiere tests de código** (es configuración de workflows).
141
- - **Verificación manual**: Ejecutar `init`, elegir Short, completar las 3 fases.
142
- - **Verificación de aliases**: Cadena de resolución debe funcionar.
143
-
144
- ---
145
-
146
- ## 7. Riesgos y mitigaciones
147
-
148
- | Riesgo | Severidad | Mitigación |
149
- |--------|-----------|------------|
150
- | Alias rotos tras rename | ALTA | Verificación obligatoria de cadena de resolución |
151
- | Subestimar complejidad en Short | ALTA | Brief incluye detección + opción de abortar |
152
- | Tareas existentes sin `strategy` | MEDIA | Asumir Long por defecto si campo ausente |
153
- | Inconsistencia de gates | ALTA | Copiar estructura de gates desde ciclo Long |
154
-
155
- ---
156
-
157
- ## 8. Preguntas abiertas
158
- Ninguna. Todas las dudas fueron resueltas en Phase 0 y Research.
159
-
160
- ---
161
-
162
- ## 9. Aprobación
163
- Este análisis **requiere aprobación explícita del desarrollador**.
164
-
165
- ```yaml
166
- approval:
167
- developer:
168
- decision: SI
169
- date: 2026-01-16T00:06:01+01:00
170
- comments: Análisis aprobado
171
- ```
172
-
173
- > Sin aprobación, esta fase NO puede darse por completada ni avanzar a Phase 3 (Planning).
@@ -1,67 +0,0 @@
1
- ---
2
- artifact: implementation
3
- phase: phase-4-implementation
4
- owner: architect-agent
5
- status: APPROVED
6
- related_task: 13-dual-lifecycle-system
7
- ---
8
-
9
- # Architect Review — 13-dual-lifecycle-system
10
-
11
- ## Resumen de implementación
12
-
13
- La implementación del Sistema de Ciclo de Vida Dual (Long/Short) se ha completado siguiendo los 13 pasos definidos en el plan.
14
-
15
- ## Cambios realizados
16
-
17
- ### Paso 1: Rename de carpeta
18
- - ✅ `tasklifecycle/` → `tasklifecycle-long/`
19
-
20
- ### Pasos 2-3: Actualización de índices
21
- - ✅ `tasklifecycle-long/index.md` actualizado con nuevas rutas
22
- - ✅ `workflows/index.md` actualizado con aliases:
23
- - `tasklifecycle-long`
24
- - `tasklifecycle-short`
25
-
26
- ### Pasos 4-7: Workflows del ciclo Short
27
- - ✅ `tasklifecycle-short/index.md` creado
28
- - ✅ `short-phase-1-brief.md` creado (5 preguntas + detección complejidad)
29
- - ✅ `short-phase-2-implementation.md` creado
30
- - ✅ `short-phase-3-closure.md` creado
31
-
32
- ### Pasos 8-10: Templates
33
- - ✅ `templates/brief.md` creado
34
- - ✅ `templates/closure.md` creado
35
- - ✅ `templates/index.md` actualizado con aliases `brief` y `closure`
36
-
37
- ### Paso 11: Template task.md
38
- - ✅ Campo `strategy: "{{task.strategy}}"` añadido
39
-
40
- ### Paso 12: Workflow init.md
41
- - ✅ Versión actualizada a 4.0.0
42
- - ✅ Paso 5: Selector de estrategia Long/Short
43
- - ✅ Paso 10: Lanzar ciclo correspondiente según strategy
44
- - ✅ Gate: Incluye verificación de strategy
45
-
46
- ### Paso 13: Verificación de aliases
47
- - ✅ `workflows.tasklifecycle-long` resuelve correctamente
48
- - ✅ `workflows.tasklifecycle-short` resuelve correctamente
49
- - ✅ `templates.brief` resuelve correctamente
50
- - ✅ `templates.closure` resuelve correctamente
51
-
52
- ## Coherencia con el plan
53
-
54
- | Criterio | Estado |
55
- |----------|--------|
56
- | Rename de carpeta | ✅ |
57
- | 4 workflows Short + index | ✅ |
58
- | 2 templates nuevos | ✅ |
59
- | Campo strategy en task.md | ✅ |
60
- | Selector en init.md | ✅ |
61
- | Verificación de aliases | ✅ |
62
-
63
- ## Decisión
64
-
65
- **Estado: APROBADO**
66
-
67
- La implementación es coherente con el plan aprobado. Todos los ficheros están en su ubicación correcta y los aliases resuelven sin errores.
@@ -1,230 +0,0 @@
1
- ---
2
- artifact: plan
3
- phase: phase-3-planning
4
- owner: architect-agent
5
- status: approved
6
- related_task: 13-dual-lifecycle-system
7
- ---
8
-
9
- # Implementation Plan — 13-dual-lifecycle-system
10
-
11
- ## 1. Resumen del plan
12
-
13
- **Contexto**: El sistema agéntico actual solo soporta un ciclo de vida de 9 fases (Long). El desarrollador necesita un ciclo simplificado (Short) de 3 fases para tareas de baja complejidad.
14
-
15
- **Resultado esperado**:
16
- - Selector funcional Long/Short en el proceso `init`.
17
- - Carpeta `tasklifecycle-long/` (renombrada desde `tasklifecycle/`).
18
- - Nueva carpeta `tasklifecycle-short/` con 3 fases.
19
- - Campo `task.strategy` en el template de tareas.
20
- - Aliases verificados y funcionales para ambos ciclos.
21
-
22
- **Alcance**:
23
- - ✅ Incluye: rename, workflows Short, templates, modificación de init, verificación de aliases.
24
- - ❌ Excluye: modificaciones al comportamiento del ciclo Long, tests automatizados (no hay código funcional).
25
-
26
- ---
27
-
28
- ## 2. Inputs contractuales
29
-
30
- - **Task**: `.agent/artifacts/13-dual-lifecycle-system/task.md`
31
- - **Analysis**: `.agent/artifacts/13-dual-lifecycle-system/analysis.md`
32
- - **Research**: `.agent/artifacts/13-dual-lifecycle-system/researcher/research.md`
33
-
34
- **Dispatch de dominios**
35
- ```yaml
36
- plan:
37
- workflows:
38
- drivers:
39
- action: none
40
- dispatch: []
41
- ```
42
- > No se requiere dispatch a otros dominios. Esta tarea es puramente estructural.
43
-
44
- ---
45
-
46
- ## 3. Desglose de implementación (pasos)
47
-
48
- ### Paso 1: Rename de carpeta tasklifecycle
49
- - **Descripción**: Renombrar `.agent/workflows/tasklifecycle/` → `.agent/workflows/tasklifecycle-long/`
50
- - **Dependencias**: Ninguna.
51
- - **Entregables**: Carpeta renombrada.
52
- - **Agente**: architect-agent
53
- - **Herramienta**: Terminal (`mv` command)
54
-
55
- ### Paso 2: Actualizar index.md de tasklifecycle-long
56
- - **Descripción**: Cambiar el ID del workflow y las rutas de aliases para reflejar la nueva ubicación.
57
- - **Dependencias**: Paso 1.
58
- - **Entregables**: `.agent/workflows/tasklifecycle-long/index.md` actualizado.
59
- - **Agente**: architect-agent
60
-
61
- ### Paso 3: Actualizar workflows/index.md
62
- - **Descripción**: Cambiar alias `tasklifecycle` → `tasklifecycle-long` y añadir alias `tasklifecycle-short`.
63
- - **Dependencias**: Paso 1.
64
- - **Entregables**: `.agent/workflows/index.md` actualizado.
65
- - **Agente**: architect-agent
66
-
67
- ### Paso 4: Crear carpeta tasklifecycle-short
68
- - **Descripción**: Crear directorio y fichero `index.md` con aliases de las 3 fases.
69
- - **Dependencias**: Paso 3.
70
- - **Entregables**: `.agent/workflows/tasklifecycle-short/index.md`
71
- - **Agente**: architect-agent
72
-
73
- ### Paso 5: Crear workflow short-phase-1-brief.md
74
- - **Descripción**: Workflow que fusiona Acceptance + Analysis + Planning. Incluye 5 preguntas obligatorias y detección de complejidad.
75
- - **Dependencias**: Paso 4.
76
- - **Entregables**: `.agent/workflows/tasklifecycle-short/short-phase-1-brief.md`
77
- - **Agente**: architect-agent
78
-
79
- ### Paso 6: Crear workflow short-phase-2-implementation.md
80
- - **Descripción**: Workflow equivalente a P4 del ciclo Long. Incluye gate de revisión arquitectónica.
81
- - **Dependencias**: Paso 4.
82
- - **Entregables**: `.agent/workflows/tasklifecycle-short/short-phase-2-implementation.md`
83
- - **Agente**: architect-agent
84
-
85
- ### Paso 7: Crear workflow short-phase-3-closure.md
86
- - **Descripción**: Workflow que fusiona Verification + Results + Commit. Incluye gate final y aprobación del desarrollador.
87
- - **Dependencias**: Paso 4.
88
- - **Entregables**: `.agent/workflows/tasklifecycle-short/short-phase-3-closure.md`
89
- - **Agente**: architect-agent
90
-
91
- ### Paso 8: Crear template brief.md
92
- - **Descripción**: Template para el artefacto de la fase Brief (fusión de analysis + planning simplificados).
93
- - **Dependencias**: Paso 5.
94
- - **Entregables**: `.agent/templates/brief.md`
95
- - **Agente**: architect-agent
96
-
97
- ### Paso 9: Crear template closure.md
98
- - **Descripción**: Template para el artefacto de la fase Closure (fusión de verification + results).
99
- - **Dependencias**: Paso 7.
100
- - **Entregables**: `.agent/templates/closure.md`
101
- - **Agente**: architect-agent
102
-
103
- ### Paso 10: Actualizar templates/index.md
104
- - **Descripción**: Registrar aliases para `brief` y `closure`.
105
- - **Dependencias**: Pasos 8 y 9.
106
- - **Entregables**: `.agent/templates/index.md` actualizado.
107
- - **Agente**: architect-agent
108
-
109
- ### Paso 11: Actualizar template task.md
110
- - **Descripción**: Añadir campo `task.strategy: long | short` en el bloque YAML del template.
111
- - **Dependencias**: Ninguna (puede ser paralelo).
112
- - **Entregables**: `.agent/templates/task.md` actualizado.
113
- - **Agente**: architect-agent
114
-
115
- ### Paso 12: Modificar init.md
116
- - **Descripción**: Añadir paso de selección de estrategia (Long/Short) tras la confirmación de idioma.
117
- - **Dependencias**: Pasos 3 y 11.
118
- - **Entregables**: `.agent/workflows/init.md` actualizado.
119
- - **Agente**: architect-agent
120
-
121
- ### Paso 13: Verificación de aliases
122
- - **Descripción**: Verificar que la cadena de resolución de aliases funciona para ambos ciclos.
123
- - **Dependencias**: Todos los pasos anteriores.
124
- - **Entregables**: Checklist de verificación completado.
125
- - **Agente**: architect-agent
126
-
127
- ---
128
-
129
- ## 4. Asignación de responsabilidades
130
-
131
- ### architect-agent (Único responsable)
132
- - Ejecutar todos los pasos.
133
- - Validar integridad de gates en workflows Short.
134
- - Ejecutar verificación de aliases.
135
-
136
- **No se requieren otros agentes** para esta tarea.
137
-
138
- ---
139
-
140
- ## 5. Estrategia de testing y validación
141
-
142
- ### Tests automatizados
143
- **No aplica**. Esta tarea modifica ficheros de configuración del sistema agéntico, no código funcional. No existe suite de tests para workflows.
144
-
145
- ### Verificación manual (OBLIGATORIA)
146
- 1. **Verificar rename**: Confirmar que la carpeta `tasklifecycle-long/` existe y la antigua no.
147
- 2. **Verificar aliases Long**:
148
- - Resolver `.agent/index.md` → `workflows.index` → `tasklifecycle-long.index` → `phase_0.workflow`
149
- - El fichero debe existir y ser legible.
150
- 3. **Verificar aliases Short**:
151
- - Resolver `.agent/index.md` → `workflows.index` → `tasklifecycle-short.index` → `short_phase_1.workflow`
152
- - El fichero debe existir y ser legible.
153
- 4. **Verificar templates**: Confirmar que `templates.brief` y `templates.closure` resuelven correctamente.
154
- 5. **Verificar init.md**: Confirmar que el paso de selección de estrategia está presente.
155
- 6. **Verificar task.md template**: Confirmar que el campo `task.strategy` está presente en el YAML.
156
-
157
- ### Trazabilidad
158
- | Acceptance Criteria | Verificación |
159
- |---------------------|--------------|
160
- | AC-1: Selector en init | Verificación manual #5 |
161
- | AC-2: Workflows Short | Verificación manual #3 |
162
- | AC-3: Campo strategy | Verificación manual #6 |
163
- | AC-4: Gates intactos | Revisión de secciones Gate en workflows |
164
- | AC-5: Detección complejidad | Revisión de short-phase-1-brief.md |
165
-
166
- ---
167
-
168
- ## 6. Plan de demo
169
- **No aplica**. Esta tarea modifica el sistema agéntico interno.
170
-
171
- ---
172
-
173
- ## 7. Estimaciones
174
-
175
- | Paso | Esfuerzo |
176
- |------|----------|
177
- | P1-P3: Rename y actualización de índices | Bajo |
178
- | P4-P7: Creación de workflows Short | Medio |
179
- | P8-P10: Templates y registros | Bajo |
180
- | P11-P12: Modificación de task y init | Bajo |
181
- | P13: Verificación | Bajo |
182
-
183
- **Total estimado**: ~30-40 tool calls de implementación.
184
-
185
- ---
186
-
187
- ## 8. Puntos críticos y resolución
188
-
189
- | Punto crítico | Riesgo | Resolución |
190
- |---------------|--------|------------|
191
- | Alias rotos tras rename | Referencias hardcodeadas a la ruta antigua | Buscar y reemplazar todas las ocurrencias |
192
- | Gates inconsistentes en Short | Fases sin validación adecuada | Copiar estructura de gates desde ciclo Long |
193
- | Detección de complejidad insuficiente | Tareas complejas ejecutadas en Short | Incluir criterios explícitos en Brief |
194
-
195
- ---
196
-
197
- ## 9. Dependencias y compatibilidad
198
-
199
- **Dependencias internas**:
200
- - Sistema de índices (`.agent/index.md` y subdominios).
201
- - Arquitectura de workflows existente.
202
-
203
- **Dependencias externas**: Ninguna.
204
-
205
- **Compatibilidad entre navegadores**: No aplica (no es código de extensión).
206
-
207
- ---
208
-
209
- ## 10. Criterios de finalización (Done)
210
-
211
- - [ ] Carpeta `tasklifecycle-long/` existe con aliases actualizados.
212
- - [ ] Carpeta `tasklifecycle-short/` existe con 3 workflows + index.
213
- - [ ] Templates `brief.md` y `closure.md` creados y registrados.
214
- - [ ] Campo `task.strategy` añadido al template `task.md`.
215
- - [ ] Selector Long/Short funcional en `init.md`.
216
- - [ ] Verificación de cadena de aliases completada sin errores.
217
-
218
- ---
219
-
220
- ## 11. Aprobación del desarrollador (OBLIGATORIA)
221
-
222
- ```yaml
223
- approval:
224
- developer:
225
- decision: SI
226
- date: 2026-01-16T07:48:25+01:00
227
- comments: Plan aprobado
228
- ```
229
-
230
- > Sin aprobación, esta fase NO puede darse por completada ni avanzar a Phase 4 (Implementation).