@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.
- package/dist/artifacts/index.md +2 -26
- package/dist/bootstrap.md +204 -151
- package/dist/cli/commands/init.js +0 -5
- package/dist/core/mapping/resolver.js +1 -1
- package/dist/core/migration/detector.js +1 -1
- package/dist/index.md +0 -11
- package/dist/rules/constitution/agents-behavior.md +10 -19
- package/dist/rules/constitution/clean-code.md +10 -11
- package/dist/rules/constitution/index.md +0 -5
- package/dist/rules/index.md +1 -1
- package/dist/rules/roles/architect.md +47 -88
- package/dist/rules/roles/index.md +1 -4
- package/dist/rules/roles/qa.md +61 -136
- package/dist/rules/roles/researcher.md +34 -48
- package/dist/templates/agent-scores.md +6 -7
- package/dist/templates/analysis.md +6 -6
- package/dist/templates/changelog.md +1 -1
- package/dist/templates/closure.md +9 -1
- package/dist/templates/index.md +0 -6
- package/dist/templates/init.md +7 -0
- package/dist/templates/planning.md +10 -10
- package/dist/templates/research.md +1 -1
- package/dist/templates/results-acceptance.md +1 -1
- package/dist/templates/review.md +2 -2
- package/dist/templates/subtask-implementation.md +1 -1
- package/dist/templates/task.md +4 -32
- package/dist/templates/verification.md +3 -3
- package/dist/workflows/index.md +0 -2
- package/dist/workflows/init.md +31 -19
- package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +2 -2
- package/dist/workflows/tasklifecycle-long/phase-1-research.md +3 -3
- package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +6 -21
- package/dist/workflows/tasklifecycle-long/phase-3-planning.md +5 -11
- package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +2 -2
- package/dist/workflows/tasklifecycle-long/phase-5-verification.md +3 -3
- package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +1 -1
- package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +12 -19
- package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +3 -3
- package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +2 -2
- package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +1 -1
- package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +5 -5
- package/package.json +2 -2
- package/dist/artifacts/1-mcp-server-extensio-cli/analysis.md +0 -480
- package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +0 -285
- package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +0 -29
- package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +0 -321
- package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +0 -522
- package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +0 -270
- package/dist/artifacts/1-mcp-server-extensio-cli/results.md +0 -143
- package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +0 -33
- package/dist/artifacts/1-mcp-server-extensio-cli/task.md +0 -178
- package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +0 -69
- package/dist/artifacts/10-shard-build-plugin/analysis.md +0 -290
- package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +0 -105
- package/dist/artifacts/10-shard-build-plugin/plan.md +0 -409
- package/dist/artifacts/10-shard-build-plugin/researcher/research.md +0 -109
- package/dist/artifacts/10-shard-build-plugin/task.md +0 -124
- package/dist/artifacts/11-revision-sistema-agentic/analysis.md +0 -43
- package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +0 -186
- package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +0 -162
- package/dist/artifacts/11-revision-sistema-agentic/metrics.md +0 -82
- package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +0 -126
- package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +0 -250
- package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +0 -366
- package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +0 -131
- package/dist/artifacts/11-revision-sistema-agentic/results.md +0 -116
- package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +0 -424
- package/dist/artifacts/11-revision-sistema-agentic/task.md +0 -145
- package/dist/artifacts/11-revision-sistema-agentic/verification.md +0 -119
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +0 -305
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +0 -301
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +0 -93
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +0 -111
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +0 -387
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +0 -266
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +0 -167
- package/dist/artifacts/13-dual-lifecycle-system/analysis.md +0 -173
- package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +0 -67
- package/dist/artifacts/13-dual-lifecycle-system/plan.md +0 -230
- package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +0 -243
- package/dist/artifacts/13-dual-lifecycle-system/task.md +0 -130
- package/dist/artifacts/13-dual-lifecycle-system/verification.md +0 -84
- package/dist/artifacts/14-core-tests-refactor/analysis.md +0 -240
- package/dist/artifacts/14-core-tests-refactor/architect/review.md +0 -33
- package/dist/artifacts/14-core-tests-refactor/evaluation.md +0 -40
- package/dist/artifacts/14-core-tests-refactor/plan.md +0 -344
- package/dist/artifacts/14-core-tests-refactor/researcher/research.md +0 -258
- package/dist/artifacts/14-core-tests-refactor/results.md +0 -117
- package/dist/artifacts/14-core-tests-refactor/task.md +0 -163
- package/dist/artifacts/14-core-tests-refactor/verification.md +0 -87
- package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +0 -47
- package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +0 -100
- package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +0 -81
- package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +0 -83
- package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +0 -160
- package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +0 -180
- package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +0 -15
- package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +0 -17
- package/dist/artifacts/16-refactorizacion-demo-core/plan.md +0 -270
- package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +0 -190
- package/dist/artifacts/16-refactorizacion-demo-core/task.md +0 -124
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +0 -108
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +0 -98
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +0 -192
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +0 -41
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +0 -73
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +0 -80
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +0 -113
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +0 -133
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +0 -130
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +0 -188
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +0 -80
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +0 -73
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +0 -97
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +0 -39
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +0 -188
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +0 -207
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +0 -103
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +0 -64
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +0 -81
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +0 -148
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +0 -146
- package/dist/artifacts/18-refactor-phase-4-implementation/task.md +0 -140
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +0 -58
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +0 -78
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +0 -76
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +0 -77
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +0 -76
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +0 -77
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +0 -95
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +0 -190
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +0 -68
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +0 -203
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +0 -296
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +0 -132
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +0 -104
- package/dist/artifacts/2-review-mcp-agent-system/analysis.md +0 -133
- package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +0 -58
- package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +0 -57
- package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +0 -83
- package/dist/artifacts/2-review-mcp-agent-system/changelog.md +0 -22
- package/dist/artifacts/2-review-mcp-agent-system/metrics.md +0 -33
- package/dist/artifacts/2-review-mcp-agent-system/plan.md +0 -141
- package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +0 -60
- package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +0 -77
- package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +0 -115
- package/dist/artifacts/2-review-mcp-agent-system/task.md +0 -127
- package/dist/artifacts/2-review-mcp-agent-system/verification.md +0 -72
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +0 -139
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +0 -146
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +0 -142
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +0 -143
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +0 -53
- package/dist/artifacts/2026-01-19-orchestration-init/brief.md +0 -88
- package/dist/artifacts/2026-01-19-orchestration-init/closure.md +0 -80
- package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +0 -20
- package/dist/artifacts/21-portable-agentic-system/researcher/research.md +0 -121
- package/dist/artifacts/21-portable-agentic-system/task.md +0 -115
- package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +0 -113
- package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +0 -124
- package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +0 -76
- package/dist/artifacts/22-standardize-phase-0-artifact/results.md +0 -36
- package/dist/artifacts/22-standardize-phase-0-artifact/task.md +0 -115
- package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +0 -41
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +0 -62
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +0 -90
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +0 -85
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +0 -52
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +0 -52
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +0 -31
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +0 -90
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +0 -42
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +0 -64
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +0 -68
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +0 -79
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +0 -25
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +0 -91
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +0 -89
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +0 -59
- package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +0 -57
- package/dist/artifacts/25-auditoria-omision-gates/brief.md +0 -89
- package/dist/artifacts/25-auditoria-omision-gates/closure.md +0 -88
- package/dist/artifacts/25-auditoria-omision-gates/rca.md +0 -49
- package/dist/artifacts/25-auditoria-omision-gates/task.md +0 -64
- package/dist/artifacts/26-portable-agentic-system/acceptance.md +0 -41
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +0 -113
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +0 -117
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +0 -109
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +0 -104
- package/dist/artifacts/26-portable-agentic-system/analysis.md +0 -117
- package/dist/artifacts/26-portable-agentic-system/architect/review.md +0 -41
- package/dist/artifacts/26-portable-agentic-system/plan.md +0 -146
- package/dist/artifacts/26-portable-agentic-system/researcher/research.md +0 -96
- package/dist/artifacts/26-portable-agentic-system/task.md +0 -50
- package/dist/artifacts/26-portable-agentic-system/verification.md +0 -67
- package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +0 -74
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +0 -86
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +0 -88
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +0 -89
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +0 -85
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +0 -84
- package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +0 -90
- package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +0 -44
- package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +0 -17
- package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +0 -52
- package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +0 -122
- package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +0 -73
- package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +0 -51
- package/dist/artifacts/27-update-portable-module-agent-identity/task.md +0 -115
- package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +0 -66
- package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +0 -67
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +0 -88
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +0 -87
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +0 -86
- package/dist/artifacts/28-agent-system-update-conversion/analysis.md +0 -153
- package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +0 -93
- package/dist/artifacts/28-agent-system-update-conversion/metrics.md +0 -43
- package/dist/artifacts/28-agent-system-update-conversion/plan.md +0 -153
- package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +0 -66
- package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +0 -125
- package/dist/artifacts/28-agent-system-update-conversion/task.md +0 -103
- package/dist/artifacts/28-agent-system-update-conversion/verification.md +0 -60
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +0 -38
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +0 -85
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +0 -90
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +0 -92
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +0 -84
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +0 -92
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +0 -85
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +0 -119
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +0 -46
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +0 -95
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +0 -68
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +0 -59
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +0 -99
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +0 -54
- package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +0 -18
- package/dist/artifacts/3-developer-feedback-gate/analysis.md +0 -27
- package/dist/artifacts/3-developer-feedback-gate/changelog.md +0 -10
- package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +0 -32
- package/dist/artifacts/3-developer-feedback-gate/init.md +0 -13
- package/dist/artifacts/3-developer-feedback-gate/metrics.md +0 -34
- package/dist/artifacts/3-developer-feedback-gate/research.md +0 -28
- package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +0 -17
- package/dist/artifacts/3-developer-feedback-gate/task.md +0 -17
- package/dist/artifacts/3-developer-feedback-gate/verification.md +0 -35
- package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +0 -46
- package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +0 -34
- package/dist/artifacts/30-task-execution-protocol-gates/task.md +0 -77
- package/dist/artifacts/4-adr-workflows-modulos/adr.md +0 -380
- package/dist/artifacts/4-adr-workflows-modulos/analysis.md +0 -353
- package/dist/artifacts/4-adr-workflows-modulos/plan.md +0 -301
- package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +0 -253
- package/dist/artifacts/4-adr-workflows-modulos/results.md +0 -202
- package/dist/artifacts/4-adr-workflows-modulos/task.md +0 -143
- package/dist/artifacts/4-adr-workflows-modulos/verification.md +0 -123
- package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +0 -169
- package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +0 -105
- package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +0 -90
- package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +0 -7
- package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +0 -34
- package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +0 -163
- package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +0 -105
- package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +0 -153
- package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +0 -147
- package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +0 -79
- package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +0 -153
- package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +0 -103
- package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +0 -79
- package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +0 -8
- package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +0 -34
- package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +0 -131
- package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +0 -86
- package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +0 -108
- package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +0 -147
- package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +0 -74
- package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +0 -33
- package/dist/artifacts/7-modules-globals-constants/analysis.md +0 -205
- package/dist/artifacts/7-modules-globals-constants/architect/review.md +0 -110
- package/dist/artifacts/7-modules-globals-constants/metrics.md +0 -45
- package/dist/artifacts/7-modules-globals-constants/plan.md +0 -276
- package/dist/artifacts/7-modules-globals-constants/researcher/research.md +0 -247
- package/dist/artifacts/7-modules-globals-constants/task.md +0 -112
- package/dist/artifacts/7-modules-globals-constants/verification.md +0 -76
- package/dist/artifacts/8-module-workflow-refactor/analysis.md +0 -131
- package/dist/artifacts/8-module-workflow-refactor/changelog.md +0 -24
- package/dist/artifacts/8-module-workflow-refactor/metrics.md +0 -37
- package/dist/artifacts/8-module-workflow-refactor/plan.md +0 -193
- package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +0 -222
- package/dist/artifacts/8-module-workflow-refactor/results.md +0 -112
- package/dist/artifacts/8-module-workflow-refactor/review.md +0 -76
- package/dist/artifacts/8-module-workflow-refactor/task.md +0 -154
- package/dist/artifacts/8-module-workflow-refactor/verification.md +0 -76
- package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +0 -64
- package/dist/artifacts/9-build-stabilization/analysis.md +0 -62
- package/dist/artifacts/9-build-stabilization/metrics.md +0 -11
- package/dist/artifacts/9-build-stabilization/plan.md +0 -82
- package/dist/artifacts/9-build-stabilization/researcher/research.md +0 -102
- package/dist/artifacts/9-build-stabilization/task.md +0 -23
- package/dist/artifacts/9-build-stabilization/walkthrough.md +0 -56
- package/dist/artifacts/candidate/init.md +0 -34
- package/dist/artifacts/candidate/task.md +0 -24
- package/dist/metrics/agent-scores.md +0 -30
- package/dist/metrics/agents.json +0 -106
- package/dist/metrics/index.md +0 -23
- package/dist/rules/constitution/drivers.md +0 -294
- package/dist/rules/constitution/extensio-architecture.md +0 -131
- package/dist/rules/constitution/modules.md +0 -280
- package/dist/rules/constitution/pages.md +0 -454
- package/dist/rules/constitution/shards.md +0 -484
- package/dist/rules/roles/driver.md +0 -172
- package/dist/rules/roles/module.md +0 -175
- package/dist/rules/roles/surface.md +0 -60
- package/dist/rules/roles/tooling.md +0 -68
- package/dist/skills/extensio-build/SKILL.md +0 -161
- package/dist/skills/extensio-create-driver/SKILL.md +0 -89
- package/dist/skills/extensio-create-module/SKILL.md +0 -91
- package/dist/skills/extensio-demo/SKILL.md +0 -84
- package/dist/skills/extensio-test/SKILL.md +0 -96
- package/dist/skills/extensio-validate-code/SKILL.md +0 -262
- package/dist/skills/index.md +0 -79
- package/dist/templates/driver-create.md +0 -116
- package/dist/templates/driver-delete.md +0 -84
- package/dist/templates/driver-refactor.md +0 -94
- package/dist/templates/module-create.md +0 -117
- package/dist/templates/module-delete.md +0 -79
- package/dist/templates/module-refactor.md +0 -87
- package/dist/todo/001-anadir-seccion-reasoning.md +0 -42
- package/dist/todo/002-anadir-ejemplos-few-shot.md +0 -46
- package/dist/todo/003-explorar-paralelizacion-phase4.md +0 -46
- package/dist/todo/004-portable-agentic-system.md +0 -44
- package/dist/todo/README.md +0 -58
- package/dist/todo/index.md +0 -27
- package/dist/tools/extensio-cli.md +0 -76
- package/dist/tools/index.md +0 -14
- package/dist/tools/run-command.md +0 -42
- package/dist/workflows/drivers/create.md +0 -139
- package/dist/workflows/drivers/delete.md +0 -124
- package/dist/workflows/drivers/index.md +0 -25
- package/dist/workflows/drivers/refactor.md +0 -125
- package/dist/workflows/modules/create.md +0 -160
- package/dist/workflows/modules/delete.md +0 -121
- package/dist/workflows/modules/index.md +0 -27
- package/dist/workflows/modules/pages.create.md +0 -234
- package/dist/workflows/modules/refactor.md +0 -122
- package/dist/workflows/modules/shards.create.md +0 -215
|
@@ -17,7 +17,7 @@ blocking: true
|
|
|
17
17
|
|
|
18
18
|
> [!IMPORTANT]
|
|
19
19
|
> **Constitución activa (OBLIGATORIO)**:
|
|
20
|
-
> - Cargar `constitution.
|
|
20
|
+
> - Cargar `constitution.clean_code` antes de iniciar
|
|
21
21
|
> - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
|
|
22
22
|
> - Cargar constituciones específicas del dominio según la tarea
|
|
23
23
|
|
|
@@ -17,7 +17,7 @@ blocking: true
|
|
|
17
17
|
|
|
18
18
|
> [!IMPORTANT]
|
|
19
19
|
> **Constitución activa (OBLIGATORIO)**:
|
|
20
|
-
> - Cargar `constitution.
|
|
20
|
+
> - Cargar `constitution.clean_code` antes de iniciar
|
|
21
21
|
> - Cargar `constitution.agents_behavior` (sección 7: Gates, sección 8: Constitución)
|
|
22
22
|
|
|
23
23
|
## Output (REQUIRED)
|
|
@@ -48,7 +48,7 @@ blocking: true
|
|
|
48
48
|
|
|
49
49
|
### 2. Ejecutar verificación
|
|
50
50
|
Si la tarea requiere tests:
|
|
51
|
-
- Ejecutar tests según `constitution.
|
|
51
|
+
- Ejecutar tests según `constitution.clean_code`.
|
|
52
52
|
- Documentar resultados.
|
|
53
53
|
|
|
54
54
|
Si no requiere tests:
|
|
@@ -69,14 +69,14 @@ Si no requiere tests:
|
|
|
69
69
|
### 6. Evaluar agentes (OBLIGATORIO)
|
|
70
70
|
- Solicitar puntuación (1-10) del desarrollador para cada agente que haya intervenido.
|
|
71
71
|
- **GATE OBLIGATORIO**: Sin puntuación, la tarea NO puede cerrarse.
|
|
72
|
-
-
|
|
72
|
+
- Registrar las puntuaciones en `closure.md`.
|
|
73
73
|
|
|
74
74
|
### 7. Consolidar commits
|
|
75
75
|
Si hay cambios de código:
|
|
76
76
|
- Preparar commits siguiendo Conventional Commits.
|
|
77
77
|
- Solicitar aprobación del desarrollador para push.
|
|
78
78
|
|
|
79
|
-
###
|
|
79
|
+
### 8. PASS
|
|
80
80
|
- Marcar tarea como **COMPLETADA**.
|
|
81
81
|
- Generar changelog (si aplica).
|
|
82
82
|
- Actualizar task.md con estado final.
|
|
@@ -91,7 +91,7 @@ Requisitos (todos obligatorios):
|
|
|
91
91
|
2. El `closure.md` inicia con el prefijo del `architect-agent`.
|
|
92
92
|
3. Todos los acceptance criteria están marcados.
|
|
93
93
|
4. Existe aceptación final del desarrollador.
|
|
94
|
-
5. Se han registrado las puntuaciones de los agentes en
|
|
94
|
+
5. Se han registrado las puntuaciones de los agentes en `closure.md`.
|
|
95
95
|
6. Commits realizados (si aplica).
|
|
96
96
|
7. task.md refleja tarea completada.
|
|
97
97
|
8. task.md refleja timestamp y estado:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christianmaf80/agentic-workflow",
|
|
3
|
-
"version": "1.14.0-beta.
|
|
3
|
+
"version": "1.14.0-beta.2",
|
|
4
4
|
"description": "Portable agentic workflow orchestration system with strict identity and gate discipline",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "node scripts/clean-dist.mjs && tsc && npm run copy-assets && node scripts/build-bootstrap-test.mjs",
|
|
18
|
-
"copy-assets": "cp -r src/rules src/workflows src/templates src/artifacts
|
|
18
|
+
"copy-assets": "cp -r src/rules src/workflows src/templates src/artifacts dist/ && cp src/index.md dist/index.md",
|
|
19
19
|
"start": "node dist/index.js",
|
|
20
20
|
"publish:npm": "npm publish --registry https://registry.npmjs.org --access public",
|
|
21
21
|
"publish:github": "npm publish --registry https://npm.pkg.github.com"
|
|
@@ -1,480 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
artifact: analysis
|
|
3
|
-
phase: phase-2-analysis
|
|
4
|
-
owner: architect-agent
|
|
5
|
-
status: approved
|
|
6
|
-
related_task: 1-mcp-server-extensio-cli
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Analysis — 1-mcp-server-extensio-cli
|
|
10
|
-
|
|
11
|
-
## 1. Resumen ejecutivo
|
|
12
|
-
|
|
13
|
-
**Problema**
|
|
14
|
-
Actualmente, el CLI de Extensio (`@extensio/cli`) solo es accesible manualmente por desarrolladores vía terminal. Los agentes AI (como Google Antigravity) no pueden automatizar la creación de drivers, módulos, proyectos o builds del framework Extensio, limitando la experiencia de desarrollo asistido por IA.
|
|
15
|
-
|
|
16
|
-
**Objetivo**
|
|
17
|
-
Crear un servidor MCP que exponga todas las capacidades del CLI de Extensio para que Google Antigravity y otros clientes AI puedan invocar comandos de forma programática, con validación de inputs, verificación de resultados y documentación completa para agentes.
|
|
18
|
-
|
|
19
|
-
**Criterio de éxito**
|
|
20
|
-
Este análisis se considera válido si:
|
|
21
|
-
- Cubre todos los 11 acceptance criteria definidos en `task.md`
|
|
22
|
-
- Respeta la arquitectura de Extensio y sus constitución (drivers.md, clean-code.md, extensio-architecture.md)
|
|
23
|
-
- Define claramente qué componentes crear (servidor MCP, docs, demo, tests)
|
|
24
|
-
- Identifica agentes participantes y sus responsabilidades
|
|
25
|
-
- Integra los hallazgos del research aprobado en Fase 1
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## 2. Estado del proyecto (As-Is)
|
|
30
|
-
|
|
31
|
-
**Estructura relevante**
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
extensio/
|
|
35
|
-
├── packages/
|
|
36
|
-
│ ├── cli/ # @extensio/cli - comando "ext"
|
|
37
|
-
│ │ ├── src/
|
|
38
|
-
│ │ │ ├── index.mts # Entry point con Commander.js
|
|
39
|
-
│ │ │ ├── commands/ # build.mts, demo.mts, test.mts
|
|
40
|
-
│ │ │ ├── generators/ # Yeoman generators (module, driver, project)
|
|
41
|
-
│ │ │ └── constants.mts # EntityTypes, Browsers, TestTypes
|
|
42
|
-
│ │ ├── package.json # bin: { "ext": "./dist/index.mjs" }
|
|
43
|
-
│ │ └── dist/ # Compilado
|
|
44
|
-
│ ├── core/ # @extensio/core (Engine, Context, Surfaces)
|
|
45
|
-
│ ├── drivers/ # Drivers existentes
|
|
46
|
-
│ └── external-tools/ # Herramientas externas
|
|
47
|
-
└── .agent/ # Sistema de workflows y artifacts
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
**CLI existente (`@extensio/cli`)**
|
|
51
|
-
- **Comandos disponibles:**
|
|
52
|
-
- `ext create` → Scaffold module, driver o project (Yeoman generators)
|
|
53
|
-
- `ext build` → Compilar src/ → dist/ multi-browser (Chrome, Firefox, Safari)
|
|
54
|
-
- `ext test` → Tests unit/integration (Vitest), E2E (Playwright)
|
|
55
|
-
- `ext demo` → Crear scaffolding de demo para module/driver
|
|
56
|
-
|
|
57
|
-
- **Modo de operación:**
|
|
58
|
-
- CLI interactivo (inquirer prompts) o non-interactive (flags)
|
|
59
|
-
- Ejecuta en Node.js, usa Commander.js para parsing
|
|
60
|
-
- Genera código vía Yeoman Environment
|
|
61
|
-
- Build via esbuild (`buildModule` function)
|
|
62
|
-
|
|
63
|
-
**Limitaciones detectadas**
|
|
64
|
-
1. **No existe integración MCP:** El CLI no expone ninguna interfaz programática para agentes AI
|
|
65
|
-
2. **No existe carpeta `tools/`:** No hay ubicación canónica para herramientas del monorepo
|
|
66
|
-
3. **Documentación para agentes inexistente:** No hay guías de uso para AI
|
|
67
|
-
4. **Sin validación JSON Schema:** El CLI valida inputs con inquirer, no con esquemas reutilizables
|
|
68
|
-
|
|
69
|
-
**Artifacts / tareas previas**
|
|
70
|
-
Ninguna tarea previa afecta a esta implementación. Es la primera vez que se crea un servidor MCP para Extensio.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## 3. Cobertura de Acceptance Criteria
|
|
75
|
-
|
|
76
|
-
### AC-1: Servidor MCP expone todos los comandos de `@extensio/cli`
|
|
77
|
-
|
|
78
|
-
**Interpretación:**
|
|
79
|
-
El servidor MCP debe implementar **tools** (en terminología MCP) que mapeen 1:1 con los comandos del CLI:
|
|
80
|
-
- `extensio_create` → `ext create`
|
|
81
|
-
- `extensio_build` → `ext build`
|
|
82
|
-
- `extensio_test` → `ext test`
|
|
83
|
-
- `extensio_demo` → `ext demo`
|
|
84
|
-
|
|
85
|
-
**Verificación:**
|
|
86
|
-
- Test unitario: Verificar que el servidor registra 4 tools con nombres correctos
|
|
87
|
-
- Test E2E: Simular llamada MCP a cada tool y verificar que ejecuta el comando CLI correspondiente
|
|
88
|
-
|
|
89
|
-
**Riesgos / ambigüedades:**
|
|
90
|
-
- **Riesgo:** Pasar flags del CLI incorrectamente → Mitigación: JSON Schema para validar inputs antes de invocar CLI
|
|
91
|
-
- **Ambigüedad:** ¿Cómo manejar modo interactivo del CLI? → Solución: Servidor MCP siempre usa modo `--non-interactive`
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
### AC-2: Comandos `build`, `create`, `test` completamente implementados
|
|
96
|
-
|
|
97
|
-
**Interpretación:**
|
|
98
|
-
Los 3 comandos prioritarios deben:
|
|
99
|
-
- Soportar TODOS los flags/opciones del CLI original
|
|
100
|
-
- Validar inputs con JSON Schema
|
|
101
|
-
- Retornar outputs estructurados (JSON)
|
|
102
|
-
- Gestionar child processes correctamente
|
|
103
|
-
|
|
104
|
-
**Verificación:**
|
|
105
|
-
- Test de integración: Para cada comando, verificar todas las combinaciones de flags relevantes
|
|
106
|
-
- Demo: Mostrar agente creando un driver completo (`create`), compilándolo (`build`) y ejecutando tests (`test`)
|
|
107
|
-
|
|
108
|
-
**Riesgos / ambigüedades:**
|
|
109
|
-
- **Riesgo:** Build largo bloquea respuesta MCP → Mitigación: Implementar progress notifications (MCP streaming)
|
|
110
|
-
- **Riesgo:** Tests E2E requieren browsers instalados → Mitigación: Documentar pre-requisitos y usar headless mode
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
### AC-3: Documentación completa de integración con Google Antigravity
|
|
115
|
-
|
|
116
|
-
**Interpretación:**
|
|
117
|
-
Debe existir un `README.md` en `tools/mcp-server/` que contenga:
|
|
118
|
-
1. Instalación del servidor MCP
|
|
119
|
-
2. Configuración en `mcp_config.json` de Antigravity
|
|
120
|
-
3. Ejemplos de uso desde agentes AI
|
|
121
|
-
4. Troubleshooting
|
|
122
|
-
|
|
123
|
-
**Verificación:**
|
|
124
|
-
- Revisión manual del README por el desarrollador
|
|
125
|
-
- Demo: Seguir el README para configurar Antigravity y verificar que funciona
|
|
126
|
-
|
|
127
|
-
**Riesgos / ambigüedades:**
|
|
128
|
-
- **Riesgo:** Google Antigravity cambia interfaz de configuración → Mitigación: Versionar docs con fecha de última actualización
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
### AC-4: Configuración MCP para auto-descubrimiento por agentes
|
|
133
|
-
|
|
134
|
-
**Interpretación:**
|
|
135
|
-
El servidor MCP debe exponer metadatos estándar:
|
|
136
|
-
- `server.name`: "extensio-cli"
|
|
137
|
-
- `server.version`: Sincronizado con `@extensio/cli`
|
|
138
|
-
- Tools con `inputSchema` (JSON Schema) completos
|
|
139
|
-
|
|
140
|
-
**Verificación:**
|
|
141
|
-
- Test unitario: Verificar que el handshake MCP retorna metadatos correctos
|
|
142
|
-
- Verificación manual: Comprobar que Antigravity lista el servidor en "Manage MCP Servers"
|
|
143
|
-
|
|
144
|
-
**Riesgos / ambigüedades:**
|
|
145
|
-
- Ninguno. MCP es estándar bien definido.
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
### AC-5: Ubicación en `tools/mcp-server` dentro del monorepo
|
|
150
|
-
|
|
151
|
-
**Interpretación:**
|
|
152
|
-
Crear nueva carpeta `tools/mcp-server/` en raíz del monorepo conteniendo:
|
|
153
|
-
```
|
|
154
|
-
tools/
|
|
155
|
-
└── mcp-server/
|
|
156
|
-
├── src/
|
|
157
|
-
│ ├── index.ts # Entry point del servidor MCP
|
|
158
|
-
│ ├── tools/ # Implementaciones de tools MCP
|
|
159
|
-
│ ├── resources/ # Resources MCP (listar drivers/modules)
|
|
160
|
-
│ └── schemas/ # JSON Schemas para validación
|
|
161
|
-
├── package.json # bin: extensio-mcp-server
|
|
162
|
-
├── tsconfig.json
|
|
163
|
-
├── README.md
|
|
164
|
-
└── tests/ # Tests unitarios e integración
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
**Verificación:**
|
|
168
|
-
- Verificación manual: Confirmar que la carpeta existe con estructura correcta
|
|
169
|
-
|
|
170
|
-
**Riesgos / ambigüedades:**
|
|
171
|
-
- **Riesgo:** Workspaces de npm no configuradas para `tools/**/*` → Mitigación: Actualizar `package.json` raíz con workspace `tools/**/*`
|
|
172
|
-
|
|
173
|
-
---
|
|
174
|
-
|
|
175
|
-
### AC-6: Estructura compatible con publicación como `@extensio/mcp-server`
|
|
176
|
-
|
|
177
|
-
**Interpretación:**
|
|
178
|
-
El `package.json` debe tener:
|
|
179
|
-
- `"name": "@extensio/mcp-server"`
|
|
180
|
-
- `"bin": { "extensio-mcp-server": "./dist/index.js" }`
|
|
181
|
-
- `"files": ["dist", "README.md", "LICENSE"]`
|
|
182
|
-
- `"repository"`, `"author"`, `"license"` correctos
|
|
183
|
-
|
|
184
|
-
**Verificación:**
|
|
185
|
-
- Verificación manual: Ejecutar `npm pack` y verificar contenido del tarball
|
|
186
|
-
|
|
187
|
-
**Riesgos / ambigüedades:**
|
|
188
|
-
- Ninguno. Configuración estándar de npm.
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
### AC-7: Validación de inputs antes de ejecución
|
|
193
|
-
|
|
194
|
-
**Interpretación:**
|
|
195
|
-
Cada tool MCP debe definir `inputSchema` (JSON Schema) y validar antes de invocar el CLI:
|
|
196
|
-
- Ejemplo: `extensio_create` valida `{ type: "driver"|"module"|"project", name: string, ... }`
|
|
197
|
-
- Si validación falla → retornar error MCP estructurado, NO ejecutar comando CLI
|
|
198
|
-
|
|
199
|
-
**Verificación:**
|
|
200
|
-
- Test unitario: Pasar inputs inválidos y verificar que retorna error sin ejecutar CLI
|
|
201
|
-
- Test de integración: Verificar que inputs válidos pasan validación y ejecutan CLI
|
|
202
|
-
|
|
203
|
-
**Riesgos / ambigüedades:**
|
|
204
|
-
- **Riesgo:** JSON Schema out-of-sync con CLI → Mitigación: Generar schemas automáticamente desde código del CLI (futuro) o mantener manualmente con comentarios de sincronización
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
### AC-8: Manejo estructurado de errores del CLI
|
|
209
|
-
|
|
210
|
-
**Interpretación:**
|
|
211
|
-
Capturar stderr, exit codes y excepciones del CLI y retornarlas como error MCP estructurado:
|
|
212
|
-
```json
|
|
213
|
-
{
|
|
214
|
-
"error": {
|
|
215
|
-
"code": "CLI_EXECUTION_FAILED",
|
|
216
|
-
"message": "Build failed for Chrome browser",
|
|
217
|
-
"details": {
|
|
218
|
-
"exitCode": 1,
|
|
219
|
-
"stderr": "...",
|
|
220
|
-
"command": "ext build --browsers chrome"
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
**Verificación:**
|
|
227
|
-
- Test de integración: Forzar error del CLI (ej. path inválido) y verificar formato de error MCP
|
|
228
|
-
|
|
229
|
-
**Riesgos / ambigüedades:**
|
|
230
|
-
- **Riesgo:** CLI no retorna exit code consistente → Mitigación: Estandarizar exit codes del CLI (fuera de scope, documentar workaround)
|
|
231
|
-
|
|
232
|
-
---
|
|
233
|
-
|
|
234
|
-
### AC-9: Demo funcional con agente real
|
|
235
|
-
|
|
236
|
-
**Interpretación:**
|
|
237
|
-
Crear un video/screencast o walkthrough documentado donde:
|
|
238
|
-
1. Se configura el servidor MCP en Google Antigravity
|
|
239
|
-
2. Un agente crea un driver nuevo (`extensio_create`)
|
|
240
|
-
3. El agente compila el driver (`extensio_build`)
|
|
241
|
-
4. El agente ejecuta tests del driver (`extensio_test`)
|
|
242
|
-
|
|
243
|
-
**Verificación:**
|
|
244
|
-
- Revisión manual del demo por el desarrollador
|
|
245
|
-
- Evidencia visual embedida en walkthrough.md
|
|
246
|
-
|
|
247
|
-
**Riesgos / ambigüedades:**
|
|
248
|
-
- **Riesgo:** Google Antigravity no disponible → Mitigación: Usar Claude Desktop como alternativa (también soporta MCP)
|
|
249
|
-
|
|
250
|
-
---
|
|
251
|
-
|
|
252
|
-
### AC-10: Tests automatizados simulando llamadas MCP
|
|
253
|
-
|
|
254
|
-
**Interpretación:**
|
|
255
|
-
Implementar tests que:
|
|
256
|
-
- **Unitarios:** Mockean CLI y verifican lógica del servidor
|
|
257
|
-
- **Integración:** Ejecutan CLI real y verifican output estructurado
|
|
258
|
-
- **E2E (opcional):** Levantan servidor MCP real via stdio y simulan cliente MCP
|
|
259
|
-
|
|
260
|
-
**Verificación:**
|
|
261
|
-
- Ejecutar `npm test` en `tools/mcp-server/` y verificar cobertura >80%
|
|
262
|
-
|
|
263
|
-
**Riesgos / ambigüedades:**
|
|
264
|
-
- **Riesgo:** Tests E2E lentos → Mitigación: Marcar E2E como opcionales, ejecutar solo en CI
|
|
265
|
-
|
|
266
|
-
---
|
|
267
|
-
|
|
268
|
-
### AC-11: Documentación con evidencia visual del demo
|
|
269
|
-
|
|
270
|
-
**Interpretación:**
|
|
271
|
-
El `README.md` y/o `/walkthrough.md` debe incluir:
|
|
272
|
-
- Screenshots de configuración en Antigravity
|
|
273
|
-
- Ejemplo de prompt del agente y respuesta del servidor MCP
|
|
274
|
-
- Output de comandos CLI ejecutados
|
|
275
|
-
|
|
276
|
-
**Verificación:**
|
|
277
|
-
- Revisión manual por desarrollador
|
|
278
|
-
|
|
279
|
-
**Riesgos / ambigüedades:**
|
|
280
|
-
- Ninguno.
|
|
281
|
-
|
|
282
|
-
---
|
|
283
|
-
|
|
284
|
-
## 4. Research técnico
|
|
285
|
-
|
|
286
|
-
Basado en el research aprobado en Fase 1, se identificaron 2 alternativas principales:
|
|
287
|
-
|
|
288
|
-
### Alternativa A: Servidor MCP con stdio transport (RECOMENDADA)
|
|
289
|
-
|
|
290
|
-
**Descripción:**
|
|
291
|
-
Implementar servidor MCP usando transporte stdio (stdin/stdout) para comunicación local con Google Antigravity. El servidor invoca el CLI de Extensio mediante `child_process.spawn()`.
|
|
292
|
-
|
|
293
|
-
**Ventajas:**
|
|
294
|
-
- Máxima performance (sin overhead de red)
|
|
295
|
-
- Seguridad mejorada (comunicación local)
|
|
296
|
-
- Simplicidad (no requiere autenticación)
|
|
297
|
-
- Soporte nativo en Google Antigravity
|
|
298
|
-
- Alineado con patrones LSP y MCP estándar
|
|
299
|
-
|
|
300
|
-
**Inconvenientes:**
|
|
301
|
-
- Limitado a uso local (no remoto)
|
|
302
|
-
|
|
303
|
-
**Decisión recomendada:** **Implementar Alternativa A (stdio transport)** para MVP.
|
|
304
|
-
|
|
305
|
-
**Justificación:**
|
|
306
|
-
- Los acceptance criteria no requieren acceso remoto
|
|
307
|
-
- El CLI de Extensio está diseñado para uso local en monorepo
|
|
308
|
-
- Menor complejidad = más rápido time-to-market
|
|
309
|
-
|
|
310
|
-
---
|
|
311
|
-
|
|
312
|
-
### Alternativa B: Servidor MCP con HTTP SSE transport
|
|
313
|
-
|
|
314
|
-
**Descripción:**
|
|
315
|
-
Servidor accesible vía HTTP con Server-Sent Events.
|
|
316
|
-
|
|
317
|
-
**Decisión:** **Descartada para MVP**. Puede considerarse en futuras iteraciones si surge necesidad de acceso remoto.
|
|
318
|
-
|
|
319
|
-
---
|
|
320
|
-
|
|
321
|
-
## 5. Agentes participantes
|
|
322
|
-
|
|
323
|
-
### Architect Agent
|
|
324
|
-
**Responsabilidades:**
|
|
325
|
-
- Validar coherencia arquitectónica global
|
|
326
|
-
- Revisar implementación del servidor MCP contra constitución de Extensio
|
|
327
|
-
- Aprobar que el servidor NO viola principios de drivers.md, clean-code.md, extensio-architecture.md
|
|
328
|
-
- Validar que la ubicación `tools/mcp-server` es apropiada
|
|
329
|
-
|
|
330
|
-
**Subáreas asignadas:**
|
|
331
|
-
- Revisión arquitectónica en Fase 4 (`architect/review.md`)
|
|
332
|
-
|
|
333
|
-
---
|
|
334
|
-
|
|
335
|
-
### QA Agent (activado en Fase 4 y Fase 5)
|
|
336
|
-
**Responsabilidades:**
|
|
337
|
-
- Diseñar tests unitarios e integración para el servidor MCP
|
|
338
|
-
- Implementar tests simulando llamadas MCP
|
|
339
|
-
- Verificar coverage >80%
|
|
340
|
-
- Ejecutar tests y reportar métricas
|
|
341
|
-
|
|
342
|
-
**Subáreas asignadas:**
|
|
343
|
-
- `tools/mcp-server/tests/` (tests unitarios e integración)
|
|
344
|
-
- Verificación en Fase 5
|
|
345
|
-
|
|
346
|
-
---
|
|
347
|
-
|
|
348
|
-
### Implementer Agent (rol genérico para Fase 4)
|
|
349
|
-
**Responsabilidades:**
|
|
350
|
-
- Crear estructura de carpetas `tools/mcp-server/`
|
|
351
|
-
- Implementar servidor MCP con TypeScript SDK (`@modelcontextprotocol/sdk`)
|
|
352
|
-
- Implementar 4 tools: `extensio_create`, `extensio_build`, `extensio_test`, `extensio_demo`
|
|
353
|
-
- Implementar resources: `extensio://drivers`, `extensio://modules`
|
|
354
|
-
- Crear JSON Schemas para validación de inputs
|
|
355
|
-
- Generar README.md con documentación de integración
|
|
356
|
-
- Actualizar workspace config del monorepo
|
|
357
|
-
|
|
358
|
-
**Subáreas asignadas:**
|
|
359
|
-
- `tools/mcp-server/src/` (implementación)
|
|
360
|
-
- `tools/mcp-server/README.md` (documentación)
|
|
361
|
-
|
|
362
|
-
---
|
|
363
|
-
|
|
364
|
-
**Handoffs:**
|
|
365
|
-
1. **Implementer → QA:** Tras completar implementación, QA diseña y ejecuta tests
|
|
366
|
-
2. **QA → Architect:** Tras tests, architect revisa coherencia arquitectónica
|
|
367
|
-
3. **Architect → Developer:** Architect presenta revisión al desarrollador para aprobación final
|
|
368
|
-
|
|
369
|
-
---
|
|
370
|
-
|
|
371
|
-
**Componentes necesarios**
|
|
372
|
-
|
|
373
|
-
| Acción | Tipo | Nombre | Justificación |
|
|
374
|
-
|--------|------|--------|---------------|
|
|
375
|
-
| **CREAR** | Tool (MCP Server) | `tools/mcp-server` | No existe servidor MCP actual |
|
|
376
|
-
| **CREAR** | Docs | `tools/mcp-server/README.md` | Documentación de integración |
|
|
377
|
-
| **CREAR** | Tests | `tools/mcp-server/tests/` | Verificación automatizada |
|
|
378
|
-
| **CREAR** | Demo | `.agent/artifacts/1-mcp-server-extensio-cli/demo/` | Evidencia de uso real |
|
|
379
|
-
| **MODIFICAR** | Config | `package.json` (raíz) | Añadir workspace `tools/**/*` |
|
|
380
|
-
|
|
381
|
-
**Ningún driver ni módulo requiere modificación.** El servidor MCP es una herramienta independiente que consume el CLI existente.
|
|
382
|
-
|
|
383
|
-
---
|
|
384
|
-
|
|
385
|
-
**Demo (si aplica)**
|
|
386
|
-
|
|
387
|
-
**Necesidad:** SÍ
|
|
388
|
-
**Justificación:**
|
|
389
|
-
AC-9 y AC-11 requieren explícitamente demo funcional con agente real y evidencia visual.
|
|
390
|
-
|
|
391
|
-
**Alineación con `constitution.extensio_architecture`:**
|
|
392
|
-
El demo NO es un driver ni módulo del framework Extensio. Es una **herramienta de desarrollo** (`tools/`) que demuestra el uso del servidor MCP. No viola ningún principio arquitectónico de Extensio.
|
|
393
|
-
|
|
394
|
-
**Forma del demo:**
|
|
395
|
-
- Walkthrough documentado con screenshots
|
|
396
|
-
- Video/screencast (opcional, recomendado)
|
|
397
|
-
- Embeding en `walkthrough.md` final
|
|
398
|
-
|
|
399
|
-
---
|
|
400
|
-
|
|
401
|
-
## 6. Impacto de la tarea
|
|
402
|
-
|
|
403
|
-
### Arquitectura
|
|
404
|
-
**Cambios estructurales previstos:**
|
|
405
|
-
- Nueva carpeta `tools/` en raíz del monorepo
|
|
406
|
-
- Nuevo paquete `@extensio/mcp-server` publicable en npm
|
|
407
|
-
- Workspace de npm actualizado para incluir `tools/**/*`
|
|
408
|
-
|
|
409
|
-
**Impacto:** Bajo. No afecta a core, drivers ni modules.
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
### APIs / contratos
|
|
414
|
-
**Cambios en interfaces públicas:**
|
|
415
|
-
Ninguno. El servidor MCP consume el CLI existente (`@extensio/cli`) sin modificarlo.
|
|
416
|
-
|
|
417
|
-
**Nueva interfaz pública:**
|
|
418
|
-
Servidor MCP expone tools/resources vía protocolo MCP (JSON-RPC 2.0). Esta interfaz es **externa** al framework Extensio (para agentes AI), no afecta a contratos internos.
|
|
419
|
-
|
|
420
|
-
---
|
|
421
|
-
|
|
422
|
-
### Compatibilidad
|
|
423
|
-
**Riesgos de breaking changes:**
|
|
424
|
-
Ninguno. Es una adición completamente nueva. No modifica código existente.
|
|
425
|
-
|
|
426
|
-
---
|
|
427
|
-
|
|
428
|
-
### Testing / verificación
|
|
429
|
-
**Tipos de pruebas necesarias:**
|
|
430
|
-
1. **Unitarios (Vitest):**
|
|
431
|
-
- Validación de JSON Schemas
|
|
432
|
-
- Parsing de outputs del CLI
|
|
433
|
-
- Manejo de errores
|
|
434
|
-
|
|
435
|
-
2. **Integración (Vitest + CLI real):**
|
|
436
|
-
- Ejecutar comandos del CLI y verificar outputs
|
|
437
|
-
- Simulación de errores del CLI
|
|
438
|
-
|
|
439
|
-
3. **E2E (opcional, Playwright o MCP Inspector):**
|
|
440
|
-
- Levantar servidor MCP real
|
|
441
|
-
- Simular cliente MCP y verificar herramientas
|
|
442
|
-
|
|
443
|
-
4. **Manual (Demo con Google Antigravity):**
|
|
444
|
-
- Configurar Antigravity
|
|
445
|
-
- Ejecutar workflow completo (create → build → test)
|
|
446
|
-
|
|
447
|
-
---
|
|
448
|
-
|
|
449
|
-
## 7. Riesgos y mitigaciones
|
|
450
|
-
|
|
451
|
-
| Riesgo | Impacto | Mitigación |
|
|
452
|
-
|--------|---------|------------|
|
|
453
|
-
| Child process failures (CLI cuelga o crashea) | Alto | Timeouts + kill signal, capturar stderr |
|
|
454
|
-
| Buffering stdio del servidor MCP | Medio | Usar streams line-buffered, chunked parsing |
|
|
455
|
-
| Paths inseguros (user input con `../`) | Alto | Validar paths relativos al monorepo, prohibir `..` |
|
|
456
|
-
| JSON Schema out-of-sync con CLI | Medio | Comentarios de sincronización, revisar en cada release |
|
|
457
|
-
| Google Antigravity breaking changes | Bajo | Versionar docs, monitorear changelog de MCP |
|
|
458
|
-
| Compatibilidad MCP protocol versions | Bajo | Especificar `protocolVersion: "2024-11-05"` en handshake |
|
|
459
|
-
|
|
460
|
-
---
|
|
461
|
-
|
|
462
|
-
## 8. Preguntas abiertas
|
|
463
|
-
|
|
464
|
-
Ninguna. Todos los acceptance criteria fueron clarificados en Fase 0.
|
|
465
|
-
|
|
466
|
-
---
|
|
467
|
-
|
|
468
|
-
## 9. Aprobación
|
|
469
|
-
|
|
470
|
-
Este análisis **requiere aprobación explícita del desarrollador**.
|
|
471
|
-
|
|
472
|
-
```yaml
|
|
473
|
-
approval:
|
|
474
|
-
developer:
|
|
475
|
-
decision: SI
|
|
476
|
-
date: 2026-01-06T21:09:21+01:00
|
|
477
|
-
comments: "Análisis aprobado. Proceder con planning detallado en Fase 3."
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
> Sin aprobación, esta fase **NO puede darse por completada** ni avanzar a Fase 3.
|