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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/dist/artifacts/index.md +2 -26
  2. package/dist/bootstrap.md +204 -151
  3. package/dist/cli/commands/init.js +0 -5
  4. package/dist/core/mapping/resolver.js +1 -1
  5. package/dist/core/migration/detector.js +1 -1
  6. package/dist/index.md +0 -11
  7. package/dist/rules/constitution/agents-behavior.md +10 -19
  8. package/dist/rules/constitution/clean-code.md +10 -11
  9. package/dist/rules/constitution/index.md +0 -5
  10. package/dist/rules/index.md +1 -1
  11. package/dist/rules/roles/architect.md +47 -88
  12. package/dist/rules/roles/index.md +1 -4
  13. package/dist/rules/roles/qa.md +61 -136
  14. package/dist/rules/roles/researcher.md +34 -48
  15. package/dist/templates/agent-scores.md +6 -7
  16. package/dist/templates/analysis.md +6 -6
  17. package/dist/templates/changelog.md +1 -1
  18. package/dist/templates/closure.md +9 -1
  19. package/dist/templates/index.md +0 -6
  20. package/dist/templates/init.md +7 -0
  21. package/dist/templates/planning.md +10 -10
  22. package/dist/templates/research.md +1 -1
  23. package/dist/templates/results-acceptance.md +1 -1
  24. package/dist/templates/review.md +2 -2
  25. package/dist/templates/subtask-implementation.md +1 -1
  26. package/dist/templates/task.md +4 -32
  27. package/dist/templates/verification.md +3 -3
  28. package/dist/workflows/index.md +0 -2
  29. package/dist/workflows/init.md +31 -19
  30. package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +2 -2
  31. package/dist/workflows/tasklifecycle-long/phase-1-research.md +3 -3
  32. package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +6 -21
  33. package/dist/workflows/tasklifecycle-long/phase-3-planning.md +5 -11
  34. package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +2 -2
  35. package/dist/workflows/tasklifecycle-long/phase-5-verification.md +3 -3
  36. package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +1 -1
  37. package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +12 -19
  38. package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +3 -3
  39. package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +2 -2
  40. package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +1 -1
  41. package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +5 -5
  42. package/package.json +2 -2
  43. package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +0 -480
  44. package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +0 -285
  45. package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +0 -29
  46. package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +0 -321
  47. package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +0 -522
  48. package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +0 -270
  49. package/dist/artifacts/1-mcp-server-extensio-cli/results.md +0 -143
  50. package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +0 -33
  51. package/dist/artifacts/1-mcp-server-extensio-cli/task.md +0 -178
  52. package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +0 -69
  53. package/dist/artifacts/10-shard-build-plugin/analysis.md +0 -290
  54. package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +0 -105
  55. package/dist/artifacts/10-shard-build-plugin/plan.md +0 -409
  56. package/dist/artifacts/10-shard-build-plugin/researcher/research.md +0 -109
  57. package/dist/artifacts/10-shard-build-plugin/task.md +0 -124
  58. package/dist/artifacts/11-revision-sistema-agentic/analysis.md +0 -43
  59. package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +0 -186
  60. package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +0 -162
  61. package/dist/artifacts/11-revision-sistema-agentic/metrics.md +0 -82
  62. package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +0 -126
  63. package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +0 -250
  64. package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +0 -366
  65. package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +0 -131
  66. package/dist/artifacts/11-revision-sistema-agentic/results.md +0 -116
  67. package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +0 -424
  68. package/dist/artifacts/11-revision-sistema-agentic/task.md +0 -145
  69. package/dist/artifacts/11-revision-sistema-agentic/verification.md +0 -119
  70. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +0 -305
  71. package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +0 -301
  72. package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +0 -93
  73. package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +0 -111
  74. package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +0 -387
  75. package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +0 -266
  76. package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +0 -167
  77. package/dist/artifacts/13-dual-lifecycle-system/analysis.md +0 -173
  78. package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +0 -67
  79. package/dist/artifacts/13-dual-lifecycle-system/plan.md +0 -230
  80. package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +0 -243
  81. package/dist/artifacts/13-dual-lifecycle-system/task.md +0 -130
  82. package/dist/artifacts/13-dual-lifecycle-system/verification.md +0 -84
  83. package/dist/artifacts/14-core-tests-refactor/analysis.md +0 -240
  84. package/dist/artifacts/14-core-tests-refactor/architect/review.md +0 -33
  85. package/dist/artifacts/14-core-tests-refactor/evaluation.md +0 -40
  86. package/dist/artifacts/14-core-tests-refactor/plan.md +0 -344
  87. package/dist/artifacts/14-core-tests-refactor/researcher/research.md +0 -258
  88. package/dist/artifacts/14-core-tests-refactor/results.md +0 -117
  89. package/dist/artifacts/14-core-tests-refactor/task.md +0 -163
  90. package/dist/artifacts/14-core-tests-refactor/verification.md +0 -87
  91. package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +0 -47
  92. package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +0 -100
  93. package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +0 -81
  94. package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +0 -83
  95. package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +0 -160
  96. package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +0 -180
  97. package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +0 -15
  98. package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +0 -17
  99. package/dist/artifacts/16-refactorizacion-demo-core/plan.md +0 -270
  100. package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +0 -190
  101. package/dist/artifacts/16-refactorizacion-demo-core/task.md +0 -124
  102. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +0 -108
  103. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +0 -98
  104. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +0 -192
  105. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +0 -41
  106. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +0 -73
  107. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +0 -80
  108. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +0 -113
  109. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +0 -133
  110. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +0 -130
  111. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +0 -188
  112. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +0 -80
  113. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +0 -73
  114. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +0 -97
  115. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +0 -39
  116. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +0 -188
  117. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +0 -207
  118. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +0 -103
  119. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +0 -64
  120. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +0 -81
  121. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +0 -148
  122. package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +0 -146
  123. package/dist/artifacts/18-refactor-phase-4-implementation/task.md +0 -140
  124. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +0 -58
  125. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +0 -78
  126. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +0 -76
  127. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +0 -77
  128. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +0 -76
  129. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +0 -77
  130. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +0 -95
  131. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +0 -190
  132. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +0 -68
  133. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +0 -203
  134. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +0 -296
  135. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +0 -132
  136. package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +0 -104
  137. package/dist/artifacts/2-review-mcp-agent-system/analysis.md +0 -133
  138. package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +0 -58
  139. package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +0 -57
  140. package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +0 -83
  141. package/dist/artifacts/2-review-mcp-agent-system/changelog.md +0 -22
  142. package/dist/artifacts/2-review-mcp-agent-system/metrics.md +0 -33
  143. package/dist/artifacts/2-review-mcp-agent-system/plan.md +0 -141
  144. package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +0 -60
  145. package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +0 -77
  146. package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +0 -115
  147. package/dist/artifacts/2-review-mcp-agent-system/task.md +0 -127
  148. package/dist/artifacts/2-review-mcp-agent-system/verification.md +0 -72
  149. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +0 -139
  150. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +0 -146
  151. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +0 -142
  152. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +0 -143
  153. package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +0 -53
  154. package/dist/artifacts/2026-01-19-orchestration-init/brief.md +0 -88
  155. package/dist/artifacts/2026-01-19-orchestration-init/closure.md +0 -80
  156. package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +0 -20
  157. package/dist/artifacts/21-portable-agentic-system/researcher/research.md +0 -121
  158. package/dist/artifacts/21-portable-agentic-system/task.md +0 -115
  159. package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +0 -113
  160. package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +0 -124
  161. package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +0 -76
  162. package/dist/artifacts/22-standardize-phase-0-artifact/results.md +0 -36
  163. package/dist/artifacts/22-standardize-phase-0-artifact/task.md +0 -115
  164. package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +0 -41
  165. package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +0 -62
  166. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +0 -90
  167. package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +0 -85
  168. package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +0 -52
  169. package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +0 -52
  170. package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +0 -31
  171. package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +0 -90
  172. package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +0 -42
  173. package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +0 -64
  174. package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +0 -68
  175. package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +0 -79
  176. package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +0 -25
  177. package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +0 -91
  178. package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +0 -89
  179. package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +0 -59
  180. package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +0 -57
  181. package/dist/artifacts/25-auditoria-omision-gates/brief.md +0 -89
  182. package/dist/artifacts/25-auditoria-omision-gates/closure.md +0 -88
  183. package/dist/artifacts/25-auditoria-omision-gates/rca.md +0 -49
  184. package/dist/artifacts/25-auditoria-omision-gates/task.md +0 -64
  185. package/dist/artifacts/26-portable-agentic-system/acceptance.md +0 -41
  186. package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +0 -113
  187. package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +0 -117
  188. package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +0 -109
  189. package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +0 -104
  190. package/dist/artifacts/26-portable-agentic-system/analysis.md +0 -117
  191. package/dist/artifacts/26-portable-agentic-system/architect/review.md +0 -41
  192. package/dist/artifacts/26-portable-agentic-system/plan.md +0 -146
  193. package/dist/artifacts/26-portable-agentic-system/researcher/research.md +0 -96
  194. package/dist/artifacts/26-portable-agentic-system/task.md +0 -50
  195. package/dist/artifacts/26-portable-agentic-system/verification.md +0 -67
  196. package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +0 -74
  197. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +0 -86
  198. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +0 -88
  199. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +0 -89
  200. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +0 -85
  201. package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +0 -84
  202. package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +0 -90
  203. package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +0 -44
  204. package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +0 -17
  205. package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +0 -52
  206. package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +0 -122
  207. package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +0 -73
  208. package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +0 -51
  209. package/dist/artifacts/27-update-portable-module-agent-identity/task.md +0 -115
  210. package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +0 -66
  211. package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +0 -67
  212. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +0 -88
  213. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +0 -87
  214. package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +0 -86
  215. package/dist/artifacts/28-agent-system-update-conversion/analysis.md +0 -153
  216. package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +0 -93
  217. package/dist/artifacts/28-agent-system-update-conversion/metrics.md +0 -43
  218. package/dist/artifacts/28-agent-system-update-conversion/plan.md +0 -153
  219. package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +0 -66
  220. package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +0 -125
  221. package/dist/artifacts/28-agent-system-update-conversion/task.md +0 -103
  222. package/dist/artifacts/28-agent-system-update-conversion/verification.md +0 -60
  223. package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +0 -38
  224. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +0 -85
  225. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +0 -90
  226. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +0 -92
  227. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +0 -84
  228. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +0 -92
  229. package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +0 -85
  230. package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +0 -119
  231. package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +0 -46
  232. package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +0 -95
  233. package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +0 -68
  234. package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +0 -59
  235. package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +0 -99
  236. package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +0 -54
  237. package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +0 -18
  238. package/dist/artifacts/3-developer-feedback-gate/analysis.md +0 -27
  239. package/dist/artifacts/3-developer-feedback-gate/changelog.md +0 -10
  240. package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +0 -32
  241. package/dist/artifacts/3-developer-feedback-gate/init.md +0 -13
  242. package/dist/artifacts/3-developer-feedback-gate/metrics.md +0 -34
  243. package/dist/artifacts/3-developer-feedback-gate/research.md +0 -28
  244. package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +0 -17
  245. package/dist/artifacts/3-developer-feedback-gate/task.md +0 -17
  246. package/dist/artifacts/3-developer-feedback-gate/verification.md +0 -35
  247. package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +0 -46
  248. package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +0 -34
  249. package/dist/artifacts/30-task-execution-protocol-gates/task.md +0 -77
  250. package/dist/artifacts/4-adr-workflows-modulos/adr.md +0 -380
  251. package/dist/artifacts/4-adr-workflows-modulos/analysis.md +0 -353
  252. package/dist/artifacts/4-adr-workflows-modulos/plan.md +0 -301
  253. package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +0 -253
  254. package/dist/artifacts/4-adr-workflows-modulos/results.md +0 -202
  255. package/dist/artifacts/4-adr-workflows-modulos/task.md +0 -143
  256. package/dist/artifacts/4-adr-workflows-modulos/verification.md +0 -123
  257. package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +0 -169
  258. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +0 -105
  259. package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +0 -90
  260. package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +0 -7
  261. package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +0 -34
  262. package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +0 -163
  263. package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +0 -105
  264. package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +0 -153
  265. package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +0 -147
  266. package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +0 -79
  267. package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +0 -153
  268. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +0 -103
  269. package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +0 -79
  270. package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +0 -8
  271. package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +0 -34
  272. package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +0 -131
  273. package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +0 -86
  274. package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +0 -108
  275. package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +0 -147
  276. package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +0 -74
  277. package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +0 -33
  278. package/dist/artifacts/7-modules-globals-constants/analysis.md +0 -205
  279. package/dist/artifacts/7-modules-globals-constants/architect/review.md +0 -110
  280. package/dist/artifacts/7-modules-globals-constants/metrics.md +0 -45
  281. package/dist/artifacts/7-modules-globals-constants/plan.md +0 -276
  282. package/dist/artifacts/7-modules-globals-constants/researcher/research.md +0 -247
  283. package/dist/artifacts/7-modules-globals-constants/task.md +0 -112
  284. package/dist/artifacts/7-modules-globals-constants/verification.md +0 -76
  285. package/dist/artifacts/8-module-workflow-refactor/analysis.md +0 -131
  286. package/dist/artifacts/8-module-workflow-refactor/changelog.md +0 -24
  287. package/dist/artifacts/8-module-workflow-refactor/metrics.md +0 -37
  288. package/dist/artifacts/8-module-workflow-refactor/plan.md +0 -193
  289. package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +0 -222
  290. package/dist/artifacts/8-module-workflow-refactor/results.md +0 -112
  291. package/dist/artifacts/8-module-workflow-refactor/review.md +0 -76
  292. package/dist/artifacts/8-module-workflow-refactor/task.md +0 -154
  293. package/dist/artifacts/8-module-workflow-refactor/verification.md +0 -76
  294. package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +0 -64
  295. package/dist/artifacts/9-build-stabilization/analysis.md +0 -62
  296. package/dist/artifacts/9-build-stabilization/metrics.md +0 -11
  297. package/dist/artifacts/9-build-stabilization/plan.md +0 -82
  298. package/dist/artifacts/9-build-stabilization/researcher/research.md +0 -102
  299. package/dist/artifacts/9-build-stabilization/task.md +0 -23
  300. package/dist/artifacts/9-build-stabilization/walkthrough.md +0 -56
  301. package/dist/artifacts/candidate/init.md +0 -34
  302. package/dist/artifacts/candidate/task.md +0 -24
  303. package/dist/metrics/agent-scores.md +0 -30
  304. package/dist/metrics/agents.json +0 -106
  305. package/dist/metrics/index.md +0 -23
  306. package/dist/rules/constitution/drivers.md +0 -294
  307. package/dist/rules/constitution/extensio-architecture.md +0 -131
  308. package/dist/rules/constitution/modules.md +0 -280
  309. package/dist/rules/constitution/pages.md +0 -454
  310. package/dist/rules/constitution/shards.md +0 -484
  311. package/dist/rules/roles/driver.md +0 -172
  312. package/dist/rules/roles/module.md +0 -175
  313. package/dist/rules/roles/surface.md +0 -60
  314. package/dist/rules/roles/tooling.md +0 -68
  315. package/dist/skills/extensio-build/SKILL.md +0 -161
  316. package/dist/skills/extensio-create-driver/SKILL.md +0 -89
  317. package/dist/skills/extensio-create-module/SKILL.md +0 -91
  318. package/dist/skills/extensio-demo/SKILL.md +0 -84
  319. package/dist/skills/extensio-test/SKILL.md +0 -96
  320. package/dist/skills/extensio-validate-code/SKILL.md +0 -262
  321. package/dist/skills/index.md +0 -79
  322. package/dist/templates/driver-create.md +0 -116
  323. package/dist/templates/driver-delete.md +0 -84
  324. package/dist/templates/driver-refactor.md +0 -94
  325. package/dist/templates/module-create.md +0 -117
  326. package/dist/templates/module-delete.md +0 -79
  327. package/dist/templates/module-refactor.md +0 -87
  328. package/dist/todo/001-anadir-seccion-reasoning.md +0 -42
  329. package/dist/todo/002-anadir-ejemplos-few-shot.md +0 -46
  330. package/dist/todo/003-explorar-paralelizacion-phase4.md +0 -46
  331. package/dist/todo/004-portable-agentic-system.md +0 -44
  332. package/dist/todo/README.md +0 -58
  333. package/dist/todo/index.md +0 -27
  334. package/dist/tools/extensio-cli.md +0 -76
  335. package/dist/tools/index.md +0 -14
  336. package/dist/tools/run-command.md +0 -42
  337. package/dist/workflows/drivers/create.md +0 -139
  338. package/dist/workflows/drivers/delete.md +0 -124
  339. package/dist/workflows/drivers/index.md +0 -25
  340. package/dist/workflows/drivers/refactor.md +0 -125
  341. package/dist/workflows/modules/create.md +0 -160
  342. package/dist/workflows/modules/delete.md +0 -121
  343. package/dist/workflows/modules/index.md +0 -27
  344. package/dist/workflows/modules/pages.create.md +0 -234
  345. package/dist/workflows/modules/refactor.md +0 -122
  346. package/dist/workflows/modules/shards.create.md +0 -215
