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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/dist/artifacts/index.md +2 -26
  2. package/dist/bootstrap.md +204 -151
  3. package/dist/cli/commands/init.js +0 -5
  4. package/dist/core/mapping/resolver.js +1 -1
  5. package/dist/core/migration/detector.js +1 -1
  6. package/dist/index.md +0 -11
  7. package/dist/rules/constitution/agents-behavior.md +10 -19
  8. package/dist/rules/constitution/clean-code.md +10 -11
  9. package/dist/rules/constitution/index.md +0 -5
  10. package/dist/rules/index.md +1 -1
  11. package/dist/rules/roles/architect.md +47 -88
  12. package/dist/rules/roles/index.md +1 -4
  13. package/dist/rules/roles/qa.md +61 -136
  14. package/dist/rules/roles/researcher.md +34 -48
  15. package/dist/templates/agent-scores.md +6 -7
  16. package/dist/templates/analysis.md +6 -6
  17. package/dist/templates/changelog.md +1 -1
  18. package/dist/templates/closure.md +9 -1
  19. package/dist/templates/index.md +0 -6
  20. package/dist/templates/planning.md +10 -10
  21. package/dist/templates/research.md +1 -1
  22. package/dist/templates/results-acceptance.md +1 -1
  23. package/dist/templates/review.md +2 -2
  24. package/dist/templates/subtask-implementation.md +1 -1
  25. package/dist/templates/task.md +4 -32
  26. package/dist/templates/verification.md +3 -3
  27. package/dist/workflows/index.md +0 -2
  28. package/dist/workflows/init.md +26 -17
  29. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +2 -2
  30. package/dist/workflows/tasklifecycle-long/phase-1-research.md +3 -3
  31. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +6 -21
  32. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +5 -11
  33. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +2 -2
  34. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +3 -3
  35. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +1 -1
  36. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +12 -19
  37. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +3 -3
  38. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +2 -2
  39. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +1 -1
  40. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +5 -5
  41. package/package.json +2 -2
  42. package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +0 -480
  43. package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +0 -285
  44. package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +0 -29
  45. package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +0 -321
  46. package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +0 -522
  47. package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +0 -270
  48. package/dist/artifacts/1-mcp-server-extensio-cli/results.md +0 -143
  49. package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +0 -33
  50. package/dist/artifacts/1-mcp-server-extensio-cli/task.md +0 -178
  51. package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +0 -69
  52. package/dist/artifacts/10-shard-build-plugin/analysis.md +0 -290
  53. package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +0 -105
  54. package/dist/artifacts/10-shard-build-plugin/plan.md +0 -409
  55. package/dist/artifacts/10-shard-build-plugin/researcher/research.md +0 -109
  56. package/dist/artifacts/10-shard-build-plugin/task.md +0 -124
  57. package/dist/artifacts/11-revision-sistema-agentic/analysis.md +0 -43
  58. package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +0 -186
  59. package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +0 -162
  60. package/dist/artifacts/11-revision-sistema-agentic/metrics.md +0 -82
  61. package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +0 -126
  62. package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +0 -250
  63. package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +0 -366
  64. package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +0 -131
  65. package/dist/artifacts/11-revision-sistema-agentic/results.md +0 -116
  66. package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +0 -424
  67. package/dist/artifacts/11-revision-sistema-agentic/task.md +0 -145
  68. package/dist/artifacts/11-revision-sistema-agentic/verification.md +0 -119
  69. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +0 -305
  70. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +0 -301
  71. package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +0 -93
  72. package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +0 -111
  73. package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +0 -387
  74. package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +0 -266
  75. package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +0 -167
  76. package/dist/artifacts/13-dual-lifecycle-system/analysis.md +0 -173
  77. package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +0 -67
  78. package/dist/artifacts/13-dual-lifecycle-system/plan.md +0 -230
  79. package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +0 -243
  80. package/dist/artifacts/13-dual-lifecycle-system/task.md +0 -130
  81. package/dist/artifacts/13-dual-lifecycle-system/verification.md +0 -84
  82. package/dist/artifacts/14-core-tests-refactor/analysis.md +0 -240
  83. package/dist/artifacts/14-core-tests-refactor/architect/review.md +0 -33
  84. package/dist/artifacts/14-core-tests-refactor/evaluation.md +0 -40
  85. package/dist/artifacts/14-core-tests-refactor/plan.md +0 -344
  86. package/dist/artifacts/14-core-tests-refactor/researcher/research.md +0 -258
  87. package/dist/artifacts/14-core-tests-refactor/results.md +0 -117
  88. package/dist/artifacts/14-core-tests-refactor/task.md +0 -163
  89. package/dist/artifacts/14-core-tests-refactor/verification.md +0 -87
  90. package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +0 -47
  91. package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +0 -100
  92. package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +0 -81
  93. package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +0 -83
  94. package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +0 -160
  95. package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +0 -180
  96. package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +0 -15
  97. package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +0 -17
  98. package/dist/artifacts/16-refactorizacion-demo-core/plan.md +0 -270
  99. package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +0 -190
  100. package/dist/artifacts/16-refactorizacion-demo-core/task.md +0 -124
  101. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +0 -108
  102. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +0 -98
  103. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +0 -192
  104. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +0 -41
  105. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +0 -73
  106. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +0 -80
  107. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +0 -113
  108. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +0 -133
  109. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +0 -130
  110. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +0 -188
  111. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +0 -80
  112. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +0 -73
  113. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +0 -97
  114. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +0 -39
  115. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +0 -188
  116. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +0 -207
  117. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +0 -103
  118. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +0 -64
  119. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +0 -81
  120. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +0 -148
  121. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +0 -146
  122. package/dist/artifacts/18-refactor-phase-4-implementation/task.md +0 -140
  123. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +0 -58
  124. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +0 -78
  125. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +0 -76
  126. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +0 -77
  127. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +0 -76
  128. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +0 -77
  129. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +0 -95
  130. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +0 -190
  131. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +0 -68
  132. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +0 -203
  133. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +0 -296
  134. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +0 -132
  135. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +0 -104
  136. package/dist/artifacts/2-review-mcp-agent-system/analysis.md +0 -133
  137. package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +0 -58
  138. package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +0 -57
  139. package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +0 -83
  140. package/dist/artifacts/2-review-mcp-agent-system/changelog.md +0 -22
  141. package/dist/artifacts/2-review-mcp-agent-system/metrics.md +0 -33
  142. package/dist/artifacts/2-review-mcp-agent-system/plan.md +0 -141
  143. package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +0 -60
  144. package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +0 -77
  145. package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +0 -115
  146. package/dist/artifacts/2-review-mcp-agent-system/task.md +0 -127
  147. package/dist/artifacts/2-review-mcp-agent-system/verification.md +0 -72
  148. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +0 -139
  149. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +0 -146
  150. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +0 -142
  151. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +0 -143
  152. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +0 -53
  153. package/dist/artifacts/2026-01-19-orchestration-init/brief.md +0 -88
  154. package/dist/artifacts/2026-01-19-orchestration-init/closure.md +0 -80
  155. package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +0 -20
  156. package/dist/artifacts/21-portable-agentic-system/researcher/research.md +0 -121
  157. package/dist/artifacts/21-portable-agentic-system/task.md +0 -115
  158. package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +0 -113
  159. package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +0 -124
  160. package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +0 -76
  161. package/dist/artifacts/22-standardize-phase-0-artifact/results.md +0 -36
  162. package/dist/artifacts/22-standardize-phase-0-artifact/task.md +0 -115
  163. package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +0 -41
  164. package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +0 -62
  165. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +0 -90
  166. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +0 -85
  167. package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +0 -52
  168. package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +0 -52
  169. package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +0 -31
  170. package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +0 -90
  171. package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +0 -42
  172. package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +0 -64
  173. package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +0 -68
  174. package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +0 -79
  175. package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +0 -25
  176. package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +0 -91
  177. package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +0 -89
  178. package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +0 -59
  179. package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +0 -57
  180. package/dist/artifacts/25-auditoria-omision-gates/brief.md +0 -89
  181. package/dist/artifacts/25-auditoria-omision-gates/closure.md +0 -88
  182. package/dist/artifacts/25-auditoria-omision-gates/rca.md +0 -49
  183. package/dist/artifacts/25-auditoria-omision-gates/task.md +0 -64
  184. package/dist/artifacts/26-portable-agentic-system/acceptance.md +0 -41
  185. package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +0 -113
  186. package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +0 -117
  187. package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +0 -109
  188. package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +0 -104
  189. package/dist/artifacts/26-portable-agentic-system/analysis.md +0 -117
  190. package/dist/artifacts/26-portable-agentic-system/architect/review.md +0 -41
  191. package/dist/artifacts/26-portable-agentic-system/plan.md +0 -146
  192. package/dist/artifacts/26-portable-agentic-system/researcher/research.md +0 -96
  193. package/dist/artifacts/26-portable-agentic-system/task.md +0 -50
  194. package/dist/artifacts/26-portable-agentic-system/verification.md +0 -67
  195. package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +0 -74
  196. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +0 -86
  197. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +0 -88
  198. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +0 -89
  199. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +0 -85
  200. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +0 -84
  201. package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +0 -90
  202. package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +0 -44
  203. package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +0 -17
  204. package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +0 -52
  205. package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +0 -122
  206. package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +0 -73
  207. package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +0 -51
  208. package/dist/artifacts/27-update-portable-module-agent-identity/task.md +0 -115
  209. package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +0 -66
  210. package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +0 -67
  211. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +0 -88
  212. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +0 -87
  213. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +0 -86
  214. package/dist/artifacts/28-agent-system-update-conversion/analysis.md +0 -153
  215. package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +0 -93
  216. package/dist/artifacts/28-agent-system-update-conversion/metrics.md +0 -43
  217. package/dist/artifacts/28-agent-system-update-conversion/plan.md +0 -153
  218. package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +0 -66
  219. package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +0 -125
  220. package/dist/artifacts/28-agent-system-update-conversion/task.md +0 -103
  221. package/dist/artifacts/28-agent-system-update-conversion/verification.md +0 -60
  222. package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +0 -38
  223. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +0 -85
  224. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +0 -90
  225. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +0 -92
  226. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +0 -84
  227. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +0 -92
  228. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +0 -85
  229. package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +0 -119
  230. package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +0 -46
  231. package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +0 -95
  232. package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +0 -68
  233. package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +0 -59
  234. package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +0 -99
  235. package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +0 -54
  236. package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +0 -18
  237. package/dist/artifacts/3-developer-feedback-gate/analysis.md +0 -27
  238. package/dist/artifacts/3-developer-feedback-gate/changelog.md +0 -10
  239. package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +0 -32
  240. package/dist/artifacts/3-developer-feedback-gate/init.md +0 -13
  241. package/dist/artifacts/3-developer-feedback-gate/metrics.md +0 -34
  242. package/dist/artifacts/3-developer-feedback-gate/research.md +0 -28
  243. package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +0 -17
  244. package/dist/artifacts/3-developer-feedback-gate/task.md +0 -17
  245. package/dist/artifacts/3-developer-feedback-gate/verification.md +0 -35
  246. package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +0 -46
  247. package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +0 -34
  248. package/dist/artifacts/30-task-execution-protocol-gates/task.md +0 -77
  249. package/dist/artifacts/4-adr-workflows-modulos/adr.md +0 -380
  250. package/dist/artifacts/4-adr-workflows-modulos/analysis.md +0 -353
  251. package/dist/artifacts/4-adr-workflows-modulos/plan.md +0 -301
  252. package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +0 -253
  253. package/dist/artifacts/4-adr-workflows-modulos/results.md +0 -202
  254. package/dist/artifacts/4-adr-workflows-modulos/task.md +0 -143
  255. package/dist/artifacts/4-adr-workflows-modulos/verification.md +0 -123
  256. package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +0 -169
  257. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +0 -105
  258. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +0 -90
  259. package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +0 -7
  260. package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +0 -34
  261. package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +0 -163
  262. package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +0 -105
  263. package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +0 -153
  264. package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +0 -147
  265. package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +0 -79
  266. package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +0 -153
  267. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +0 -103
  268. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +0 -79
  269. package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +0 -8
  270. package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +0 -34
  271. package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +0 -131
  272. package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +0 -86
  273. package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +0 -108
  274. package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +0 -147
  275. package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +0 -74
  276. package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +0 -33
  277. package/dist/artifacts/7-modules-globals-constants/analysis.md +0 -205
  278. package/dist/artifacts/7-modules-globals-constants/architect/review.md +0 -110
  279. package/dist/artifacts/7-modules-globals-constants/metrics.md +0 -45
  280. package/dist/artifacts/7-modules-globals-constants/plan.md +0 -276
  281. package/dist/artifacts/7-modules-globals-constants/researcher/research.md +0 -247
  282. package/dist/artifacts/7-modules-globals-constants/task.md +0 -112
  283. package/dist/artifacts/7-modules-globals-constants/verification.md +0 -76
  284. package/dist/artifacts/8-module-workflow-refactor/analysis.md +0 -131
  285. package/dist/artifacts/8-module-workflow-refactor/changelog.md +0 -24
  286. package/dist/artifacts/8-module-workflow-refactor/metrics.md +0 -37
  287. package/dist/artifacts/8-module-workflow-refactor/plan.md +0 -193
  288. package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +0 -222
  289. package/dist/artifacts/8-module-workflow-refactor/results.md +0 -112
  290. package/dist/artifacts/8-module-workflow-refactor/review.md +0 -76
  291. package/dist/artifacts/8-module-workflow-refactor/task.md +0 -154
  292. package/dist/artifacts/8-module-workflow-refactor/verification.md +0 -76
  293. package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +0 -64
  294. package/dist/artifacts/9-build-stabilization/analysis.md +0 -62
  295. package/dist/artifacts/9-build-stabilization/metrics.md +0 -11
  296. package/dist/artifacts/9-build-stabilization/plan.md +0 -82
  297. package/dist/artifacts/9-build-stabilization/researcher/research.md +0 -102
  298. package/dist/artifacts/9-build-stabilization/task.md +0 -23
  299. package/dist/artifacts/9-build-stabilization/walkthrough.md +0 -56
  300. package/dist/artifacts/candidate/init.md +0 -34
  301. package/dist/artifacts/candidate/task.md +0 -24
  302. package/dist/metrics/agent-scores.md +0 -30
  303. package/dist/metrics/agents.json +0 -106
  304. package/dist/metrics/index.md +0 -23
  305. package/dist/rules/constitution/drivers.md +0 -294
  306. package/dist/rules/constitution/extensio-architecture.md +0 -131
  307. package/dist/rules/constitution/modules.md +0 -280
  308. package/dist/rules/constitution/pages.md +0 -454
  309. package/dist/rules/constitution/shards.md +0 -484
  310. package/dist/rules/roles/driver.md +0 -172
  311. package/dist/rules/roles/module.md +0 -175
  312. package/dist/rules/roles/surface.md +0 -60
  313. package/dist/rules/roles/tooling.md +0 -68
  314. package/dist/skills/extensio-build/SKILL.md +0 -161
  315. package/dist/skills/extensio-create-driver/SKILL.md +0 -89
  316. package/dist/skills/extensio-create-module/SKILL.md +0 -91
  317. package/dist/skills/extensio-demo/SKILL.md +0 -84
  318. package/dist/skills/extensio-test/SKILL.md +0 -96
  319. package/dist/skills/extensio-validate-code/SKILL.md +0 -262
  320. package/dist/skills/index.md +0 -79
  321. package/dist/templates/driver-create.md +0 -116
  322. package/dist/templates/driver-delete.md +0 -84
  323. package/dist/templates/driver-refactor.md +0 -94
  324. package/dist/templates/module-create.md +0 -117
  325. package/dist/templates/module-delete.md +0 -79
  326. package/dist/templates/module-refactor.md +0 -87
  327. package/dist/todo/001-anadir-seccion-reasoning.md +0 -42
  328. package/dist/todo/002-anadir-ejemplos-few-shot.md +0 -46
  329. package/dist/todo/003-explorar-paralelizacion-phase4.md +0 -46
  330. package/dist/todo/004-portable-agentic-system.md +0 -44
  331. package/dist/todo/README.md +0 -58
  332. package/dist/todo/index.md +0 -27
  333. package/dist/tools/extensio-cli.md +0 -76
  334. package/dist/tools/index.md +0 -14
  335. package/dist/tools/run-command.md +0 -42
  336. package/dist/workflows/drivers/create.md +0 -139
  337. package/dist/workflows/drivers/delete.md +0 -124
  338. package/dist/workflows/drivers/index.md +0 -25
  339. package/dist/workflows/drivers/refactor.md +0 -125
  340. package/dist/workflows/modules/create.md +0 -160
  341. package/dist/workflows/modules/delete.md +0 -121
  342. package/dist/workflows/modules/index.md +0 -27
  343. package/dist/workflows/modules/pages.create.md +0 -234
  344. package/dist/workflows/modules/refactor.md +0 -122
  345. package/dist/workflows/modules/shards.create.md +0 -215
