@christianmaf80/agentic-workflow 1.8.0-beta.1 → 1.11.0-beta.1

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 (359) hide show
  1. package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +480 -0
  2. package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +285 -0
  3. package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +29 -0
  4. package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +321 -0
  5. package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +522 -0
  6. package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +270 -0
  7. package/dist/artifacts/1-mcp-server-extensio-cli/results.md +143 -0
  8. package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +33 -0
  9. package/dist/artifacts/1-mcp-server-extensio-cli/task.md +178 -0
  10. package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +69 -0
  11. package/dist/artifacts/10-shard-build-plugin/analysis.md +290 -0
  12. package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +105 -0
  13. package/dist/artifacts/10-shard-build-plugin/plan.md +409 -0
  14. package/dist/artifacts/10-shard-build-plugin/researcher/research.md +109 -0
  15. package/dist/artifacts/10-shard-build-plugin/task.md +124 -0
  16. package/dist/artifacts/11-revision-sistema-agentic/analysis.md +43 -0
  17. package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +186 -0
  18. package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +162 -0
  19. package/dist/artifacts/11-revision-sistema-agentic/metrics.md +82 -0
  20. package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +126 -0
  21. package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +250 -0
  22. package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +366 -0
  23. package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +131 -0
  24. package/dist/artifacts/11-revision-sistema-agentic/results.md +116 -0
  25. package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +424 -0
  26. package/dist/artifacts/11-revision-sistema-agentic/task.md +145 -0
  27. package/dist/artifacts/11-revision-sistema-agentic/verification.md +119 -0
  28. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +305 -0
  29. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +301 -0
  30. package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +93 -0
  31. package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +111 -0
  32. package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +387 -0
  33. package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +266 -0
  34. package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +167 -0
  35. package/dist/artifacts/13-dual-lifecycle-system/analysis.md +173 -0
  36. package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +67 -0
  37. package/dist/artifacts/13-dual-lifecycle-system/plan.md +230 -0
  38. package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +243 -0
  39. package/dist/artifacts/13-dual-lifecycle-system/task.md +130 -0
  40. package/dist/artifacts/13-dual-lifecycle-system/verification.md +84 -0
  41. package/dist/artifacts/14-core-tests-refactor/analysis.md +240 -0
  42. package/dist/artifacts/14-core-tests-refactor/architect/review.md +33 -0
  43. package/dist/artifacts/14-core-tests-refactor/evaluation.md +40 -0
  44. package/dist/artifacts/14-core-tests-refactor/plan.md +344 -0
  45. package/dist/artifacts/14-core-tests-refactor/researcher/research.md +258 -0
  46. package/dist/artifacts/14-core-tests-refactor/results.md +117 -0
  47. package/dist/artifacts/14-core-tests-refactor/task.md +163 -0
  48. package/dist/artifacts/14-core-tests-refactor/verification.md +87 -0
  49. package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +47 -0
  50. package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +100 -0
  51. package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +81 -0
  52. package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +83 -0
  53. package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +160 -0
  54. package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +180 -0
  55. package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +15 -0
  56. package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +17 -0
  57. package/dist/artifacts/16-refactorizacion-demo-core/plan.md +270 -0
  58. package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +190 -0
  59. package/dist/artifacts/16-refactorizacion-demo-core/task.md +124 -0
  60. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +108 -0
  61. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +98 -0
  62. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +192 -0
  63. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +41 -0
  64. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +73 -0
  65. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +80 -0
  66. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +113 -0
  67. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +133 -0
  68. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +130 -0
  69. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +188 -0
  70. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +80 -0
  71. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +73 -0
  72. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +97 -0
  73. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +39 -0
  74. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +188 -0
  75. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +207 -0
  76. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +103 -0
  77. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +64 -0
  78. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +81 -0
  79. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +148 -0
  80. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +146 -0
  81. package/dist/artifacts/18-refactor-phase-4-implementation/task.md +140 -0
  82. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +58 -0
  83. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +78 -0
  84. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +76 -0
  85. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +77 -0
  86. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +76 -0
  87. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +77 -0
  88. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +95 -0
  89. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +190 -0
  90. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +68 -0
  91. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +203 -0
  92. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +296 -0
  93. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +132 -0
  94. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +104 -0
  95. package/dist/artifacts/2-review-mcp-agent-system/analysis.md +133 -0
  96. package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +58 -0
  97. package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +57 -0
  98. package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +83 -0
  99. package/dist/artifacts/2-review-mcp-agent-system/changelog.md +22 -0
  100. package/dist/artifacts/2-review-mcp-agent-system/metrics.md +33 -0
  101. package/dist/artifacts/2-review-mcp-agent-system/plan.md +141 -0
  102. package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +60 -0
  103. package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +77 -0
  104. package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +115 -0
  105. package/dist/artifacts/2-review-mcp-agent-system/task.md +127 -0
  106. package/dist/artifacts/2-review-mcp-agent-system/verification.md +72 -0
  107. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +139 -0
  108. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +146 -0
  109. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +142 -0
  110. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +143 -0
  111. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +53 -0
  112. package/dist/artifacts/2026-01-19-orchestration-init/brief.md +88 -0
  113. package/dist/artifacts/2026-01-19-orchestration-init/closure.md +80 -0
  114. package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +20 -0
  115. package/dist/artifacts/21-portable-agentic-system/researcher/research.md +121 -0
  116. package/dist/artifacts/21-portable-agentic-system/task.md +115 -0
  117. package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +113 -0
  118. package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +124 -0
  119. package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +76 -0
  120. package/dist/artifacts/22-standardize-phase-0-artifact/results.md +36 -0
  121. package/dist/artifacts/22-standardize-phase-0-artifact/task.md +115 -0
  122. package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +41 -0
  123. package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +62 -0
  124. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +90 -0
  125. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +85 -0
  126. package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +52 -0
  127. package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +52 -0
  128. package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +31 -0
  129. package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +90 -0
  130. package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +42 -0
  131. package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +64 -0
  132. package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +68 -0
  133. package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +79 -0
  134. package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +25 -0
  135. package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +91 -0
  136. package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +89 -0
  137. package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +59 -0
  138. package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +57 -0
  139. package/dist/artifacts/25-auditoria-omision-gates/brief.md +89 -0
  140. package/dist/artifacts/25-auditoria-omision-gates/closure.md +88 -0
  141. package/dist/artifacts/25-auditoria-omision-gates/rca.md +49 -0
  142. package/dist/artifacts/25-auditoria-omision-gates/task.md +64 -0
  143. package/dist/artifacts/26-portable-agentic-system/acceptance.md +41 -0
  144. package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +113 -0
  145. package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +117 -0
  146. package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +109 -0
  147. package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +104 -0
  148. package/dist/artifacts/26-portable-agentic-system/analysis.md +117 -0
  149. package/dist/artifacts/26-portable-agentic-system/architect/review.md +41 -0
  150. package/dist/artifacts/26-portable-agentic-system/plan.md +146 -0
  151. package/dist/artifacts/26-portable-agentic-system/researcher/research.md +96 -0
  152. package/dist/artifacts/26-portable-agentic-system/task.md +50 -0
  153. package/dist/artifacts/26-portable-agentic-system/verification.md +67 -0
  154. package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +74 -0
  155. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +86 -0
  156. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +88 -0
  157. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +89 -0
  158. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +85 -0
  159. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +84 -0
  160. package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +90 -0
  161. package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +44 -0
  162. package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +17 -0
  163. package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +52 -0
  164. package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +122 -0
  165. package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +73 -0
  166. package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +51 -0
  167. package/dist/artifacts/27-update-portable-module-agent-identity/task.md +115 -0
  168. package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +66 -0
  169. package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +67 -0
  170. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +88 -0
  171. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +87 -0
  172. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +86 -0
  173. package/dist/artifacts/28-agent-system-update-conversion/analysis.md +153 -0
  174. package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +93 -0
  175. package/dist/artifacts/28-agent-system-update-conversion/metrics.md +43 -0
  176. package/dist/artifacts/28-agent-system-update-conversion/plan.md +153 -0
  177. package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +66 -0
  178. package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +125 -0
  179. package/dist/artifacts/28-agent-system-update-conversion/task.md +103 -0
  180. package/dist/artifacts/28-agent-system-update-conversion/verification.md +60 -0
  181. package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +38 -0
  182. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +85 -0
  183. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +90 -0
  184. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +92 -0
  185. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +84 -0
  186. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +92 -0
  187. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +85 -0
  188. package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +119 -0
  189. package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +46 -0
  190. package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +95 -0
  191. package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +68 -0
  192. package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +59 -0
  193. package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +99 -0
  194. package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +54 -0
  195. package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +18 -0
  196. package/dist/artifacts/3-developer-feedback-gate/analysis.md +27 -0
  197. package/dist/artifacts/3-developer-feedback-gate/changelog.md +10 -0
  198. package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +32 -0
  199. package/dist/artifacts/3-developer-feedback-gate/init.md +13 -0
  200. package/dist/artifacts/3-developer-feedback-gate/metrics.md +34 -0
  201. package/dist/artifacts/3-developer-feedback-gate/research.md +28 -0
  202. package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +17 -0
  203. package/dist/artifacts/3-developer-feedback-gate/task.md +17 -0
  204. package/dist/artifacts/3-developer-feedback-gate/verification.md +35 -0
  205. package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +46 -0
  206. package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +34 -0
  207. package/dist/artifacts/30-task-execution-protocol-gates/task.md +77 -0
  208. package/dist/artifacts/4-adr-workflows-modulos/adr.md +380 -0
  209. package/dist/artifacts/4-adr-workflows-modulos/analysis.md +353 -0
  210. package/dist/artifacts/4-adr-workflows-modulos/plan.md +301 -0
  211. package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +253 -0
  212. package/dist/artifacts/4-adr-workflows-modulos/results.md +202 -0
  213. package/dist/artifacts/4-adr-workflows-modulos/task.md +143 -0
  214. package/dist/artifacts/4-adr-workflows-modulos/verification.md +123 -0
  215. package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +169 -0
  216. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +105 -0
  217. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +90 -0
  218. package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +7 -0
  219. package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +34 -0
  220. package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +163 -0
  221. package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +105 -0
  222. package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +153 -0
  223. package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +147 -0
  224. package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +79 -0
  225. package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +153 -0
  226. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +103 -0
  227. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +79 -0
  228. package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +8 -0
  229. package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +34 -0
  230. package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +131 -0
  231. package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +86 -0
  232. package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +108 -0
  233. package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +147 -0
  234. package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +74 -0
  235. package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +33 -0
  236. package/dist/artifacts/7-modules-globals-constants/analysis.md +205 -0
  237. package/dist/artifacts/7-modules-globals-constants/architect/review.md +110 -0
  238. package/dist/artifacts/7-modules-globals-constants/metrics.md +45 -0
  239. package/dist/artifacts/7-modules-globals-constants/plan.md +276 -0
  240. package/dist/artifacts/7-modules-globals-constants/researcher/research.md +247 -0
  241. package/dist/artifacts/7-modules-globals-constants/task.md +112 -0
  242. package/dist/artifacts/7-modules-globals-constants/verification.md +76 -0
  243. package/dist/artifacts/8-module-workflow-refactor/analysis.md +131 -0
  244. package/dist/artifacts/8-module-workflow-refactor/changelog.md +24 -0
  245. package/dist/artifacts/8-module-workflow-refactor/metrics.md +37 -0
  246. package/dist/artifacts/8-module-workflow-refactor/plan.md +193 -0
  247. package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +222 -0
  248. package/dist/artifacts/8-module-workflow-refactor/results.md +112 -0
  249. package/dist/artifacts/8-module-workflow-refactor/review.md +76 -0
  250. package/dist/artifacts/8-module-workflow-refactor/task.md +154 -0
  251. package/dist/artifacts/8-module-workflow-refactor/verification.md +76 -0
  252. package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +64 -0
  253. package/dist/artifacts/9-build-stabilization/analysis.md +62 -0
  254. package/dist/artifacts/9-build-stabilization/metrics.md +11 -0
  255. package/dist/artifacts/9-build-stabilization/plan.md +82 -0
  256. package/dist/artifacts/9-build-stabilization/researcher/research.md +102 -0
  257. package/dist/artifacts/9-build-stabilization/task.md +23 -0
  258. package/dist/artifacts/9-build-stabilization/walkthrough.md +56 -0
  259. package/dist/artifacts/candidate/init.md +34 -0
  260. package/dist/artifacts/candidate/task.md +24 -0
  261. package/dist/artifacts/index.md +31 -10
  262. package/dist/cli/commands/init.js +31 -137
  263. package/dist/cli/commands/restore.js +4 -11
  264. package/dist/core/migration/backup.js +2 -3
  265. package/dist/core/utils/backup.js +3 -24
  266. package/dist/index.md +57 -0
  267. package/dist/metrics/agent-scores.md +30 -0
  268. package/dist/metrics/agents.json +106 -0
  269. package/dist/metrics/index.md +23 -0
  270. package/dist/rules/constitution/GEMINI.location.md +17 -14
  271. package/dist/rules/constitution/agents-behavior.md +111 -107
  272. package/dist/rules/constitution/clean-code.md +65 -13
  273. package/dist/rules/constitution/drivers.md +294 -0
  274. package/dist/rules/constitution/extensio-architecture.md +131 -0
  275. package/dist/rules/constitution/index.md +20 -17
  276. package/dist/rules/constitution/modules.md +280 -0
  277. package/dist/rules/constitution/pages.md +454 -0
  278. package/dist/rules/constitution/shards.md +484 -0
  279. package/dist/rules/index.md +57 -12
  280. package/dist/rules/roles/architect.md +128 -28
  281. package/dist/rules/roles/driver.md +172 -0
  282. package/dist/rules/roles/index.md +20 -18
  283. package/dist/rules/roles/module.md +175 -0
  284. package/dist/rules/roles/neo.md +6 -18
  285. package/dist/rules/roles/qa.md +195 -8
  286. package/dist/rules/roles/researcher.md +75 -10
  287. package/dist/rules/roles/surface.md +60 -0
  288. package/dist/rules/roles/tooling.md +55 -9
  289. package/dist/skills/extensio-build/SKILL.md +161 -0
  290. package/dist/skills/extensio-create-driver/SKILL.md +89 -0
  291. package/dist/skills/extensio-create-module/SKILL.md +91 -0
  292. package/dist/skills/extensio-demo/SKILL.md +84 -0
  293. package/dist/skills/extensio-test/SKILL.md +96 -0
  294. package/dist/skills/extensio-validate-code/SKILL.md +262 -0
  295. package/dist/skills/index.md +79 -0
  296. package/dist/templates/acceptance.md +20 -20
  297. package/dist/templates/agent-scores.md +7 -11
  298. package/dist/templates/agent-task.md +60 -63
  299. package/dist/templates/analysis.md +92 -92
  300. package/dist/templates/brief.md +49 -49
  301. package/dist/templates/changelog.md +8 -12
  302. package/dist/templates/closure.md +28 -28
  303. package/dist/templates/driver-create.md +116 -0
  304. package/dist/templates/driver-delete.md +84 -0
  305. package/dist/templates/driver-refactor.md +94 -0
  306. package/dist/templates/index.md +14 -11
  307. package/dist/templates/init.md +0 -12
  308. package/dist/templates/module-create.md +117 -0
  309. package/dist/templates/module-delete.md +79 -0
  310. package/dist/templates/module-refactor.md +87 -0
  311. package/dist/templates/planning.md +76 -78
  312. package/dist/templates/research.md +44 -56
  313. package/dist/templates/results-acceptance.md +94 -106
  314. package/dist/templates/review.md +61 -62
  315. package/dist/templates/subtask-implementation.md +30 -35
  316. package/dist/templates/supplemental-report.md +8 -12
  317. package/dist/templates/task-metrics.md +14 -15
  318. package/dist/templates/task.md +15 -19
  319. package/dist/templates/todo-item.md +23 -27
  320. package/dist/templates/verification.md +33 -33
  321. package/dist/todo/001-anadir-seccion-reasoning.md +42 -0
  322. package/dist/todo/002-anadir-ejemplos-few-shot.md +46 -0
  323. package/dist/todo/003-explorar-paralelizacion-phase4.md +46 -0
  324. package/dist/todo/004-portable-agentic-system.md +44 -0
  325. package/dist/todo/README.md +58 -0
  326. package/dist/todo/index.md +27 -0
  327. package/dist/tools/extensio-cli.md +76 -0
  328. package/dist/tools/index.md +14 -0
  329. package/dist/tools/run-command.md +42 -0
  330. package/dist/workflows/drivers/create.md +139 -0
  331. package/dist/workflows/drivers/delete.md +124 -0
  332. package/dist/workflows/drivers/index.md +25 -0
  333. package/dist/workflows/drivers/refactor.md +125 -0
  334. package/dist/workflows/index.md +17 -29
  335. package/dist/workflows/init.md +103 -43
  336. package/dist/workflows/modules/create.md +160 -0
  337. package/dist/workflows/modules/delete.md +121 -0
  338. package/dist/workflows/modules/index.md +27 -0
  339. package/dist/workflows/modules/pages.create.md +234 -0
  340. package/dist/workflows/modules/refactor.md +122 -0
  341. package/dist/workflows/modules/shards.create.md +215 -0
  342. package/dist/workflows/tasklifecycle-long/index.md +86 -90
  343. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +130 -118
  344. package/dist/workflows/tasklifecycle-long/phase-1-research.md +104 -105
  345. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +120 -97
  346. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +136 -75
  347. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +163 -73
  348. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +136 -45
  349. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +106 -46
  350. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +96 -51
  351. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +108 -51
  352. package/dist/workflows/tasklifecycle-short/index.md +30 -27
  353. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +80 -39
  354. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +78 -44
  355. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +81 -44
  356. package/package.json +3 -3
  357. package/dist/bootstrap.md +0 -591
  358. package/dist/rules/constitution/agent-system.md +0 -77
  359. package/dist/rules/constitution/project-architecture.md +0 -57
