@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,76 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: tool.extensio_cli
|
|
3
|
-
type: tool
|
|
4
|
-
owner: architect-agent
|
|
5
|
-
version: 1.0.0
|
|
6
|
-
severity: PERMANENT
|
|
7
|
-
scope: global
|
|
8
|
-
|
|
9
|
-
name: "@extensio/cli"
|
|
10
|
-
runtime: node
|
|
11
|
-
invocation: shell
|
|
12
|
-
|
|
13
|
-
allowed_commands:
|
|
14
|
-
- "npx @extensio/cli --help"
|
|
15
|
-
- "npx @extensio/cli create --type driver --name <name> <params>"
|
|
16
|
-
- "npx @extensio/cli create --type module --name <name> <params>"
|
|
17
|
-
- "npx @extensio/cli create --type project --name <name> <params>"
|
|
18
|
-
- "npx @extensio/cli demo --type <type> --name <name> <params>"
|
|
19
|
-
- "npx @extensio/cli build"
|
|
20
|
-
- "npx @extensio/cli test"
|
|
21
|
-
|
|
22
|
-
constraints:
|
|
23
|
-
destructive_requires_approval: true
|
|
24
|
-
requires_constitution:
|
|
25
|
-
- constitution.drivers
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
# TOOL: @extensio/cli
|
|
29
|
-
|
|
30
|
-
## Objetivo
|
|
31
|
-
Tool oficial para **scaffolding, build y testing** en Extensio.
|
|
32
|
-
Permite crear entidades (drivers, modules, projects) y ejecutar build/test siguiendo la constitucion.
|
|
33
|
-
|
|
34
|
-
## Uso
|
|
35
|
-
- Los agentes **DEBEN** usar este tool para crear drivers cuando el comando exista.
|
|
36
|
-
- La ejecución real del comando se realiza fuera de Antigravity
|
|
37
|
-
(IDE, CI o intervención humana).
|
|
38
|
-
- `ext build` compila el `src/` del directorio actual. Debe ejecutarse desde el root
|
|
39
|
-
del modulo. Si una demo es un modulo dentro de un modulo padre, tambien se usa
|
|
40
|
-
`ext build` ejecutandolo desde la carpeta de la demo.
|
|
41
|
-
|
|
42
|
-
## Ejemplos de uso
|
|
43
|
-
- Ayuda:
|
|
44
|
-
- `npx @extensio/cli --help`
|
|
45
|
-
- Crear driver:
|
|
46
|
-
- `npx @extensio/cli create --type driver --name prompt-ai --methods "createSession,prompt,close" --platforms "chrome" --includeDemo true --non-interactive`
|
|
47
|
-
- Crear modulo:
|
|
48
|
-
- `npx @extensio/cli create --type module --name storage-core --inheritsCore true --withEngine true --withSurface false --non-interactive`
|
|
49
|
-
- Crear proyecto:
|
|
50
|
-
- `npx @extensio/cli create --type project --name extensio-app --targetPath ./packages --non-interactive`
|
|
51
|
-
- Crear demo para driver existente:
|
|
52
|
-
- `npx @extensio/cli demo --type driver --name prompt-ai --non-interactive`
|
|
53
|
-
- Crear demo para modulo existente:
|
|
54
|
-
- `npx @extensio/cli demo --type module --name storage-core --non-interactive`
|
|
55
|
-
- Build:
|
|
56
|
-
- `npx @extensio/cli build --browsers chrome,firefox --types --no-launch`
|
|
57
|
-
- Tests:
|
|
58
|
-
- `npx @extensio/cli test --type unit --coverage --non-interactive`
|
|
59
|
-
- `npx @extensio/cli test --type e2e --browsers chromium --no-headless --non-interactive`
|
|
60
|
-
|
|
61
|
-
## Seguridad
|
|
62
|
-
- Los comandos destructivos requieren aprobación explícita del desarrollador (`SI | NO`).
|
|
63
|
-
|
|
64
|
-
## Notas
|
|
65
|
-
- Usar siempre `npx` para evitar dependencias globales.
|
|
66
|
-
|
|
67
|
-
## Guia rapida (CLI local)
|
|
68
|
-
Si agregas un comando nuevo al CLI, debes regenerar `dist/`:
|
|
69
|
-
1. Instalar dependencias del workspace:
|
|
70
|
-
- `npm install`
|
|
71
|
-
2. Compilar el CLI:
|
|
72
|
-
- `cd packages/cli && npm run build`
|
|
73
|
-
3. Verificar el bin:
|
|
74
|
-
- `node dist/index.mjs --help`
|
|
75
|
-
|
|
76
|
-
Nota: `packages/**/dist` esta en `.gitignore`, por lo que el bin requiere build local.
|
package/dist/tools/index.md
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: tool.run_command
|
|
3
|
-
type: tool
|
|
4
|
-
owner: architect-agent
|
|
5
|
-
version: 1.0.0
|
|
6
|
-
severity: PERMANENT
|
|
7
|
-
scope: global
|
|
8
|
-
|
|
9
|
-
name: run_command
|
|
10
|
-
runtime: shell
|
|
11
|
-
invocation: shell
|
|
12
|
-
|
|
13
|
-
allowed_commands:
|
|
14
|
-
- "npx tsc --noEmit"
|
|
15
|
-
- "npx eslint . --ext .ts,.mts,.tsx"
|
|
16
|
-
- "git diff --name-only --diff-filter=ACMR"
|
|
17
|
-
|
|
18
|
-
constraints:
|
|
19
|
-
destructive_requires_approval: true
|
|
20
|
-
network_access_requires_approval: true
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
# TOOL: run_command
|
|
24
|
-
|
|
25
|
-
## Objetivo
|
|
26
|
-
Tool generico para ejecutar comandos de terminal cuando no existe un MCP tool especifico.
|
|
27
|
-
Se usa principalmente para validaciones locales (TypeScript, ESLint) y utilidades de git.
|
|
28
|
-
|
|
29
|
-
## Uso
|
|
30
|
-
- Usar este tool solo cuando no haya un tool dedicado en `.agent/tools/index.md`.
|
|
31
|
-
- Si el comando es destructivo o requiere red, pedir aprobacion explicita.
|
|
32
|
-
|
|
33
|
-
## Ejemplos de uso
|
|
34
|
-
- Validacion TypeScript:
|
|
35
|
-
- `npx tsc --noEmit`
|
|
36
|
-
- Validacion ESLint:
|
|
37
|
-
- `npx eslint . --ext .ts,.mts,.tsx`
|
|
38
|
-
- Archivos modificados:
|
|
39
|
-
- `git diff --name-only --diff-filter=ACMR`
|
|
40
|
-
|
|
41
|
-
## Seguridad
|
|
42
|
-
- Comandos destructivos o con acceso a red requieren aprobacion explicita del desarrollador.
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para crear drivers siguiendo la constitucion y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.drivers.create
|
|
7
|
-
owner: driver-agent
|
|
8
|
-
version: 1.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["driver-create", "drivers:create"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: drivers.create
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan la creacion de un nuevo driver:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de creacion de driver (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/create.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que la creacion de un nuevo driver cumple:
|
|
27
|
-
- la constitucion de drivers
|
|
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.driver_create`
|
|
36
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Pasos obligatorios
|
|
41
|
-
|
|
42
|
-
0. Activar `driver-agent` y usar prefijo obligatorio en cada mensaje.
|
|
43
|
-
|
|
44
|
-
1. Verificar inputs
|
|
45
|
-
- Existe `plan.md` que requiere crear un driver.
|
|
46
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
47
|
-
|
|
48
|
-
2. Crear el driver (driver-agent)
|
|
49
|
-
- El **driver-agent** usa su skill `extensio_create_driver`:
|
|
50
|
-
- Leer `.agent/skills/extensio-create-driver/SKILL.md`
|
|
51
|
-
- Ejecutar MCP tool `mcp_extensio-cli_extensio_create` con:
|
|
52
|
-
- `type: "driver"`
|
|
53
|
-
- `name`: nombre del driver
|
|
54
|
-
- `platforms`: "chrome,firefox,safari,common"
|
|
55
|
-
- `includeDemo`: según plan
|
|
56
|
-
- `testType`: "vitest" (por defecto)
|
|
57
|
-
- La creación manual **solo** es válida si el CLI no soporta la operación.
|
|
58
|
-
- Garantizar estructura, types, constants, globals y compatibilidad.
|
|
59
|
-
- Registrar tipos en `globals.d.mts` bajo `Extensio.<NamespaceDelDriver>`.
|
|
60
|
-
- Exportar constantes del driver en el `constants.mts` del root.
|
|
61
|
-
- Verificar `globals.d.mts`:
|
|
62
|
-
- imports/exports correctos de tipos del driver
|
|
63
|
-
- sin duplicados o nombres corruptos
|
|
64
|
-
- integración no rompe el fichero
|
|
65
|
-
- Verificar `constants.mts` (root):
|
|
66
|
-
- exports correctos de constantes del driver
|
|
67
|
-
- sin duplicados o nombres corruptos
|
|
68
|
-
- integración no rompe el fichero
|
|
69
|
-
|
|
70
|
-
3. Crear informe de creacion
|
|
71
|
-
- Crear:
|
|
72
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/create.md`
|
|
73
|
-
- Completar el informe segun el template.
|
|
74
|
-
|
|
75
|
-
4. Auditoria del architect-agent (OBLIGATORIA)
|
|
76
|
-
- El `architect-agent` **DEBE** revisar el driver y el informe.
|
|
77
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
78
|
-
|
|
79
|
-
5. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
80
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
81
|
-
- **SI** → aprobado
|
|
82
|
-
- **NO** → rechazado
|
|
83
|
-
- Registrar la decision en `driver/create.md`:
|
|
84
|
-
```yaml
|
|
85
|
-
approval:
|
|
86
|
-
developer:
|
|
87
|
-
decision: SI | NO
|
|
88
|
-
date: <ISO-8601>
|
|
89
|
-
comments: <opcional>
|
|
90
|
-
```
|
|
91
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
92
|
-
|
|
93
|
-
6. PASS
|
|
94
|
-
- Informar que el driver cumple el contrato.
|
|
95
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
96
|
-
- Agregar una entrada en `task.lifecycle.subflows.drivers.create[]`:
|
|
97
|
-
- `name: <driver-name>`
|
|
98
|
-
- `completed: true`
|
|
99
|
-
- `validated_by: "architect-agent"`
|
|
100
|
-
- `validated_at: <ISO-8601>`
|
|
101
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## FAIL (OBLIGATORIO)
|
|
106
|
-
|
|
107
|
-
9. Declarar creacion de driver como **NO completada**
|
|
108
|
-
- Indicar exactamente que fallo:
|
|
109
|
-
- plan inexistente o no requiere driver
|
|
110
|
-
- template inexistente
|
|
111
|
-
- incumplimiento de `constitution.drivers`
|
|
112
|
-
- fallos de integracion en el ecosistema
|
|
113
|
-
- auditoria del architect-agent rechazada
|
|
114
|
-
- Accion minima:
|
|
115
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
116
|
-
- Terminar bloqueado: no avanzar.
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Gate (REQUIRED)
|
|
121
|
-
|
|
122
|
-
Requisitos (todos obligatorios):
|
|
123
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/driver/create.md`.
|
|
124
|
-
2. El informe sigue la estructura del template `templates.driver_create`.
|
|
125
|
-
3. El `driver/create.md` inicia con el prefijo del `driver-agent`.
|
|
126
|
-
4. El driver cumple `constitution.drivers`.
|
|
127
|
-
5. Auditoria del architect-agent aprobada.
|
|
128
|
-
6. Existe aprobacion explicita del desarrollador (por consola) registrada en `driver/create.md`:
|
|
129
|
-
- `approval.developer.decision == SI`
|
|
130
|
-
7. `globals.d.mts` y `constants.mts` integran el driver sin duplicados ni errores.
|
|
131
|
-
8. `task.md` refleja subflow y timestamp:
|
|
132
|
-
- Existe una entrada en `task.lifecycle.subflows.drivers.create[]` con:
|
|
133
|
-
- `name: <driver-name>`
|
|
134
|
-
- `completed == true`
|
|
135
|
-
- `validated_at` no nulo
|
|
136
|
-
- `task.phase.updated_at` no nulo
|
|
137
|
-
|
|
138
|
-
Si Gate FAIL:
|
|
139
|
-
- Ejecutar **Paso 9 (FAIL)**.
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para eliminar drivers siguiendo la constitucion y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.drivers.delete
|
|
7
|
-
owner: driver-agent
|
|
8
|
-
version: 1.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["driver-delete", "drivers:delete"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: drivers.delete
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan la eliminacion del driver:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de eliminacion de driver (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/delete.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que la eliminacion de un driver:
|
|
27
|
-
- elimina referencias sin dejar imports huerfanos
|
|
28
|
-
- actualiza globals/constants del proyecto
|
|
29
|
-
- mantiene 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.driver_delete`
|
|
36
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Pasos obligatorios
|
|
41
|
-
|
|
42
|
-
0. Activar `driver-agent` y usar prefijo obligatorio en cada mensaje.
|
|
43
|
-
|
|
44
|
-
1. Verificar inputs
|
|
45
|
-
- Existe `plan.md` que requiere eliminar un driver.
|
|
46
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
47
|
-
|
|
48
|
-
2. Eliminar el driver
|
|
49
|
-
- Eliminar el driver segun el plan y `constitution.drivers`.
|
|
50
|
-
- Remover referencias en el ecosistema (imports, docs, tests).
|
|
51
|
-
- Remover tipos del namespace en `globals.d.mts`.
|
|
52
|
-
- Remover exports de constantes en `constants.mts` (root).
|
|
53
|
-
- Actualizar `globals.d.mts` y `constants.mts` (sin duplicados/errores).
|
|
54
|
-
|
|
55
|
-
3. Crear informe de eliminacion
|
|
56
|
-
- Crear:
|
|
57
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/delete.md`
|
|
58
|
-
- Completar el informe segun el template.
|
|
59
|
-
|
|
60
|
-
4. Auditoria del architect-agent (OBLIGATORIA)
|
|
61
|
-
- El `architect-agent` **DEBE** revisar el cambio y el informe.
|
|
62
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
63
|
-
|
|
64
|
-
5. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
65
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
66
|
-
- **SI** → aprobado
|
|
67
|
-
- **NO** → rechazado
|
|
68
|
-
- Registrar la decision en `driver/delete.md`:
|
|
69
|
-
```yaml
|
|
70
|
-
approval:
|
|
71
|
-
developer:
|
|
72
|
-
decision: SI | NO
|
|
73
|
-
date: <ISO-8601>
|
|
74
|
-
comments: <opcional>
|
|
75
|
-
```
|
|
76
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
77
|
-
|
|
78
|
-
6. PASS
|
|
79
|
-
- Informar que el driver fue eliminado correctamente.
|
|
80
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
81
|
-
- Agregar una entrada en `task.lifecycle.subflows.drivers.delete[]`:
|
|
82
|
-
- `name: <driver-name>`
|
|
83
|
-
- `completed: true`
|
|
84
|
-
- `validated_by: "architect-agent"`
|
|
85
|
-
- `validated_at: <ISO-8601>`
|
|
86
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## FAIL (OBLIGATORIO)
|
|
91
|
-
|
|
92
|
-
9. Declarar eliminacion de driver como **NO completada**
|
|
93
|
-
- Indicar exactamente que fallo:
|
|
94
|
-
- plan inexistente o no requiere eliminacion
|
|
95
|
-
- template inexistente
|
|
96
|
-
- referencias huerfanas
|
|
97
|
-
- integracion corrupta en el ecosistema
|
|
98
|
-
- auditoria del architect-agent rechazada
|
|
99
|
-
- Accion minima:
|
|
100
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
101
|
-
- Terminar bloqueado: no avanzar.
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Gate (REQUIRED)
|
|
106
|
-
|
|
107
|
-
Requisitos (todos obligatorios):
|
|
108
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/driver/delete.md`.
|
|
109
|
-
2. El informe sigue la estructura del template `templates.driver_delete`.
|
|
110
|
-
3. El `driver/delete.md` inicia con el prefijo del `driver-agent`.
|
|
111
|
-
4. No hay referencias huerfanas al driver eliminado.
|
|
112
|
-
5. Auditoria del architect-agent aprobada.
|
|
113
|
-
6. Existe aprobacion explicita del desarrollador (por consola) registrada en `driver/delete.md`:
|
|
114
|
-
- `approval.developer.decision == SI`
|
|
115
|
-
7. `globals.d.mts` y `constants.mts` actualizados sin duplicados ni errores.
|
|
116
|
-
8. `task.md` refleja subflow y timestamp:
|
|
117
|
-
- Existe una entrada en `task.lifecycle.subflows.drivers.delete[]` con:
|
|
118
|
-
- `name: <driver-name>`
|
|
119
|
-
- `completed == true`
|
|
120
|
-
- `validated_at` no nulo
|
|
121
|
-
- `task.phase.updated_at` no nulo
|
|
122
|
-
|
|
123
|
-
Si Gate FAIL:
|
|
124
|
-
- Ejecutar **Paso 9 (FAIL)**.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: workflows.drivers.index
|
|
3
|
-
owner: architect-agent
|
|
4
|
-
version: 1.0.0
|
|
5
|
-
severity: PERMANENT
|
|
6
|
-
description: Índice del dominio de workflows para drivers: creación, refactor y eliminación. Define los entrypoints oficiales y obliga a usar estos flujos para mantener la constitución y la integración correcta en Extensio.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# INDEX — Workflows / Drivers
|
|
10
|
-
|
|
11
|
-
## Objetivo
|
|
12
|
-
Este fichero define los workflows del dominio `drivers`.
|
|
13
|
-
|
|
14
|
-
## Aliases (YAML)
|
|
15
|
-
```yaml
|
|
16
|
-
workflows:
|
|
17
|
-
drivers:
|
|
18
|
-
create: .agent/workflows/drivers/create.md
|
|
19
|
-
refactor: .agent/workflows/drivers/refactor.md
|
|
20
|
-
delete: .agent/workflows/drivers/delete.md
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Reglas
|
|
24
|
-
- Este índice **solo** declara workflows del dominio `drivers`.
|
|
25
|
-
- Cualquier workflow nuevo **DEBE** añadirse aquí antes de ser referenciado.
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Workflow para refactorizar drivers siguiendo la constitucion y reglas de arquitectura del ecosistema Extensio.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
id: workflow.drivers.refactor
|
|
7
|
-
owner: driver-agent
|
|
8
|
-
version: 1.0.0
|
|
9
|
-
severity: PERMANENT
|
|
10
|
-
trigger:
|
|
11
|
-
commands: ["driver-refactor", "drivers:refactor"]
|
|
12
|
-
blocking: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# WORKFLOW: drivers.refactor
|
|
16
|
-
|
|
17
|
-
## Input (REQUIRED)
|
|
18
|
-
- El arquitecto ha determinado en el plan la refactorizacion del driver:
|
|
19
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/plan.md`
|
|
20
|
-
|
|
21
|
-
## Output (REQUIRED)
|
|
22
|
-
- Informe de refactorizacion de driver (OBLIGATORIO):
|
|
23
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/refactor.md`
|
|
24
|
-
|
|
25
|
-
## Objetivo (ONLY)
|
|
26
|
-
Asegurar que el refactor de un driver:
|
|
27
|
-
- mantiene cumplimiento de `constitution.drivers`
|
|
28
|
-
- preserva compatibilidad multi-browser
|
|
29
|
-
- actualiza integraciones en globals/constants si aplica
|
|
30
|
-
|
|
31
|
-
> Esta fase **NO** omite auditoria del architect-agent.
|
|
32
|
-
|
|
33
|
-
## Template (OBLIGATORIO)
|
|
34
|
-
- El informe **DEBE** crearse usando el template:
|
|
35
|
-
- `templates.driver_refactor`
|
|
36
|
-
- Si el template no existe o no se puede cargar → **FAIL**.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Pasos obligatorios
|
|
41
|
-
|
|
42
|
-
0. Activar `driver-agent` y usar prefijo obligatorio en cada mensaje.
|
|
43
|
-
|
|
44
|
-
1. Verificar inputs
|
|
45
|
-
- Existe `plan.md` que requiere refactorizar un driver.
|
|
46
|
-
- Si falla → ir a **Paso 9 (FAIL)**.
|
|
47
|
-
|
|
48
|
-
2. Refactorizar el driver
|
|
49
|
-
- Ejecutar cambios segun el plan y `constitution.drivers`.
|
|
50
|
-
- Validar estructura, types, constants y compatibilidad.
|
|
51
|
-
- Si hay cambios en tipos/constantes:
|
|
52
|
-
- registrar tipos en `globals.d.mts` bajo `Extensio.<NamespaceDelDriver>`
|
|
53
|
-
- exportar constantes en el `constants.mts` del root
|
|
54
|
-
- Verificar `globals.d.mts` y `constants.mts` si hubo cambios.
|
|
55
|
-
|
|
56
|
-
3. Crear informe de refactorizacion
|
|
57
|
-
- Crear:
|
|
58
|
-
- `.agent/artifacts/<taskId>-<taskTitle>/driver/refactor.md`
|
|
59
|
-
- Completar el informe segun el template.
|
|
60
|
-
|
|
61
|
-
4. Auditoria del architect-agent (OBLIGATORIA)
|
|
62
|
-
- El `architect-agent` **DEBE** revisar el driver y el informe.
|
|
63
|
-
- Si detecta fallos → ir a **Paso 9 (FAIL)**.
|
|
64
|
-
|
|
65
|
-
5. Solicitar aprobacion del desarrollador (OBLIGATORIA, por consola)
|
|
66
|
-
- El desarrollador **DEBE** aprobar el informe:
|
|
67
|
-
- **SI** → aprobado
|
|
68
|
-
- **NO** → rechazado
|
|
69
|
-
- Registrar la decision en `driver/refactor.md`:
|
|
70
|
-
```yaml
|
|
71
|
-
approval:
|
|
72
|
-
developer:
|
|
73
|
-
decision: SI | NO
|
|
74
|
-
date: <ISO-8601>
|
|
75
|
-
comments: <opcional>
|
|
76
|
-
```
|
|
77
|
-
- Si `decision != SI` → ir a **Paso 9 (FAIL)**.
|
|
78
|
-
|
|
79
|
-
6. PASS
|
|
80
|
-
- Informar que el driver cumple el contrato tras el refactor.
|
|
81
|
-
- Actualizar `.agent/artifacts/<taskId>-<taskTitle>/task.md`:
|
|
82
|
-
- Agregar una entrada en `task.lifecycle.subflows.drivers.refactor[]`:
|
|
83
|
-
- `name: <driver-name>`
|
|
84
|
-
- `completed: true`
|
|
85
|
-
- `validated_by: "architect-agent"`
|
|
86
|
-
- `validated_at: <ISO-8601>`
|
|
87
|
-
- `task.phase.updated_at = <ISO-8601>`
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## FAIL (OBLIGATORIO)
|
|
92
|
-
|
|
93
|
-
9. Declarar refactorizacion de driver como **NO completada**
|
|
94
|
-
- Indicar exactamente que fallo:
|
|
95
|
-
- plan inexistente o no requiere refactor
|
|
96
|
-
- template inexistente
|
|
97
|
-
- incumplimiento de `constitution.drivers`
|
|
98
|
-
- fallos de integracion en el ecosistema
|
|
99
|
-
- auditoria del architect-agent rechazada
|
|
100
|
-
- Accion minima:
|
|
101
|
-
- corregir los puntos detectados por architect o desarrollador
|
|
102
|
-
- Terminar bloqueado: no avanzar.
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Gate (REQUIRED)
|
|
107
|
-
|
|
108
|
-
Requisitos (todos obligatorios):
|
|
109
|
-
1. Existe `.agent/artifacts/<taskId>-<taskTitle>/driver/refactor.md`.
|
|
110
|
-
2. El informe sigue la estructura del template `templates.driver_refactor`.
|
|
111
|
-
3. El `driver/refactor.md` inicia con el prefijo del `driver-agent`.
|
|
112
|
-
4. El driver cumple `constitution.drivers`.
|
|
113
|
-
5. Auditoria del architect-agent aprobada.
|
|
114
|
-
6. Existe aprobacion explicita del desarrollador (por consola) registrada en `driver/refactor.md`:
|
|
115
|
-
- `approval.developer.decision == SI`
|
|
116
|
-
7. `globals.d.mts` y `constants.mts` integran cambios sin duplicados ni errores.
|
|
117
|
-
8. `task.md` refleja subflow y timestamp:
|
|
118
|
-
- Existe una entrada en `task.lifecycle.subflows.drivers.refactor[]` con:
|
|
119
|
-
- `name: <driver-name>`
|
|
120
|
-
- `completed == true`
|
|
121
|
-
- `validated_at` no nulo
|
|
122
|
-
- `task.phase.updated_at` no nulo
|
|
123
|
-
|
|
124
|
-
Si Gate FAIL:
|
|
125
|
-
- Ejecutar **Paso 9 (FAIL)**.
|