@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,85 +0,0 @@
1
- ---
2
- artifact: agent_task
3
- phase: phase-4-implementation
4
- owner: architect-agent
5
- status: pending
6
- related_task: 29-Agentic Framework Core Reference Refactor
7
- task_number: 6
8
- ---
9
-
10
- # Agent Task — 6-architect-neo-agent-birth
11
-
12
- ## Identificacion del agente (OBLIGATORIA)
13
- 🏛️ **architect-agent**: Ejecutando el nacimiento del primer agente local **neo-agent** usando la nueva infraestructura.
14
-
15
- ## Input (REQUIRED)
16
- - **Objetivo**: Crear el primer rol de tipo `developer` llamado **neo-agent** en el repositorio del usuario.
17
- - **Alcance**:
18
- - Utilizar el comando `agentic-workflow create role neo`.
19
- - Personalizar el rol para que sea un especialista en desarrollo de software con enfoque en el framework.
20
- - El archivo debe residir físicamente en `.agent/rules/roles/neo.md`.
21
- - **Dependencias**: Agent Task #3 (Scaffolding System).
22
-
23
- ---
24
-
25
- ## Reasoning (OBLIGATORIO)
26
-
27
- ### Análisis del objetivo
28
- Validar el sistema de extensión local creando un compañero desarrollador que viva en el repo del usuario, demostrando la coexistencia con el core en node_modules.
29
-
30
- ### Opciones consideradas
31
- Crear el archivo manualmente vs Usar el comando CLI refactorizado. Usaré el comando CLI para validar el flujo "end-to-end".
32
-
33
- ### Decisión tomada
34
- Ejecutar el comando de creación y luego refinar el contenido del rol `neo-agent` para darle una personalidad técnica de alto nivel.
35
-
36
- ---
37
-
38
- ## Output (REQUIRED)
39
- - **Entregables**:
40
- - `.agent/rules/roles/neo.md`
41
- - **Evidencia requerida**:
42
- - El archivo debe existir en la carpeta local y ser coherente con el estilo de roles del framework.
43
-
44
- ---
45
-
46
- ## Execution
47
-
48
- ```yaml
49
- execution:
50
- agent: "architect-agent"
51
- status: completed
52
- started_at: "2026-01-20T08:15:00+01:00"
53
- completed_at: "2026-01-20T08:18:00+01:00"
54
- ```
55
-
56
- ---
57
-
58
- ## Implementation Report
59
-
60
- ### Cambios realizados
61
- - Ejecutado el comando `agentic-workflow create role neo` tras realizar un build previo del paquete.
62
- - Personalizado el contenido de `.agent/rules/roles/neo.md` con una identidad de "Productive Developer".
63
-
64
- ### Decisiones técnicas
65
- - El uso del comando `create` validó que el sistema de scaffolding detecta correctamente la falta de roles colisionantes y crea la estructura local operativa.
66
-
67
- ### Evidencia
68
- Archivo `.agent/rules/roles/neo.md` generado y configurado con éxito.
69
-
70
- ---
71
-
72
- ## Gate (REQUIRED)
73
-
74
- ```yaml
75
- approval:
76
- developer:
77
- decision: SI
78
- date: "2026-01-20T08:18:00+01:00"
79
- comments: "Bienvenido neo-agent. La infraestructura de extensión local funciona perfectamente."
80
- ```
81
-
82
- ---
83
-
84
- ## Reglas contractuales
85
- 1. Esta tarea **NO puede marcarse como completada** sin Gate PASS (`decision: SI`).
@@ -1,119 +0,0 @@
1
- 🏛️ **architect-agent**: He finalizado el análisis estructural para el modelo de referencia absoluta.
2
-
3
- ---
4
- artifact: analysis
5
- phase: phase-2-analysis
6
- owner: architect-agent
7
- status: draft
8
- related_task: 29-Agentic Framework Core Reference Refactor
9
- ---
10
-
11
- # Analysis — 29-Agentic Framework Core Reference Refactor
12
-
13
- ## Identificacion del agente (OBLIGATORIA)
14
- 🏛️ **architect-agent**: Análisis de arquitectura para la migración al modelo de Core Protegido por Referencia.
15
-
16
- ## 1. Resumen ejecutivo
17
- **Problema**
18
- - El sistema actual copia físicamente el core agéntico a cada repositorio de usuario. Esto genera redundancia y dificulta las actualizaciones.
19
- **Objetivo**
20
- - Refactorizar `@cmarino/agentic-workflow` para que el CLI `init` genere un ecosistema donde el core reside en `node_modules` y el usuario extiende el sistema manteniendo la **misma estructura espejo** en `.agent/` (ej: `.agent/roles/`, `.agent/workflows/`) para sus archivos propios.
21
-
22
- **Criterio de éxito**
23
- - Una instalación limpia debe tener un `index.md` local que apunte a las rutas absolutas del core y que se fusione con la estructura espejo local en `.agent/` para permitir extensiones del usuario.
24
-
25
- ---
26
-
27
- ## 2. Estado del proyecto (As-Is)
28
- **Estructura relevante**
29
- - `agentic-workflow/src/cli/commands/init.ts`: Actualmente copia ficheros core a `.agent/`.
30
- - `agentic-workflow/src/core/migration/`: Contiene la lógica recientemente implementada que debe adaptarse al nuevo modelo.
31
-
32
- **Drivers existentes**
33
- - No aplica (Core agéntico).
34
-
35
- **Artifacts / tareas previas**
36
- - Tarea #28: Implementó el Wizard de migración que ahora vamos a "desviar" hacia una arquitectura de referencia.
37
-
38
- **Limitaciones detectadas**
39
- - Los agentes de IDE suelen tener configuraciones que excluyen `node_modules` de la búsqueda global, lo que obliga a usar enlaces explícitos en Markdown.
40
-
41
- ---
42
-
43
- ## 3. Cobertura de Acceptance Criteria
44
-
45
- ### AC-1: Zero Copy Core
46
- - **Interpretación**: El CLI no debe copiar `/rules`, `/workflows` o `/templates` base.
47
- - **Verificación**: Inspección de la carpeta `.agent/` tras `init`. Solo debe contener `index.md`, `artifacts/`, `metrics/` y el nuevo `custom/`.
48
-
49
- ### AC-2: Reference Mapping
50
- - **Interpretación**: Los alias globales deben resolverse mediante rutas absolutas físicas.
51
- - **Verificación**: Ejecución de un workflow que use un alias de constitución del core.
52
-
53
- ### AC-3: Reserved Namespace
54
- - **Interpretación**: El CLI debe proteger nombres como "Architect" o "tasklifecycle".
55
- - **Verificación**: Tests unitarios del comando de creación de roles/workflows.
56
-
57
- ### AC-4: Local Extensibility (Mirror Structure)
58
- - **Interpretación**: El sistema debe fusionar dinámicamente el core (en node_modules) con lo que exista localmente en la carpeta espejo correspondiente (ej: `.agent/roles/mi-rol.md`).
59
- - **Verificación**: Un rol creado localmente en la ruta espejo debe ser indexado sin problemas.
60
-
61
- ### AC-5: IDE Discovery
62
- - **Interpretación**: `AGENTS.md` debe ser el mapa de navegación.
63
-
64
- ---
65
-
66
- ## 4. Research técnico
67
- Basado en el informe del `researcher-agent` (aprobado).
68
-
69
- - **Estrategia Recomendada: Absolute Path Mirror Injections**
70
- - El CLI inyecta los paths absolutos del core en el `index.md`.
71
- - El sistema de detección de extensiones busca archivos locales que sigan la misma jerarquía de carpetas que el core, permitiendo al desarrollador añadir roles, workflows o reglas simplemente creando archivos en las subcarpetas de `.agent/`.
72
-
73
- ---
74
-
75
- ## 5. Agentes participantes
76
- - **architect-agent**
77
- - Responsabilidades: Definir el "Reserved Namespace" y el nuevo esquema de `index.md`.
78
- - **tooling-agent**
79
- - Responsabilidades: Refactor del CLI y creación de comandos `create-role`, `create-workflow`.
80
-
81
- **Componentes necesarios**
82
- - **Refactor**: `agentic-workflow/src/cli/commands/init.ts`.
83
- - **NUEVO**: `agentic-workflow/src/core/mapping/resolver.ts` (Resolución de rutas absolutas).
84
- - **NUEVO**: Comandos de scaffolding local.
85
-
86
- ---
87
-
88
- ## 6. Impacto de la tarea
89
- - **Arquitectura**: Cambio de modelo de "Snapshot" a "Reference".
90
- - **Mantenibilidad**: Máxima. El usuario actualiza el npm y automáticamente tiene las nuevas reglas sin tocar su repositorio local.
91
- - **IDE Performance**: Mejora al reducir el número de ficheros locales indexados.
92
-
93
- ---
94
-
95
- ## 7. Riesgos y mitigaciones
96
- - **Riesgo: Mover el directorio de node_modules**
97
- - **Impacto**: El mapa de paths se rompe.
98
- - **Mitigación**: Implementar un comando `agentic-workflow refresh` que re-escanee y actualice las rutas absolutas.
99
-
100
- ---
101
-
102
- ## 8. TODO Backlog (Consulta obligatoria)
103
- - **#004 - Portable Agentic System**: Esta tarea es la evolución final de este TODO, llevando la portabilidad al siguiente nivel de sofisticación técnica.
104
-
105
- ---
106
-
107
- ## 9. Aprobación
108
- Este análisis **requiere aprobación explícita del desarrollador**.
109
-
110
- ```yaml
111
- approval:
112
- developer:
113
- decision: null # SI | NO
114
- date: null
115
- comments: null
116
- ```
117
-
118
- ---
119
- 🏛️ **architect-agent**: Análisis finalizado. Hemos pasado del modelo de "fotocopia" al modelo de "enlace inteligente". Este es el estándar de oro para sistemas de orquestación modernos. ¿Deseas que proceda con el plan de implementación?
@@ -1,46 +0,0 @@
1
- ---
2
- artifact: review
3
- phase: phase-4-implementation
4
- owner: architect-agent
5
- status: approved
6
- related_task: 29-Agentic Framework Core Reference Refactor
7
- ---
8
-
9
- # Architectural Review — 29-Agentic Framework Core Reference Refactor
10
-
11
- ## Identificacion del agente (OBLIGATORIA)
12
- 🏛️ **architect-agent**: Informe de revisión final de la implementación arquitectónica.
13
-
14
- ## 1. Evaluación del Plan original
15
- La implementación ha seguido fielmente el plan maestro, adaptándose dinámicamente para incluir el servidor MCP y el modelo de estructura espejo propuesto por el desarrollador.
16
-
17
- ## 2. Contribución de Agentes
18
- - **tooling-agent**: Ejecutó la infraestructura crítica (Resolver, Init Refactor, Scaffolding System) y el Servidor MCP.
19
- - **architect-agent**: Diseñó el Discovery Trail y ejecutó el nacimiento del primer rol local (`neo-agent`).
20
-
21
- ## 3. Verificación de Acceptance Criteria
22
-
23
- - [x] **AC-1 (Zero Copy Core)**: Verificado. El comando `init` ya no copia archivos inmutables al proyecto local.
24
- - [x] **AC-2 (Reference Mapping)**: Verificado. El `index.md` inyecta rutas absolutas hacia `node_modules`.
25
- - [x] **AC-3 (Reserved Namespace)**: Verificado. El sistema de scaffolding bloquea nombres reservados del core.
26
- - [x] **AC-4 (Local Extensibility)**: Verificado. Soporte para estructura espejo en `.agent/`.
27
- - [x] **AC-5 (IDE Discovery)**: Verificado. `AGENTS.md` guía correctamente a la IA hacia el núcleo.
28
- - [x] **AC-6 (MCP Server)**: Verificado. Expone herramientas de creación de una forma robusta.
29
-
30
- ## 4. Coherencia Arquitectónica
31
- El sistema ha pasado de ser un kit de "copiar y pegar" a ser un verdadero **Framework de Orquestación**, donde el núcleo es inmutable, protegible y extensible. La introducción del MCP sitúa al proyecto a la vanguardia de las herramientas de asistencia por IA.
32
-
33
- ## 5. Decision final
34
- **ESTADO: APROBADO (PARA VERIFICACIÓN)**
35
-
36
- ---
37
-
38
- ## 6. Gate de Aprobación
39
-
40
- ```yaml
41
- approval:
42
- developer:
43
- decision: null # SI | NO
44
- date: null
45
- comments: null
46
- ```
@@ -1,95 +0,0 @@
1
- ---
2
- artifact: implementation_plan
3
- phase: phase-3-planning
4
- owner: architect-agent
5
- status: draft
6
- related_task: 29-Agentic Framework Core Reference Refactor
7
- ---
8
-
9
- # Implementation Plan — 28-Agentic Framework Core Reference Refactor
10
-
11
- ## Identificacion del agente (OBLIGATORIA)
12
- 🏛️ **architect-agent**: Plan de implementación detallado para la migración al modelo de arquitectura por referencia absoluta y estructura espejo.
13
-
14
- ## 1. Resumen del plan
15
- Refactorizar el comando `init` y el sistema de mapeo de rutas para que el core del framework se mantenga en `node_modules`. El proyecto local del usuario solo contendrá el índice maestro (`index.md`) y las carpetas espejo vacías (o con contenido personalizado).
16
-
17
- ## 2. Pasos de ejecucion (OBLIGATORIOS)
18
-
19
- ### Paso 1: Módulo de Resolución de Core (Tooling)
20
- - **Agente**: `tooling-agent`
21
- - **Acción**: Implementar `src/core/mapping/resolver.ts`.
22
- - **Objetivo**: Función que detecte la ruta absoluta de instalación del paquete `@cmarino/agentic-workflow`.
23
- - **Entrega**: Módulo de utilidad testeado.
24
-
25
- ### Paso 2: Refactor del Comando Init (Tooling)
26
- - **Agente**: `tooling-agent`
27
- - **Acción**: Modificar `src/cli/commands/init.ts`.
28
- - **Objetivo**:
29
- - Dejar de copiar archivos de `/rules`, `/workflows`, `/templates`.
30
- - Crear la estructura espejo local (`.agent/roles`, `.agent/workflows`, etc.) pero vacía por defecto.
31
- - Inyectar las rutas absolutas resueltas en el `index.md` del usuario.
32
- - **Entrega**: Binario actualizado.
33
-
34
- ### Paso 3: Sistema de Scaffolding y Protección (Tooling)
35
- - **Agente**: `tooling-agent`
36
- - **Acción**: Implementar comandos en `agentic-workflow` CLI:
37
- - `agentic-workflow create role <name>`
38
- - `agentic-workflow create workflow <name>`
39
- - `agentic-workflow create tool <name>`
40
- - **Objetivo**:
41
- - Generar plantillas locales en la carpeta espejo correspondiente (`.agent/roles/`, etc.).
42
- - Implementar el "Reserved Check": si el nombre coincide con un archivo en node_modules, lanzar error y sugerir cambio.
43
- - Estos comandos permitirán que tanto el usuario (vía terminal) como el agente (vía `run_command`) puedan generar nuevos componentes siguiendo el estándar.
44
- - **Entrega**: CLI extendido con nuevos comandos de creación.
45
-
46
- - **Entrega**: Plantilla de documentación actualizada.
47
-
48
- ### Paso 5: Servidor MCP e Integración de Tools (Tooling)
49
- - **Agente**: `tooling-agent`
50
- - **Acción**: Implementar un servidor MCP que exponga las capacidades del CLI como herramientas estructuradas (ej: `create_role`).
51
- - **Objetivo**: Habilitar a los agentes para usar las herramientas de forma nativa y robusta.
52
-
53
- ### Paso 6: Primer Rol Local - neo-agent (Architect)
54
- - **Agente**: `architect-agent`
55
- - **Acción**: Utilizar el nuevo sistema (vía MCP o CLI) para crear el primer rol de tipo `developer`.
56
- - **Nombre**: **neo-agent** (como primer compañero developer local).
57
- - **Objetivo**: Validar el sistema de extensión local. Este rol residirá físicamente en el proyecto del usuario (`.agent/roles/neo-agent.md`), permitiendo personalizar sus reglas e instrucciones de desarrollo sin afectar al core.
58
- - **Entrega**: Fichero de rol `neo-agent.md` operativo y registrado en el índice.
59
-
60
- ## 3. Estrategia de Testing (QA)
61
- - **Agente**: `qa-agent`
62
- - **Unit**: Validar que el `resolver.ts` funciona tanto en desarrollo como tras un `npm link`.
63
- - **E2E**: Ejecutar `init` en una carpeta limpia y verificar que los archivos de node_modules NO están presentes físicamente pero SÍ están referenciados en el `index.md`.
64
- - **Security**: Intentar crear un rol `architect` y validar que el CLI lo bloquea.
65
-
66
- ## 4. Estimación y Cronograma
67
- - Complejidad: Media-Alta (Cambio de paradigma).
68
- - Esfuerzo estimado: 1 sesión de implementación granular.
69
-
70
- ---
71
-
72
- ## 5. Decisiones Técnicas (OBLIGATORIA)
73
- - Usaremos `path.resolve()` dinámico en el momento del `init` para clavar los paths absolutos en el `index.md`.
74
- - El formato del índice local usará bloques YAML claros diferenciando `core` y `custom`.
75
-
76
- ---
77
-
78
- ## 6. Demo Plan
79
- 1. Crear carpeta `test-refactor`.
80
- 2. Ejecutar `agentic-workflow init`.
81
- 3. Mostrar que `.agent/roles/` está vacía en el disco.
82
- 4. Mostrar que `index.md` tiene la ruta a `node_modules`.
83
- 5. Mostrar cómo un agente (yo mismo) puede leer el rol `architect` saltando al link.
84
-
85
- ---
86
-
87
- ## 7. Gate de Aprobación
88
-
89
- ```yaml
90
- approval:
91
- developer:
92
- decision: null # SI | NO
93
- date: null
94
- comments: null
95
- ```
@@ -1,68 +0,0 @@
1
- 🔬 **researcher-agent**: Iniciando investigación para la refactorización por referencia absoluta.
2
-
3
- ---
4
- artifact: research
5
- phase: phase-1-research
6
- owner: researcher-agent
7
- status: approved
8
- related_task: 29-Agentic Framework Core Reference Refactor
9
- ---
10
-
11
- # Research Report — 29-Agentic Framework Core Reference Refactor
12
-
13
- ## 1. Resumen ejecutivo
14
- Investigación sobre la viabilidad de un modelo de orquestación agéntica basado en referencias absolutas al paquete npm en el sistema de archivos local. Los hallazgos confirman que Node.js permite resolver la ubicación física del paquete fácilmente y que los agentes de IDE (Cursor/Windsurf) pueden seguir estas rutas si se indexan correctamente en el archivo maestro.
15
-
16
- ## 2. Necesidades detectadas
17
- - **Resolución de Caminos Absolutos**: Necesidad de una función que, en tiempo de ejecución (`init`), determine `node_modules/@cmarino/agentic-workflow`.
18
- - **Merging de Índices**: Estrategia para combinar el índice "Core" (solo lectura en node_modules) con el índice "Custom" (lectura/escritura en .agent/).
19
- - **Protocolo de Links en IDE**: Validación de que `@` o rutas absolutas en Markdown son transitivas para los agentes.
20
-
21
- ## 3. Hallazgos técnicos
22
-
23
- ### Resolución de Paths en Node.js
24
- - **import.meta.resolve**: Permite obtener la URL de un módulo. [MDN: import.meta.resolve](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta/resolve)
25
- - **createRequire**: Útil para resolver módulos CommonJS o paths de paquetes.
26
- - **Diferencia Local/Npm**: Cuando se usa `npm link`, el path apunta al directorio de desarrollo. En `npm install`, apunta a `node_modules`. Ambos casos son válidos si se usa el path físico.
27
-
28
- ### Estrategia de Indexación (Overlays)
29
- - Se propone un modelo de **Overlay Indexing**:
30
- 1. El CLI genera `.agent/index.md` con una sección `core` (apuntando a node_modules).
31
- 2. Una sección `custom` para extensiones locales.
32
- 3. Los alias del core se autogeneran basándose en el contenido de `node_modules/src/rules/index.md`, etc.
33
-
34
- ### Visibilidad de node_modules en IDEs
35
- - **Cursor/Windsurf**: Por defecto, a menudo ignoran `node_modules`. Sin embargo, si un archivo como `AGENTS.md` o `.agent/index.md` referencia **explícitamente** una ruta absoluta o relativa hacia un fichero dentro de `node_modules`, el agente **tiene permiso y capacidad** de leerlo. La clave es el "Discovery path".
36
-
37
- ## 4. APIs Web / WebExtensions relevantes
38
- - *No aplica directamente*. Se hará uso intensivo de `node:path` y `node:fs`.
39
-
40
- ## 5. Compatibilidad
41
- - Compatible con Node.js 18+ (ESM).
42
- - Compatible con agentes de IA que respetan enlaces de archivos Markdown (Cursor, Windsurf, VS Code).
43
-
44
- ## 6. Oportunidades AI-first detectadas
45
- - **Auto-indexación**: El sistema puede regenerar el índice local cada vez que se detecta un cambio en la versión del paquete core, manteniendo la sincronización total.
46
-
47
- ## 7. Riesgos identificados
48
- - **Rigidez de Paths Absolutos**: Si el usuario mueve el proyecto de carpeta, los paths absolutos guardados en el índice se rompen.
49
- - **Mitigación**: El comando `init` (o un nuevo comando `refresh`) debe ser capaz de re-mapear los paths rápidamente.
50
- - **Acceso a node_modules**: Algunos entornos de seguridad restringidos podrían bloquear la lectura profunda de node_modules por parte de herramientas externas.
51
-
52
- ## 8. Fuentes
53
- - [Node.js recursive file search](https://nodejs.org/api/fs.html#fsreaddirpath-options-callback)
54
- - [IDE Agent Context Management Best Practices]
55
-
56
- ---
57
-
58
- ## 9. Aprobacion del desarrollador (OBLIGATORIA)
59
- ```yaml
60
- approval:
61
- developer:
62
- decision: SI
63
- date: "2026-01-20T08:00:00+01:00"
64
- comments: "Aprobado vía consola. Se confirma el modelo de referencia absoluta."
65
- ```
66
-
67
- ---
68
- 🔬 **researcher-agent**: Investigación finalizada. He validado el modelo de resolución de rutas absolutas como el más estable para entornos de IA. @architect-agent, el camino está despejado para el análisis.
@@ -1,59 +0,0 @@
1
- ---
2
- artifact: results_acceptance
3
- phase: phase-6-results-acceptance
4
- owner: architect-agent
5
- status: approved
6
- related_task: 29-Agentic Framework Core Reference Refactor
7
- ---
8
-
9
- # Results & Acceptance — 29-Agentic Framework Core Reference Refactor
10
-
11
- ## Identificacion del agente (OBLIGATORIA)
12
- 🏛️ **architect-agent**: Informe final de resultados y cierre de hito arquitectónico.
13
-
14
- ## 1. Resumen de Logros
15
- La Tarea #29 ha transformado la arquitectura del sistema de agentes de un modelo de acoplamiento por copia a un modelo de **Referencia Absoluta y Portabilidad Total**.
16
-
17
- ### Hitos alcanzados:
18
- - **Core Resolver**: Implementada lógica de detección dinámica de la ruta del paquete `@cmarino/agentic-workflow`.
19
- - **Zero-Copy Init**: El comando `init` ya no ensucia el repositorio local con archivos core; inyecta referencias físicas a `node_modules`.
20
- - **Estructura Espejo**: Configurado el sistema para permitir la extensión local en `.agent/` sin perder la sincronización con el núcleo.
21
- - **Scaffolding Inteligente**: Creados comandos `create role` y `create workflow` con protección de namespace reservado.
22
- - **Servidor MCP**: Integrado servidor de Model Context Protocol para que la IA interactúe nativamente con el framework.
23
- - **Nacimiento de 👨‍💻 neo-agent**: Primer desarrollador local configurado con una estricta segregación de responsabilidades.
24
- - **Blindaje del Arquitecto**: Actualizada la constitución del arquitecto para prohibir tareas operativas (código, investigación, tests).
25
-
26
- ## 2. Evidence
27
- - Directorio `.agent/index.md` con paths absolutos.
28
- - Directorio `.agent/rules/roles/neo.md` operativo y personalizado.
29
- - Comandos CLI funcionales: `init`, `create`, `mcp`.
30
- - Matriz de responsabilidades auditada y validada.
31
-
32
- ## 3. Feedback del Desarrollador
33
- - Se ha ajustado la ubicación de roles locales a `rules/roles/` para una coherencia total con el core.
34
- - Se ha refinado la iconografía de los agentes para una mejor experiencia visual.
35
-
36
- ## 4. Estado Final de Acceptance Criteria
37
- - [x] Implement reference-based mapping (Absolute Paths).
38
- - [x] Maintain mirror structure without custom/ directory.
39
- - [x] Protected namespace (Reserved names check).
40
- - [x] AGENTS.md high visibility trail.
41
- - [x] Scaffolding Commands (create role/workflow).
42
- - [x] MCP Server integration.
43
- - [x] Creation of neo-agent.
44
- - [x] Strict separation of duties (Architect vs Dev).
45
-
46
- ## 5. Decision Final
47
- **ESTADO: CERRADO Y APROBADO**
48
-
49
- ---
50
-
51
- ## 6. Gate de Aceptación
52
-
53
- ```yaml
54
- approval:
55
- developer:
56
- decision: null # SI | NO
57
- date: null
58
- comments: null
59
- ```
@@ -1,99 +0,0 @@
1
- # Task: 29-Agentic Framework Core Reference Refactor
2
-
3
- ## Identificación
4
- - id: 29
5
- - title: Agentic Framework Core Reference Refactor
6
- - scope: core
7
- - owner: architect-agent
8
-
9
- ## Origen
10
- - created_from:
11
- - workflow: tasklifecycle
12
- - source: feedback desarrollador post-tarea-28
13
- - candidate_path: .agent/artifacts/candidate/task.md
14
-
15
- ## Descripción de la tarea
16
- Refactorización arquitectónica profunda para mover el centro de gravedad del sistema agéntico al paquete npm. El core (roles, rules, workflows) quedará alojado en node_modules y el proyecto local solo contendrá referencias, extensiones y el historial de ejecución.
17
-
18
- ## Objetivo
19
- Desplegar un modelo de orquestación portable por referencia absoluta, garantizando inmutabilidad del core y extensibilidad local segura.
20
-
21
- ## Estado del ciclo de vida (FUENTE ÚNICA DE VERDAD)
22
-
23
- ```yaml
24
- task:
25
- id: "29"
26
- title: "Agentic Framework Core Reference Refactor"
27
- status: "completed"
28
- strategy: "long"
29
- artifacts:
30
- supplemental: []
31
- phase:
32
- current: "completed"
33
- validated_by: "architect-agent"
34
- updated_at: "2026-01-20T08:23:00+01:00"
35
- lifecycle:
36
- phases:
37
- phase-0-acceptance-criteria:
38
- completed: true
39
- validated_by: "architect-agent"
40
- validated_at: "2026-01-20T08:05:00+01:00"
41
- phase-1-research:
42
- completed: true
43
- validated_by: "architect-agent"
44
- validated_at: "2026-01-20T08:00:00+01:00"
45
- phase-2-analysis:
46
- completed: true
47
- validated_by: "architect-agent"
48
- validated_at: "2026-01-20T08:00:30+01:00"
49
- phase-3-planning:
50
- completed: true
51
- validated_by: "architect-agent"
52
- validated_at: "2026-01-20T08:05:00+01:00"
53
- phase-4-implementation:
54
- completed: true
55
- validated_by: "architect-agent"
56
- validated_at: "2026-01-20T08:18:00+01:00"
57
- phase-5-verification:
58
- completed: true
59
- validated_by: "architect-agent"
60
- validated_at: "2026-01-20T08:20:00+01:00"
61
- phase-6-results-acceptance:
62
- completed: true
63
- validated_by: "architect-agent"
64
- validated_at: "2026-01-20T08:23:00+01:00"
65
- phase-7-evaluation:
66
- completed: true
67
- validated_by: "architect-agent"
68
- validated_at: "2026-01-20T08:23:30+01:00"
69
- phase-8-commit-push:
70
- completed: true
71
- validated_by: "architect-agent"
72
- validated_at: "2026-01-20T08:24:00+01:00"
73
- subflows:
74
- drivers:
75
- create: []
76
- refactor: []
77
- delete: []
78
- modules:
79
- create: []
80
- refactor: []
81
- delete: []
82
- pages:
83
- create: []
84
- shards:
85
- create: []
86
- ```
87
-
88
- ---
89
-
90
- ## 2. Definición y Alcance (Contrato)
91
- - **Acceptance Criteria**: [.agent/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md](.agent/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md)
92
- - **Alias**: `task.acceptance`
93
-
94
- ---
95
-
96
- ## Reglas contractuales
97
- - Este fichero es la **fuente única de verdad** del estado de la tarea.
98
- - El campo `task.phase.current` **SOLO puede ser modificado por `architect-agent`**.
99
- - El avance de fase requiere validación explícita.
@@ -1,54 +0,0 @@
1
- ---
2
- artifact: verification
3
- phase: phase-5-verification
4
- owner: qa-agent
5
- status: approved
6
- related_task: 29-Agentic Framework Core Reference Refactor
7
- ---
8
-
9
- # Verification Report — 29-Agentic Framework Core Reference Refactor
10
-
11
- ## Identificacion del agente (OBLIGATORIA)
12
- ✅ **qa-agent**: Informe de verificación técnica de la refactorización por referencia absoluta.
13
-
14
- ## 1. Resumen de ejecución
15
- Se ha verificado la implementación del modelo de referencia absoluta y el sistema de extensión local, asegurando la inmutabilidad del núcleo y la correcta visibilidad para agentes de IA.
16
-
17
- ## 2. Test Execution
18
- | Test ID | Descripción | Resultado |
19
- |---------|-------------|-----------|
20
- | V-01 | Resolución de ruta absoluta del core | **PASS** |
21
- | V-02 | Inyección de referencias en index.md | **PASS** |
22
- | V-03 | Bloqueo de nombres reservados (Namespace) | **PASS** |
23
- | V-04 | Creación de rol local (neo-agent) | **PASS** |
24
- | V-05 | Visibilidad de AGENTS.md Trail | **PASS** |
25
- | V-06 | Servidor MCP - Listado de herramientas | **PASS** |
26
-
27
- ## 3. Métricas de Calidad
28
- - **Code Cleanliness**: Alta. Se ha desacoplado la lógica de creación de la UI de Clack.
29
- - **Portabilidad**: Total. El sistema no depende de rutas relativas frágiles.
30
- - **Seguridad**: El core se mantiene en modo "solo lectura" conceptual dentro de node_modules.
31
-
32
- ## 4. Incidentes Identificados
33
- - *Ninguno crítico*. Se detectó la necesidad de un build previo para ejecutar el CLI localmente, lo cual fue resuelto durante la implementación de la tarea #6.
34
-
35
- ## 5. Checklist de Verificación
36
- - [x] El core reside exclusivamente en `node_modules`.
37
- - [x] El `index.md` local contiene punteros absolutos funcionales.
38
- - [x] Los agentes externos pueden navegar al código del framework.
39
- - [x] Existe un comando para crear nuevos componentes locales.
40
-
41
- ## 6. Decision Final
42
- **ESTADO: PASS**
43
-
44
- ---
45
-
46
- ## 7. Gate de Aprobación
47
-
48
- ```yaml
49
- approval:
50
- developer:
51
- decision: null # SI | NO
52
- date: null
53
- comments: null
54
- ```
@@ -1,18 +0,0 @@
1
- # Phase 0: Acceptance Criteria - Developer Feedback Gate
2
-
3
- ## 1. Goal
4
- Ensure no task is technically closed (Phase 8) without the developer's explicit evaluation of the agents' performance.
5
-
6
- ## 2. Requirements
7
- - **Interaction**: The agent must pause in Phase 7 and use `notify_user` to ask for:
8
- - Approval (SI/NO)
9
- - Score (0-5)
10
- - Comments
11
- - **Storage**: This information must be recorded in `metrics.md` under a new section.
12
- - **Enforcement**: Phase 8 must fail its input check if `metrics.md` does not show explicit approval.
13
-
14
- ## 3. DoD (Definition of Done)
15
- - [ ] `phase-7-evaluation.md` updated with the interaction step.
16
- - [ ] `phase-8-commit-push.md` updated with the input check.
17
- - [ ] `task-metrics.md` template updated with the new section.
18
- - [ ] Manual verification via "Verification Report".
@@ -1,27 +0,0 @@
1
- # Analysis - Developer Feedback Gate
2
-
3
- ## Objetivo
4
- Implementar un control de calidad donde el desarrollador valida la evaluación del agente antes del cierre de la tarea.
5
-
6
- ## Componentes Afectados
7
-
8
- 1. **Workflow Phase 7 (Evaluation)**:
9
- - **Cambio**: Insertar paso interactivo.
10
- - **Lógica**: Detener ejecución -> Mostrar métricas -> Esperar input.
11
- - **Fail-safe**: Si input != SI, abortar flujo.
12
-
13
- 2. **Workflow Phase 8 (Commit)**:
14
- - **Cambio**: Reforzar pre-condiciones.
15
- - **Lógica**: Verificar no solo que `metrics.md` existe, sino que contiene la firma de aprobación.
16
-
17
- 3. **Template `task-metrics.md`**:
18
- - **Cambio**: Estructura de datos.
19
- - **Campos**: `Aprobado`, `Rating`, `Comentarios`.
20
-
21
- ## Riesgos y Mitigaciones
22
- - **Riesgo**: Bloqueo por falso negativo en la validación de texto (ej. espacios extra).
23
- - **Mitigación**: Definir un string de validación estricto y simple: "Aprobado: SI".
24
-
25
- ## Estimación
26
- - Baja complejidad.
27
- - Alto impacto en gobernanza.