@@ -1,253 +0,0 @@
1
- ---
2
- artifact: research
3
- phase: phase-1-research
4
- owner: researcher-agent
5
- status: draft
6
- related_task: 4-adr-workflows-modulos
7
- ---
8
-
9
- # Research Report — 4-adr-workflows-modulos
10
-
11
- ## 1. Resumen ejecutivo
12
-
13
- ### Problema investigado
14
- Diseñar el sistema de workflows para gestionar el ciclo de vida de módulos en Extensio, siguiendo el modelo establecido para drivers.
15
-
16
- ### Objetivo de la investigación
17
- Identificar los componentes necesarios (agentes, workflows, templates, reglas, MCP) y las diferencias arquitectónicas clave entre drivers y módulos para producir un ADR completo.
18
-
19
- ### Principales hallazgos
20
-
21
- 1. **El CLI ya soporta módulos**: `extensio-cli` tiene generadores para `module`, `driver` y `project`. Los comandos `create`, `build`, `test` y `demo` funcionan para módulos.
22
-
23
- 2. **Estructura de drivers como modelo**: El sistema de drivers es maduro y comprende:
24
- - 3 workflows: `create`, `refactor`, `delete`
25
- - 3 templates: `driver-create.md`, `driver-refactor.md`, `driver-delete.md`
26
- - 1 constitution: `drivers.md` (295 líneas)
27
- - 1 rol: `driver-agent`
28
-
29
- 3. **Diferencias arquitectónicas críticas**: Los módulos tienen mayor complejidad que los drivers:
30
- - Módulos pueden tener **Engine**, **Context** y **Surfaces** (Shards/Pages)
31
- - Módulos usan **@property** y **@onChanged** para reactividad
32
- - Módulos tienen ciclo de vida complejo: `run() → _setup() → _listen() → setup() → listen() → loadProps() → start()`
33
- - Los drivers son fachadas simples sin estado de negocio
34
-
35
- 4. **No existe directorio `packages/modules`**: Los módulos del proyecto actual parecen estar integrados en aplicaciones (`apps/`) o en `core`.
36
-
37
- ---
38
-
39
- ## 2. Necesidades detectadas
40
-
41
- ### Requisitos técnicos identificados
42
-
43
- | Componente | Driver (existente) | Módulo (necesario) |
44
- |------------|--------------------|--------------------|
45
- | Agente especializado | `driver-agent` | `module-agent` |
46
- | Workflows | create, refactor, delete | create, refactor, delete |
47
- | Constitution | `drivers.md` | `modules.md` (nueva) |
48
- | Templates | 3 (create/refactor/delete) | 3 (create/refactor/delete) |
49
- | MCP tools | Ya soportados | Ya soportados |
50
-
51
- ### Suposiciones
52
- - Los módulos se crearán en `packages/modules/` (directorio a crear).
53
- - El ciclo de vida de módulos es más complejo pero sigue el mismo patrón de workflows.
54
- - La validación de módulos requiere verificar: scopes, decoradores, integración con Core.
55
-
56
- ### Límites
57
- - El ADR no implementa código, solo especifica la arquitectura.
58
- - La constitución de módulos debe complementar `extensio-architecture.md`, no duplicarla.
59
-
60
- ---
61
-
62
- ## 3. Alternativas técnicas
63
-
64
- ### 3.1 Estructura de workflows
65
-
66
- **Opción A: Paralelismo con drivers (RECOMENDADA)**
67
- - Crear `.agent/workflows/modules/` con `index.md`, `create.md`, `refactor.md`, `delete.md`
68
- - Idéntica estructura a drivers, adaptada para módulos
69
-
70
- Pros:
71
- - Consistencia con el modelo existente
72
- - Curva de aprendizaje baja
73
- - Reutilización de patrones probados
74
-
75
- Contras:
76
- - Ninguno significativo
77
-
78
- **Opción B: Workflows unificados**
79
- - Un único dominio `entities/` para drivers y módulos
80
-
81
- Pros:
82
- - Menos duplicación
83
-
84
- Contras:
85
- - Pierde especificidad
86
- - Mezcla responsabilidades
87
- - Dificulta evolución independiente
88
-
89
- ### 3.2 Constitution de módulos
90
-
91
- **Opción A: Constitution dedicada (RECOMENDADA)**
92
- - Crear `constitution.modules` en `.agent/rules/constitution/modules.md`
93
- - Reglas específicas para scopes, decoradores, ciclo de vida
94
-
95
- Pros:
96
- - Claridad contractual
97
- - Auditoría específica
98
- - Consistencia con drivers
99
-
100
- **Opción B: Extender extensio-architecture.md**
101
- - Añadir secciones de módulos al documento existente
102
-
103
- Contras:
104
- - Documento demasiado largo
105
- - Mezcla niveles de abstracción
106
-
107
- ### 3.3 Rol module-agent
108
-
109
- **Opción A: Rol dedicado (RECOMENDADA)**
110
- - Crear `role.module-agent` en `.agent/rules/roles/module.md`
111
- - Owner del ciclo de vida de módulos
112
- - Delegación desde architect-agent
113
-
114
- Pros:
115
- - Separación de responsabilidades
116
- - Paralelismo con driver-agent
117
- - Escalabilidad
118
-
119
- ---
120
-
121
- ## 4. APIs Web / WebExtensions relevantes
122
-
123
- Los módulos en Extensio no interactúan directamente con APIs del navegador (eso es responsabilidad de los drivers). Sin embargo, los módulos dependen de:
124
-
125
- | API/Componente | Estado de soporte | Uso en módulos |
126
- |----------------|-------------------|----------------|
127
- | Storage API | Chrome/Firefox/Safari ✓ | Persistencia de @property |
128
- | Service Worker | Chrome/Firefox ✓ Safari parcial | Engine scope |
129
- | Content Scripts | Todos ✓ | Context scope |
130
- | Messaging | Todos ✓ | Comunicación Engine↔Context |
131
-
132
- ### Restricciones conocidas
133
- - Safari: limitaciones en Service Worker lifecycle
134
- - Firefox: diferencias en storage events
135
-
136
- ---
137
-
138
- ## 5. Compatibilidad multi-browser
139
-
140
- | Aspecto | Chrome | Firefox | Safari | Edge |
141
- |---------|--------|---------|--------|------|
142
- | Engine (SW) | ✓ | ✓ | Parcial | ✓ |
143
- | Context | ✓ | ✓ | ✓ | ✓ |
144
- | @property persistence | ✓ | ✓ | ✓ | ✓ |
145
- | Surfaces/Shards | ✓ | ✓ | ✓ | ✓ |
146
-
147
- ### Estrategias de mitigación
148
- - Safari SW: documentar limitaciones y fallbacks
149
- - Usar drivers como capa de abstracción
150
-
151
- ---
152
-
153
- ## 6. Recomendaciones AI-first
154
-
155
- ### 6.1 Herramientas MCP
156
- El CLI `extensio-cli` ya expone herramientas útiles para agentes:
157
- - `extensio_create`: soporta `type: module`
158
- - `extensio_build`: compila módulos
159
- - `extensio_test`: ejecuta tests
160
- - `extensio_demo`: genera demos
161
-
162
- **Recomendación**: No se requieren nuevas herramientas MCP. Los comandos existentes cubren el ciclo de vida.
163
-
164
- ### 6.2 Recursos MCP
165
- El recurso `extensio://modules` ya existe pero retorna array vacío (no hay módulos aún).
166
-
167
- **Recomendación**: Cuando existan módulos, el recurso los listará automáticamente.
168
-
169
- ### 6.3 Automatización del module-agent
170
- El `module-agent` debería:
171
- - Validar automáticamente la estructura de módulos
172
- - Verificar uso correcto de decoradores (@property, @onChanged)
173
- - Auditar ciclo de vida (métodos obligatorios)
174
- - Detectar dependencias cruzadas prohibidas
175
-
176
- ---
177
-
178
- ## 7. Riesgos y trade-offs
179
-
180
- | Riesgo | Severidad | Probabilidad | Mitigación |
181
- |--------|-----------|--------------|------------|
182
- | Duplicación de documentación entre constitution de módulos y extensio-architecture | Media | Alta | La constitution de módulos DEBE referenciar extensio-architecture como source of truth, solo añadir reglas operativas |
183
- | Confusión entre Engine/Context/Surface | Media | Media | Templates con ejemplos claros |
184
- | Módulos con dependencias cruzadas | Alta | Media | Auditoría obligatoria del module-agent |
185
- | Ciclo de vida incompleto | Alta | Baja | Checklist en template de creación |
186
-
187
- ---
188
-
189
- ## 8. Fuentes
190
-
191
- ### Documentación interna (Source of Truth)
192
- - [extensio-architecture.md](file:///Users/milos/Documents/workspace/extensio/.agent/rules/constitution/extensio-architecture.md) — Arquitectura base del framework
193
- - [drivers.md](file:///Users/milos/Documents/workspace/extensio/.agent/rules/constitution/drivers.md) — Constitution de drivers (modelo)
194
- - [driver-agent](file:///Users/milos/Documents/workspace/extensio/.agent/rules/roles/driver.md) — Rol de agente (modelo)
195
- - [drivers/create.md](file:///Users/milos/Documents/workspace/extensio/.agent/workflows/drivers/create.md) — Workflow de creación (modelo)
196
-
197
- ### Código del proyecto
198
- - [CLI index.mts](file:///Users/milos/Documents/workspace/extensio/packages/cli/src/index.mts) — Comandos disponibles
199
- - [Core types](file:///Users/milos/Documents/workspace/extensio/packages/core/src/types.d.mts) — Tipos del framework
200
-
201
- ### Documentación externa
202
- - [Chrome Extensions API](https://developer.chrome.com/docs/extensions/)
203
- - [MDN WebExtensions](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions)
204
-
205
- ---
206
-
207
- ## 9. Inventario de componentes propuestos
208
-
209
- ### Workflows (`.agent/workflows/modules/`)
210
- | Archivo | Descripción |
211
- |---------|-------------|
212
- | `index.md` | Índice del dominio modules |
213
- | `create.md` | Workflow de creación de módulos |
214
- | `refactor.md` | Workflow de refactorización |
215
- | `delete.md` | Workflow de eliminación |
216
-
217
- ### Templates (`.agent/templates/`)
218
- | Archivo | Descripción |
219
- |---------|-------------|
220
- | `module-create.md` | Informe de creación de módulo |
221
- | `module-refactor.md` | Informe de refactorización |
222
- | `module-delete.md` | Informe de eliminación |
223
-
224
- ### Constitution (`.agent/rules/constitution/`)
225
- | Archivo | Descripción |
226
- |---------|-------------|
227
- | `modules.md` | Reglas contractuales para módulos |
228
-
229
- ### Roles (`.agent/rules/roles/`)
230
- | Archivo | Descripción |
231
- |---------|-------------|
232
- | `module.md` | Rol module-agent |
233
-
234
- ### MCP
235
- | Componente | Estado |
236
- |------------|--------|
237
- | `extensio_create --type module` | Ya existe ✓ |
238
- | `extensio_build` | Ya existe ✓ |
239
- | `extensio_test` | Ya existe ✓ |
240
- | `extensio_demo --type module` | Ya existe ✓ |
241
- | `extensio://modules` | Ya existe ✓ |
242
-
243
- ---
244
-
245
- ## 10. Aprobación del desarrollador (OBLIGATORIA)
246
-
247
- ```yaml
248
- approval:
249
- developer:
250
- decision: SI
251
- date: "2026-01-07T07:30:07+01:00"
252
- comments: "Aprobado para avanzar a Phase 2"
253
- ```
@@ -1,202 +0,0 @@
1
- ---
2
- artifact: results_acceptance
3
- phase: phase-6-results-acceptance
4
- owner: architect-agent
5
- status: pending
6
- related_task: 4-adr-workflows-modulos
7
- related_plan: .agent/artifacts/4-adr-workflows-modulos/plan.md
8
- related_review: N/A (ADR - documentación)
9
- related_verification: .agent/artifacts/4-adr-workflows-modulos/verification.md
10
- ---
11
-
12
- # Final Results Report — 4-adr-workflows-modulos
13
-
14
- ## 1. Resumen ejecutivo (para decisión)
15
-
16
- Este documento presenta **el resultado final completo de la tarea**, consolidando:
17
- - lo que se planificó
18
- - lo que se implementó
19
- - cómo se revisó
20
- - cómo se verificó
21
-
22
- **Conclusión rápida**
23
- - Estado general: ☑ SATISFACTORIO
24
- - Recomendación del arquitecto: ☑ Aceptar
25
-
26
- ---
27
-
28
- ## 2. Contexto de la tarea
29
-
30
- ### 2.1 Objetivo original
31
- (Extraído de `task.md`)
32
-
33
- - **Objetivo**: Diseñar y documentar la arquitectura completa para gestionar el ciclo de vida de módulos
34
- - **Alcance definido**: ADR con especificación técnica de agentes, workflows, templates, constitution y MCP
35
- - **Fuera de alcance**: Implementación real de los componentes (será tarea futura)
36
-
37
- ### 2.2 Acceptance Criteria acordados
38
-
39
- | ID | Descripción | Estado final |
40
- |----|-------------|--------------|
41
- | AC-1 | ADR completo con especificación técnica de todos los componentes | ✅ Cumplido |
42
- | AC-2 | Documentación del rol `module-agent` y su relación con `architect-agent` | ✅ Cumplido |
43
- | AC-3 | Especificación de workflows (create, refactor, delete) | ✅ Cumplido |
44
- | AC-4 | Especificación de templates necesarios | ✅ Cumplido |
45
- | AC-5 | Especificación de reglas de constitución | ✅ Cumplido |
46
- | AC-6 | Especificación de extensiones MCP en `extensio-cli` | ✅ Cumplido |
47
- | AC-7 | ADR aprobado explícitamente por el desarrollador | ✅ Cumplido |
48
-
49
- ---
50
-
51
- ## 3. Planificación (qué se acordó hacer)
52
-
53
- ### Estrategia general
54
- Crear un ADR que documente exhaustivamente la arquitectura para workflows de módulos, siguiendo el modelo existente de drivers.
55
-
56
- ### Fases y pasos principales
57
- 1. Phase 0: Definir acceptance criteria (5 preguntas)
58
- 2. Phase 1: Investigación técnica del sistema existente
59
- 3. Phase 2: Análisis de componentes necesarios
60
- 4. Phase 3: Plan de implementación
61
- 5. Phase 4: Creación del ADR
62
- 6. Phase 5: Verificación de completitud
63
-
64
- ### Agentes involucrados
65
- - **architect-agent**: Owner de toda la tarea, creación del ADR
66
- - **researcher-agent**: Investigación técnica en Phase 1
67
-
68
- ### Estrategia de testing
69
- No aplica — El entregable es documentación.
70
-
71
- ### Plan de demo
72
- No aplica — El entregable es documentación.
73
-
74
- > Referencia: `plan.md`
75
-
76
- ---
77
-
78
- ## 4. Implementación (qué se hizo realmente)
79
-
80
- ### 4.1 Subtareas por agente
81
-
82
- **Agente:** `architect-agent`
83
- - Responsabilidad asignada: Owner completo de la tarea
84
- - Subtareas ejecutadas:
85
- - Definición de acceptance criteria
86
- - Análisis del sistema existente
87
- - Creación del plan de implementación
88
- - Creación del ADR-004
89
- - Verificación de completitud
90
- - Artefactos generados:
91
- - `task.md`
92
- - `analysis.md`
93
- - `plan.md`
94
- - `adr.md`
95
- - `verification.md`
96
- - `results.md` (este documento)
97
-
98
- **Agente:** `researcher-agent`
99
- - Responsabilidad asignada: Investigación técnica
100
- - Subtareas ejecutadas:
101
- - Análisis del sistema de drivers existente
102
- - Análisis de capacidades MCP
103
- - Identificación de diferencias driver vs módulo
104
- - Artefactos generados:
105
- - `researcher/research.md`
106
-
107
- ### 4.2 Cambios técnicos relevantes
108
- - **Nuevos módulos/drivers**: Ninguno (ADR es documentación)
109
- - **Cambios estructurales**: Ninguno
110
- - **APIs afectadas**: Ninguna
111
- - **Compatibilidad**: No aplica
112
-
113
- ---
114
-
115
- ## 5. Revisión arquitectónica
116
-
117
- - Coherencia con el plan: ☑ Sí
118
- - Cumplimiento de arquitectura: ☑ Sí
119
- - Cumplimiento de clean code: ☑ Sí
120
- - Desviaciones detectadas: Ninguna
121
-
122
- **Conclusiones del arquitecto**
123
- - **Impacto en el sistema**: El ADR proporciona la especificación para una futura implementación
124
- - **Riesgos residuales**: Posible desactualización si cambia la arquitectura base
125
- - **Deuda técnica**: Ninguna
126
-
127
- ---
128
-
129
- ## 6. Verificación y validación
130
-
131
- ### 6.1 Tests ejecutados
132
- - Unitarios: No aplica (documentación)
133
- - Integración: No aplica (documentación)
134
- - End-to-End / Manual: No aplica (documentación)
135
- - Resultado global: ☑ OK (verificación documental)
136
-
137
- ### 6.2 Demo
138
- No aplica — El entregable es documentación.
139
-
140
- > Referencia: `verification.md`
141
-
142
- ---
143
-
144
- ## 7. Estado final de Acceptance Criteria
145
-
146
- | Acceptance Criteria | Resultado | Evidencia |
147
- |---------------------|-----------|-----------|
148
- | AC-1 | ✅ | ADR contiene 6 secciones de componentes |
149
- | AC-2 | ✅ | ADR Sección 2: Rol module-agent |
150
- | AC-3 | ✅ | ADR Sección 3: Workflows (index, create, refactor, delete) |
151
- | AC-4 | ✅ | ADR Sección 4: Templates (create, refactor, delete) |
152
- | AC-5 | ✅ | ADR Sección 1: Constitution modules.md |
153
- | AC-6 | ✅ | ADR Sección 6: MCP (herramientas existentes) |
154
- | AC-7 | ✅ | ADR aprobado 2026-01-07T07:43:59+01:00 |
155
-
156
- **Resultado: 7/7 AC cumplidos (100%)**
157
-
158
- ---
159
-
160
- ## 8. Incidencias y desviaciones
161
-
162
- > "No se detectaron incidencias relevantes".
163
-
164
- La única clarificación fue confirmar que el objetivo era crear un ADR (documentación), no la implementación real de los componentes, lo cual se ajustó correctamente.
165
-
166
- ---
167
-
168
- ## 9. Valoración global
169
-
170
- - Calidad técnica: ☑ Alta
171
- - Alineación con lo solicitado: ☑ Total
172
- - Estabilidad de la solución: ☑ Alta (es documentación)
173
- - Mantenibilidad: ☑ Alta (estructura clara, referencias explícitas)
174
-
175
- ---
176
-
177
- ## 10. Entregables finales
178
-
179
- | Artefacto | Ubicación | Estado |
180
- |-----------|-----------|--------|
181
- | ADR-004 | `adr.md` | ✅ Aprobado |
182
- | Task | `task.md` | ✅ Completo |
183
- | Research | `researcher/research.md` | ✅ Aprobado |
184
- | Analysis | `analysis.md` | ✅ Aprobado |
185
- | Plan | `plan.md` | ✅ Aprobado |
186
- | Verification | `verification.md` | ✅ Completo |
187
-
188
- ---
189
-
190
- ## 11. Decisión final del desarrollador (OBLIGATORIA)
191
-
192
- Esta decisión **cierra la fase**.
193
-
194
- ```yaml
195
- approval:
196
- developer:
197
- decision: SI
198
- date: "2026-01-07T07:46:41+01:00"
199
- comments: "Resultados aceptados"
200
- ```
201
-
202
- > Sin esta aprobación, la tarea NO puede considerarse terminada.
@@ -1,143 +0,0 @@
1
- # Task
2
-
3
- ## Identificación
4
- - id: 4
5
- - title: ADR Workflows Módulos
6
- - scope: current
7
- - owner: architect-agent
8
-
9
- ## Origen
10
- - created_from:
11
- - workflow: tasklifecycle
12
- - source: artifacts.candidate.task
13
- - candidate_path: .agent/artifacts/candidate/task.md
14
-
15
- ## Descripción de la tarea
16
- Crear un ADR (Architecture Decision Record) para implementar un sistema de workflows para crear, modificar y eliminar módulos en Extensio. El sistema debe seguir un modelo similar al existente para drivers.
17
-
18
- ## Objetivo
19
- Diseñar y documentar la arquitectura completa para gestionar el ciclo de vida de módulos, incluyendo:
20
- - Agentes necesarios
21
- - Workflows necesarios
22
- - Templates necesarios
23
- - Constitution (reglas) necesarias
24
- - Herramientas MCP necesarias
25
-
26
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
27
-
28
- ```yaml
29
- task:
30
- id: "4"
31
- title: "ADR Workflows Módulos"
32
- phase:
33
- current: "completed"
34
- validated_by: "architect-agent"
35
- updated_at: "2026-01-07T07:46:41+01:00"
36
- lifecycle:
37
- phases:
38
- phase-0-acceptance-criteria:
39
- completed: true
40
- validated_by: architect-agent
41
- validated_at: "2026-01-07T07:23:53+01:00"
42
- phase-1-research:
43
- completed: true
44
- validated_by: architect-agent
45
- validated_at: "2026-01-07T07:30:07+01:00"
46
- phase-2-analysis:
47
- completed: true
48
- validated_by: architect-agent
49
- validated_at: "2026-01-07T07:35:17+01:00"
50
- phase-3-planning:
51
- completed: true
52
- validated_by: architect-agent
53
- validated_at: "2026-01-07T07:37:29+01:00"
54
- phase-4-implementation:
55
- completed: true
56
- validated_by: architect-agent
57
- validated_at: "2026-01-07T07:43:59+01:00"
58
- phase-5-verification:
59
- completed: true
60
- validated_by: architect-agent
61
- validated_at: "2026-01-07T07:43:59+01:00"
62
- phase-6-results-acceptance:
63
- completed: true
64
- validated_by: architect-agent
65
- validated_at: "2026-01-07T07:46:41+01:00"
66
- phase-7-evaluation:
67
- completed: false
68
- validated_by: null
69
- validated_at: null
70
- phase-8-commit-push:
71
- completed: false
72
- validated_by: null
73
- validated_at: null
74
- ```
75
-
76
- ## Acceptance Criteria (OBLIGATORIO)
77
-
78
- ### 1. Alcance
79
- - El ADR debe incluir **documentación técnica y funcional detallada** de cada componente:
80
- - Workflows (create, refactor, delete)
81
- - Templates
82
- - Reglas de constitución
83
- - Herramientas MCP
84
- - NO es solo un design doc; es especificación técnica completa.
85
-
86
- ### 2. Entradas / Datos
87
- - Arquitectura existente de drivers como modelo de referencia:
88
- - `.agent/workflows/drivers/` (create, refactor, delete)
89
- - `.agent/templates/driver-*.md`
90
- - `.agent/rules/constitution/drivers.md`
91
- - `extensio-cli` MCP tools
92
- - Constitución de Extensio (`extensio-architecture.md`)
93
- - Diferencias arquitectónicas entre drivers y módulos
94
-
95
- ### 3. Salidas / Resultado esperado
96
- - **ADR documentado y aprobado** que especifique:
97
- - `module-agent` como owner del dominio de módulos
98
- - Workflows: create, refactor, delete (mismo ciclo que drivers)
99
- - Templates necesarios para módulos
100
- - Reglas de constitución para módulos
101
- - Extensiones del MCP `extensio-cli` existente
102
-
103
- ### 4. Restricciones
104
- - El `module-agent` es owner del scope de módulos y su ciclo de vida
105
- - El `architect-agent` detecta qué agente necesita y delega a `module-agent`
106
- - Las herramientas MCP se integran en `extensio-cli` existente (ya dispone de comandos para crear módulos)
107
- - Debe respetarse la separación arquitectónica entre drivers y módulos según la constitución
108
-
109
- ### 5. Criterio de aceptación (Done)
110
- - [ ] ADR completo con especificación técnica de todos los componentes
111
- - [ ] Documentación del rol `module-agent` y su relación con `architect-agent`
112
- - [ ] Especificación de workflows (create, refactor, delete)
113
- - [ ] Especificación de templates necesarios
114
- - [ ] Especificación de reglas de constitución
115
- - [ ] Especificación de extensiones MCP en `extensio-cli`
116
- - [ ] ADR aprobado explícitamente por el desarrollador
117
-
118
- ## Historial de validaciones (append-only)
119
- ```yaml
120
- history:
121
- - phase: "phase-0-acceptance-criteria"
122
- action: "completed"
123
- validated_by: "architect-agent"
124
- timestamp: "2026-01-07T07:23:53+01:00"
125
- notes: "Acceptance criteria definidos. 5 preguntas respondidas por el desarrollador."
126
- ```
127
-
128
- ## Respuestas del desarrollador (referencia)
129
- 1. **Alcance**: Documentación detallada técnica y funcional de cada workflow, template, regla y MCP
130
- 2. **Ciclo de vida**: Mismo ciclo que drivers (create → refactor → delete)
131
- 3. **Agentes**: `module-agent` como owner, delegado por `architect-agent`
132
- 4. **MCP**: Integrar en `extensio-cli` existente
133
- 5. **Done**: Solo el ADR documentado y aprobado (opción A)
134
-
135
- ## Reglas contractuales
136
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
137
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
138
- - El campo `task.lifecycle.phases.*` **SOLO puede ser marcado como completed por `architect-agent`**.
139
- - Una fase **NO puede marcarse como completed** si no es la fase actual.
140
- - El avance de fase requiere:
141
- 1. Marcar la fase actual como `completed: true`
142
- 2. Validación explícita del architect
143
- 3. Actualización de `task.phase.current` a la siguiente fase