@christianmaf80/agentic-workflow 1.8.0-beta.1 → 1.11.0-beta.1
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/1-mcp-server-extensio-cli/analysis.md +480 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/architect/review.md +285 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/changelog.md +29 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/implementer-agent/subtask-implementation.md +321 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/plan.md +522 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/researcher/research.md +270 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/results.md +143 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/task-metrics.md +33 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/task.md +178 -0
- package/dist/artifacts/1-mcp-server-extensio-cli/walkthrough.md +69 -0
- package/dist/artifacts/10-shard-build-plugin/analysis.md +290 -0
- package/dist/artifacts/10-shard-build-plugin/architect/subtask-implementation.md +105 -0
- package/dist/artifacts/10-shard-build-plugin/plan.md +409 -0
- package/dist/artifacts/10-shard-build-plugin/researcher/research.md +109 -0
- package/dist/artifacts/10-shard-build-plugin/task.md +124 -0
- package/dist/artifacts/11-revision-sistema-agentic/analysis.md +43 -0
- package/dist/artifacts/11-revision-sistema-agentic/cli-mcp-impact.md +186 -0
- package/dist/artifacts/11-revision-sistema-agentic/core-impact.md +162 -0
- package/dist/artifacts/11-revision-sistema-agentic/metrics.md +82 -0
- package/dist/artifacts/11-revision-sistema-agentic/modules-create-v2.md +126 -0
- package/dist/artifacts/11-revision-sistema-agentic/modules-v2.md +250 -0
- package/dist/artifacts/11-revision-sistema-agentic/pages-v2.md +366 -0
- package/dist/artifacts/11-revision-sistema-agentic/researcher/research.md +131 -0
- package/dist/artifacts/11-revision-sistema-agentic/results.md +116 -0
- package/dist/artifacts/11-revision-sistema-agentic/shards-v2.md +424 -0
- package/dist/artifacts/11-revision-sistema-agentic/task.md +145 -0
- package/dist/artifacts/11-revision-sistema-agentic/verification.md +119 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis-architecture-change.md +305 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/analysis.md +301 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/error-analysis.md +93 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/implementation-summary.md +111 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/plan.md +387 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/researcher/research.md +266 -0
- package/dist/artifacts/12-adaptacion-core-cli-surfaces/task.md +167 -0
- package/dist/artifacts/13-dual-lifecycle-system/analysis.md +173 -0
- package/dist/artifacts/13-dual-lifecycle-system/architect/review.md +67 -0
- package/dist/artifacts/13-dual-lifecycle-system/plan.md +230 -0
- package/dist/artifacts/13-dual-lifecycle-system/researcher/research.md +243 -0
- package/dist/artifacts/13-dual-lifecycle-system/task.md +130 -0
- package/dist/artifacts/13-dual-lifecycle-system/verification.md +84 -0
- package/dist/artifacts/14-core-tests-refactor/analysis.md +240 -0
- package/dist/artifacts/14-core-tests-refactor/architect/review.md +33 -0
- package/dist/artifacts/14-core-tests-refactor/evaluation.md +40 -0
- package/dist/artifacts/14-core-tests-refactor/plan.md +344 -0
- package/dist/artifacts/14-core-tests-refactor/researcher/research.md +258 -0
- package/dist/artifacts/14-core-tests-refactor/results.md +117 -0
- package/dist/artifacts/14-core-tests-refactor/task.md +163 -0
- package/dist/artifacts/14-core-tests-refactor/verification.md +87 -0
- package/dist/artifacts/15-sistema-evaluacion-agentes/architect/implementation.md +47 -0
- package/dist/artifacts/15-sistema-evaluacion-agentes/brief.md +100 -0
- package/dist/artifacts/15-sistema-evaluacion-agentes/closure.md +81 -0
- package/dist/artifacts/15-sistema-evaluacion-agentes/task.md +83 -0
- package/dist/artifacts/16-refactorizacion-demo-core/analysis.md +160 -0
- package/dist/artifacts/16-refactorizacion-demo-core/architect/implementation.md +180 -0
- package/dist/artifacts/16-refactorizacion-demo-core/changelog.md +15 -0
- package/dist/artifacts/16-refactorizacion-demo-core/metrics.md +17 -0
- package/dist/artifacts/16-refactorizacion-demo-core/plan.md +270 -0
- package/dist/artifacts/16-refactorizacion-demo-core/researcher/research.md +190 -0
- package/dist/artifacts/16-refactorizacion-demo-core/task.md +124 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/analysis.md +108 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review-subtask-1.md +98 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/review.md +192 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/architect/step-4-postponed.md +41 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-fix-demo.md +73 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/activation-subtask-2.md +80 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/fix-demo-implementation.md +113 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-2-implementation.md +133 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/module-agent/subtask-implementation.md +130 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/plan.md +188 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-demo-build.md +80 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-phase-5.md +73 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/activation-subtask-5-7.md +97 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/issue-demo-integrity.md +39 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/subtask-5-7-implementation.md +188 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/qa-agent/verification.md +207 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/researcher/research.md +103 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/subtask-1-engine-refactor.md +64 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/activation-subtask-3.md +81 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/surface-agent/subtask-3-implementation.md +148 -0
- package/dist/artifacts/17-implementacion-loadshard-external-agnostic--esm/task.md +146 -0
- package/dist/artifacts/18-refactor-phase-4-implementation/task.md +140 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-scores.md +58 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/1-architect-refactor-research-template.md +78 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/2-architect-refactor-analysis-template.md +76 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/3-architect-update-phase1-workflow.md +77 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/4-architect-update-phase2-workflow.md +76 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/5-architect-create-todo-structure.md +77 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/agent-tasks/6-qa-validation.md +95 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/analysis.md +190 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/architect/review.md +68 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/plan.md +203 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/researcher/research.md +296 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/task.md +132 -0
- package/dist/artifacts/19-refinar-sistema-agentes-ciclo-vida/verification.md +104 -0
- package/dist/artifacts/2-review-mcp-agent-system/analysis.md +133 -0
- package/dist/artifacts/2-review-mcp-agent-system/architect/infrastructure-migration.md +58 -0
- package/dist/artifacts/2-review-mcp-agent-system/architect/mcp-server-refactor.md +57 -0
- package/dist/artifacts/2-review-mcp-agent-system/architect/review.md +83 -0
- package/dist/artifacts/2-review-mcp-agent-system/changelog.md +22 -0
- package/dist/artifacts/2-review-mcp-agent-system/metrics.md +33 -0
- package/dist/artifacts/2-review-mcp-agent-system/plan.md +141 -0
- package/dist/artifacts/2-review-mcp-agent-system/qa/mcp-test-validation.md +60 -0
- package/dist/artifacts/2-review-mcp-agent-system/researcher/research.md +77 -0
- package/dist/artifacts/2-review-mcp-agent-system/results-acceptance.md +115 -0
- package/dist/artifacts/2-review-mcp-agent-system/task.md +127 -0
- package/dist/artifacts/2-review-mcp-agent-system/verification.md +72 -0
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/analysis.md +139 -0
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/plan.md +146 -0
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/researcher/research.md +142 -0
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/task.md +143 -0
- package/dist/artifacts/20-anadir-seccion-reasoning-agent-task/verification.md +53 -0
- package/dist/artifacts/2026-01-19-orchestration-init/brief.md +88 -0
- package/dist/artifacts/2026-01-19-orchestration-init/closure.md +80 -0
- package/dist/artifacts/2026-01-19-orchestration-init/implementation.md +20 -0
- package/dist/artifacts/21-portable-agentic-system/researcher/research.md +121 -0
- package/dist/artifacts/21-portable-agentic-system/task.md +115 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/architect/analysis.md +113 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/architect/plan.md +124 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/researcher/research.md +76 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/results.md +36 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/task.md +115 -0
- package/dist/artifacts/22-standardize-phase-0-artifact/verification.md +41 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/acceptance.md +62 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/analysis.md +90 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/architect/plan.md +85 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/audit-report.md +52 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/researcher/research.md +52 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/results.md +31 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/task.md +90 -0
- package/dist/artifacts/23-auditoria-de-indexes-y-alias/verification.md +42 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/analysis.md +64 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/candidate/acceptance.md +68 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/planning.md +79 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/portable-roadmap.md +25 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/researcher/research.md +91 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/task.md +89 -0
- package/dist/artifacts/24-revision-priorizacion-todo-backlog/verification.md +59 -0
- package/dist/artifacts/25-auditoria-omision-gates/acceptance.md +57 -0
- package/dist/artifacts/25-auditoria-omision-gates/brief.md +89 -0
- package/dist/artifacts/25-auditoria-omision-gates/closure.md +88 -0
- package/dist/artifacts/25-auditoria-omision-gates/rca.md +49 -0
- package/dist/artifacts/25-auditoria-omision-gates/task.md +64 -0
- package/dist/artifacts/26-portable-agentic-system/acceptance.md +41 -0
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/1-architect-scaffolding.md +113 -0
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/2-architect-core-migration.md +117 -0
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/3-architect-cli-implementation.md +109 -0
- package/dist/artifacts/26-portable-agentic-system/agent-tasks/4-architect-linking-and-verification.md +104 -0
- package/dist/artifacts/26-portable-agentic-system/analysis.md +117 -0
- package/dist/artifacts/26-portable-agentic-system/architect/review.md +41 -0
- package/dist/artifacts/26-portable-agentic-system/plan.md +146 -0
- package/dist/artifacts/26-portable-agentic-system/researcher/research.md +96 -0
- package/dist/artifacts/26-portable-agentic-system/task.md +50 -0
- package/dist/artifacts/26-portable-agentic-system/verification.md +67 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/acceptance.md +74 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/1-module-agent-update-templates.md +86 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/2-module-agent-update-workflows-long.md +88 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/3-module-agent-update-workflows-short-init.md +89 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/4-module-agent-update-roles.md +85 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/agent-tasks/5-module-agent-update-version-manifests.md +84 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/analysis.md +90 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/architect/review.md +44 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/changelog.md +17 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/metrics.md +52 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/plan.md +122 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/researcher/research.md +73 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/results-acceptance.md +51 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/task.md +115 -0
- package/dist/artifacts/27-update-portable-module-agent-identity/verification.md +66 -0
- package/dist/artifacts/28-agent-system-update-conversion/acceptance.md +67 -0
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/1-tooling-agent-migration-infrastructure.md +88 -0
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/2-tooling-agent-content-transformer.md +87 -0
- package/dist/artifacts/28-agent-system-update-conversion/agent-tasks/3-tooling-agent-cli-wizard-integration.md +86 -0
- package/dist/artifacts/28-agent-system-update-conversion/analysis.md +153 -0
- package/dist/artifacts/28-agent-system-update-conversion/architect/review.md +93 -0
- package/dist/artifacts/28-agent-system-update-conversion/metrics.md +43 -0
- package/dist/artifacts/28-agent-system-update-conversion/plan.md +153 -0
- package/dist/artifacts/28-agent-system-update-conversion/researcher/research.md +66 -0
- package/dist/artifacts/28-agent-system-update-conversion/results-acceptance.md +125 -0
- package/dist/artifacts/28-agent-system-update-conversion/task.md +103 -0
- package/dist/artifacts/28-agent-system-update-conversion/verification.md +60 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/acceptance.md +38 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/1-tooling-agent-core-resolver.md +85 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/2-tooling-agent-init-refactor.md +90 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/3-tooling-agent-scaffolding-system.md +92 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/4-architect-agents-md-trail.md +84 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/5-tooling-agent-mcp-server.md +92 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/agent-tasks/6-architect-neo-agent-birth.md +85 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/analysis.md +119 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/architect/review.md +46 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/plan.md +95 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/researcher/research.md +68 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/results-acceptance.md +59 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/task.md +99 -0
- package/dist/artifacts/29-agentic-framework-core-reference-refactor/verification.md +54 -0
- package/dist/artifacts/3-developer-feedback-gate/acceptance-criteria.md +18 -0
- package/dist/artifacts/3-developer-feedback-gate/analysis.md +27 -0
- package/dist/artifacts/3-developer-feedback-gate/changelog.md +10 -0
- package/dist/artifacts/3-developer-feedback-gate/implementation_plan.md +32 -0
- package/dist/artifacts/3-developer-feedback-gate/init.md +13 -0
- package/dist/artifacts/3-developer-feedback-gate/metrics.md +34 -0
- package/dist/artifacts/3-developer-feedback-gate/research.md +28 -0
- package/dist/artifacts/3-developer-feedback-gate/results-acceptance.md +17 -0
- package/dist/artifacts/3-developer-feedback-gate/task.md +17 -0
- package/dist/artifacts/3-developer-feedback-gate/verification.md +35 -0
- package/dist/artifacts/30-task-execution-protocol-gates/acceptance.md +46 -0
- package/dist/artifacts/30-task-execution-protocol-gates/researcher/research.md +34 -0
- package/dist/artifacts/30-task-execution-protocol-gates/task.md +77 -0
- package/dist/artifacts/4-adr-workflows-modulos/adr.md +380 -0
- package/dist/artifacts/4-adr-workflows-modulos/analysis.md +353 -0
- package/dist/artifacts/4-adr-workflows-modulos/plan.md +301 -0
- package/dist/artifacts/4-adr-workflows-modulos/researcher/research.md +253 -0
- package/dist/artifacts/4-adr-workflows-modulos/results.md +202 -0
- package/dist/artifacts/4-adr-workflows-modulos/task.md +143 -0
- package/dist/artifacts/4-adr-workflows-modulos/verification.md +123 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/analysis.md +169 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/architect/review.md +105 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/architect/subtask-implementation.md +90 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/changelog.md +7 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/metrics.md +34 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/plan.md +163 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/researcher/research.md +105 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/results-acceptance.md +153 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/task.md +147 -0
- package/dist/artifacts/5-implementar-adr-crear-modulo/verification.md +79 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/analysis.md +153 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/review.md +103 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/architect/subtask-implementation.md +79 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/changelog.md +8 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/metrics.md +34 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/plan.md +131 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/researcher/research.md +86 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/results-acceptance.md +108 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/task.md +147 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/verification.md +74 -0
- package/dist/artifacts/6-exportar-ciclo-agent-zip/whitelist.txt +33 -0
- package/dist/artifacts/7-modules-globals-constants/analysis.md +205 -0
- package/dist/artifacts/7-modules-globals-constants/architect/review.md +110 -0
- package/dist/artifacts/7-modules-globals-constants/metrics.md +45 -0
- package/dist/artifacts/7-modules-globals-constants/plan.md +276 -0
- package/dist/artifacts/7-modules-globals-constants/researcher/research.md +247 -0
- package/dist/artifacts/7-modules-globals-constants/task.md +112 -0
- package/dist/artifacts/7-modules-globals-constants/verification.md +76 -0
- package/dist/artifacts/8-module-workflow-refactor/analysis.md +131 -0
- package/dist/artifacts/8-module-workflow-refactor/changelog.md +24 -0
- package/dist/artifacts/8-module-workflow-refactor/metrics.md +37 -0
- package/dist/artifacts/8-module-workflow-refactor/plan.md +193 -0
- package/dist/artifacts/8-module-workflow-refactor/researcher/research.md +222 -0
- package/dist/artifacts/8-module-workflow-refactor/results.md +112 -0
- package/dist/artifacts/8-module-workflow-refactor/review.md +76 -0
- package/dist/artifacts/8-module-workflow-refactor/task.md +154 -0
- package/dist/artifacts/8-module-workflow-refactor/verification.md +76 -0
- package/dist/artifacts/8-module-workflow-refactor/walkthrough.md +64 -0
- package/dist/artifacts/9-build-stabilization/analysis.md +62 -0
- package/dist/artifacts/9-build-stabilization/metrics.md +11 -0
- package/dist/artifacts/9-build-stabilization/plan.md +82 -0
- package/dist/artifacts/9-build-stabilization/researcher/research.md +102 -0
- package/dist/artifacts/9-build-stabilization/task.md +23 -0
- package/dist/artifacts/9-build-stabilization/walkthrough.md +56 -0
- package/dist/artifacts/candidate/init.md +34 -0
- package/dist/artifacts/candidate/task.md +24 -0
- package/dist/artifacts/index.md +31 -10
- package/dist/cli/commands/init.js +31 -137
- package/dist/cli/commands/restore.js +4 -11
- package/dist/core/migration/backup.js +2 -3
- package/dist/core/utils/backup.js +3 -24
- package/dist/index.md +57 -0
- package/dist/metrics/agent-scores.md +30 -0
- package/dist/metrics/agents.json +106 -0
- package/dist/metrics/index.md +23 -0
- package/dist/rules/constitution/GEMINI.location.md +17 -14
- package/dist/rules/constitution/agents-behavior.md +111 -107
- package/dist/rules/constitution/clean-code.md +65 -13
- package/dist/rules/constitution/drivers.md +294 -0
- package/dist/rules/constitution/extensio-architecture.md +131 -0
- package/dist/rules/constitution/index.md +20 -17
- package/dist/rules/constitution/modules.md +280 -0
- package/dist/rules/constitution/pages.md +454 -0
- package/dist/rules/constitution/shards.md +484 -0
- package/dist/rules/index.md +57 -12
- package/dist/rules/roles/architect.md +128 -28
- package/dist/rules/roles/driver.md +172 -0
- package/dist/rules/roles/index.md +20 -18
- package/dist/rules/roles/module.md +175 -0
- package/dist/rules/roles/neo.md +6 -18
- package/dist/rules/roles/qa.md +195 -8
- package/dist/rules/roles/researcher.md +75 -10
- package/dist/rules/roles/surface.md +60 -0
- package/dist/rules/roles/tooling.md +55 -9
- package/dist/skills/extensio-build/SKILL.md +161 -0
- package/dist/skills/extensio-create-driver/SKILL.md +89 -0
- package/dist/skills/extensio-create-module/SKILL.md +91 -0
- package/dist/skills/extensio-demo/SKILL.md +84 -0
- package/dist/skills/extensio-test/SKILL.md +96 -0
- package/dist/skills/extensio-validate-code/SKILL.md +262 -0
- package/dist/skills/index.md +79 -0
- package/dist/templates/acceptance.md +20 -20
- package/dist/templates/agent-scores.md +7 -11
- package/dist/templates/agent-task.md +60 -63
- package/dist/templates/analysis.md +92 -92
- package/dist/templates/brief.md +49 -49
- package/dist/templates/changelog.md +8 -12
- package/dist/templates/closure.md +28 -28
- package/dist/templates/driver-create.md +116 -0
- package/dist/templates/driver-delete.md +84 -0
- package/dist/templates/driver-refactor.md +94 -0
- package/dist/templates/index.md +14 -11
- package/dist/templates/init.md +0 -12
- package/dist/templates/module-create.md +117 -0
- package/dist/templates/module-delete.md +79 -0
- package/dist/templates/module-refactor.md +87 -0
- package/dist/templates/planning.md +76 -78
- package/dist/templates/research.md +44 -56
- package/dist/templates/results-acceptance.md +94 -106
- package/dist/templates/review.md +61 -62
- package/dist/templates/subtask-implementation.md +30 -35
- package/dist/templates/supplemental-report.md +8 -12
- package/dist/templates/task-metrics.md +14 -15
- package/dist/templates/task.md +15 -19
- package/dist/templates/todo-item.md +23 -27
- package/dist/templates/verification.md +33 -33
- package/dist/todo/001-anadir-seccion-reasoning.md +42 -0
- package/dist/todo/002-anadir-ejemplos-few-shot.md +46 -0
- package/dist/todo/003-explorar-paralelizacion-phase4.md +46 -0
- package/dist/todo/004-portable-agentic-system.md +44 -0
- package/dist/todo/README.md +58 -0
- package/dist/todo/index.md +27 -0
- package/dist/tools/extensio-cli.md +76 -0
- package/dist/tools/index.md +14 -0
- package/dist/tools/run-command.md +42 -0
- package/dist/workflows/drivers/create.md +139 -0
- package/dist/workflows/drivers/delete.md +124 -0
- package/dist/workflows/drivers/index.md +25 -0
- package/dist/workflows/drivers/refactor.md +125 -0
- package/dist/workflows/index.md +17 -29
- package/dist/workflows/init.md +103 -43
- package/dist/workflows/modules/create.md +160 -0
- package/dist/workflows/modules/delete.md +121 -0
- package/dist/workflows/modules/index.md +27 -0
- package/dist/workflows/modules/pages.create.md +234 -0
- package/dist/workflows/modules/refactor.md +122 -0
- package/dist/workflows/modules/shards.create.md +215 -0
- package/dist/workflows/tasklifecycle-long/index.md +86 -90
- package/dist/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +130 -118
- package/dist/workflows/tasklifecycle-long/phase-1-research.md +104 -105
- package/dist/workflows/tasklifecycle-long/phase-2-analysis.md +120 -97
- package/dist/workflows/tasklifecycle-long/phase-3-planning.md +136 -75
- package/dist/workflows/tasklifecycle-long/phase-4-implementation.md +163 -73
- package/dist/workflows/tasklifecycle-long/phase-5-verification.md +136 -45
- package/dist/workflows/tasklifecycle-long/phase-6-results-acceptance.md +106 -46
- package/dist/workflows/tasklifecycle-long/phase-7-evaluation.md +96 -51
- package/dist/workflows/tasklifecycle-long/phase-8-commit-push.md +108 -51
- package/dist/workflows/tasklifecycle-short/index.md +30 -27
- package/dist/workflows/tasklifecycle-short/short-phase-1-brief.md +80 -39
- package/dist/workflows/tasklifecycle-short/short-phase-2-implementation.md +78 -44
- package/dist/workflows/tasklifecycle-short/short-phase-3-closure.md +81 -44
- package/package.json +3 -3
- package/dist/bootstrap.md +0 -591
- package/dist/rules/constitution/agent-system.md +0 -77
- package/dist/rules/constitution/project-architecture.md +0 -57
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: model_decision
|
|
3
|
+
description: Se aplica cuando se crean, modifican o auditan drivers, o cuando un agente toma decisiones sobre ellos, garantizando estructura contractual, aislamiento, compatibilidad multi-browser y ausencia de lógica de negocio
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
id: constitution.drivers
|
|
8
|
+
type: rule
|
|
9
|
+
owner: architect-agent
|
|
10
|
+
version: 1.0.0
|
|
11
|
+
severity: PERMANENT
|
|
12
|
+
scope: global
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# CONSTITUTION: Drivers (Extensio)
|
|
16
|
+
|
|
17
|
+
## Objetivo
|
|
18
|
+
Este documento define **reglas obligatorias** y contractuales para los drivers de Extensio.
|
|
19
|
+
Todo driver **DEBE** cumplir estas reglas.
|
|
20
|
+
El `role.driver-agent` **DEBE** auditar y hacer cumplir este contrato.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 1. Definición (qué es un driver)
|
|
25
|
+
Un driver es una **fachada** (facade) que abstrae APIs del navegador (WebExtensions) o Web APIs
|
|
26
|
+
para que el resto del framework sea **browser-agnóstico**.
|
|
27
|
+
|
|
28
|
+
Un driver:
|
|
29
|
+
- adapta APIs (shape, compat, eventos, tipos)
|
|
30
|
+
- expone una API estable y documentada
|
|
31
|
+
- encapsula diferencias entre navegadores
|
|
32
|
+
|
|
33
|
+
Un driver:
|
|
34
|
+
- NO contiene lógica de negocio
|
|
35
|
+
- NO conoce módulos de negocio
|
|
36
|
+
- NO decide flujos o workflows
|
|
37
|
+
- NO persiste estado de negocio (solo adapta storage si es driver de storage)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 2. Estructura obligatoria por driver
|
|
42
|
+
Cada driver **DEBE** seguir esta estructura mínima:
|
|
43
|
+
|
|
44
|
+
- `src/index.mts` → **wrapper público** (API estable + JSDoc)
|
|
45
|
+
- `src/__BROWSER__/index.mts` → implementación por navegador (chrome/firefox/safari)
|
|
46
|
+
- `src/types.d.mts` → tipos locales del driver
|
|
47
|
+
- `src/constants.mts` → constantes tipadas (`Record<string, string>`)
|
|
48
|
+
- `src/common/index.mts` → implementación compartida (si aplica)
|
|
49
|
+
- Integración de tipos en `globals.d.mts` (root) y de constantes en `constants.mts` (root)
|
|
50
|
+
como parte obligatoria de la estructura del driver.
|
|
51
|
+
|
|
52
|
+
### 2.1 Wrapper (src/index.mts)
|
|
53
|
+
Reglas:
|
|
54
|
+
- `src/index.mts` **NO puede** ser un simple re-export.
|
|
55
|
+
- Debe exponer una clase o funciones wrapper que:
|
|
56
|
+
- deleguen en la implementación específica (`__BROWSER__`)
|
|
57
|
+
- añadan JSDoc
|
|
58
|
+
- mantengan API estable
|
|
59
|
+
- Debe importar `__BROWSER__/index.mts` usando el patrón del build (ej. `__BROWSER__`).
|
|
60
|
+
|
|
61
|
+
### 2.2 Implementación por navegador (src/__BROWSER__/index.mts)
|
|
62
|
+
Reglas:
|
|
63
|
+
- Debe mapear a las APIs reales del navegador.
|
|
64
|
+
- Debe mantener el contrato de tipos definido por `types.d.mts`.
|
|
65
|
+
- Debe aislar diferencias específicas del navegador sin filtrar detalles al wrapper.
|
|
66
|
+
|
|
67
|
+
### 2.3 Types (src/types.d.mts)
|
|
68
|
+
Reglas:
|
|
69
|
+
- El driver **DEBE** definir sus tipos localmente.
|
|
70
|
+
- Import interno de tipos del mismo driver:
|
|
71
|
+
- `import type { X } from '../types.d.mts'`
|
|
72
|
+
- Los drivers **NO** consumen tipos de otros drivers:
|
|
73
|
+
- cada driver define sus propios tipos para mantener independencia y portabilidad
|
|
74
|
+
- Interfaces genéricas comunes (p.ej. `BrowserEvent`) **se duplican** localmente
|
|
75
|
+
para evitar dependencias cruzadas indeseadas.
|
|
76
|
+
- La integracion de tipos **DEBE** reflejarse correctamente en `globals.d.mts`
|
|
77
|
+
(imports/exports sin duplicados ni nombres corruptos).
|
|
78
|
+
- Todo driver **DEBE** registrar sus tipos en `globals.d.mts` dentro del
|
|
79
|
+
namespace global `Extensio.<NamespaceDelDriver>`.
|
|
80
|
+
|
|
81
|
+
Ejemplo (globals.d.mts):
|
|
82
|
+
```ts
|
|
83
|
+
declare global {
|
|
84
|
+
namespace Extensio {
|
|
85
|
+
namespace Tabs {
|
|
86
|
+
type TabStatusType = typeof TabStatus[keyof typeof TabStatus];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 2.4 Constants (src/constants.mts)
|
|
93
|
+
Reglas:
|
|
94
|
+
- Todo string repetido o enumeración string-based debe centralizarse aquí.
|
|
95
|
+
- Toda enumeración **DEBE** definirse en `constants.mts` y usarse para crear tipos.
|
|
96
|
+
- Objetivo: reutilizar los valores como objetos en runtime y como tipos en compile-time.
|
|
97
|
+
- Debe tiparse como `Record<string, string>`.
|
|
98
|
+
- Los drivers **NO** consumen constantes de otros drivers:
|
|
99
|
+
- cada driver define sus propias constantes para mantener independencia y portabilidad
|
|
100
|
+
- Las constantes del driver **DEBEN** extender las constantes globales del proyecto
|
|
101
|
+
para que puedan ser usadas por los módulos.
|
|
102
|
+
- La integracion de constantes **DEBE** reflejarse correctamente en el `constants.mts`
|
|
103
|
+
del root (exports sin duplicados ni nombres corruptos).
|
|
104
|
+
- Todo driver **DEBE** exportar sus constantes en el `constants.mts` del root.
|
|
105
|
+
|
|
106
|
+
Ejemplo (constants.mts root):
|
|
107
|
+
```ts
|
|
108
|
+
export { TabStatus, WindowType } from '@extensio/driver-tabs/src/constants.mts';
|
|
109
|
+
```
|
|
110
|
+
- Prohibido hardcodear “magic strings” repetidos en el código del driver.
|
|
111
|
+
|
|
112
|
+
### 2.5 Common (src/common/index.mts)
|
|
113
|
+
Reglas:
|
|
114
|
+
- Solo si existe lógica compartible entre navegadores.
|
|
115
|
+
- No debe incluir lógica de negocio.
|
|
116
|
+
- Debe ser consumida por los `__BROWSER__/index.mts`, no por módulos.
|
|
117
|
+
|
|
118
|
+
### 2.6 Demo (demo/)
|
|
119
|
+
Reglas:
|
|
120
|
+
- Si un driver tiene carpeta `demo`, cualquier import hacia `src` **DEBE** usar
|
|
121
|
+
el alias `__PARENT_SRC__` (nunca rutas relativas al `src`).
|
|
122
|
+
- Ejemplo: `import { Tabs } from '__PARENT_SRC__/index.mts';`
|
|
123
|
+
- La demo **DEBE** mantener la estructura de Extensio y cumplir `constitution.extensio_architecture`.
|
|
124
|
+
- La demo **DEBE** generarse con `mcp_extensio-cli tools` cuando exista soporte aplicable.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 3. Events (contrato obligatorio)
|
|
129
|
+
Los eventos **DEBEN** exponerse como wrappers que implementen una interfaz local `BrowserEvent`.
|
|
130
|
+
|
|
131
|
+
Ejemplo de forma:
|
|
132
|
+
- En `types.d.mts`:
|
|
133
|
+
- `export interface BrowserEvent<T extends (...args: any) => void> { addListener(cb: T): void; removeListener(cb: T): void; hasListener(cb: T): boolean; }`
|
|
134
|
+
- En `src/__BROWSER__/index.mts`:
|
|
135
|
+
- `static onCreated: BrowserEvent<(arg: X) => void> = { addListener: ..., removeListener: ..., hasListener: ... }`
|
|
136
|
+
|
|
137
|
+
Regla:
|
|
138
|
+
- Prohibido exponer directamente eventos crudos del navegador (ej. `chrome.tabs.onUpdated`).
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## 4. Scoping y dependencias (aislamiento)
|
|
143
|
+
- Un driver no debe depender de otro driver por imports directos.
|
|
144
|
+
- Si necesita tipos externos, usar `Extension.*`.
|
|
145
|
+
- Un driver **NUNCA** debe usar otro driver; deben ser agnósticos e independientes.
|
|
146
|
+
- Los drivers **DEBEN** definir sus propios tipos; **NO** deben usar `@types` de otras librerías.
|
|
147
|
+
- Si necesita interactuar con otros drivers, hacerlo a través del dominio superior (módulo/core),
|
|
148
|
+
nunca creando dependencia de paquete circular.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 5. Clean Code (en drivers)
|
|
153
|
+
- Se aplica `clean-code.md` como contrato obligatorio para drivers.
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 6. Compatibilidad multi-browser
|
|
158
|
+
- La API del wrapper debe ser **estable** entre navegadores.
|
|
159
|
+
- Las divergencias deben resolverse en `__BROWSER__`.
|
|
160
|
+
- Si una API no existe en un navegador:
|
|
161
|
+
- se define comportamiento fallback (documentado)
|
|
162
|
+
- o se lanza error controlado (documentado)
|
|
163
|
+
- Debe evitarse divergencia silenciosa.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 7. Tooling recomendado (scaffolding)
|
|
168
|
+
Cuando exista comando disponible, los drivers **DEBEN** generarse con `mcp_extensio-cli tools`.
|
|
169
|
+
|
|
170
|
+
Principio:
|
|
171
|
+
- Preferir generación por CLI para consistencia.
|
|
172
|
+
- Si el CLI no soporta una operación, la modificación manual es válida solo si:
|
|
173
|
+
- cumple este contrato
|
|
174
|
+
- queda registrada como “lección aprendida” por el `driver-agent`.
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## 8. Auditoría de cumplimiento
|
|
179
|
+
Criterios mínimos de auditoría:
|
|
180
|
+
- estructura de carpetas correcta (Sección 2)
|
|
181
|
+
- wrapper no es re-export (2.1)
|
|
182
|
+
- types aislados (2.3)
|
|
183
|
+
- events como wrappers (3)
|
|
184
|
+
- constants centralizadas (2.4)
|
|
185
|
+
- no lógica de negocio (1)
|
|
186
|
+
- compatibilidad documentada (6)
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## 9. Severidad
|
|
191
|
+
Cualquier violación de:
|
|
192
|
+
- estructura (Sección 2)
|
|
193
|
+
- types isolation (2.3)
|
|
194
|
+
- events wrappers (3)
|
|
195
|
+
- lógica de negocio en drivers (1)
|
|
196
|
+
|
|
197
|
+
se considera **SEVERITY: HIGH** y debe corregirse antes de integrar cambios.
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## 10. Ejemplos (drivers reales)
|
|
202
|
+
Los ejemplos respetan la independencia entre drivers: no hay consumo de tipos ni
|
|
203
|
+
constantes de otros drivers dentro de un driver.
|
|
204
|
+
|
|
205
|
+
### 10.1 Enumeraciones en `constants.mts` (Tabs driver)
|
|
206
|
+
Fuente: `packages/drivers/tabs/src/constants.mts`
|
|
207
|
+
```ts
|
|
208
|
+
export const TabStatus: Record<string, string> = {
|
|
209
|
+
Loading: 'loading',
|
|
210
|
+
Complete: 'complete',
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
export const WindowType: Record<string, string> = {
|
|
214
|
+
Normal: 'normal',
|
|
215
|
+
Popup: 'popup',
|
|
216
|
+
Panel: 'panel',
|
|
217
|
+
App: 'app',
|
|
218
|
+
Devtools: 'devtools',
|
|
219
|
+
};
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### 10.2 Tipos derivados de constantes (Tabs driver)
|
|
223
|
+
Fuente: `packages/drivers/tabs/src/types.d.mts`
|
|
224
|
+
```ts
|
|
225
|
+
import { TabStatus, WindowType } from './constants.mts';
|
|
226
|
+
|
|
227
|
+
export type TabStatusType = typeof TabStatus[keyof typeof TabStatus];
|
|
228
|
+
export type WindowTypeType = typeof WindowType[keyof typeof WindowType];
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### 10.3 Re-export de constantes (Tabs driver)
|
|
232
|
+
Fuente: `packages/drivers/tabs/src/types.d.mts`
|
|
233
|
+
```ts
|
|
234
|
+
export { TabStatus, WindowType };
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
### 10.4 Clase wrapper en `src/index.mts` (Tabs driver)
|
|
240
|
+
Fuente: `packages/drivers/tabs/src/index.mts`
|
|
241
|
+
```ts
|
|
242
|
+
import { Tabs as CommonTabs } from '__BROWSER__/index.mts';
|
|
243
|
+
import type { Tab, BrowserEvent } from './types.d.mts';
|
|
244
|
+
|
|
245
|
+
export class Tabs extends CommonTabs {
|
|
246
|
+
static override get(tabId: number): Promise<Tab> {
|
|
247
|
+
return CommonTabs.get(tabId);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
static override onCreated: BrowserEvent<(tab: Tab) => void> = {
|
|
251
|
+
addListener: (cb) => CommonTabs.onCreated.addListener(cb),
|
|
252
|
+
removeListener: (cb) => CommonTabs.onCreated.removeListener(cb),
|
|
253
|
+
hasListener: (cb) => CommonTabs.onCreated.hasListener(cb),
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
### 10.5 Consumo desde Core/Modules (Navigation)
|
|
261
|
+
Fuente: `packages/core/src/engine/navigation/index.mts`
|
|
262
|
+
```ts
|
|
263
|
+
import { Tabs } from '@extensio/driver-tabs';
|
|
264
|
+
import { Windows } from '@extensio/driver-windows';
|
|
265
|
+
|
|
266
|
+
await Tabs.create({ url, active: true });
|
|
267
|
+
await Windows.create({ url, type: 'popup', focused: true });
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
### 10.6 Demo usando `__PARENT_SRC__`
|
|
273
|
+
Ejemplo (alias definido en `tsconfig.json` de drivers):
|
|
274
|
+
```ts
|
|
275
|
+
import { Tabs } from '__PARENT_SRC__/index.mts';
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
### 10.7 Extensión de globals (Prompt AI driver)
|
|
281
|
+
Fuente: `packages/drivers/prompt-ai/src/types.d.mts`
|
|
282
|
+
```ts
|
|
283
|
+
declare global {
|
|
284
|
+
interface WindowOrWorkerGlobalScope {
|
|
285
|
+
ai?: {
|
|
286
|
+
languageModel: AILanguageModelFactory;
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
Fin de la constitución de drivers.
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# EXTENSIO ARCHITECTURE - FRAMEWORK RULES
|
|
6
|
+
|
|
7
|
+
Este documento define los **principios arquitectónicos fundamentales** del framework Extensio.
|
|
8
|
+
Para reglas contractuales detalladas de cada componente, consultar su constitución específica.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 1. PRINCIPIOS ARQUITECTÓNICOS (PERMANENT)
|
|
13
|
+
|
|
14
|
+
### 1.1 Filosofía Base
|
|
15
|
+
Extensio es un framework para construir extensiones de navegador complejas
|
|
16
|
+
de forma modular, reactiva y predecible.
|
|
17
|
+
|
|
18
|
+
Su filosofía se basa en los siguientes principios:
|
|
19
|
+
|
|
20
|
+
- Separar estrictamente la lógica de negocio de las APIs del navegador (Drivers) y de la UI (Surfaces).
|
|
21
|
+
- Aislar cada dominio funcional en paquetes independientes del monorepo, sin dependencias cruzadas.
|
|
22
|
+
- Utilizar un modelo reactivo como único mecanismo de comunicación entre los módulos.
|
|
23
|
+
- Priorizar la predecibilidad del comportamiento frente a la flexibilidad implícita.
|
|
24
|
+
- Diseñar el sistema para escalar en complejidad sin degradar mantenibilidad.
|
|
25
|
+
- Mantener el código agnóstico del navegador y del entorno de ejecución.
|
|
26
|
+
|
|
27
|
+
### 1.2 Independencia y Dirección de Dependencias
|
|
28
|
+
- Todos los paquetes DEBEN ser independientes y versionables.
|
|
29
|
+
- El acoplamiento directo entre paquetes del mismo tipo está PROHIBIDO.
|
|
30
|
+
- El uso de capacidades externas DEBE realizarse exclusivamente mediante Drivers.
|
|
31
|
+
- Core NO DEBE conocer ni depender de ningún paquete del proyecto.
|
|
32
|
+
|
|
33
|
+
### 1.3 Prohibición de Dependencias Cruzadas
|
|
34
|
+
- Un módulo NO DEBE depender de otro módulo.
|
|
35
|
+
- Un driver NO DEBE depender de otro driver.
|
|
36
|
+
- El uso de drivers por parte de los módulos NO constituye una dependencia conceptual.
|
|
37
|
+
- Ningún paquete DEBE introducir ciclos de dependencias, directos o indirectos.
|
|
38
|
+
|
|
39
|
+
### 1.4 Separación de Responsabilidades
|
|
40
|
+
- El principio SRP (Single Responsibility Principle) DEBE aplicarse estrictamente.
|
|
41
|
+
- Está PROHIBIDO mezclar UI con lógica de negocio dentro de módulos.
|
|
42
|
+
- Los drivers NO DEBEN contener lógica de negocio.
|
|
43
|
+
- Los bucles reactivos están PROHIBIDOS.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 2. SCOPES DEL FRAMEWORK (PERMANENT)
|
|
48
|
+
|
|
49
|
+
El framework define tres scopes principales. Cada uno tiene su propia constitución con reglas detalladas.
|
|
50
|
+
|
|
51
|
+
### 2.1 Engine
|
|
52
|
+
- El Engine es el componente central y obligatorio de todo módulo.
|
|
53
|
+
- Se ejecuta en el entorno de Service Worker.
|
|
54
|
+
- Es responsable del estado reactivo y persistente del módulo.
|
|
55
|
+
- **NO DEBE** renderizar UI ni acceder al DOM.
|
|
56
|
+
- **Constitución detallada**: `constitution.modules`
|
|
57
|
+
|
|
58
|
+
### 2.2 Context
|
|
59
|
+
- Un Context es una extensión opcional del Engine.
|
|
60
|
+
- Encapsula lógica que requiere acceso al DOM o APIs no disponibles en el Service Worker.
|
|
61
|
+
- El Engine controla completamente el ciclo de vida del Context.
|
|
62
|
+
- **NO DEBE** contener lógica de negocio ni renderizar UI.
|
|
63
|
+
- **Constitución detallada**: `constitution.modules`
|
|
64
|
+
|
|
65
|
+
### 2.3 Surfaces
|
|
66
|
+
Las Surfaces representan la capa visual del framework. Se dividen en:
|
|
67
|
+
|
|
68
|
+
#### Pages
|
|
69
|
+
- Documentos completos que se renderizan en un tab del navegador.
|
|
70
|
+
- Representan vistas de alto nivel (opciones, dashboards).
|
|
71
|
+
- **Constitución detallada**: `constitution.pages`
|
|
72
|
+
|
|
73
|
+
#### Shards
|
|
74
|
+
- Componentes visuales reutilizables (WebComponents).
|
|
75
|
+
- Componentes de UI puros, sin estado persistente propio.
|
|
76
|
+
- **Constitución detallada**: `constitution.shards`
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 3. DRIVERS (PERMANENT)
|
|
81
|
+
|
|
82
|
+
Los Drivers son adaptadores que envuelven APIs del navegador.
|
|
83
|
+
Representan la frontera de efectos laterales del sistema.
|
|
84
|
+
|
|
85
|
+
**Constitución detallada**: `constitution.drivers`
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 4. CORE PACKAGE (PERMANENT)
|
|
90
|
+
|
|
91
|
+
- Core DEBE exponer Engine, Context y Surfaces.
|
|
92
|
+
- Core DEBE proveer el sistema reactivo (@property, @onChanged).
|
|
93
|
+
- Core NO DEBE depender de ningún paquete del proyecto.
|
|
94
|
+
- Core NO DEBE contener lógica de negocio de ningún módulo.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 5. EXTENSIO CLI (PERMANENT)
|
|
99
|
+
|
|
100
|
+
El tool `mcp_extensio-cli` es el ÚNICO punto de entrada para build y test.
|
|
101
|
+
- Unit e Integration **DEBEN** ejecutarse con **Vitest**.
|
|
102
|
+
- E2E **DEBE** ejecutarse con **Playwright**.
|
|
103
|
+
- Scaffolding de módulos, drivers y surfaces **DEBE** usar `mcp_extensio-cli`.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 6. ORDEN DE COMPOSICIÓN DE CLASES (PERMANENT)
|
|
108
|
+
|
|
109
|
+
1. Propiedades estáticas
|
|
110
|
+
2. Métodos estáticos
|
|
111
|
+
3. Propiedades de instancia
|
|
112
|
+
4. Constructor
|
|
113
|
+
5. Event handlers
|
|
114
|
+
6. Métodos privados
|
|
115
|
+
7. Métodos públicos
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## 7. CONSTITUCIONES ESPECÍFICAS
|
|
120
|
+
|
|
121
|
+
Para reglas contractuales detalladas, consultar:
|
|
122
|
+
|
|
123
|
+
| Componente | Constitución |
|
|
124
|
+
|------------|--------------|
|
|
125
|
+
| Módulos | `constitution.modules` |
|
|
126
|
+
| Drivers | `constitution.drivers` |
|
|
127
|
+
| Pages | `constitution.pages` |
|
|
128
|
+
| Shards | `constitution.shards` |
|
|
129
|
+
| Clean Code | `constitution.clean_code` |
|
|
130
|
+
|
|
131
|
+
---
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: rules.constitution.index
|
|
3
3
|
owner: architect-agent
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
severity: PERMANENT
|
|
6
|
-
|
|
6
|
+
trigger: always_on
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# INDEX — Constitution
|
|
9
|
+
# INDEX — Rules / Constitution
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Objective
|
|
16
|
-
List constitution rules and their paths.
|
|
11
|
+
## Objetivo
|
|
12
|
+
Este fichero enumera todas las rules del dominio `constitution`.
|
|
13
|
+
Los workflows y agentes **DEBEN** referenciar estas reglas
|
|
14
|
+
por alias en lugar de rutas directas.
|
|
17
15
|
|
|
18
16
|
## Aliases (YAML)
|
|
19
17
|
```yaml
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
rules:
|
|
19
|
+
constitution:
|
|
20
|
+
GEMINI_location: .agent/rules/constitution/GEMINI.location.md
|
|
21
|
+
extensio_architecture: .agent/rules/constitution/extensio-architecture.md
|
|
22
|
+
clean_code: .agent/rules/constitution/clean-code.md
|
|
23
|
+
drivers: .agent/rules/constitution/drivers.md
|
|
24
|
+
modules: .agent/rules/constitution/modules.md
|
|
25
|
+
shards: .agent/rules/constitution/shards.md
|
|
26
|
+
pages: .agent/rules/constitution/pages.md
|
|
27
|
+
agents_behavior: .agent/rules/constitution/agents-behavior.md
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
##
|
|
29
|
-
-
|
|
30
|
+
## Reglas
|
|
31
|
+
- Este índice **solo** declara reglas del dominio `constitution`.
|
|
32
|
+
- Cualquier nueva regla del dominio **DEBE** añadirse aquí.
|