@@ -1,148 +0,0 @@
1
- ---
2
- artifact: subtask-implementation
3
- phase: phase-4-implementation
4
- agent: surface-agent
5
- status: completed
6
- related_task: 17-implementacion-loadshard-external-agnostic--esm
7
- subtask_id: 3
8
- subtask_title: Shard Auto-Resize & Communication
9
- completed_at: 2026-01-17T17:17:00Z
10
- ---
11
-
12
- # Subtask Implementation — Surface Agent — Subtask 3
13
-
14
- ## Agente Responsable
15
- 🎨 **surface-agent**
16
-
17
- ## Objetivo de la Subtask
18
- Implementar auto-resize en la clase base `Shard` mediante `ResizeObserver`, permitiendo que los Shards inyectados en iframes comuniquen automáticamente su tamaño al contenedor host.
19
-
20
- ## Cambios Realizados
21
-
22
- ### Archivo: `packages/core/src/surface/shards/index.mts`
23
-
24
- #### Cambio 1: Propiedad privada para ResizeObserver
25
- **Líneas añadidas**: 20-21
26
-
27
- **Código**:
28
- ```typescript
29
- // ResizeObserver for auto-resize in iframes
30
- private _resizeObserver: ResizeObserver | null = null;
31
- ```
32
-
33
- **Justificación**: Almacenar la referencia al observer para poder limpiarlo en `unmount()` y evitar memory leaks.
34
-
35
- #### Cambio 2: Inicialización del ResizeObserver en `mount()`
36
- **Líneas modificadas**: 172-177
37
-
38
- **Añadido**:
39
- ```typescript
40
- // Initialize ResizeObserver for auto-resize in iframes
41
- this._setupResizeObserver(container);
42
- ```
43
-
44
- **Justificación**: El observer se inicializa después de `render()` para asegurar que el contenido ya está montado y tiene dimensiones.
45
-
46
- #### Cambio 3: Limpieza del ResizeObserver en `unmount()`
47
- **Líneas modificadas**: 195-201
48
-
49
- **Añadido**:
50
- ```typescript
51
- // Clean up ResizeObserver
52
- if (this._resizeObserver) {
53
- this._resizeObserver.disconnect();
54
- this._resizeObserver = null;
55
- }
56
- ```
57
-
58
- **Justificación**: Prevenir memory leaks desconectando el observer cuando el Shard se desmonta.
59
-
60
- #### Cambio 4: Método privado `_setupResizeObserver()`
61
- **Líneas añadidas**: 264-289
62
-
63
- **Código completo**:
64
- ```typescript
65
- private _setupResizeObserver(container: HTMLElement): void {
66
- // Only setup if we're inside an iframe
67
- if (window === window.parent) {
68
- return; // Not in an iframe, skip
69
- }
70
-
71
- this._resizeObserver = new ResizeObserver(entries => {
72
- for (const entry of entries) {
73
- const { width, height } = entry.contentRect;
74
-
75
- // Send resize message to parent (iframe host)
76
- window.parent.postMessage({
77
- type: 'extensio:shard:resize',
78
- width: Math.ceil(width),
79
- height: Math.ceil(height)
80
- }, '*');
81
- }
82
- });
83
-
84
- // Observe the container element
85
- this._resizeObserver.observe(container);
86
- }
87
- ```
88
-
89
- **Decisiones técnicas**:
90
- 1. **Detección de iframe**: `window === window.parent` → si son iguales, NO estamos en iframe
91
- 2. **Protocolo de mensaje**: Tipo `extensio:shard:resize` con payload `{width, height}`
92
- 3. **Math.ceil()**: Redondear hacia arriba para evitar scrollbars por fracciones de pixel
93
- 4. **Target**: `window.parent` (el documento que contiene el iframe)
94
- 5. **Origin**: `'*'` por ahora (TODO: validar origen para seguridad)
95
-
96
- ## Decisiones Técnicas
97
-
98
- ### 1. ResizeObserver vs MutationObserver
99
- **Decisión**: Usar `ResizeObserver`.
100
- **Razón**: Más eficiente y específico para detectar cambios de tamaño. `MutationObserver` es para cambios en el DOM.
101
-
102
- ### 2. Observar container vs document.body
103
- **Decisión**: Observar el `container` pasado a `mount()`.
104
- **Razón**: El Shard puede no ocupar todo el body, solo su contenedor específico.
105
-
106
- ### 3. Activación condicional
107
- **Decisión**: Solo activar si `window !== window.parent`.
108
- **Razón**: No tiene sentido enviar mensajes si no estamos en un iframe. Evita overhead innecesario.
109
-
110
- ### 4. Limpieza en unmount
111
- **Decisión**: Desconectar y nullificar el observer.
112
- **Razón**: Prevenir memory leaks, especialmente en SPAs donde los Shards pueden montarse/desmontarse múltiples veces.
113
-
114
- ## Compatibilidad
115
-
116
- ### Navegadores
117
- - ✅ Chrome/Chromium: Soporte completo de `ResizeObserver`
118
- - ✅ Firefox: Soporte completo desde v69
119
- - ✅ Safari: Soporte completo desde v13.1
120
-
121
- ### Shards Existentes
122
- - ✅ **No breaking changes**: Los Shards que no están en iframes no se ven afectados
123
- - ✅ **Opt-in automático**: Los Shards en iframes obtienen auto-resize sin cambios en su código
124
-
125
- ## Desviaciones
126
- Ninguna. La implementación sigue exactamente el plan aprobado y la activación del agente.
127
-
128
- ## Constituciones Validadas
129
- - ✅ `constitution.shards`: Lifecycle hooks respetados, no se rompe la API
130
- - ✅ `constitution.clean_code`: Método privado pequeño y focalizado
131
- - ✅ `constitution.extensio_architecture`: Comunicación unidireccional, no acoplamiento
132
-
133
- ## Próximos Pasos Sugeridos
134
- 1. **Paso 4 (architect/module)**: Implementar AI Layout Estimation
135
- 2. **Paso 5-7 (qa-agent)**: Crear demo y tests E2E
136
- 3. **Mejora de seguridad**: Validar `event.origin` en el listener de `postMessage` del host
137
-
138
- ## Notas de Seguridad
139
- ⚠️ **TODO**: Actualmente el `postMessage` usa `'*'` como origin. En producción, debería validarse que el mensaje solo se envíe a orígenes de confianza (la propia extensión).
140
-
141
- ## Estado
142
- ✅ **COMPLETADO**
143
-
144
- ---
145
-
146
- **Implementado por**: 🎨 surface-agent
147
- **Supervisado por**: 🏛️ architect-agent
148
- **Fecha**: 2026-01-17T17:17:00Z
@@ -1,146 +0,0 @@
1
- # Task (Template)
2
-
3
- ## Identificación
4
- - id: 17
5
- - title: Implementación de loadShard External (Agnostic & ESM)
6
- - scope: current
7
- - owner: architect-agent
8
-
9
- ## Origen
10
- - created_from:
11
- - workflow: tasklifecycle
12
- - source: init / tasklifecycle
13
- - candidate_path: .agent/artifacts/candidate/task.md
14
-
15
- ## Descripción de la tarea
16
- Revisar el core, especialmente el Engine, para verificar y asegurar que `loadShard` es capaz de insertar shards en páginas que no son Surface Pages (externas). Un Shard debe ser un elemento agnóstico e aislado (WebComponents/ShadowRoot) que no altere la funcionalidad de la página huésped. Debe soportar ESM nativo en el navegador para permitir shards hijos sin necesidad de bundles, utilizando siempre la build actual de Extensio. Para Firefox, donde ESM en Content Scripts no es compatible, se debe generar un bundle específico.
17
-
18
- Además, se debe analizar y refactorizar el `Engine` para unificar los listeners de `Runtime.onMessage`. Actualmente existen duplicados (en constructor y `_listen`) que complican la carga de módulos y el ciclo de vida.
19
-
20
- ## Objetivo
21
- Permitir la inserción de shards en páginas de navegación externas, garantizando el aislamiento mediante WebComponents/ShadowRoot y comunicación ESM pura sin bundles (excepto en Firefox).
22
-
23
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
24
-
25
- ```yaml
26
- task:
27
- id: "17"
28
- title: "Implementación de loadShard External (Agnostic & ESM)"
29
- strategy: "long" # long | short
30
- phase:
31
- current: "phase-5-verification"
32
- validated_by: "architect-agent"
33
- updated_at: "2026-01-17T17:27:00Z"
34
- lifecycle:
35
- phases:
36
- phase-0-acceptance-criteria:
37
- completed: true
38
- validated_by: "architect-agent"
39
- validated_at: "2026-01-17T16:03:00Z"
40
- phase-1-research:
41
- completed: true
42
- validated_by: "architect-agent"
43
- validated_at: "2026-01-17T16:30:00Z"
44
- phase-2-analysis:
45
- completed: true
46
- validated_by: "architect-agent"
47
- validated_at: "2026-01-17T16:35:00Z"
48
- phase-3-planning:
49
- completed: true
50
- validated_by: "architect-agent"
51
- validated_at: "2026-01-17T16:40:00Z"
52
- phase-4-implementation:
53
- completed: true
54
- validated_by: "architect-agent"
55
- validated_at: "2026-01-17T17:27:00Z"
56
- phase-5-verification:
57
- completed: true
58
- validated_by: "qa-agent"
59
- validated_at: "2026-01-17T17:29:00Z"
60
- phase-6-results-acceptance:
61
- completed: false
62
- validated_by: null
63
- validated_at: null
64
- phase-7-evaluation:
65
- completed: false
66
- validated_by: null
67
- validated_at: null
68
- phase-8-commit-push:
69
- completed: false
70
- validated_by: null
71
- validated_at: null
72
- ```
73
-
74
- ## 5 Preguntas Obligatorias (REQUERIDO - Phase 0)
75
- > El architect-agent **DEBE** analizar la descripción/objetivo de la tarea y formular 5 preguntas específicas.
76
-
77
- | # | Pregunta (formulada por architect) | Respuesta (del desarrollador) |
78
- |---|-----------------------------------|-------------------------------|
79
- | 1 | ¿Debemos soportar navegadores que no tengan soporte completo de ESM en Content Scripts (como Firefox actualmente)? | Verifica que no es compatible. Si no lo es, la build debe subsanar este problema, y la forma mas limpia es crear un bundle para cuando es Firefox. |
80
- | 2 | En cuanto al aislamiento, ¿Shadow Root "open" es suficiente o se requiere "closed" por algún requerimiento de seguridad extremo? | Close por requisitos de seguridad pero le preocupa mas el javascript. |
81
- | 3 | ¿Cómo se debe gestionar el registro de Shards en la página externa para evitar colisiones de nombres de WebComponents (Custom Elements)? | Para evitar colisión de nombres los shards deben tener el prefijo extensio-<nombre-shard>. |
82
- | 4 | Para shards hijos, ¿el motor debe inyectar un Import Map en la página huésped para resolver las dependencias de Extensio Core? | [Pendiente de confirmación técnica en Research, pero el objetivo es ESM puro sin bundles para Chrome] |
83
- | 5 | ¿Existe alguna restricción de Content Security Policy (CSP) en las páginas destino que debamos considerar para la inyección de scripts ESM? | [Pendiente de confirmación técnica en Research] |
84
-
85
- ---
86
-
87
- ## Acceptance Criteria (OBLIGATORIO PARA CURRENT TASK)
88
- > Esta sección se deriva de las 5 respuestas anteriores.
89
-
90
- 1. Alcance:
91
- - Implementación de inyección dinámica de Shards en dominios externos.
92
- - Soporte multi-browser (ESM para Chrome, Bundle para Firefox).
93
-
94
- 2. Entradas / Datos:
95
- - Ruta del Shard, opciones de inyección.
96
-
97
- 3. Salidas / Resultado esperado:
98
- - Shard renderizado dentro de un **Iframe contenedor**.
99
- - Iframe registrado con prefijo `extensio-`.
100
- - Aislamiento total de JS y CSS mediante iframe.
101
-
102
- 4. Restricciones:
103
- - Inyección externa SIEMPRE vía Iframe.
104
- - Prefijo obligatorio `extensio-`.
105
- - Soporte nativo de ESM dentro del iframe (sin Import Maps externos).
106
-
107
- 5. Criterio de aceptación (Done):
108
- - [ ] Refactorización de `Engine`: unificación de listeners de mensajes y simplificación de carga.
109
- - [ ] Implementación de `loadShard` para inyección de Iframe en dominios externos.
110
- - [ ] Mecanismo de auto-resize del iframe basado en `ResizeObserver` y AI de Google Extensio.
111
- - [ ] Verificación de ESM funcional en Chrome y Firefox dentro del iframe.
112
-
113
- ## Historial de validaciones (append-only)
114
- ```yaml
115
- history:
116
- - phase: "phase-0-acceptance-criteria"
117
- action: "completed"
118
- validated_by: "architect-agent"
119
- timestamp: "2026-01-17T16:03:00Z"
120
- notes: "Acceptance criteria definidos y validados por el desarrollador. Se avanza a Phase 1."
121
- - phase: "phase-1-research"
122
- action: "completed"
123
- validated_by: "architect-agent"
124
- timestamp: "2026-01-17T16:30:00Z"
125
- notes: "Research validado por el desarrollador. Se confirma la vía de Iframe + Shadow DOM y el bypass de CSP. Se avanza a Phase 2."
126
- - phase: "phase-2-analysis"
127
- action: "completed"
128
- validated_by: "architect-agent"
129
- timestamp: "2026-01-17T16:35:00Z"
130
- notes: "Análisis aprobado por el desarrollador. Se simplifica la estrategia a inyección SIEMPRE vía Iframe y se elimina la necesidad de Import Maps externos. Se avanza a Phase 3."
131
- - phase: "phase-3-planning"
132
- action: "completed"
133
- validated_by: "architect-agent"
134
- timestamp: "2026-01-17T16:40:00Z"
135
- notes: "Plan aprobado por el desarrollador. Se incluye infraestructura de demo en packages/core/demo con scripts manual y automation. Se avanza a Phase 4."
136
- ```
137
-
138
- ## Reglas contractuales
139
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
140
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
141
- - El campo `task.lifecycle.phases.*` **SOLO puede ser marcado como completed por `architect-agent`**.
142
- - Una fase **NO puede marcarse como completed** si no es la fase actual.
143
- - El avance de fase requiere:
144
- 1. Marcar la fase actual como `completed: true`
145
- 2. Validación explícita del architect
146
- 3. Actualización de `task.phase.current` a la siguiente fase
@@ -1,140 +0,0 @@
1
- # Task
2
-
3
- ## Identificación
4
- - id: 18
5
- - title: refactor-phase-4-implementation
6
- - scope: current
7
- - owner: architect-agent
8
-
9
- ## Origen
10
- - created_from:
11
- - workflow: tasklifecycle
12
- - source: init
13
- - candidate_path: .agent/artifacts/candidate/task.md
14
-
15
- ## Descripción de la tarea
16
- Refactorización de la Fase 4 (Implementación) del ciclo de vida de tareas. Cambiar el modelo de implementación monolítico a un modelo de delegación donde cada tarea de agente es un workflow independiente con gate de aprobación del desarrollador.
17
-
18
- ## Objetivo
19
- 1. Redefinir la Fase 4 para que el arquitecto asigne tareas granulares a los agentes.
20
- 2. Cada tarea de agente debe tener: input (objetivo definido por arquitecto), output (definido por arquitecto), gate (aprobación del desarrollador).
21
- 3. La Fase 4 termina cuando todas las tareas del plan han sido ejecutadas y aprobadas.
22
- 4. La Fase 5 valida técnicamente (tests) pero NO corrige; si hay error, se delega una nueva tarea al agente responsable.
23
- 5. Evaluar si el workflow `/refinement-delegation` es redundante con este nuevo modelo.
24
-
25
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
26
-
27
- ```yaml
28
- task:
29
- id: "18"
30
- title: "refactor-phase-4-implementation"
31
- strategy: "long"
32
- phase:
33
- current: "phase-1-research"
34
- validated_by: "architect-agent"
35
- updated_at: "2026-01-17T22:50:00+01:00"
36
- lifecycle:
37
- phases:
38
- phase-0-acceptance-criteria:
39
- completed: true
40
- validated_by: architect-agent
41
- validated_at: "2026-01-17T22:50:00+01:00"
42
- phase-1-research:
43
- completed: false
44
- validated_by: null
45
- validated_at: null
46
- phase-2-analysis:
47
- completed: false
48
- validated_by: null
49
- validated_at: null
50
- phase-3-planning:
51
- completed: false
52
- validated_by: null
53
- validated_at: null
54
- phase-4-implementation:
55
- completed: false
56
- validated_by: null
57
- validated_at: null
58
- phase-5-verification:
59
- completed: false
60
- validated_by: null
61
- validated_at: null
62
- phase-6-results-acceptance:
63
- completed: false
64
- validated_by: null
65
- validated_at: null
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
- ## 5 Preguntas Obligatorias (REQUERIDO - Phase 0)
77
-
78
- | # | Pregunta (formulada por architect) | Respuesta (del desarrollador) |
79
- |---|-----------------------------------|-------------------------------|
80
- | 1 | ¿Deseas que cada tarea de agente sea un fichero `.md` independiente o secciones dentro de un artefacto de coordinación? | Sea un fichero independiente |
81
- | 2 | El Gate de revisión del desarrollador, ¿debe ser aprobación formal (SI/NO) en YAML o validación de código? | El mismo formato que los gate de workflows que tenemos así como el propio formato de workflow |
82
- | 3 | ¿La Fase 6 debe convertirse en "consolidador de aprobaciones" o mantenerse como cierre final? | Mantener la Fase 4 pero su gate será la realización de todas las tareas definidas en la planificación y que el desarrollador las haya aceptado, con una última gate de confirmación global. El output es la ejecución de todas las tareas del plan. |
83
- | 4 | Si apruebas cada tarea en Fase 4, ¿cómo afecta a la Fase 5 (Verificación)? | La Fase 5 es de testeo y validación. Si existe tarea de test se valida aquí pero NUNCA se arregla código. Se notifica el error y se resuelve por el agente responsable mediante un workflow de tarea específica para esa issue. |
84
- | 5 | ¿Crees que el nuevo modelo granular de Fase 4 cubre las iteraciones, eliminando `/refinement-delegation`? | Analiza si hace falta |
85
-
86
- ---
87
-
88
- ## Acceptance Criteria (OBLIGATORIO PARA CURRENT TASK)
89
-
90
- 1. **Alcance**:
91
- - Modificar `phase-4-implementation.md` para soportar delegación granular.
92
- - Crear template `agent-task.md` para las tareas individuales de agente.
93
- - Ajustar `phase-5-verification.md` para que notifique errores sin corregir.
94
- - Analizar redundancia de `refinement-delegation.md`.
95
-
96
- 2. **Entradas / Datos**:
97
- - Workflows actuales: `phase-4-implementation.md`, `phase-5-verification.md`, `phase-6-results-acceptance.md`
98
- - Template actual: `subtask-implementation.md`
99
- - Workflow de iteración: `refinement-delegation.md`
100
-
101
- 3. **Salidas / Resultado esperado**:
102
- - [ ] `phase-4-implementation.md` refactorizado con modelo de tareas granulares
103
- - [ ] Nuevo template `agent-task.md` con estructura de workflow (Input, Output, Gate)
104
- - [ ] `phase-5-verification.md` ajustado para notificar sin corregir
105
- - [ ] Decisión documentada sobre eliminación/conservación de `refinement-delegation.md`
106
- - [ ] Actualización del índice de workflows si procede
107
-
108
- 4. **Restricciones**:
109
- - Cada tarea de agente DEBE ser un fichero `.md` independiente.
110
- - El Gate de cada tarea DEBE seguir el formato de gates de workflow.
111
- - La Fase 5 NO puede modificar código; solo notifica errores.
112
- - Se DEBE mantener compatibilidad con el ciclo Long existente.
113
-
114
- 5. **Criterio de aceptación (Done)**:
115
- - [ ] AC1: `phase-4-implementation.md` usa modelo de tareas granulares con ficheros independientes
116
- - [ ] AC2: Existe template `agent-task.md` con Input/Output/Gate en formato workflow
117
- - [ ] AC3: `phase-5-verification.md` notifica errores y delega correcciones
118
- - [ ] AC4: Análisis documentado sobre `refinement-delegation.md` con decisión
119
- - [ ] AC5: Tests de estructura de workflows validan los nuevos artefactos
120
-
121
- ## Historial de validaciones (append-only)
122
- ```yaml
123
- history:
124
- - phase: "phase-0-acceptance-criteria"
125
- action: "completed"
126
- validated_by: "architect-agent"
127
- timestamp: "2026-01-17T22:50:00+01:00"
128
- notes: "Gate PASS. 5 preguntas respondidas y acceptance criteria definidos."
129
- notes: "5 preguntas respondidas. Acceptance criteria definidos."
130
- ```
131
-
132
- ## Reglas contractuales
133
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
134
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
135
- - El campo `task.lifecycle.phases.*` **SOLO puede ser marcado como completed por `architect-agent`**.
136
- - Una fase **NO puede marcarse como completed** si no es la fase actual.
137
- - El avance de fase requiere:
138
- 1. Marcar la fase actual como `completed: true`
139
- 2. Validación explícita del architect
140
- 3. Actualización de `task.phase.current` a la siguiente fase
@@ -1,58 +0,0 @@
1
- ---
2
- artifact: agent_scores
3
- phase: phase-7-evaluation
4
- owner: architect-agent
5
- related_task: 19-refinar-sistema-agentes-ciclo-vida
6
- ---
7
-
8
- # Agent Evaluation — Task #19
9
-
10
- 🏛️ **architect-agent**: Evaluación de participación de agentes.
11
-
12
- ## Participación por Agente
13
-
14
- | Agente | Tareas Asignadas | Tareas Completadas | Cumplimiento |
15
- |--------|------------------|-------------------|--------------|
16
- | architect-agent | 5 | 5 | 100% |
17
- | qa-agent | 1 | 1 | 100% |
18
- | researcher-agent | 1 (Phase 1) | 1 | 100% |
19
-
20
- ## Puntuaciones
21
-
22
- | Agente | Calidad | Velocidad | Adherencia a Reglas | Total |
23
- |--------|---------|-----------|---------------------|-------|
24
- | architect-agent | 9/10 | 9/10 | 10/10 | 9.3/10 |
25
- | researcher-agent | 8/10 | 9/10 | 9/10 | 8.7/10 |
26
- | qa-agent | 9/10 | 10/10 | 10/10 | 9.7/10 |
27
-
28
- ## Observaciones
29
-
30
- ### architect-agent
31
- - Ejecutó 5/6 tareas de implementación correctamente
32
- - Mantuvo coherencia con el plan aprobado
33
- - Sin desviaciones del scope
34
-
35
- ### researcher-agent
36
- - Research completo con fuentes oficiales
37
- - Documentación clara sin mezclar análisis
38
- - Cumplió la nueva regla PERMANENT
39
-
40
- ### qa-agent
41
- - Validación exhaustiva de todos los AC
42
- - Informe claro y estructurado
43
- - Sin falsos positivos/negativos
44
-
45
- ## Mejoras Detectadas
46
-
47
- Ninguna mejora pendiente para añadir al TODO backlog.
48
-
49
- ---
50
-
51
- ## Aprobación
52
-
53
- ```yaml
54
- approval:
55
- architect:
56
- decision: SI
57
- date: 2026-01-18T18:43:42+01:00
58
- ```
@@ -1,78 +0,0 @@
1
- ---
2
- artifact: agent_task
3
- phase: phase-4-implementation
4
- owner: architect-agent
5
- status: completed
6
- related_task: 19-refinar-sistema-agentes-ciclo-vida
7
- task_number: 1
8
- ---
9
-
10
- # Agent Task — 1-architect-refactor-research-template
11
-
12
- ## Input (REQUIRED)
13
- - **Objetivo**: Eliminar secciones de análisis del template de research
14
- - **Alcance**: Modificar `.agent/templates/research.md`
15
- - **Dependencias**: Ninguna
16
-
17
- ## Output (REQUIRED)
18
- - **Entregables**:
19
- - `templates/research.md` modificado
20
- - **Evidencia requerida**:
21
- - Diff del fichero mostrando secciones renombradas/eliminadas
22
-
23
- ---
24
-
25
- ## Execution
26
-
27
- ```yaml
28
- execution:
29
- agent: "architect-agent"
30
- status: completed
31
- started_at: "2026-01-18T18:30:04+01:00"
32
- completed_at: "2026-01-18T18:31:00+01:00"
33
- ```
34
-
35
- ---
36
-
37
- ## Implementation Report
38
-
39
- 🏛️ **architect-agent**:
40
-
41
- ### Cambios realizados
42
- 1. Renombrada sección "3. Alternativas técnicas" → "3. Hallazgos técnicos"
43
- 2. Eliminada subsección "Decisión recomendada" de la sección 4
44
- 3. Renombrada sección "6. Recomendaciones AI-first" → "6. Oportunidades AI-first detectadas"
45
- 4. Añadida nota PERMANENT al inicio indicando que Research solo documenta
46
-
47
- ### Decisiones técnicas
48
- - Se mantiene la estructura de secciones para retrocompatibilidad
49
- - Se usa terminología neutra (hallazgos, detecciones) en lugar de valorativa (recomendaciones)
50
-
51
- ### Evidencia
52
- - Ver diff aplicado en `templates/research.md`
53
-
54
- ### Desviaciones del objetivo
55
- - Ninguna
56
-
57
- ---
58
-
59
- ## Gate (REQUIRED)
60
-
61
- ```yaml
62
- approval:
63
- developer:
64
- decision: SI
65
- date: 2026-01-18T18:33:47+01:00
66
- comments: Aprobado
67
- ```
68
-
69
- ---
70
-
71
- ## Reglas contractuales
72
-
73
- 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
74
- 2. Si Gate FAIL (`decision: NO`):
75
- - El arquitecto define acciones correctivas.
76
- - Se genera una nueva tarea de corrección si procede.
77
- 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
78
- 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.
@@ -1,76 +0,0 @@
1
- ---
2
- artifact: agent_task
3
- phase: phase-4-implementation
4
- owner: architect-agent
5
- status: completed
6
- related_task: 19-refinar-sistema-agentes-ciclo-vida
7
- task_number: 2
8
- ---
9
-
10
- # Agent Task — 2-architect-refactor-analysis-template
11
-
12
- ## Input (REQUIRED)
13
- - **Objetivo**: Añadir consulta obligatoria a TODO backlog en template de analysis
14
- - **Alcance**: Modificar `.agent/templates/analysis.md`
15
- - **Dependencias**: Ninguna
16
-
17
- ## Output (REQUIRED)
18
- - **Entregables**:
19
- - `templates/analysis.md` modificado
20
- - **Evidencia requerida**:
21
- - Diff del fichero mostrando nueva sección TODO
22
-
23
- ---
24
-
25
- ## Execution
26
-
27
- ```yaml
28
- execution:
29
- agent: "architect-agent"
30
- status: completed
31
- started_at: "2026-01-18T18:33:47+01:00"
32
- completed_at: "2026-01-18T18:34:00+01:00"
33
- ```
34
-
35
- ---
36
-
37
- ## Implementation Report
38
-
39
- 🏛️ **architect-agent**:
40
-
41
- ### Cambios realizados
42
- 1. Añadida sección "9. TODO Backlog (Consulta obligatoria)" antes de Aprobación
43
- 2. Documentado el formato esperado para la consulta al backlog
44
-
45
- ### Decisiones técnicas
46
- - La sección es obligatoria pero el resultado puede indicar "directorio vacío"
47
- - Se mantiene coherencia con el formato del resto del template
48
-
49
- ### Evidencia
50
- - Ver diff aplicado en `templates/analysis.md`
51
-
52
- ### Desviaciones del objetivo
53
- - Ninguna
54
-
55
- ---
56
-
57
- ## Gate (REQUIRED)
58
-
59
- ```yaml
60
- approval:
61
- developer:
62
- decision: SI
63
- date: 2026-01-18T18:35:23+01:00
64
- comments: Aprobado
65
- ```
66
-
67
- ---
68
-
69
- ## Reglas contractuales
70
-
71
- 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
72
- 2. Si Gate FAIL (`decision: NO`):
73
- - El arquitecto define acciones correctivas.
74
- - Se genera una nueva tarea de corrección si procede.
75
- 3. El agente asignado **NO puede modificar** el Input ni el Output definidos por el arquitecto.
76
- 4. El Gate es **síncrono y bloqueante**: el flujo se detiene hasta obtener respuesta del desarrollador.