@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,146 +0,0 @@
1
- ---
2
- artifact: plan
3
- phase: phase-3-planning
4
- owner: architect-agent
5
- status: draft
6
- related_task: 26-portable-agentic-system
7
- ---
8
-
9
- # Implementation Plan — 26-Portable Agentic System
10
-
11
- ## 1. Resumen del plan
12
- - **Contexto**: El sistema actual de orquestación agéntica está acoplado al repo `extensio`. Se requiere su extracción a un paquete portable.
13
- - **Resultado esperado**: Paquete npm `@cmarino/agentic-workflow` funcional con CLI `init` que permite desplegar el sistema en cualquier proyecto.
14
- - **Alcance**:
15
- - Creación del paquete y CLI.
16
- - Migración de workflows y templates core.
17
- - Adaptación de referencias para soportar linking dinámico.
18
- - **Excluye**: Refactorización de drivers existentes de Extensio (se quedan en el repo host como "custom").
19
-
20
- ---
21
-
22
- ## 2. Inputs contractuales
23
- - **Task**: `.agent/artifacts/26-portable-agentic-system/task.md`
24
- - **Analysis**: `.agent/artifacts/26-portable-agentic-system/analysis.md`
25
- - **Acceptance Criteria**: Ver `analysis.md` (Package Creation, Core Decoupling, CLI Implementation).
26
-
27
- **Dispatch de dominios**
28
- ```yaml
29
- plan:
30
- dispatch:
31
- - domain: core
32
- action: create
33
- workflow: workflow.core.create_package
34
- ```
35
-
36
- ---
37
-
38
- ## 3. Desglose de implementación (pasos)
39
-
40
- ### Paso 1: Scaffolding del Paquete
41
- - **Descripción**: Crear la estructura del paquete `@cmarino/agentic-workflow` fuera del árbol de Extensio (o en una carpeta aislada temporalmente).
42
- - **Dependencias**: Ninguna.
43
- - **Entregables**: `package.json` con configuración de binarios y dependencias (`commander`, `@clack/prompts`).
44
- - **Agente responsable**: `architect-agent` (setup inicial).
45
-
46
- ### Paso 2: Migración del Core (Reglas, Workflows, Templates)
47
- - **Descripción**: Copiar y limpiar los ficheros genéricos de `.agent/` a la estructura del paquete (`src/core/`).
48
- - **Dependencias**: Paso 1.
49
- - **Entregables**: Carpeta `src/rules`, `src/workflows`, `src/templates` limpias de referencias a Extensio.
50
- - **Agente responsable**: `architect-agent` (por ser crítico para la arquitectura).
51
-
52
- ### Paso 3: Implementación del CLI `init`
53
- - **Descripción**: Desarrollar el script binario que interactúa con el usuario y genera el scaffolding local.
54
- - **Dependencias**: Paso 2.
55
- - **Entregables**: Comando funcional `init` que crea `.agent/` y copia/linka los assets necesarios.
56
- - **Agente responsable**: `architect-agent` (actuando como developer de tooling).
57
-
58
- ### Paso 4: Adaptaciones para Linking Local
59
- - **Descripción**: Asegurar que los workflows migrados sepan resolver referencias "híbridas" (si un fichero no está en el paquete, buscarlo en local).
60
- - **Dependencias**: Paso 2.
61
- - **Entregables**: Sistema de resolución de rutas (`AgentPathResolver`).
62
- - **Agente responsable**: `architect-agent`.
63
-
64
- ---
65
-
66
- ## 4. Asignación de responsabilidades (Agentes)
67
-
68
- **Architect-Agent**
69
- - **Responsabilidades**: Ejecución integral de la tarea. Al ser una refactorización estructural profunda y creación de un nuevo sistema core, el Architect debe mantener el control directo o delegar tareas muy específicas de "copy/paste" si fuera necesario.
70
- - **Subáreas**: Package config, CLI logic, Workflow migration.
71
-
72
- **Handoffs**
73
- - N/A (Ejecución centralizada por la naturaleza crítica de la tarea).
74
-
75
- **Componentes**
76
- - **Nuevo Paquete**: `@cmarino/agentic-workflow`.
77
- - Implementación: Creación manual de estructura y ficheros TS.
78
- - Tool: `write_to_file` y `run_command` (npm/tsc).
79
-
80
- ---
81
-
82
- ## 5. Estrategia de testing y validación
83
-
84
- **Manual Tests (Sandbox)**
85
- - Crear una carpeta temporal vacía `/tmp/test-agentic`.
86
- - Ejecutar el binario compilado: `node /path/to/dist/cli.js init`.
87
- - Verificar estructura generada `.agent/`.
88
- - Verificar que el sistema responde (ej: `ls .agent/`).
89
-
90
- **Verificación de ACs**
91
- - **AC1 (Package)**: Comprobar `package.json` y `bin`.
92
- - **AC2 (Decoupling)**: `grep -r "extensio" src/` debe devolver 0 resultados en el nuevo paquete.
93
- - **AC3 (CLI)**: Ejecución satisfactoria del comando `init` sin errores, generando `AGENTS.md` y `.agent/index.md`.
94
-
95
- ---
96
-
97
- ## 6. Plan de demo
98
- - **Objetivo**: Demostrar la portabilidad instalando el sistema en una carpeta vacía.
99
- - **Escenario**:
100
- 1. Carpeta limpia.
101
- 2. Ejecutar `npm init @cmarino/agentic-workflow`.
102
- 3. Responder al wizard.
103
- 4. Mostrar árbol de directorios resultante.
104
- - **Criterio de éxito**: El usuario ve la estructura `.agent` creada correctamente fuera de Extensio.
105
-
106
- ---
107
-
108
- ## 7. Estimaciones y pesos
109
- - **Paso 1 (Scaffold)**: Bajo (0.5h).
110
- - **Paso 2 (Migración Core)**: Alto (3h) - Cuidado extremo con referencias.
111
- - **Paso 3 (CLI Logic)**: Medio (2h).
112
- - **Paso 4 (Linking)**: Medio (1.5h).
113
- - **Total estimado**: ~7 horas.
114
-
115
- ---
116
-
117
- ## 8. Puntos críticos y resolución
118
- - **PC1: Referencias cruzadas en Workflows**: Los workflows actuales asumen rutas absolutas o relativas fijas.
119
- - **Resolución**: Implementar una utilidad `AgentPath.resolve(alias)` que chequee primero local, luego paquete.
120
- - **PC2: Tipado en TS**: El entorno de ejecución de los agentes puede no tener TS.
121
- - **Resolución**: El paquete distribuirá JS compilado (`dist/`) pero los templates locales serán Markdown, evitando complejidad de compilación en tiempo de ejecución para el usuario final.
122
-
123
- ---
124
-
125
- ## 9. Dependencias y compatibilidad
126
- - **Node.js**: >= 18.
127
- - **NPM/PNPM/Yarn**: Cualquiera.
128
- - **OS**: Agnóstico (sistema de archivos estándar).
129
-
130
- ---
131
-
132
- ## 10. Criterios de finalización
133
- - [ ] Paquete `@cmarino/agentic-workflow` existe.
134
- - [ ] `npm init` (simulado localmente) funciona.
135
- - [ ] Estructura generada es válida según la Constitución.
136
-
137
- ---
138
-
139
- ## 11. Aprobación del desarrollador (OBLIGATORIA)
140
- ```yaml
141
- approval:
142
- developer:
143
- decision: SI
144
- date: 2026-01-19T21:30:01+01:00
145
- comments: Aprobado por consola.
146
- ```
@@ -1,96 +0,0 @@
1
- ---
2
- artifact: research
3
- phase: phase-1-research
4
- owner: researcher-agent
5
- status: draft
6
- related_task: 26-portable-agentic-system
7
- ---
8
-
9
- # Research Report — 26-Portable Agentic System
10
-
11
- > [!CAUTION]
12
- > **REGLA PERMANENT**: Este documento es SOLO documentación.
13
- > El researcher-agent documenta hallazgos SIN analizar, SIN recomendar, SIN proponer soluciones.
14
- > El análisis corresponde a Phase 2.
15
-
16
- ## 1. Resumen ejecutivo
17
- - **Problema investigado**: El sistema agéntico actual está fuertemente acoplado al repositorio `extensio`, dificultando su reutilización en otros proyectos.
18
- - **Objetivo de la investigacion**: Identificar mecanismos para desacoplar el sistema, empaquetarlo como `@cmarino/agentic-workflow` y permitir su distribución vía npm, manteniendo la capacidad de personalización local.
19
- - **Principales hallazgos**: Existen herramientas maduras para CLI (`@clack/prompts`, `commander`) y patrones de "scaffolding" (`npm init`) que permiten esta arquitectura híbrida (núcleo inmutable + configuración local).
20
-
21
- ---
22
-
23
- ## 2. Necesidades detectadas
24
- - **Desacoplamiento total**: El core de orquestación no debe importar nada de `extensio`.
25
- - **Arquitectura híbrida**: Clases base y workflows genéricos en el paquete npm; implementaciones concretas y reglas específicas en el proyecto usuario.
26
- - **CLI interactivo**: Necesidad de un comando `init` amigable que genere la estructura `.agent`.
27
- - **Soporte de Schemas**: Necesidad de validar que la constitución local cumpla con los contratos del sistema portable.
28
-
29
- ---
30
-
31
- ## 3. Hallazgos técnicos
32
-
33
- ### 3.1 npm Init & Create Packages
34
- - **Descripción**: El prefijo `create-` o el uso de `npm init <initializer>` permite ejecutar un binario remoto sin instalación global explícita.
35
- - **Estado**: Estándar de facto en ecosistema JS (ej: `create-vite`, `create-next-app`).
36
- - **Docs**: [npm-init](https://docs.npmjs.com/cli/v10/commands/npm-init)
37
-
38
- ### 3.2 CLI Builders
39
- - **Commander.js**:
40
- - Estado: Estable, muy popular.
41
- - Uso: Gestión de comandos, flags y ayuda `--help`.
42
- - **@clack/prompts**:
43
- - Estado: Moderno, UI minimalista.
44
- - Uso: Interacción con usuario (selects, inputs, spinners) durante el setup.
45
- - Limitaciones: Menos "batalla" que Inquirer, pero mejor UX visual.
46
-
47
- ### 3.3 Estrategias de Linking Local
48
- - **Symlinks**: `npm link` para desarrollo local del paquete.
49
- - **Import Maps / Alias**: Configuración en `tsconfig` del proyecto consumidor para mapear `@agentic/core` a la librería.
50
-
51
- ---
52
-
53
- ## 4. APIs Web / WebExtensions relevantes
54
- *No aplica directamente al empaquetado npm, pero sí al contexto de ejecución.*
55
-
56
- - **Node.js File System (fs)**: Crítico para el scaffolding (copiar templates, crear directorios).
57
- - **Dynamic Imports**: Necesario para cargar configuraciones locales (`agent.config.js` o similar) desde el CLI global.
58
-
59
- ---
60
-
61
- ## 5. Compatibilidad multi-browser
62
- *No aplica: El sistema agéntico corre en entorno Node.js/Terminal, no en navegador.*
63
-
64
- ---
65
-
66
- ## 6. Oportunidades AI-first detectadas
67
- - **Auto-configuración**: El CLI podría leer el `package.json` del proyecto destino y sugerir roles o reglas adaptadas (ej: si ve `react` sugiere reglas de frontend).
68
- - **Context Loading Dinámico**: El sistema portable podría inyectar automáticamente el contexto del proyecto (file tree, deps) al LLM sin configuración manual.
69
-
70
- ---
71
-
72
- ## 7. Riesgos identificados
73
- - **Riesgo**: Divergencia de versiones.
74
- - **Severidad**: Alta.
75
- - **Detalle**: Que el `.agent/` local apunte a workflows que ya no existen en la versión actualizada de `@cmarino/agentic-workflow`.
76
- - **Riesgo**: Sobreescritura destructiva.
77
- - **Severidad**: Media.
78
- - **Detalle**: Que `npm init` borre personalizaciones en `.agent` existente.
79
-
80
- ---
81
-
82
- ## 8. Fuentes
83
- - [npm-init docs](https://docs.npmjs.com/cli/v10/commands/npm-init)
84
- - [Commander.js](https://www.npmjs.com/package/commander)
85
- - [@clack/prompts](https://www.npmjs.com/package/@clack/prompts)
86
-
87
- ---
88
-
89
- ## 9. Aprobacion del desarrollador (OBLIGATORIA)
90
- ```yaml
91
- approval:
92
- developer:
93
- decision: SI
94
- date: 2026-01-19T21:21:58+01:00
95
- comments: Aprobado por consola.
96
- ```
@@ -1,50 +0,0 @@
1
- ---
2
- id: task.26
3
- title: Portable Agentic System
4
- status: defined
5
- owner: architect-agent
6
- strategy: long
7
- created_at: 2026-01-19T21:16:00+01:00
8
- lifecycle:
9
- phases:
10
- phase-0-acceptance-criteria:
11
- completed: true
12
- validated_at: 2026-01-19T21:17:26+01:00
13
- phase-1-research:
14
- completed: true
15
- validated_at: 2026-01-19T21:21:58+01:00
16
- phase-2-analysis:
17
- completed: true
18
- validated_at: 2026-01-19T21:25:29+01:00
19
- phase-3-planning:
20
- completed: true
21
- validated_at: 2026-01-19T21:30:01+01:00
22
- phase-4-implementation:
23
- completed: true
24
- validated_at: 2026-01-19T22:48:00+01:00
25
- current: false
26
- phase-5-verification:
27
- completed: true
28
- validated_at: 2026-01-19T22:52:00+01:00
29
- current: false
30
- phase-6-results-acceptance:
31
- completed: false
32
- current: true
33
- phase-7-evaluation:
34
- completed: false
35
- phase-8-commit-push:
36
- completed: false
37
- aliases:
38
- acceptance: .agent/artifacts/26-portable-agentic-system/acceptance.md
39
- ---
40
-
41
- # Task 26: Portable Agentic System
42
-
43
- ## Description
44
- Make the current agentic system portable via an npm package. This allows distribution via npm, global installation, and per-project customization of constitutions, roles, and workflows.
45
-
46
- ## Goal
47
- Decouple the agentic orchestration from the Extensio framework and package it as `@cmarino/agentic-workflow`, enabling any project to function as an "Agentic Workspace" with a standard `npm init` setup.
48
-
49
- ## Current Phase: Phase 0 (Acceptance Criteria)
50
- See [Acceptance Criteria](acceptance.md) for details.
@@ -1,67 +0,0 @@
1
- ---
2
- artifact: verification
3
- phase: phase-5-verification
4
- owner: qa-agent
5
- status: approved
6
- related_task: 26-portable-agentic-system
7
- related_plan: .agent/artifacts/26-portable-agentic-system/plan.md
8
- related_review: .agent/artifacts/26-portable-agentic-system/architect/review.md
9
- ---
10
-
11
- # Verification Report — 26-Portable Agentic System
12
-
13
- ## 1. Alcance de verificacion
14
- - **Verificado**:
15
- - Compilación del paquete `@cmarino/agentic-workflow`.
16
- - Instalación global simulada (`npm link`).
17
- - Ejecución del comando `agentic-workflow init` en carpeta externa vacía.
18
- - Integridad de la estructura generada `.agent`.
19
- - Contenido de los ficheros generados (Reglas, Workflows, Templates).
20
-
21
- ## 2. Tests ejecutados
22
- - **Testing Approach**:
23
- - Al ser una herramienta CLI de orquestación, se optó por **Verification in Production-like Environment** (Manual E2E) en lugar de unit tests mockeados, dado que el valor está en la interacción con el sistema de archivos real.
24
- - **Manual E2E Test**:
25
- - Escenario: Clean Project Init.
26
- - Pasos: `mkdir test-proj && agentic-workflow init`.
27
- - **Resultado**: PASS.
28
- - Evidencia: Ver logs en Tarea 4.
29
-
30
- ## 3. Coverage y thresholds
31
- - **N/A**: No hay thresholds de cobertura de código definidos en el plan para esta tarea de infraestructura.
32
-
33
- ## 4. Performance (si aplica)
34
- - **Tiempo de ejecución de init**: < 200ms.
35
- - **Consumo de espacio**: Mínimo (estructura markdown ligera).
36
-
37
- ## 5. Evidencias
38
- - Log de consola de inicialización exitosa:
39
- ```
40
- Agentic Workflow Initialization
41
- ◇ Scaffolding complete.
42
- Agentic System initialized successfully
43
- ```
44
- - Listado de archivos generados (`ls -R`) confirma presencia de:
45
- - `project-architecture.md`
46
- - `clean-code.md`
47
- - All workflows (Task Lifecycle, Init)
48
-
49
- ## 6. Incidencias
50
- - **Bug Detectado (Resuelto)**: Import path incorrecto en `bin/cli.js`. Corregido en Tarea 4.
51
- - **Estado Actual**: Estable.
52
-
53
- ## 7. Checklist
54
- - [x] Verificacion completada
55
- - [x] Thresholds de testing cumplidos (E2E Manual Passed)
56
- - [x] Listo para fase 6
57
-
58
- ---
59
-
60
- ## 8. Aprobacion del desarrollador (OBLIGATORIA)
61
- ```yaml
62
- approval:
63
- developer:
64
- decision: SI
65
- date: 2026-01-19T22:51:30+01:00
66
- comments: Demostración E2E satisfactoria.
67
- ```
@@ -1,74 +0,0 @@
1
- 🏛️ **architect-agent**: Definición de Acceptance Criteria
2
-
3
- # Acceptance Criteria — 27-update-portable-module-agent-identity
4
-
5
- ## Identificacion del agente (OBLIGATORIA)
6
- Primera linea del documento:
7
- `🏛️ **architect-agent**: Definición de Acceptance Criteria`
8
-
9
- ## 1. Definición Consolidada
10
- Actualizar el paquete npm portátil `@cmarino/agentic-workflow` para alinear su comportamiento con los últimos estándares de orquestación y disciplina del sistema local. Esto incluye la identificación obligatoria del agente en todos los artefactos, la gestión estricta de subflows en `task.md`, la validación de timestamps en cierres de fase y la aprobación explícita por consola en cada gate. Se generará una nueva versión del paquete y se verificará su correcta instalación y funcionamiento en un entorno de prueba aislado.
11
-
12
- ## 2. Respuestas a Preguntas de Clarificación
13
- > Esta sección documenta las respuestas del desarrollador a las 5 preguntas formuladas por el architect-agent.
14
-
15
- | # | Pregunta (formulada por architect) | Respuesta (del desarrollador) |
16
- |---|-----------------------------------|-------------------------------|
17
- | 1 | ¿Qué "últimos cambios" específicos debemos incluir? | 1) `task.md`: subflows como listas y validación de timestamps. 2) Prefijo de identificación en todos los artefactos. 3) Aprobación por consola explícita ("SI"). 4) Timestamps de validación en `task.md` por cada fase. |
18
- | 2 | ¿El "módulo portable" se refiere estrictamente al paquete npm `@cmarino/agentic-workflow`? | Si. |
19
- | 3 | ¿La "identificación del agente" debe aplicarse a nivel de prefijo en el chat o en los artefactos? | Está especificado en el punto 1: Cada artefacto debe empezar con `<icono> **<nombre-agente>**: <mensaje>`. |
20
- | 4 | ¿Debemos generar una nueva versión del paquete npm? | Nueva versión. |
21
- | 5 | ¿Qué nivel de testing se requiere? | Volver a probar en un npm de test nuevo y verificar que se creó perfectamente. |
22
-
23
- ---
24
-
25
- ## 3. Criterios de Aceptación Verificables
26
- > Listado de criterios derivados de las respuestas anteriores que deben ser verificados en la Fase 5.
27
-
28
- 1. Alcance:
29
- - Modificación de templates (`acceptance.md`, `research.md`, etc.) y workflows (`tasklifecycle`) dentro del paquete `@cmarino/agentic-workflow`.
30
- - Implementar lógica de validación de subflows y timestamps en los workflows.
31
- - Generar y publicar (localmente/simulado) una nueva versión del paquete.
32
-
33
- 2. Entradas / Datos:
34
- - Código fuente actual del paquete en el workspace.
35
- - Lista de cambios especificados en la respuesta 1.
36
-
37
- 3. Salidas / Resultado esperado:
38
- - Paquete `@cmarino/agentic-workflow` actualizado.
39
- - Entorno de prueba (carpeta temporal) donde `npx @cmarino/agentic-workflow init` genere la estructura correcta con los nuevos templates y reglas.
40
- - `task.md` generado en el entorno de prueba soporta subflows y timestamps.
41
-
42
- 4. Restricciones:
43
- - Respetar `clean-code`.
44
- - No romper compatibilidad con configuraciones existentes si es posible (aunque es un sistema nuevo, prioridad es la disciplina).
45
-
46
- 5. Criterio de aceptación (Done):
47
- - `npm install` del paquete (o link) en un proyecto limpio funciona.
48
- - Crear una tarea de prueba genera artefactos con el prefijo de identificación.
49
- - El workflow bloquea avance si no hay aprobación explícita "SI".
50
-
51
- ---
52
-
53
- ## Aprobación (Gate 0)
54
- Este documento constituye el contrato de la tarea. Su aprobación es bloqueante para pasar a Phase 1.
55
-
56
- ```yaml
57
- approval:
58
- developer:
59
- decision: SI
60
- date: 2026-01-19T23:15:16+01:00
61
- comments: "Aprobación explícita según solicitud del usuario en el prompt inicial."
62
- ```
63
-
64
- ---
65
-
66
- ## Historial de validaciones (Phase 0)
67
- ```yaml
68
- history:
69
- - phase: "phase-0-acceptance-criteria"
70
- action: "completed"
71
- validated_by: "architect-agent"
72
- timestamp: "2026-01-19T23:15:16+01:00"
73
- notes: "Acceptance criteria definidos y aprobados explícitamente por el usuario."
74
- ```
@@ -1,86 +0,0 @@
1
- ---
2
- artifact: agent_task
3
- phase: phase-4-implementation
4
- owner: module-agent
5
- status: pending
6
- related_task: 27-update-portable-module-agent-identity
7
- task_number: 1
8
- ---
9
-
10
- # Agent Task — 1-module-agent-update-templates
11
-
12
- ## Identificacion del agente (OBLIGATORIA)
13
- Primera linea del documento:
14
- `🏛️ **architect-agent**: Asignación de tarea de actualización de templates.`
15
-
16
- ## Input (REQUIRED)
17
- - **Objetivo**: Inyectar el encabezado de "Identificación del agente" en todos los archivos `.md` de `agentic-workflow/src/templates/`.
18
- - **Alcance**:
19
- - Todos los ficheros `.md` en `agentic-workflow/src/templates/`.
20
- - El prefijo debe ser la primera línea de cada archivo (excepto si hay frontmatter Jekyll/YAML, en cuyo caso debe ir inmediatamente después del cierre `---`).
21
- - La línea a inyectar es: `## Identificacion del agente (OBLIGATORIA)\nPrimera linea del documento:\n\`<icono> **<nombre-agente>**: <mensaje>\`\n` (ajustar según el template específico si ya tiene algo parecido).
22
- - **Dependencias**: Ninguna.
23
-
24
- ---
25
-
26
- ## Reasoning (OBLIGATORIO)
27
-
28
- ### Análisis del objetivo
29
- - Se requiere uniformizar 19 templates para que soporten la nueva regla de identidad.
30
- - Debo tener cuidado con los archivos que tienen Frontmatter para no romper el parsing de metadatos.
31
-
32
- ### Opciones consideradas
33
- - **Opción A**: Inyectar manualmente archivo por archivo.
34
- - **Opción B**: Usar un script o comandos `sed` para inyectar la línea.
35
-
36
- ### Decisión tomada
37
- - Opción A: Dado que son solo 19 archivos y algunos podrían tener estructuras de Frontmatter variadas, la edición controlada es más segura para evitar corrupciones.
38
-
39
- ---
40
-
41
- ## Output (REQUIRED)
42
- - **Entregables**:
43
- - 19 archivos en `agentic-workflow/src/templates/` actualizados.
44
- - **Evidencia requerida**:
45
- - `grep` mostrando la nueva línea en todos los archivos.
46
-
47
- ---
48
-
49
- ## Execution
50
-
51
- ```yaml
52
- execution:
53
- agent: "module-agent"
54
- status: completed
55
- started_at: "2026-01-19T23:23:59+01:00"
56
- completed_at: "2026-01-19T23:25:00+01:00"
57
- ```
58
-
59
- ---
60
-
61
- ## Implementation Report
62
-
63
- ### Cambios realizados
64
- - Actualizados 19 archivos en `agentic-workflow/src/templates/`.
65
- - Inyectada la sección `## Identificacion del agente (OBLIGATORIA)` en todos los templates.
66
-
67
- ### Decisiones técnicas
68
- - Se respetó el frontmatter YAML donde existía, inyectando la sección después del título principal para mayor visibilidad.
69
-
70
- ### Evidencia
71
- - Se verificó la edición de los 19 archivos (`acceptance.md`, `agent-scores.md`, etc.).
72
-
73
- ### Desviaciones del objetivo
74
- - Ninguna.
75
-
76
- ---
77
-
78
- ## Gate (REQUIRED)
79
-
80
- ```yaml
81
- approval:
82
- developer:
83
- decision: SI
84
- date: 2026-01-19T23:27:38+01:00
85
- comments: null
86
- ```
@@ -1,88 +0,0 @@
1
- ---
2
- artifact: agent_task
3
- phase: phase-4-implementation
4
- owner: module-agent
5
- status: pending
6
- related_task: 27-update-portable-module-agent-identity
7
- task_number: 2
8
- ---
9
-
10
- # Agent Task — 2-module-agent-update-workflows-long
11
-
12
- ## Identificacion del agente (OBLIGATORIA)
13
- Primera linea del documento:
14
- `🏛️ **architect-agent**: Asignación de tarea de actualización de workflows (ciclo largo).`
15
-
16
- ## Input (REQUIRED)
17
- - **Objetivo**: Actualizar los 10 workflows en `agentic-workflow/src/workflows/tasklifecycle-long/` para reforzar la disciplina.
18
- - **Alcance**:
19
- - Modificar todos los ficheros `.md` en `agentic-workflow/src/workflows/tasklifecycle-long/`.
20
- - Asegurar que todos los gates requieran `decision: SI` explícitamente en el YAML y en la lógica del texto.
21
- - Añadir paso de "Activación de rol" con prefijo obligatorio en el mensaje inicial de cada fase.
22
- - Asegurar actualización de `task.phase.updated_at` y campos de validación de subflows en el cierre de fase.
23
- - **Dependencias**: Subtarea 1 (Templates) completada.
24
-
25
- ---
26
-
27
- ## Reasoning (OBLIGATORIO)
28
-
29
- ### Análisis del objetivo
30
- - Se busca dotar a los workflows del paquete portable de la misma rigurosidad que los locales.
31
- - Debo revisar cada fase (0 a 8) para inyectar los marcadores de tiempo y autoría.
32
-
33
- ### Opciones consideradas
34
- - Edición manual exhaustiva fase por fase.
35
-
36
- ### Decisión tomada
37
- - Edición manual para garantizar que los IDs de alias y referencias cruzadas entre fases se mantengan coherentes en el contexto del paquete portable.
38
-
39
- ---
40
-
41
- ## Output (REQUIRED)
42
- - **Entregables**:
43
- - 10 workflows en `agentic-workflow/src/workflows/tasklifecycle-long/` actualizados.
44
- - **Evidencia requerida**:
45
- - Muestra del cambio en `phase-0-acceptance-criteria.md` y `phase-4-implementation.md`.
46
-
47
- ---
48
-
49
- ## Execution
50
-
51
- ```yaml
52
- execution:
53
- agent: "module-agent"
54
- status: completed
55
- started_at: "2026-01-19T23:29:34+01:00"
56
- completed_at: "2026-01-19T23:45:00+01:00"
57
- ```
58
-
59
- ---
60
-
61
- ## Implementation Report
62
-
63
- ### Cambios realizados
64
- - Actualizados los 10 workflows en `agentic-workflow/src/workflows/tasklifecycle-long/`.
65
- - Inyectado el Paso 0 de activación de rol y prefijo.
66
- - Reforzado el Gate para exigir `decision: SI` explícita.
67
- - Asegurada la actualización de timestamps en el cierre de fase.
68
-
69
- ### Decisiones técnicas
70
- - Se simplificó la redacción de algunos pasos para mayor claridad operativa, manteniendo la rigurosidad contractual.
71
-
72
- ### Evidencia
73
- - Se verificaron los 10 archivos (`phase-0` a `phase-8` + `index.md`).
74
-
75
- ### Desviaciones del objetivo
76
- - Ninguna.
77
-
78
- ---
79
-
80
- ## Gate (REQUIRED)
81
-
82
- ```yaml
83
- approval:
84
- developer:
85
- decision: SI
86
- date: 2026-01-19T23:34:04+01:00
87
- comments: null
88
- ```