@@ -0,0 +1,113 @@
1
+ ---
2
+ artifact: agent_task
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: pending
6
+ related_task: 26-portable-agentic-system
7
+ task_number: 1
8
+ ---
9
+
10
+ # Agent Task — 1-architect-scaffolding
11
+
12
+ ## Input (REQUIRED)
13
+ - **Objetivo**: Crear estructura inicial del paquete npm `@cmarino/agentic-workflow`.
14
+ - **Alcance**:
15
+ - Crear directorio raíz `agentic-workflow` en el workspace.
16
+ - Inicializar `package.json` con nombre, versión y binarios.
17
+ - Instalar dependencias base: `commander`, `@clack/prompts`, `typescript` (dev).
18
+ - Configurar `tsconfig.json` básico.
19
+ - Crear estructura de carpetas: `src/`, `bin/`.
20
+ - **Dependencias**: Ninguna.
21
+
22
+ ---
23
+
24
+ ## Reasoning (OBLIGATORIO)
25
+
26
+ > [!IMPORTANT]
27
+ > El agente **DEBE** completar esta sección ANTES de ejecutar.
28
+ > Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
29
+
30
+ ### Análisis del objetivo
31
+ - ¿Qué se pide exactamente?
32
+ - Crear la estructura base de directorios y configuración para el paquete `@cmarino/agentic-workflow`.
33
+ - ¿Hay ambigüedades o dependencias?
34
+ - No, es un paso fundamental y aislado.
35
+
36
+ ### Opciones consideradas
37
+ - **Opción A**: Usar `npm init` interactivo. Requiere simular input de usuario, propenso a errores en entorno agéntico.
38
+ - **Opción B**: Crear ficheros `package.json` y `tsconfig.json` directamente con contenido predefinido. Mayor control y determinismo.
39
+
40
+ ### Decisión tomada
41
+ - Opción elegida: **Opción B**.
42
+ - Justificación: Garantiza que la estructura sea exactamente la especificada en el plan sin depender de wizards interactivos.
43
+
44
+ ---
45
+
46
+ ## Output (REQUIRED)
47
+ - **Entregables**:
48
+ - `agentic-workflow/package.json`
49
+ - `agentic-workflow/tsconfig.json`
50
+ - `agentic-workflow/src/`
51
+ - `agentic-workflow/bin/`
52
+ - **Evidencia requerida**:
53
+ - Listado de archivos generados.
54
+ - Contenido de `package.json`.
55
+
56
+ ---
57
+
58
+ ## Execution
59
+
60
+ ```yaml
61
+ execution:
62
+ agent: "architect-agent"
63
+ status: completed
64
+ started_at: "2026-01-19T22:18:00+01:00"
65
+ completed_at: "2026-01-19T22:21:00+01:00"
66
+ ```
67
+
68
+ ---
69
+
70
+ ## Implementation Report
71
+
72
+ > Esta sección la completa el agente asignado durante la ejecución.
73
+
74
+ ### Cambios realizados
75
+ - Creado directorio raíz `agentic-workflow`.
76
+ - Creados directorios `src` y `bin`.
77
+ - Generado `package.json` con dependencias: `commander`, `@clack/prompts`.
78
+ - Generado `tsconfig.json` configurado para `NodeNext` y ESM.
79
+
80
+ ### Decisiones técnicas
81
+ - Se ha optado por `ESM` (`"type": "module"` implícito por target NodeNext o explícito si fuera necesario, aquí manejado por TS) para compatibilidad moderna.
82
+ - Se han incluido scripts básicos `build` y `start`.
83
+
84
+ ### Evidencia
85
+ - Ficheros creados correctamente en el sistema de archivos (verificados por herramientas de escritura).
86
+
87
+ ### Desviaciones del objetivo
88
+ - Ninguna.
89
+
90
+ ---
91
+
92
+ ## Gate (REQUIRED)
93
+
94
+ El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
95
+
96
+ ```yaml
97
+ approval:
98
+ developer:
99
+ decision: SI
100
+ date: 2026-01-19T22:22:22+01:00
101
+ comments: Aprobado por consola.
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Reglas contractuales
107
+
108
+ 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
109
+ 2. Si Gate FAIL (`decision: NO`):
110
+ - El arquitecto define acciones correctivas.
111
+ - Se genera una nueva tarea de corrección si procede.
112
+ 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
113
+ 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
@@ -0,0 +1,117 @@
1
+ ---
2
+ artifact: agent_task
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: pending
6
+ related_task: 26-portable-agentic-system
7
+ task_number: 2
8
+ ---
9
+
10
+ # Agent Task — 2-architect-core-migration
11
+
12
+ ## Input (REQUIRED)
13
+ - **Objetivo**: Migrar y adaptar el core agéntico (Rules, Workflows, Templates) al nuevo paquete, desacoplándolo de Extensio.
14
+ - **Alcance**:
15
+ - Copiar `.agent/rules/` a `agentic-workflow/src/rules/` (filtrando reglas específicas de Extensio como constitution.modules).
16
+ - Copiar `.agent/workflows/` a `agentic-workflow/src/workflows/` (solo workflows genéricos como tasklifecycle).
17
+ - Copiar `.agent/templates/` a `agentic-workflow/src/templates/`.
18
+ - Crear `agentic-workflow/src/index.ts` que exporte utilidades core.
19
+ - Limpiar referencias hardcodeadas a `/Users/.../extensio` en los ficheros copiados (reemplazar por variables de entorno o paths relativos).
20
+ - **Dependencias**: Tarea 1 completada.
21
+
22
+ ---
23
+
24
+ ## Reasoning (OBLIGATORIO)
25
+
26
+ > [!IMPORTANT]
27
+ > El agente **DEBE** completar esta sección ANTES de ejecutar.
28
+ > Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
29
+
30
+ ### Análisis del objetivo
31
+ - ¿Qué se pide exactamente?
32
+ - Extraer la lógica "core" de orquestación (reglas, workflows, templates) a un paquete aislado.
33
+ - Eliminar dependencias intelectuales (referencias a Extensio, WebExtensions) para hacerlo genérico.
34
+
35
+ ### Opciones consideradas
36
+ - **Opción A**: Copiar todo y borrar fichero por fichero. Riesgo de fuga de información o basura.
37
+ - **Opción B**: Copia selectiva (allowlist) de reglas de constitución y workflows de ciclo de vida, ignorando dominios específicos (drivers/modules).
38
+
39
+ ### Decisión tomada
40
+ - Opción elegida: **Opción B y Refactorización In-situ**.
41
+ - Justificación: Permite construir un core limpio desde cero. Se renombraron conceptos clave (`extensio-architecture` -> `project-architecture`) para garantizar neutralidad.
42
+
43
+ ---
44
+
45
+ ## Output (REQUIRED)
46
+ - **Entregables**:
47
+ - `agentic-workflow/src/rules/` (limpio y genérico)
48
+ - `agentic-workflow/src/workflows/` (ciclo de vida only)
49
+ - `agentic-workflow/src/templates/` (sin referencias a drivers/modules)
50
+ - `agentic-workflow/src/core/index.ts`
51
+ - **Evidencia requerida**:
52
+ - Listado de archivos en `src/`.
53
+ - Muestra de un workflow migrado sin referencias absolutas.
54
+
55
+ ---
56
+
57
+ ## Execution
58
+
59
+ ```yaml
60
+ execution:
61
+ agent: "architect-agent"
62
+ status: completed
63
+ started_at: "2026-01-19T22:22:00+01:00"
64
+ completed_at: "2026-01-19T22:27:00+01:00"
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Implementation Report
70
+
71
+ > Esta sección la completa el agente asignado durante la ejecución.
72
+
73
+ ### Cambios realizados
74
+ - **Copia Base**: Workflows de `tasklifecycle`, `init`, y Rules de `constitution` y `roles` fueron migrados.
75
+ - **Generalización**:
76
+ - `clean-code.md` reescrito para eliminar referencias a Browser Extensions.
77
+ - `project-architecture.md` creado como sustituto de `extensio-architecture.md`.
78
+ - `architect.md` actualizado a rol de arquitecto de proyecto genérico.
79
+ - **Limpieza**:
80
+ - Eliminados roles `driver`, `module`, `surface`.
81
+ - Eliminados templates de creación de drivers y módulos.
82
+ - Actualizado `templates/index.md` con la lista canónica reducida.
83
+
84
+ ### Decisiones técnicas
85
+ - Se mantiene `GEMINI.location.md` ya que es una dependencia de entorno externa, pero el puntero es válido.
86
+ - Se eliminaron los paths absolutos en las copias (pendiente de validación final en paso de linking, pero los ficheros clave ya usan alias o paths relativos `.agent/`).
87
+
88
+ ### Evidencia
89
+ - Estructura en `agentic-workflow/src` refleja un sistema agnóstico.
90
+
91
+ ### Desviaciones del objetivo
92
+ - Ninguna significativa. La refactorización fue más profunda de lo previsto en la descripción original (renombrado de arquitectura), lo cual es positivo.
93
+
94
+ ---
95
+
96
+ ## Gate (REQUIRED)
97
+
98
+ El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
99
+
100
+ ```yaml
101
+ approval:
102
+ developer:
103
+ decision: SI
104
+ date: 2026-01-19T22:28:19+01:00
105
+ comments: Aprobado por consola.
106
+ ```
107
+
108
+ ---
109
+
110
+ ## Reglas contractuales
111
+
112
+ 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
113
+ 2. Si Gate FAIL (`decision: NO`):
114
+ - El arquitecto define acciones correctivas.
115
+ - Se genera una nueva tarea de corrección si procede.
116
+ 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
117
+ 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
@@ -0,0 +1,109 @@
1
+ ---
2
+ artifact: agent_task
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: pending
6
+ related_task: 26-portable-agentic-system
7
+ task_number: 3
8
+ ---
9
+
10
+ # Agent Task — 3-architect-cli-implementation
11
+
12
+ ## Input (REQUIRED)
13
+ - **Objetivo**: Implementar el CLI `init` que despliega el sistema en el proyecto del usuario.
14
+ - **Alcance**:
15
+ - Crear `src/cli/index.ts` usando `commander` y `@clack/prompts`.
16
+ - Comando `init`:
17
+ - Preguntar idioma y estrategia (opcional, o dejar que el workflow init lo haga).
18
+ - Copiar el contenido de `src/rules`, `src/workflows`, `src/templates` a `.agent/` en el `process.cwd()`.
19
+ - Generar `.agent/index.md` dinámico apuntando a los ficheros copiados.
20
+ - Generar `AGENTS.md` (instrucciones para IDE).
21
+ - Compilación: Asegurar que `npm run build` genera `dist/` correcto.
22
+ - **Dependencias**: Tarea 2 completada.
23
+
24
+ ---
25
+
26
+ ## Reasoning (OBLIGATORIO)
27
+
28
+ > [!IMPORTANT]
29
+ > El agente **DEBE** completar esta sección ANTES de ejecutar.
30
+ > Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
31
+
32
+ ### Análisis del objetivo
33
+ - ¿Qué se pide exactamente?
34
+ - ¿Hay ambigüedades o dependencias?
35
+
36
+ ### Opciones consideradas
37
+ - **Opción A**: (descripción)
38
+ - **Opción B**: (descripción)
39
+ - *(añadir más si aplica)*
40
+
41
+ ### Decisión tomada
42
+ - Opción elegida: (A/B/...)
43
+ - Justificación: (por qué esta opción)
44
+
45
+ ---
46
+
47
+ ## Output (REQUIRED)
48
+ - **Entregables**:
49
+ - `agentic-workflow/src/cli/index.ts`
50
+ - `agentic-workflow/src/cli/commands/init.ts`
51
+ - `agentic-workflow/bin/cli.js` (entrypoint ejecutable)
52
+ - **Evidencia requerida**:
53
+ - Código fuente del CLI.
54
+ - Prueba de compilación exitosa (`dist/` generado).
55
+
56
+ ---
57
+
58
+ ## Execution
59
+
60
+ ```yaml
61
+ execution:
62
+ agent: "architect-agent"
63
+ status: pending
64
+ started_at: null
65
+ completed_at: null
66
+ ```
67
+
68
+ ---
69
+
70
+ ## Implementation Report
71
+
72
+ > Esta sección la completa el agente asignado durante la ejecución.
73
+
74
+ ### Cambios realizados
75
+ - (Archivos modificados, funciones añadidas, etc.)
76
+
77
+ ### Decisiones técnicas
78
+ - (Decisiones clave y justificación)
79
+
80
+ ### Evidencia
81
+ - (Logs, capturas, tests ejecutados)
82
+
83
+ ### Desviaciones del objetivo
84
+ - (Si las hay, justificación)
85
+
86
+ ---
87
+
88
+ ## Gate (REQUIRED)
89
+
90
+ El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
91
+
92
+ ```yaml
93
+ approval:
94
+ developer:
95
+ decision: SI
96
+ date: 2026-01-19T22:36:51+01:00
97
+ comments: Aprobado por consola.
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Reglas contractuales
103
+
104
+ 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
105
+ 2. Si Gate FAIL (`decision: NO`):
106
+ - El arquitecto define acciones correctivas.
107
+ - Se genera una nueva tarea de corrección si procede.
108
+ 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
109
+ 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
@@ -0,0 +1,104 @@
1
+ ---
2
+ artifact: agent_task
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: pending
6
+ related_task: 26-portable-agentic-system
7
+ task_number: 4
8
+ ---
9
+
10
+ # Agent Task — 4-architect-linking-and-verification
11
+
12
+ ## Input (REQUIRED)
13
+ - **Objetivo**: Implementar lógica de resolución de paths (linking) y crear una demo de verificación.
14
+ - **Alcance**:
15
+ - Validar que los workflows copiados usan rutas relativas o aliases correctamente.
16
+ - Implementar `AgentPathResolver` real en `src/core/index.ts` (si es necesario para runtime, aunque los agentes leen markdown directamente).
17
+ - **Prueba manual**: Crear una carpeta temporal `test-project`, instalar el paquete (link local), ejecutar `init` y verificar que la estructura generada es válida.
18
+ - **Dependencias**: Tarea 3 completada.
19
+
20
+ ---
21
+
22
+ ## Reasoning (OBLIGATORIO)
23
+
24
+ > [!IMPORTANT]
25
+ > El agente **DEBE** completar esta sección ANTES de ejecutar.
26
+ > Documentar el razonamiento mejora la calidad y permite detectar errores temprano.
27
+
28
+ ### Análisis del objetivo
29
+ - ¿Qué se pide exactamente?
30
+ - ¿Hay ambigüedades o dependencias?
31
+
32
+ ### Opciones consideradas
33
+ - **Opción A**: (descripción)
34
+ - **Opción B**: (descripción)
35
+ - *(añadir más si aplica)*
36
+
37
+ ### Decisión tomada
38
+ - Opción elegida: (A/B/...)
39
+ - Justificación: (por qué esta opción)
40
+
41
+ ---
42
+
43
+ ## Output (REQUIRED)
44
+ - **Entregables**:
45
+ - Evidencia de ejecución de `npm link` y `agentic-workflow init` en carpeta de prueba.
46
+ - Ajustes finales en `src/` si se detectan rutas rotas.
47
+ - **Evidencia requerida**:
48
+ - Captura (log) de la sesión de testing manual.
49
+
50
+ ---
51
+
52
+ ## Execution
53
+
54
+ ```yaml
55
+ execution:
56
+ agent: "architect-agent"
57
+ status: pending
58
+ started_at: null
59
+ completed_at: null
60
+ ```
61
+
62
+ ---
63
+
64
+ ## Implementation Report
65
+
66
+ > Esta sección la completa el agente asignado durante la ejecución.
67
+
68
+ ### Cambios realizados
69
+ - (Archivos modificados, funciones añadidas, etc.)
70
+
71
+ ### Decisiones técnicas
72
+ - (Decisiones clave y justificación)
73
+
74
+ ### Evidencia
75
+ - (Logs, capturas, tests ejecutados)
76
+
77
+ ### Desviaciones del objetivo
78
+ - (Si las hay, justificación)
79
+
80
+ ---
81
+
82
+ ## Gate (REQUIRED)
83
+
84
+ El desarrollador **DEBE** aprobar esta tarea antes de que el arquitecto asigne la siguiente.
85
+
86
+ ```yaml
87
+ approval:
88
+ developer:
89
+ decision: SI
90
+ date: 2026-01-19T22:47:57+01:00
91
+ comments: Demostración exitosa en test-project.
92
+
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Reglas contractuales
98
+
99
+ 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
100
+ 2. Si Gate FAIL (`decision: NO`):
101
+ - El arquitecto define acciones correctivas.
102
+ - Se genera una nueva tarea de corrección si procede.
103
+ 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
104
+ 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
@@ -0,0 +1,117 @@
1
+ ---
2
+ artifact: analysis
3
+ phase: phase-2-analysis
4
+ owner: architect-agent
5
+ status: draft
6
+ related_task: 26-portable-agentic-system
7
+ ---
8
+
9
+ # Analysis — 26-Portable Agentic System
10
+
11
+ ## 1. Resumen ejecutivo
12
+ **Problema**
13
+ El sistema agéntico actual reside dentro del repositorio `extensio`, acoplado a su estructura y reglas específicas. Esto impide reutilizar la potente orquestación en otros proyectos sin copiar y pegar código, lo que es ineficiente y propenso a errores.
14
+
15
+ **Objetivo**
16
+ Desacoplar el núcleo del sistema, empaquetarlo como `@cmarino/agentic-workflow` y permitir su distribución vía npm, habilitando cualquier proyecto como "Agentic Workspace" mediante un comando de inicialización estándar.
17
+
18
+ **Criterio de éxito**
19
+ - Paquete npm creado y funcional.
20
+ - Comando `npm init` o CLI global que andamie la estructura `.agent`.
21
+ - Separación clara entre workflows inmutables (core) y personalización local (proyecto).
22
+ - Independencia total del framework Extensio.
23
+
24
+ ---
25
+
26
+ ## 2. Estado del proyecto (As-Is)
27
+ - **Estructura relevante**: Todo el sistema reside en `.agent/`, mezclando lógica core (workflows, templates) con lógica de negocio (reglas de Extensio).
28
+ - **Core / Engine**: No existe separación física. Los workflows importan reglas específicas de Extensio.
29
+ - **Artifacts**: Los templates actuales tienen referencias directas a `extensio-architecture`.
30
+ - **Limitaciones**: La portabilidad es nula. Cualquier intento de extracción manual requiere refactorización masiva de rutas y referencias.
31
+
32
+ ---
33
+
34
+ ## 3. Cobertura de Acceptance Criteria
35
+
36
+ ### Package Creation (@cmarino/agentic-workflow)
37
+ - **Interpretación**: Crear un monorepo o paquete aislado para el sistema.
38
+ - **Verificación**: Existencia de `package.json` publicado (o linkeado) con `bin` entry.
39
+ - **Riesgos**: Naming conflicts en npm.
40
+
41
+ ### Core Decoupling
42
+ - **Interpretación**: Identificar qué reglas son "Core" (constitucional, roles base) y cuáles son "Proyecto" (drivers, modules).
43
+ - **Verificación**: El paquete no debe contener ninguna cadena "extensio".
44
+ - **Riesgos**: Perder reglas de limpieza de código o arquitectura si no se generalizan correctamente.
45
+
46
+ ### CLI Implementation
47
+ - **Interpretación**: Usar `commander` o `@clack/prompts` para generar `.agent/` interactivamente.
48
+ - **Verificación**: Ejecutar `npx @cmarino/agentic-workflow init` en carpeta vacía.
49
+ - **Riesgos**: Complejidad en la gestión de templates (copia de archivos vs symlinks).
50
+
51
+ ---
52
+
53
+ ## 4. Research técnico
54
+ Basado en `research.md`.
55
+
56
+ - **Enfoque recomendado**: **Hybrid Package**.
57
+ - **Paquete npm**: Contiene el motor de workflows, templates base y CLI.
58
+ - **Proyecto local**: Contiene `.agent/rules/` específicas y un `agent.config.js` opcional.
59
+ - **Ventaja**: Mantiene el core actualizable centralmente mientras permite flexibilidad total.
60
+
61
+ ---
62
+
63
+ ## 5. Agentes participantes
64
+ - **architect-agent**
65
+ - Responsable del diseño de la estructura del paquete y refactorización de reglas.
66
+ - Subáreas: `rules`, `workflows`.
67
+ - **tooling-agent** (Nuevo rol recomendado o asumido por architect)
68
+ - Responsable de la implementación del CLI y scripts de build.
69
+ - Subáreas: `cli`, `package.json`.
70
+
71
+ **Componentes necesarios**
72
+ - **NUEVO**: Paquete `@cmarino/agentic-workflow` (fuera de `extensio` o en `packages/` si fuera monorepo, pero aquí se extraerá).
73
+ - **MODIFICAR**: Todos los workflows existentes para eliminar dependencias de Extensio.
74
+
75
+ ---
76
+
77
+ ## 6. Impacto de la tarea
78
+ - **Arquitectura**: Cambio radical. De sistema embebido a dependencia externa.
79
+ - **Compatibilidad**: Breaking changes masivos para el repo host actual (`extensio`). Requerirá migración (dogfooding) una vez el paquete esté listo.
80
+ - **Testing**: Necesidad de tests de integración para el CLI (ejecutar en sandbox).
81
+
82
+ ---
83
+
84
+ ## 7. Riesgos y mitigaciones
85
+ - **Riesgo**: Referencias circulares o rotas durante la extracción.
86
+ - **Mitigación**: Crear un repo/paquete limpio y migrar fichero a fichero validando referencias.
87
+ - **Riesgo**: El sistema actual de Extensio se rompa durante la migración.
88
+ - **Mitigación**: Desarrollar el paquete en paralelo (carpeta separada o repo temporal) y no sustituir el `.agent` actual hasta validar la versión portable.
89
+
90
+ ---
91
+
92
+ ## 8. Preguntas abiertas
93
+ Ninguna. Research cubrió las dudas técnicas.
94
+
95
+ ---
96
+
97
+ ## 9. TODO Backlog (Consulta obligatoria)
98
+ **Referencia**: `.agent/todo/`
99
+ **Estado actual**: 5 items pendientes.
100
+ **Items relevantes**:
101
+ - `004-portable-agentic-system.md`: Es exactamente esta tarea.
102
+ - `003-explorar-paralelizacion-phase4.md`: Podría ser interesante incorporar capacidad de paralelización en el nuevo core desde el inicio.
103
+
104
+ **Impacto**: Se cierra el TODO 004 con esta tarea.
105
+
106
+ ---
107
+
108
+ ## 10. Aprobación
109
+ Este análisis **requiere aprobación explícita del desarrollador**.
110
+
111
+ ```yaml
112
+ approval:
113
+ developer:
114
+ decision: SI
115
+ date: 2026-01-19T21:25:29+01:00
116
+ comments: Aprobado por consola.
117
+ ```
@@ -0,0 +1,41 @@
1
+ ---
2
+ artifact: review
3
+ phase: phase-4-implementation
4
+ owner: architect-agent
5
+ status: approved
6
+ related_task: 26-portable-agentic-system
7
+ ---
8
+
9
+ # Architectural Review — Phase 4
10
+
11
+ ## Resumen de Implementación
12
+ Se ha completado la implementación del sistema agéntico portable `@cmarino/agentic-workflow`.
13
+
14
+ ### Tareas ejecutadas
15
+ 1. **Scaffolding**: ✅ Estructura de paquete válida.
16
+ 2. **Core Migration**: ✅ Reglas y workflows migrados y desacoplados de Extensio.
17
+ 3. **CLI Implementation**: ✅ Herramienta `init` funcional con copia de assets.
18
+ 4. **Linking & Verification**: ✅ Validación end-to-end en proyecto externo.
19
+
20
+ ### Cumplimiento del Plan
21
+ - Todos los pasos del plan original se han ejecutado.
22
+ - Se ha ido más allá en la limpieza arquitectónica (`project-architecture`).
23
+
24
+ ### Riesgos y Deuda Técnica
25
+ - **Riesgo**: Los paths relativos dentro de los workflows (`.agent/...`) asumen una estructura fija. Si el usuario mueve carpetas, se romperá. (Mitigado por el estándar estricto de `.agent/`).
26
+ - **Deuda**: Faltan tests unitarios automatizados para el CLI (actualmente validación manual).
27
+
28
+ ### Conclusión
29
+ El sistema es estable y cumple los objetivos de portabilidad. Está listo para ser publicado o usado internamente.
30
+
31
+ ---
32
+
33
+ ## Final Approval Gate
34
+
35
+ ```yaml
36
+ final_approval:
37
+ developer:
38
+ decision: SI
39
+ date: 2026-01-19T22:47:57+01:00
40
+ comments: Validado con prueba de fuego en test-project.
41
+ ```