@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
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para crear módulos siguiendo la constitución y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.modules.create
|
|
7
|
-
owner: module-agent
|
|
8
|
-
version: 2.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["module-create", "modules:create"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: modules.create
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan la creación de un nuevo módulo:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de creación de módulo (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que la creación de un nuevo módulo cumple:
|
|
27
|
-
- la constitución de módulos (`constitution.modules`)
|
|
28
|
-
- la constitución de pages (`constitution.pages`) si aplica
|
|
29
|
-
- la constitución de shards (`constitution.shards`) si aplica
|
|
30
|
-
- la arquitectura de Extensio y reglas globales
|
|
31
|
-
- la integración correcta en el ecosistema
|
|
32
|
-
|
|
33
|
-
> Esta fase **NO** omite auditoría del architect-agent.
|
|
34
|
-
|
|
35
|
-
## Template (OBLIGATORIO)
|
|
36
|
-
- El informe **DEBE** crearse usando el template:
|
|
37
|
-
- `templates.module_create`
|
|
38
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## Pasos obligatorios
|
|
43
|
-
|
|
44
|
-
0. Activar `module-agent` y usar prefijo obligatorio en cada mensaje.
|
|
45
|
-
|
|
46
|
-
1. Verificar inputs
|
|
47
|
-
- Existe `plan.md` que requiere crear un módulo.
|
|
48
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
49
|
-
|
|
50
|
-
2. Crear el módulo (module-agent)
|
|
51
|
-
- El **module-agent** usa su skill `extensio_create_module`:
|
|
52
|
-
- Leer `.agent/skills/extensio-create-module/SKILL.md`
|
|
53
|
-
- Ejecutar MCP tool `mcp_extensio-cli_extensio_create` con:
|
|
54
|
-
- `type: "module"`
|
|
55
|
-
- `name`: nombre del módulo
|
|
56
|
-
- `withShards`: según necesidades de UI
|
|
57
|
-
- `withPages`: según necesidades de páginas
|
|
58
|
-
- `includeDemo`: true (default)
|
|
59
|
-
- La creación manual **solo** es válida si el CLI no soporta la operación.
|
|
60
|
-
- Garantizar estructura, types, constants, globals y ciclo de vida.
|
|
61
|
-
|
|
62
|
-
3. Verificar estructura base (OBLIGATORIO)
|
|
63
|
-
- Verificar que `global.d.mts` contiene el namespace `Extensio.<NombreModulo>`.
|
|
64
|
-
- Verificar que `constants.mts` root exporta las constantes del módulo.
|
|
65
|
-
- Verificar que `demo/` existe y es funcional.
|
|
66
|
-
- Validar scopes (Engine obligatorio).
|
|
67
|
-
- Verificar reactividad y `waitingLoadProps` donde aplique.
|
|
68
|
-
- Si falta algo → corregir antes de continuar.
|
|
69
|
-
|
|
70
|
-
4. Verificar Surfaces (si aplica)
|
|
71
|
-
|
|
72
|
-
**Si el módulo tiene Pages:**
|
|
73
|
-
- Verificar que existe `src/surface/pages/index.mts` con imports de HTML.
|
|
74
|
-
- Verificar estructura: `<page-name>/index.html` + `<page-name>/index.mts`
|
|
75
|
-
- Verificar ciclo de vida: `run()` → `listen()` → `start()`
|
|
76
|
-
- Verificar responsabilidades (§11-12 de `constitution.pages`):
|
|
77
|
-
- Solo lógica de presentación
|
|
78
|
-
- Solo lógica de interacción
|
|
79
|
-
- Solo orquestación de Shards
|
|
80
|
-
- NO estado persistente de negocio
|
|
81
|
-
|
|
82
|
-
**Si el módulo tiene Shards:**
|
|
83
|
-
- Verificar que existe `src/surface/shards/index.mts` con `Shard.register()`.
|
|
84
|
-
- Verificar que cada Shard tiene `getTagName()` único.
|
|
85
|
-
- Verificar cumplimiento de `constitution.shards`.
|
|
86
|
-
|
|
87
|
-
5. Crear informe de creación
|
|
88
|
-
- Crear:
|
|
89
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`
|
|
90
|
-
- Completar el informe según el template.
|
|
91
|
-
|
|
92
|
-
6. Auditoría del architect-agent (OBLIGATORIA)
|
|
93
|
-
- El `architect-agent` **DEBE** revisar el módulo y el informe.
|
|
94
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
95
|
-
|
|
96
|
-
7. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
97
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
98
|
-
- **SI** → aprobado
|
|
99
|
-
- **NO** → rechazado
|
|
100
|
-
- Registrar la decision en `module/create.md`:
|
|
101
|
-
```yaml
|
|
102
|
-
approval:
|
|
103
|
-
developer:
|
|
104
|
-
decision: SI | NO
|
|
105
|
-
date: <ISO-8601>
|
|
106
|
-
comments: <opcional>
|
|
107
|
-
```
|
|
108
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
109
|
-
|
|
110
|
-
8. PASS
|
|
111
|
-
- Informar que el módulo cumple el contrato.
|
|
112
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
113
|
-
- Agregar una entrada en `task.lifecycle.subflows.modules.create[]`:
|
|
114
|
-
- `name: <module-name>`
|
|
115
|
-
- `completed: true`
|
|
116
|
-
- `validated_by: "architect-agent"`
|
|
117
|
-
- `validated_at: <ISO-8601>`
|
|
118
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## FAIL (OBLIGATORIO)
|
|
123
|
-
|
|
124
|
-
9. Declarar creación de módulo como **NO completada**
|
|
125
|
-
- Indicar exactamente qué falló:
|
|
126
|
-
- plan inexistente o no requiere módulo
|
|
127
|
-
- template inexistente
|
|
128
|
-
- incumplimiento de `constitution.modules`
|
|
129
|
-
- incumplimiento de `constitution.pages` (si aplica)
|
|
130
|
-
- incumplimiento de `constitution.shards` (si aplica)
|
|
131
|
-
- Pages con lógica de negocio persistente (violación §11-12)
|
|
132
|
-
- fallos de integración en el ecosistema
|
|
133
|
-
- auditoría del architect-agent rechazada
|
|
134
|
-
- Acción mínima:
|
|
135
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
136
|
-
- Terminar bloqueado: no avanzar.
|
|
137
|
-
|
|
138
|
-
---
|
|
139
|
-
|
|
140
|
-
## Gate (REQUIRED)
|
|
141
|
-
|
|
142
|
-
Requisitos (todos obligatorios):
|
|
143
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`.
|
|
144
|
-
2. El informe sigue la estructura del template `templates.module_create`.
|
|
145
|
-
3. El `module/create.md` inicia con el prefijo del `module-agent`.
|
|
146
|
-
4. El módulo cumple `constitution.modules`.
|
|
147
|
-
5. Si hay Pages, cumplen `constitution.pages` (especialmente §11-12).
|
|
148
|
-
6. Si hay Shards, cumplen `constitution.shards`.
|
|
149
|
-
7. Auditoría del architect-agent aprobada.
|
|
150
|
-
8. Existe aprobacion explicita del desarrollador (por consola) registrada en `module/create.md`:
|
|
151
|
-
- `approval.developer.decision == SI`
|
|
152
|
-
9. `task.md` refleja subflow y timestamp:
|
|
153
|
-
- Existe una entrada en `task.lifecycle.subflows.modules.create[]` con:
|
|
154
|
-
- `name: <module-name>`
|
|
155
|
-
- `completed == true`
|
|
156
|
-
- `validated_at` no nulo
|
|
157
|
-
- `task.phase.updated_at` no nulo
|
|
158
|
-
|
|
159
|
-
Si Gate FAIL:
|
|
160
|
-
- Ejecutar **Paso 9 (FAIL)**.
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para eliminar modulos siguiendo la constitucion y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.modules.delete
|
|
7
|
-
owner: module-agent
|
|
8
|
-
version: 1.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["module-delete", "modules:delete"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: modules.delete
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan la eliminacion de un modulo:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de eliminacion de modulo (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/delete.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que la eliminacion de un modulo cumple:
|
|
27
|
-
- la constitucion de modulos
|
|
28
|
-
- la arquitectura de Extensio y reglas globales
|
|
29
|
-
- la integridad del ecosistema
|
|
30
|
-
|
|
31
|
-
> Esta fase **NO** omite auditoria del architect-agent.
|
|
32
|
-
|
|
33
|
-
## Template (OBLIGATORIO)
|
|
34
|
-
- El informe **DEBE** crearse usando el template:
|
|
35
|
-
- `templates.module_delete`
|
|
36
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Pasos obligatorios
|
|
41
|
-
|
|
42
|
-
0. Activar `module-agent` y usar prefijo obligatorio en cada mensaje.
|
|
43
|
-
|
|
44
|
-
1. Verificar inputs
|
|
45
|
-
- Existe `plan.md` que requiere eliminar un modulo.
|
|
46
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
47
|
-
|
|
48
|
-
2. Eliminar el modulo
|
|
49
|
-
- Eliminar modulo y referencias.
|
|
50
|
-
- Validar sin imports huerfanos.
|
|
51
|
-
- Confirmar que no quedan referencias en globals/constants.
|
|
52
|
-
|
|
53
|
-
3. Crear informe de eliminacion
|
|
54
|
-
- Crear:
|
|
55
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/delete.md`
|
|
56
|
-
- Completar el informe segun el template.
|
|
57
|
-
|
|
58
|
-
4. Auditoria del architect-agent (OBLIGATORIA)
|
|
59
|
-
- El `architect-agent` **DEBE** revisar el informe.
|
|
60
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
61
|
-
|
|
62
|
-
5. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
63
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
64
|
-
- **SI** → aprobado
|
|
65
|
-
- **NO** → rechazado
|
|
66
|
-
- Registrar la decision en `module/delete.md`:
|
|
67
|
-
```yaml
|
|
68
|
-
approval:
|
|
69
|
-
developer:
|
|
70
|
-
decision: SI | NO
|
|
71
|
-
date: <ISO-8601>
|
|
72
|
-
comments: <opcional>
|
|
73
|
-
```
|
|
74
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
75
|
-
|
|
76
|
-
6. PASS
|
|
77
|
-
- Informar que la eliminacion cumple el contrato.
|
|
78
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
79
|
-
- Agregar una entrada en `task.lifecycle.subflows.modules.delete[]`:
|
|
80
|
-
- `name: <module-name>`
|
|
81
|
-
- `completed: true`
|
|
82
|
-
- `validated_by: "architect-agent"`
|
|
83
|
-
- `validated_at: <ISO-8601>`
|
|
84
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## FAIL (OBLIGATORIO)
|
|
89
|
-
|
|
90
|
-
9. Declarar eliminacion de modulo como **NO completada**
|
|
91
|
-
- Indicar exactamente que fallo:
|
|
92
|
-
- plan inexistente o no requiere modulo
|
|
93
|
-
- template inexistente
|
|
94
|
-
- incumplimiento de `constitution.modules`
|
|
95
|
-
- fallos de integracion en el ecosistema
|
|
96
|
-
- auditoria del architect-agent rechazada
|
|
97
|
-
- Accion minima:
|
|
98
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
99
|
-
- Terminar bloqueado: no avanzar.
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## Gate (REQUIRED)
|
|
104
|
-
|
|
105
|
-
Requisitos (todos obligatorios):
|
|
106
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/module/delete.md`.
|
|
107
|
-
2. El informe sigue la estructura del template `templates.module_delete`.
|
|
108
|
-
3. El `module/delete.md` inicia con el prefijo del `module-agent`.
|
|
109
|
-
4. La eliminacion cumple `constitution.modules`.
|
|
110
|
-
5. Auditoria del architect-agent aprobada.
|
|
111
|
-
6. Existe aprobacion explicita del desarrollador (por consola) registrada en `module/delete.md`:
|
|
112
|
-
- `approval.developer.decision == SI`
|
|
113
|
-
7. `task.md` refleja subflow y timestamp:
|
|
114
|
-
- Existe una entrada en `task.lifecycle.subflows.modules.delete[]` con:
|
|
115
|
-
- `name: <module-name>`
|
|
116
|
-
- `completed == true`
|
|
117
|
-
- `validated_at` no nulo
|
|
118
|
-
- `task.phase.updated_at` no nulo
|
|
119
|
-
|
|
120
|
-
Si Gate FAIL:
|
|
121
|
-
- Ejecutar **Paso 9 (FAIL)**.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: workflows.modules.index
|
|
3
|
-
owner: architect-agent
|
|
4
|
-
version: 2.0.0
|
|
5
|
-
severity: PERMANENT
|
|
6
|
-
description: Indice del dominio de workflows para modulos.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# INDEX — Workflows / Modules
|
|
10
|
-
|
|
11
|
-
## Objetivo
|
|
12
|
-
Este fichero define los workflows del dominio `modules`.
|
|
13
|
-
|
|
14
|
-
## Aliases (YAML)
|
|
15
|
-
```yaml
|
|
16
|
-
workflows:
|
|
17
|
-
modules:
|
|
18
|
-
create: .agent/workflows/modules/create.md
|
|
19
|
-
refactor: .agent/workflows/modules/refactor.md
|
|
20
|
-
delete: .agent/workflows/modules/delete.md
|
|
21
|
-
shards_create: .agent/workflows/modules/shards.create.md
|
|
22
|
-
pages_create: .agent/workflows/modules/pages.create.md
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Reglas
|
|
26
|
-
- Este indice **solo** declara workflows del dominio `modules`.
|
|
27
|
-
- Cualquier workflow nuevo **DEBE** añadirse aqui antes de ser referenciado.
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para crear Pages siguiendo la constitución de Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.pages.create
|
|
7
|
-
owner: module-agent
|
|
8
|
-
version: 2.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["page-create", "pages:create"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: pages.create
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El módulo donde se creará la Page ya existe y cumple `constitution.modules`.
|
|
19
|
-
- El plan o la tarea requiere crear una nueva Page.
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Page creada con estructura completa
|
|
23
|
-
- Índice de Pages actualizado
|
|
24
|
-
- Page accesible mediante `Engine.navigate()`
|
|
25
|
-
|
|
26
|
-
## Objetivo (ONLY)
|
|
27
|
-
Asegurar que la creación de una Page cumple:
|
|
28
|
-
- `constitution.pages` (estructura, ciclo de vida, responsabilidades)
|
|
29
|
-
- Integración correcta con el módulo y el Engine
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Pasos obligatorios
|
|
34
|
-
|
|
35
|
-
0. Activar `module-agent` y usar prefijo obligatorio en cada mensaje.
|
|
36
|
-
|
|
37
|
-
### 1. Verificar inputs
|
|
38
|
-
- Existe el módulo destino.
|
|
39
|
-
- El módulo tiene estructura válida.
|
|
40
|
-
- Si falla → **FAIL**.
|
|
41
|
-
|
|
42
|
-
### 2. Crear estructura de carpetas
|
|
43
|
-
```
|
|
44
|
-
src/surface/pages/<page-name>/
|
|
45
|
-
├── index.html # Documento HTML
|
|
46
|
-
├── index.mts # Script principal
|
|
47
|
-
└── styles.css # Estilos (opcional)
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### 3. Crear documento HTML (`index.html`)
|
|
51
|
-
El HTML **DEBE**:
|
|
52
|
-
- Ser un documento HTML5 válido
|
|
53
|
-
- Incluir `<script type="module" src="./index.mts">`
|
|
54
|
-
- No contener lógica inline
|
|
55
|
-
|
|
56
|
-
Ejemplo mínimo:
|
|
57
|
-
```html
|
|
58
|
-
<!DOCTYPE html>
|
|
59
|
-
<html lang="en">
|
|
60
|
-
<head>
|
|
61
|
-
<meta charset="UTF-8">
|
|
62
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
63
|
-
<title>Page Name</title>
|
|
64
|
-
<link rel="stylesheet" href="./styles.css">
|
|
65
|
-
</head>
|
|
66
|
-
<body>
|
|
67
|
-
<div id="app"></div>
|
|
68
|
-
<script type="module" src="./index.mts"></script>
|
|
69
|
-
</body>
|
|
70
|
-
</html>
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### 4. Crear script principal (`index.mts`)
|
|
74
|
-
El script **DEBE**:
|
|
75
|
-
- Extender la clase `Page`
|
|
76
|
-
- Implementar el ciclo de vida: `run()` → `listen()` → `start()`
|
|
77
|
-
- Respetar las responsabilidades (§11-12):
|
|
78
|
-
- Solo lógica de presentación
|
|
79
|
-
- Solo lógica de interacción
|
|
80
|
-
- Solo orquestación de Shards
|
|
81
|
-
|
|
82
|
-
Ejemplo mínimo:
|
|
83
|
-
```ts
|
|
84
|
-
import { Page } from '@extensio/core/surface/pages';
|
|
85
|
-
|
|
86
|
-
class MyPage extends Page {
|
|
87
|
-
constructor() {
|
|
88
|
-
super('my-page');
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
override listen() {
|
|
92
|
-
super.listen();
|
|
93
|
-
// Registrar listeners de eventos/drivers
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
override start() {
|
|
97
|
-
// Lógica de presentación
|
|
98
|
-
this.render();
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private render() {
|
|
102
|
-
const app = document.getElementById('app');
|
|
103
|
-
if (app) {
|
|
104
|
-
app.innerHTML = '<h1>My Page</h1>';
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
const page = new MyPage();
|
|
110
|
-
page.run();
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### 5. Registrar en índice de Pages
|
|
114
|
-
Actualizar `src/surface/pages/index.mts`:
|
|
115
|
-
```ts
|
|
116
|
-
import myPage from "./my-page/index.html";
|
|
117
|
-
|
|
118
|
-
export const Pages = {
|
|
119
|
-
// ... otras pages
|
|
120
|
-
myPage,
|
|
121
|
-
};
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### 6. Importar índice en Engine
|
|
125
|
-
Verificar que el Engine importa el índice de Pages para que el CLI las detecte:
|
|
126
|
-
```ts
|
|
127
|
-
// En el Engine
|
|
128
|
-
import { Pages } from './surface/pages/index.mts';
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### 7. Verificar responsabilidades (§11-12)
|
|
132
|
-
La Page **DEBE** contener solo:
|
|
133
|
-
- ✅ Lógica de presentación
|
|
134
|
-
- ✅ Lógica de interacción
|
|
135
|
-
- ✅ Orquestación de Shards
|
|
136
|
-
|
|
137
|
-
La Page **NO DEBE** contener:
|
|
138
|
-
- ❌ Estado de negocio persistente
|
|
139
|
-
- ❌ Lógica que afecte otras partes de la extensión
|
|
140
|
-
- ❌ Duplicación de lógica del Engine
|
|
141
|
-
|
|
142
|
-
### 8. Validar accesibilidad
|
|
143
|
-
- Verificar que la Page es accesible mediante `navigate()`:
|
|
144
|
-
```ts
|
|
145
|
-
await this.navigate(Pages.myPage);
|
|
146
|
-
```
|
|
147
|
-
- Ejecutar build para verificar que el CLI procesa la Page correctamente.
|
|
148
|
-
|
|
149
|
-
### 9. Solicitar aprobación del desarrollador (OBLIGATORIA, por consola)
|
|
150
|
-
- El desarrollador **DEBE** aprobar la Page creada:
|
|
151
|
-
- **SI** → aprobado
|
|
152
|
-
- **NO** → rechazado
|
|
153
|
-
- Registrar la decision en el informe de creacion:
|
|
154
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/create.md`
|
|
155
|
-
```yaml
|
|
156
|
-
approval:
|
|
157
|
-
developer:
|
|
158
|
-
decision: SI | NO
|
|
159
|
-
date: <ISO-8601>
|
|
160
|
-
comments: <opcional>
|
|
161
|
-
```
|
|
162
|
-
- Si `decision != SI` → ir a **Paso 11 (FAIL)**.
|
|
163
|
-
|
|
164
|
-
### 10. PASS
|
|
165
|
-
- La Page cumple `constitution.pages`.
|
|
166
|
-
- La Page está registrada e integrada.
|
|
167
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
168
|
-
- Agregar una entrada en `task.lifecycle.subflows.pages.create[]`:
|
|
169
|
-
- `name: <page-name>`
|
|
170
|
-
- `completed: true`
|
|
171
|
-
- `validated_by: "architect-agent"`
|
|
172
|
-
- `validated_at: <ISO-8601>`
|
|
173
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## FAIL (OBLIGATORIO)
|
|
178
|
-
|
|
179
|
-
11. Declarar creación como **NO completada**
|
|
180
|
-
- Indicar qué falló:
|
|
181
|
-
- Estructura incorrecta (§3)
|
|
182
|
-
- Ciclo de vida incompleto (§4)
|
|
183
|
-
- Responsabilidades incorrectas (§11-12)
|
|
184
|
-
- No registrada en índice
|
|
185
|
-
- No accesible via `navigate()`
|
|
186
|
-
- Corregir antes de continuar.
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
## Gate (REQUIRED)
|
|
191
|
-
|
|
192
|
-
Requisitos (todos obligatorios):
|
|
193
|
-
1. Estructura: `<page-name>/index.html` + `<page-name>/index.mts`
|
|
194
|
-
2. HTML válido con `<script type="module">`
|
|
195
|
-
3. Script extiende `Page` y usa `run()` → `listen()` → `start()`
|
|
196
|
-
4. Responsabilidades conforme a §11-12
|
|
197
|
-
5. Registrada en `src/surface/pages/index.mts`
|
|
198
|
-
6. Índice importado en Engine
|
|
199
|
-
7. Accesible mediante `navigate()`
|
|
200
|
-
8. Existe aprobación explícita del desarrollador (por consola) registrada en `module/create.md`:
|
|
201
|
-
- `approval.developer.decision == SI`
|
|
202
|
-
9. `task.md` refleja subflow y timestamp:
|
|
203
|
-
- Existe una entrada en `task.lifecycle.subflows.pages.create[]` con:
|
|
204
|
-
- `name: <page-name>`
|
|
205
|
-
- `completed == true`
|
|
206
|
-
- `validated_at` no nulo
|
|
207
|
-
- `task.phase.updated_at` no nulo
|
|
208
|
-
|
|
209
|
-
Si Gate FAIL:
|
|
210
|
-
- Ejecutar **Paso 11 (FAIL)**.
|
|
211
|
-
|
|
212
|
-
---
|
|
213
|
-
|
|
214
|
-
## Nota: Hooks Automáticos
|
|
215
|
-
|
|
216
|
-
Las Pages heredan de Surface, por lo que tienen acceso a los hooks automáticos:
|
|
217
|
-
|
|
218
|
-
- **onMount()**: Se ejecuta automáticamente DESPUÉS de `render()`. Sobrescribir para lógica post-render.
|
|
219
|
-
- **onUnmount()**: Se ejecuta automáticamente ANTES de destruir (cuando el tab se cierra). Sobrescribir para cleanup.
|
|
220
|
-
|
|
221
|
-
```ts
|
|
222
|
-
class MyPage extends Page {
|
|
223
|
-
protected override onMount(): void {
|
|
224
|
-
console.log('Page visible y montada');
|
|
225
|
-
// Inicializar animaciones, enfocar elementos, etc.
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
protected override onUnmount(): void {
|
|
229
|
-
// Cancelar timers, remover listeners globales, etc.
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
Estos hooks son opcionales pero recomendados para gestionar el ciclo de vida del componente.
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para refactorizar modulos siguiendo la constitucion y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.modules.refactor
|
|
7
|
-
owner: module-agent
|
|
8
|
-
version: 1.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["module-refactor", "modules:refactor"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: modules.refactor
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan el refactor de un modulo:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de refactor de modulo (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/refactor.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que el refactor de un modulo cumple:
|
|
27
|
-
- la constitucion de modulos
|
|
28
|
-
- la arquitectura de Extensio y reglas globales
|
|
29
|
-
- la integracion correcta en el ecosistema
|
|
30
|
-
|
|
31
|
-
> Esta fase **NO** omite auditoria del architect-agent.
|
|
32
|
-
|
|
33
|
-
## Template (OBLIGATORIO)
|
|
34
|
-
- El informe **DEBE** crearse usando el template:
|
|
35
|
-
- `templates.module_refactor`
|
|
36
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Pasos obligatorios
|
|
41
|
-
|
|
42
|
-
0. Activar `module-agent` y usar prefijo obligatorio en cada mensaje.
|
|
43
|
-
|
|
44
|
-
1. Verificar inputs
|
|
45
|
-
- Existe `plan.md` que requiere refactor de modulo.
|
|
46
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
47
|
-
|
|
48
|
-
2. Ejecutar refactor
|
|
49
|
-
- Aplicar cambios definidos en el plan.
|
|
50
|
-
- Validar estructura post-refactor.
|
|
51
|
-
- Validar scopes preservados.
|
|
52
|
-
- Validar reactividad y ciclo de vida intactos.
|
|
53
|
-
|
|
54
|
-
3. Crear informe de refactor
|
|
55
|
-
- Crear:
|
|
56
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/module/refactor.md`
|
|
57
|
-
- Completar el informe segun el template.
|
|
58
|
-
|
|
59
|
-
4. Auditoria del architect-agent (OBLIGATORIA)
|
|
60
|
-
- El `architect-agent` **DEBE** revisar el modulo y el informe.
|
|
61
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
62
|
-
|
|
63
|
-
5. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
64
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
65
|
-
- **SI** → aprobado
|
|
66
|
-
- **NO** → rechazado
|
|
67
|
-
- Registrar la decision en `module/refactor.md`:
|
|
68
|
-
```yaml
|
|
69
|
-
approval:
|
|
70
|
-
developer:
|
|
71
|
-
decision: SI | NO
|
|
72
|
-
date: <ISO-8601>
|
|
73
|
-
comments: <opcional>
|
|
74
|
-
```
|
|
75
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
76
|
-
|
|
77
|
-
6. PASS
|
|
78
|
-
- Informar que el modulo cumple el contrato.
|
|
79
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
80
|
-
- Agregar una entrada en `task.lifecycle.subflows.modules.refactor[]`:
|
|
81
|
-
- `name: <module-name>`
|
|
82
|
-
- `completed: true`
|
|
83
|
-
- `validated_by: "architect-agent"`
|
|
84
|
-
- `validated_at: <ISO-8601>`
|
|
85
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## FAIL (OBLIGATORIO)
|
|
90
|
-
|
|
91
|
-
9. Declarar refactor de modulo como **NO completado**
|
|
92
|
-
- Indicar exactamente que fallo:
|
|
93
|
-
- plan inexistente o no requiere modulo
|
|
94
|
-
- template inexistente
|
|
95
|
-
- incumplimiento de `constitution.modules`
|
|
96
|
-
- fallos de integracion en el ecosistema
|
|
97
|
-
- auditoria del architect-agent rechazada
|
|
98
|
-
- Accion minima:
|
|
99
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
100
|
-
- Terminar bloqueado: no avanzar.
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## Gate (REQUIRED)
|
|
105
|
-
|
|
106
|
-
Requisitos (todos obligatorios):
|
|
107
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/module/refactor.md`.
|
|
108
|
-
2. El informe sigue la estructura del template `templates.module_refactor`.
|
|
109
|
-
3. El `module/refactor.md` inicia con el prefijo del `module-agent`.
|
|
110
|
-
4. El modulo cumple `constitution.modules`.
|
|
111
|
-
5. Auditoria del architect-agent aprobada.
|
|
112
|
-
6. Existe aprobacion explicita del desarrollador (por consola) registrada en `module/refactor.md`:
|
|
113
|
-
- `approval.developer.decision == SI`
|
|
114
|
-
7. `task.md` refleja subflow y timestamp:
|
|
115
|
-
- Existe una entrada en `task.lifecycle.subflows.modules.refactor[]` con:
|
|
116
|
-
- `name: <module-name>`
|
|
117
|
-
- `completed == true`
|
|
118
|
-
- `validated_at` no nulo
|
|
119
|
-
- `task.phase.updated_at` no nulo
|
|
120
|
-
|
|
121
|
-
Si Gate FAIL:
|
|
122
|
-
- Ejecutar **Paso 9 (FAIL)**.
|