@christianmaf80/agentic-workflow 1.41.0-beta.10 → 1.42.0
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/README.es.md +13 -94
- package/README.md +14 -94
- package/RELEASE_PROCESS.md +3 -6
- package/bin/cli.js +31 -72
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/acceptance.md +70 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-scores.md +22 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/1-dev-agent-scaffold.md +106 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/2-dev-agent-manifest-command.md +105 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/3-dev-agent-marketplace-evidence.md +103 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/agent-tasks/4-qa-agent-verify-build.md +103 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/analysis.md +197 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/architect/review.md +131 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/changelog.md +26 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/metrics.md +40 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/plan.md +175 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/researcher/research.md +157 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/results-acceptance.md +168 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/task.md +119 -0
- package/dist/agent/artifacts/1-scaffold-extension-vscode-agentinc/verification.md +79 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/analysis.md +24 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/roadmap-audit.md +34 -0
- package/dist/agent/artifacts/11-refinement-capas-constitution/task.md +58 -0
- package/dist/agent/artifacts/12-npm-workspaces/acceptance.md +78 -0
- package/dist/agent/artifacts/12-npm-workspaces/analysis.md +179 -0
- package/dist/agent/artifacts/12-npm-workspaces/plan.md +237 -0
- package/dist/agent/artifacts/12-npm-workspaces/researcher/research.md +186 -0
- package/dist/agent/artifacts/12-npm-workspaces/task.md +126 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/acceptance.md +75 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/researcher/research.md +121 -0
- package/dist/agent/artifacts/13-implement-custom-chat-with-a2ui/task.md +104 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/acceptance.md +75 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/architect/analysis.md +90 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/planner/implementation_plan.md +44 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/researcher/research.md +113 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/task.md +107 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verification/walkthrough.md +37 -0
- package/dist/agent/artifacts/14-re-implement-setup-config-d1/verifier/walkthrough.md +0 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/acceptance.md +68 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/1-dev-agent-contribution-points-assets.md +107 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/2-dev-agent-webview-provider.md +106 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/3-dev-agent-webview-ui.md +104 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/4-dev-agent-chat-participant.md +104 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/5-dev-agent-migrate-to-root.md +103 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-1-dev-agent-chat-participant-types.md +108 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-2-dev-agent-view-container-id.md +106 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-3-dev-agent-container-id-lowercase.md +105 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-4-dev-agent-container-id-hyphen.md +105 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/agent-tasks/fix-5-dev-agent-view-type-webview.md +103 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/analysis.md +179 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/architect/review.md +118 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/plan.md +171 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/researcher/research.md +113 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/results-acceptance.md +171 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/task.md +119 -0
- package/dist/agent/artifacts/2-scaffold-vscode-chat-ai-panel/verification.md +85 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/acceptance.md +69 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-scores.md +23 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/1-dev-agent-create-project.md +89 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/2-dev-agent-contributes-activitybar.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/3-dev-agent-webview-panel.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/4-dev-agent-chat-participant.md +88 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/5-dev-agent-launch-config.md +90 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/agent-tasks/fix-1-dev-agent-view-container-ids.md +90 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/analysis.md +175 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/architect/review.md +118 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/changelog.md +26 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/metrics.md +43 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/plan.md +167 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/researcher/research.md +115 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/results-acceptance.md +122 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/task.md +119 -0
- package/dist/agent/artifacts/3-new-vscode-agentic-activitybar-chat/verification.md +85 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/acceptance.md +67 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/architect/implementation.md +31 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/brief.md +103 -0
- package/dist/agent/artifacts/4-copiar-estructura-agentic-cliente/closure.md +101 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/acceptance.md +72 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-scores.md +20 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/1-dev-agent-reestructurar-carpetas.md +101 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/2-dev-agent-scaffolding-yeoman.md +111 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/3-dev-agent-merge-extension.md +110 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/4-dev-agent-merge-config.md +107 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/5-dev-agent-update-scripts.md +111 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/6-qa-agent-validation-install.md +108 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/7-dev-agent-fix-cli-entrypoint.md +104 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/agent-tasks/8-qa-agent-validation-install-retry.md +106 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/analysis.md +125 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/architect/review.md +84 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/changelog.md +34 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/metrics.md +44 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/plan.md +157 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/researcher/research.md +105 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/results-acceptance.md +105 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/task.md +107 -0
- package/dist/agent/artifacts/5-reestructurar-src-para-extension-vscode/verification.md +79 -0
- package/dist/agent/artifacts/6-release-beta-11/agent-tasks/1-dev-agent-release-bump.md +44 -0
- package/dist/agent/artifacts/6-release-beta-11/architect/implementation.md +37 -0
- package/dist/agent/artifacts/6-release-beta-11/brief.md +89 -0
- package/dist/agent/artifacts/6-release-beta-11/closure.md +83 -0
- package/dist/agent/artifacts/6-release-beta-11/task.md +65 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/acceptance.md +70 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-scores.md +24 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/1-vscode-specialist-scaffold-extension.md +99 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/2-vscode-specialist-update-manifest.md +101 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/3-vscode-specialist-webview-provider.md +96 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/4-vscode-specialist-activitybar-icon.md +95 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/agent-tasks/5-qa-agent-manual-verify.md +97 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/analysis.md +195 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/architect/review.md +124 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/changelog.md +9 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/metrics.md +43 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/plan.md +181 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/researcher/research.md +118 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/results-acceptance.md +146 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/task.md +119 -0
- package/dist/agent/artifacts/7-extension-vscode-webview/verification.md +81 -0
- package/dist/agent/artifacts/8-create-agentic-runtime-cli-first-as-the-single-execution-engine/task.md +126 -0
- package/dist/agent/artifacts/candidate/acceptance.md +23 -0
- package/dist/agent/artifacts/candidate/brief.md +39 -0
- package/dist/agent/artifacts/candidate/init.md +24 -0
- package/dist/agent/artifacts/candidate/task.md +5 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/acceptance.md +68 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/brief.md +100 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/closure.md +40 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/implementation.md +48 -0
- package/dist/agent/artifacts/task-20260128-reorganize-structure/task.md +66 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/acceptance.md +65 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-scores.md +26 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1-neo-agent-deps-chatkit.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/15-vscode-specialist-views-router.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/1b-vscode-specialist-review-deps.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/2-neo-agent-local-server.md +111 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/22-vscode-specialist-external-js.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/23-qa-agent-coverage-tests.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/24-vscode-specialist-class-refactor.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/25-vscode-specialist-external-html.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/26-vscode-specialist-template-js-html.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/27-vscode-specialist-fix-loading-setup.md +110 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/28-vscode-specialist-webview-debug-setup.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/29-vscode-specialist-webview-logging.md +109 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/3-neo-agent-webview-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/30-vscode-specialist-csp-source.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/31-vscode-specialist-logging-prefix.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/32-vscode-specialist-logging-visibility.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/33-vscode-specialist-lit-setup.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/34-vscode-specialist-core-lit-base.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/35-vscode-specialist-lit-decorators-ts.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/36-vscode-specialist-lit-module-start.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/37-vscode-specialist-lit-ready-state.md +86 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/4-qa-agent-verification.md +106 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/5-vscode-specialist-api-key-ui.md +107 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/6-vscode-specialist-refactor-protocol.md +108 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/7-qa-agent-unit-tests.md +104 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-10-vscode-specialist-api-key-handshake.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-11-vscode-specialist-api-key-button-style.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-12-vscode-specialist-key-gate-view.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-13-vscode-specialist-status-timeout.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-14-vscode-specialist-init-flow.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-16-vscode-specialist-view-context.md +87 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-17-vscode-specialist-clear-key-command.md +85 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-18-vscode-specialist-context-sync.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-19-vscode-specialist-setup-visible.md +88 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-20-vscode-specialist-loading-state.md +83 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-21-vscode-specialist-loading-label.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-8-vscode-specialist-api-key-detect.md +89 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/agent-tasks/fix-9-vscode-specialist-api-key-state.md +84 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/analysis.md +156 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/architect/review.md +141 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/changelog.md +30 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/metrics.md +43 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/plan.md +151 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/research.md +115 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/results-acceptance.md +171 -0
- package/dist/agent/artifacts/task-20260130-chatkit-mainview/verification.md +87 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/acceptance.md +64 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/architect/implementation.md +30 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/brief.md +102 -0
- package/dist/agent/artifacts/task-20260130-fix-mainview-provider/closure.md +95 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/acceptance.md +68 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/architect/implementation.md +33 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/brief.md +104 -0
- package/dist/agent/artifacts/task-20260130-rol-vscode/closure.md +100 -0
- package/dist/agent/artifacts/task-beta-release/acceptance.md +23 -0
- package/dist/agent/artifacts/task-beta-release/brief.md +39 -0
- package/dist/agent/artifacts/task-beta-release/closure.md +29 -0
- package/dist/agent/artifacts/task-beta-release/init.md +26 -0
- package/dist/agent/artifacts/task-beta-release/task.md +64 -0
- package/dist/agent/index.md +69 -30
- package/dist/agent/rules/constitution/agents-behavior.md +110 -158
- package/dist/agent/rules/constitution/backend.md +27 -0
- package/dist/agent/rules/constitution/background.md +30 -0
- package/dist/agent/rules/constitution/clean-code.md +5 -6
- package/dist/agent/rules/constitution/modular-architecture.md +66 -0
- package/dist/agent/rules/constitution/view.md +41 -0
- package/dist/agent/rules/constitution/vscode-extensions.md +32 -0
- package/dist/agent/rules/roles/architect.md +1 -2
- package/dist/agent/rules/roles/backend.md +21 -0
- package/dist/agent/rules/roles/background.md +20 -0
- package/dist/agent/rules/roles/devops.md +20 -0
- package/dist/agent/rules/roles/engine.md +26 -0
- package/dist/agent/rules/roles/neo.md +12 -13
- package/dist/agent/rules/roles/researcher.md +2 -2
- package/dist/agent/rules/roles/view.md +22 -0
- package/dist/agent/rules/roles/vscode-specialist.md +24 -0
- package/dist/agent/templates/acceptance.md +19 -25
- package/dist/agent/templates/agent-task.md +39 -39
- package/dist/agent/templates/analysis.md +92 -92
- package/dist/agent/templates/brief.md +96 -0
- package/dist/agent/templates/changelog.md +8 -8
- package/dist/agent/templates/closure.md +95 -0
- package/dist/agent/templates/coding/coding-integration-report.md +102 -0
- package/dist/agent/templates/coding/coding-layer-report.md +78 -0
- package/dist/agent/templates/init.md +2 -23
- package/dist/agent/templates/planning.md +73 -73
- package/dist/agent/templates/research.md +43 -43
- package/dist/agent/templates/results-acceptance.md +94 -94
- package/dist/agent/templates/review.md +59 -59
- package/dist/agent/templates/subtask-implementation.md +29 -29
- package/dist/agent/templates/supplemental-report.md +0 -6
- package/dist/agent/templates/task-metrics.md +14 -14
- package/dist/agent/templates/task.md +18 -33
- package/dist/agent/templates/todo-item.md +23 -23
- package/dist/agent/workflows/coding/coding-backend.md +147 -0
- package/dist/agent/workflows/coding/coding-background.md +149 -0
- package/dist/agent/workflows/coding/coding-integration.md +174 -0
- package/dist/agent/workflows/coding/coding-view.md +151 -0
- package/dist/agent/workflows/init.md +93 -133
- package/dist/agent/workflows/scaffold-module.md +38 -0
- package/dist/agent/workflows/tasklifecycle-long/phase-0-acceptance-criteria.md +124 -134
- package/dist/agent/workflows/tasklifecycle-long/phase-1-research.md +103 -97
- package/dist/agent/workflows/tasklifecycle-long/phase-2-analysis.md +107 -102
- package/dist/agent/workflows/tasklifecycle-long/phase-3-planning.md +125 -120
- package/dist/agent/workflows/tasklifecycle-long/phase-4-implementation.md +121 -125
- package/dist/agent/workflows/tasklifecycle-long/phase-5-verification.md +105 -101
- package/dist/agent/workflows/tasklifecycle-long/phase-6-results-acceptance.md +82 -78
- package/dist/agent/workflows/tasklifecycle-long/phase-7-evaluation.md +84 -75
- package/dist/agent/workflows/tasklifecycle-long/phase-8-commit-push.md +94 -89
- package/dist/agent/workflows/tasklifecycle-short/short-phase-1-brief.md +117 -0
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-implementation.md +114 -0
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-closure.md +111 -0
- package/dist/cli/commands/create.js +4 -29
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/fork.js +45 -0
- package/dist/cli/commands/fork.js.map +1 -0
- package/dist/cli/commands/init.js +4 -78
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/mcp.js +3 -17
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/scaffold.js +57 -0
- package/dist/cli/commands/scaffold.js.map +1 -0
- package/dist/cli/index.js +0 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/infrastructure/context/manager.js +0 -2
- package/dist/infrastructure/context/manager.js.map +1 -1
- package/dist/infrastructure/index.js +0 -5
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/runtime/engine/emitter.js +28 -0
- package/dist/runtime/engine/emitter.js.map +1 -0
- package/dist/runtime/engine/engine.js +128 -0
- package/dist/runtime/engine/engine.js.map +1 -0
- package/dist/runtime/engine/index.js +7 -0
- package/dist/runtime/engine/index.js.map +1 -0
- package/dist/runtime/engine/service.js +78 -0
- package/dist/runtime/engine/service.js.map +1 -0
- package/dist/runtime/engine/state-store.js +24 -0
- package/dist/runtime/engine/state-store.js.map +1 -0
- package/dist/runtime/{task-loader.js → engine/task-loader.js} +24 -5
- package/dist/runtime/engine/task-loader.js.map +1 -0
- package/dist/runtime/engine/workflow-loader.js +82 -0
- package/dist/runtime/engine/workflow-loader.js.map +1 -0
- package/dist/runtime/index.js +2 -4
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/mcp/index.js +2 -0
- package/dist/runtime/mcp/index.js.map +1 -0
- package/dist/runtime/mcp/server.js +249 -0
- package/dist/runtime/mcp/server.js.map +1 -0
- package/media/agent-chat.svg +20 -0
- package/media/codicons/codicon.css +698 -0
- package/media/codicons/codicon.ttf +0 -0
- package/media/providers/claude.png +0 -0
- package/media/providers/gemini.png +0 -0
- package/media/providers/openai.png +0 -0
- package/package.json +124 -56
- package/dist/agent/artifacts/candidate/index.md +0 -26
- package/dist/agent/artifacts/index.md +0 -25
- package/dist/agent/rules/constitution/index.md +0 -26
- package/dist/agent/rules/constitution/runtime-integration.md +0 -102
- package/dist/agent/rules/index.md +0 -70
- package/dist/agent/rules/roles/index.md +0 -44
- package/dist/agent/skills/index.md +0 -23
- package/dist/agent/skills/runtime-governance/SKILL.md +0 -62
- package/dist/agent/templates/analisis.md +0 -86
- package/dist/agent/templates/index.md +0 -43
- package/dist/agent/templates/plan.md +0 -49
- package/dist/agent/templates/qa-results.md +0 -70
- package/dist/agent/workflows/index.md +0 -30
- package/dist/agent/workflows/tasklifecycle-long/index.md +0 -172
- package/dist/agent/workflows/tasklifecycle-short/index.md +0 -77
- package/dist/agent/workflows/tasklifecycle-short/short-phase-1-analisis.md +0 -116
- package/dist/agent/workflows/tasklifecycle-short/short-phase-2-plan.md +0 -81
- package/dist/agent/workflows/tasklifecycle-short/short-phase-3-implementation.md +0 -115
- package/dist/agent/workflows/tasklifecycle-short/short-phase-4-qa-results.md +0 -84
- package/dist/cli/commands/bootstrap.js +0 -111
- package/dist/cli/commands/bootstrap.js.map +0 -1
- package/dist/cli/commands/register-mcp.js +0 -135
- package/dist/cli/commands/register-mcp.js.map +0 -1
- package/dist/infrastructure/context/index.js +0 -2
- package/dist/infrastructure/context/index.js.map +0 -1
- package/dist/infrastructure/logger/index.js +0 -41
- package/dist/infrastructure/logger/index.js.map +0 -1
- package/dist/infrastructure/mapping/index.js +0 -2
- package/dist/infrastructure/mapping/index.js.map +0 -1
- package/dist/infrastructure/migration/index.js +0 -4
- package/dist/infrastructure/migration/index.js.map +0 -1
- package/dist/infrastructure/utils/index.js +0 -2
- package/dist/infrastructure/utils/index.js.map +0 -1
- package/dist/mcp/emitter.js +0 -24
- package/dist/mcp/emitter.js.map +0 -1
- package/dist/mcp/handlers.js +0 -74
- package/dist/mcp/handlers.js.map +0 -1
- package/dist/mcp/index.js +0 -3
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/resources.js +0 -69
- package/dist/mcp/resources.js.map +0 -1
- package/dist/mcp/server.js +0 -94
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/tools.js +0 -189
- package/dist/mcp/tools.js.map +0 -1
- package/dist/runtime/frontmatter-sync.js +0 -100
- package/dist/runtime/frontmatter-sync.js.map +0 -1
- package/dist/runtime/reconcile.js +0 -37
- package/dist/runtime/reconcile.js.map +0 -1
- package/dist/runtime/runtime.js +0 -427
- package/dist/runtime/runtime.js.map +0 -1
- package/dist/runtime/task-loader.js.map +0 -1
- package/dist/runtime/task-resolver.js +0 -401
- package/dist/runtime/task-resolver.js.map +0 -1
- package/dist/runtime/write-guard.js +0 -200
- package/dist/runtime/write-guard.js.map +0 -1
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: workflow.coding.view
|
|
3
|
+
description: On-demand coding workflow for the View/UI layer. Invoked by architect-agent during Phase 4 implementation.
|
|
4
|
+
owner: view
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
severity: PERMANENT
|
|
7
|
+
trigger:
|
|
8
|
+
commands: ["coding-view"]
|
|
9
|
+
blocking: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# WORKFLOW: coding.view
|
|
13
|
+
|
|
14
|
+
## Input (REQUIRED)
|
|
15
|
+
- Agent task file assigned by architect:
|
|
16
|
+
- `.agent/artifacts/<taskId>-<taskTitle>/agent-tasks/<N>-view-<taskName>.md`
|
|
17
|
+
- Constitution loaded:
|
|
18
|
+
- `constitution.view` (MANDATORY)
|
|
19
|
+
- `constitution.clean_code` (MANDATORY)
|
|
20
|
+
- Role activated:
|
|
21
|
+
- `roles.view`
|
|
22
|
+
|
|
23
|
+
> [!IMPORTANT]
|
|
24
|
+
> **This is an on-demand workflow.** It is invoked by `architect-agent` during Phase 4 as part of the implementation plan. The architect defines the execution order of coding workflows.
|
|
25
|
+
|
|
26
|
+
## Output (REQUIRED)
|
|
27
|
+
- Implementation report using `templates.coding.layer_report`:
|
|
28
|
+
- Embedded in the agent task file under "Implementation Report"
|
|
29
|
+
- All code changes passing compilation
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Objective (ONLY)
|
|
34
|
+
- Implement the **view/UI layer** of the assigned task following `constitution.view`.
|
|
35
|
+
- Generate a detailed implementation report.
|
|
36
|
+
- Present to developer for Gate approval.
|
|
37
|
+
|
|
38
|
+
> This workflow **ONLY** implements UI components.
|
|
39
|
+
> This workflow **NEVER** contains business logic.
|
|
40
|
+
> This workflow **NEVER** uses Node.js APIs (fs, path, etc).
|
|
41
|
+
> This workflow **NEVER** uses `vscode.postMessage` directly (use Messaging wrapper).
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Mandatory Steps
|
|
46
|
+
|
|
47
|
+
### 0. Activate role
|
|
48
|
+
- Activate `roles.view` and use mandatory agent prefix in all messages.
|
|
49
|
+
|
|
50
|
+
### 1. Verify inputs
|
|
51
|
+
- Agent task file exists and has Input section completed by architect.
|
|
52
|
+
- Constitution `constitution.view` loaded.
|
|
53
|
+
- Constitution `constitution.clean_code` loaded.
|
|
54
|
+
- If missing → **FAIL**.
|
|
55
|
+
|
|
56
|
+
### 2. Analyze the task
|
|
57
|
+
- Read the agent task Input (objective, scope, dependencies).
|
|
58
|
+
- Complete the "Reasoning" section of the agent task:
|
|
59
|
+
- Analyze objective
|
|
60
|
+
- Consider options
|
|
61
|
+
- Document decision and justification
|
|
62
|
+
|
|
63
|
+
### 3. Implement
|
|
64
|
+
- Write code following `constitution.view`:
|
|
65
|
+
- **Framework**: Lit is mandatory. Use `@customElement`.
|
|
66
|
+
- **Structure**: Triad required: `index.ts` (logic), `html.ts` (template), `styles.ts` (css).
|
|
67
|
+
- **Styling**: Vanilla CSS in `styles.ts`. No external preprocessors.
|
|
68
|
+
- **Dumb components**: Rendering and interaction only, NO business logic.
|
|
69
|
+
- **Reactive**: Immediate UI updates on state change.
|
|
70
|
+
- **Communication**: Event Bus via `p2p`/`bus`, use `Messaging` wrapper.
|
|
71
|
+
- Write code following `constitution.clean_code`.
|
|
72
|
+
|
|
73
|
+
### 4. Self-validate
|
|
74
|
+
- Verify all constitution rules are satisfied:
|
|
75
|
+
- [ ] Uses Lit with `@customElement`
|
|
76
|
+
- [ ] Triad structure: `index.ts`, `html.ts`, `styles.ts`
|
|
77
|
+
- [ ] No business logic in components
|
|
78
|
+
- [ ] No Node.js API usage
|
|
79
|
+
- [ ] No direct `vscode.postMessage`
|
|
80
|
+
- [ ] Communication via Messaging wrapper
|
|
81
|
+
- [ ] Clean code principles applied
|
|
82
|
+
- Run compilation: `npm run compile`
|
|
83
|
+
- If compilation fails → fix before proceeding.
|
|
84
|
+
|
|
85
|
+
### 5. Generate implementation report
|
|
86
|
+
- Complete the "Implementation Report" section using `templates.coding.layer_report`:
|
|
87
|
+
- **Who**: Agent identity and role
|
|
88
|
+
- **How**: Technical details, specifications, diagrams if needed
|
|
89
|
+
- **Why**: Justification and reasoning
|
|
90
|
+
- **Results**: What was achieved, compilation status
|
|
91
|
+
- **E2E Test Indications**: Scenarios for e2e testing
|
|
92
|
+
|
|
93
|
+
### 6. Present to developer (Gate)
|
|
94
|
+
- Present completed task with report to developer.
|
|
95
|
+
- Request approval: **SI / NO**
|
|
96
|
+
|
|
97
|
+
### 7. Register Gate
|
|
98
|
+
```yaml
|
|
99
|
+
approval:
|
|
100
|
+
developer:
|
|
101
|
+
decision: SI | NO
|
|
102
|
+
date: <ISO-8601>
|
|
103
|
+
comments: <optional>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### 8. Evaluate Gate
|
|
107
|
+
- If `decision == SI` → go to **Step 9 (PASS)**.
|
|
108
|
+
- If `decision == NO`:
|
|
109
|
+
- Mark task as `failed`.
|
|
110
|
+
- Define corrective actions.
|
|
111
|
+
- **Do NOT advance** until resolved.
|
|
112
|
+
- Go to **Step 10 (FAIL)**.
|
|
113
|
+
|
|
114
|
+
### 9. PASS (only if Gate approved)
|
|
115
|
+
- Mark agent task as `completed`.
|
|
116
|
+
- Update agent task file:
|
|
117
|
+
```yaml
|
|
118
|
+
execution:
|
|
119
|
+
status: completed
|
|
120
|
+
completed_at: <ISO-8601>
|
|
121
|
+
```
|
|
122
|
+
- Update the coding layer report with final status.
|
|
123
|
+
- Return control to `architect-agent` for next workflow in the sequence.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## FAIL (MANDATORY)
|
|
128
|
+
|
|
129
|
+
### 10. Declare workflow as NOT completed
|
|
130
|
+
Cases:
|
|
131
|
+
- Missing inputs or constitution.
|
|
132
|
+
- Compilation failure not resolved.
|
|
133
|
+
- Constitution violation detected.
|
|
134
|
+
- Gate = NO without resolution.
|
|
135
|
+
|
|
136
|
+
Actions:
|
|
137
|
+
- Identify the failure point.
|
|
138
|
+
- Define corrective actions.
|
|
139
|
+
- Iterate until Gate PASS.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Gate (REQUIRED)
|
|
144
|
+
|
|
145
|
+
Requirements (all mandatory):
|
|
146
|
+
1. Code compiles without errors.
|
|
147
|
+
2. All `constitution.view` rules are satisfied.
|
|
148
|
+
3. All `constitution.clean_code` rules are satisfied.
|
|
149
|
+
4. Implementation report is complete (all 5 sections).
|
|
150
|
+
5. Developer Gate PASS (`decision == SI`).
|
|
151
|
+
6. Agent task file starts with view agent prefix.
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Mandatory setup workflow: loads base constitutions and defines the conversation language and Long/Short strategy."
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
---
|
|
2
6
|
id: workflow.init
|
|
3
7
|
owner: architect-agent
|
|
4
8
|
version: 4.0.0
|
|
5
9
|
severity: PERMANENT
|
|
6
|
-
description: "Workflow obligatorio de setup: carga constitutions base y define el idioma de conversación y la estrategia Long/Short."
|
|
7
10
|
trigger:
|
|
8
11
|
commands: ["init", "/init", "/agentic-init"]
|
|
9
12
|
blocking: true
|
|
@@ -12,150 +15,107 @@ blocking: true
|
|
|
12
15
|
# WORKFLOW: init
|
|
13
16
|
|
|
14
17
|
## Input (REQUIRED)
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
##
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- **
|
|
22
|
-
-
|
|
23
|
-
- **
|
|
24
|
-
|
|
25
|
-
##
|
|
26
|
-
**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
1. **
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
2. **
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
3. **
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
- `agent`: `architect-agent`
|
|
53
|
-
- **PROHIBIDO** usar:
|
|
54
|
-
- `.agent/artifacts/candidate/`
|
|
55
|
-
- `.agent/artifacts/candidate/init.md`
|
|
56
|
-
- El agente **DEBE** confirmar que ambas herramientas respondieron correctamente (`status: ok`).
|
|
57
|
-
- **PROHIBICIÓN ESTRICTA**: No se permite consolidar este paso con la creación de artefactos en una misma respuesta. El agente debe esperar la confirmación del sistema antes de proceder al paso 1.
|
|
58
|
-
- Si las herramientas MCP no están disponibles → ir a **Paso 9 (FAIL)**, a menos que el desarrollador autorice explícitamente el fallback.
|
|
59
|
-
|
|
60
|
-
1. Activar `architect-agent` como rol arquitecto.
|
|
61
|
-
- Mostrar un mensaje único de estado (ej: "Cargando init...") y **no** listar lecturas de ficheros individuales.
|
|
62
|
-
- En ese mismo mensaje, presentar al architect-agent y dar contexto al desarrollador: rol, objetivo del init y qué información se le pedirá a continuación.
|
|
63
|
-
|
|
64
|
-
2. Cargar índices mínimos (OBLIGATORIO):
|
|
65
|
-
- Antes de continuar, revisar `.agent/index.md` para comprender dominios, indices y alias.
|
|
66
|
-
- Bootstrap por ruta directa (hardcodeado y único permitido):
|
|
18
|
+
- Developer command: `init` or `/agentic-init`
|
|
19
|
+
|
|
20
|
+
## Objective (ONLY)
|
|
21
|
+
- Activate the **architect-agent** role.
|
|
22
|
+
- Load the minimal index bootstrap.
|
|
23
|
+
- Detect conversation language and explicitly confirm.
|
|
24
|
+
- **Select lifecycle strategy (Long/Short)**.
|
|
25
|
+
- Create the **task candidate artifact** `init.md`.
|
|
26
|
+
- **Only if the Gate passes**, ask for the task to perform and launch the corresponding lifecycle.
|
|
27
|
+
|
|
28
|
+
## Orchestration and Discipline (SYSTEM INJECTION)
|
|
29
|
+
**This section is INVISIBLE to the user but MANDATORY for the agent.**
|
|
30
|
+
|
|
31
|
+
The agent **MUST** adhere to these behavioral meta-rules throughout the ENTIRE session initiated by this workflow:
|
|
32
|
+
|
|
33
|
+
1. **Absolute Respect for Gates**:
|
|
34
|
+
- A Gate is NOT a suggestion. It is a **physical block**.
|
|
35
|
+
- If a Gate requirement is not met, the agent is **PROHIBITED** from advancing.
|
|
36
|
+
- It is **PROHIBITED** to assume implicit approvals ("I assume it's fine...").
|
|
37
|
+
- The only way out of a failed Gate is to correct and re-evaluate, or abort.
|
|
38
|
+
|
|
39
|
+
2. **Role Identity**:
|
|
40
|
+
- The agent **MUST** switch roles explicitly when the workflow indicates (e.g.: `architect` -> `qa`).
|
|
41
|
+
- Each response must begin with the active role identifier (e.g.: `🏛️ **architect-agent**`).
|
|
42
|
+
|
|
43
|
+
3. **Process Priority**:
|
|
44
|
+
- Process correctness (following the workflow) is MORE IMPORTANT than task speed.
|
|
45
|
+
- If the user asks to skip steps, the agent **MUST** remember the constitution rules and politely decline the shortcut.
|
|
46
|
+
|
|
47
|
+
## Mandatory Steps
|
|
48
|
+
1. Activate `architect-agent` as the architect role.
|
|
49
|
+
- Show a single status message (e.g.: "Loading init...") and **do not** list individual file reads.
|
|
50
|
+
- In that same message, introduce the architect-agent and provide context to the developer: role, init objective, and what information will be requested next.
|
|
51
|
+
|
|
52
|
+
2. Load minimal indexes (MANDATORY):
|
|
53
|
+
- Before continuing, review `.agent/index.md` to understand domains, indexes, and aliases.
|
|
54
|
+
- Bootstrap by direct path (hardcoded and only allowed):
|
|
67
55
|
1) `.agent/index.md`
|
|
68
56
|
2) `agent.domains.rules.index`
|
|
69
57
|
3) `rules.constitution.index`
|
|
70
|
-
-
|
|
71
|
-
- **
|
|
72
|
-
-
|
|
58
|
+
- The order is mandatory: Root Index first, then Rules Index, then Constitution Index.
|
|
59
|
+
- **PROHIBITED** to load `templates` or `artifacts` indexes during `init`.
|
|
60
|
+
- If any fails → FAIL.
|
|
73
61
|
|
|
74
|
-
3.
|
|
62
|
+
3. Load constitutions into context (in order):
|
|
75
63
|
1) `constitution.clean_code`
|
|
76
64
|
2) `constitution.agents_behavior`
|
|
77
|
-
- **
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
4. Detectar idioma preferido y pedir confirmación explícita.
|
|
81
|
-
- Si no hay confirmación → ir a **Paso 9 (FAIL)**.
|
|
65
|
+
- **PROHIBITED** to load templates or artifacts in this step.
|
|
66
|
+
- If any fails → FAIL.
|
|
82
67
|
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
- "Por favor, selecciona la estrategia: **Long** (9 fases completas) o **Short** (3 fases simplificadas)."
|
|
86
|
-
- Si no hay selección → ir a **Paso 9 (FAIL)**.
|
|
87
|
-
- Registrar la selección en el init candidate `<timestamp>-init.md` **vía runtime**.
|
|
68
|
+
4. Detect preferred language and request explicit confirmation.
|
|
69
|
+
- If no confirmation → go to **Step 9 (FAIL)**.
|
|
88
70
|
|
|
89
|
-
5.
|
|
90
|
-
-
|
|
91
|
-
|
|
71
|
+
5. **Select lifecycle strategy (MANDATORY)**
|
|
72
|
+
- Ask the developer:
|
|
73
|
+
- "Please select the strategy: **Long** (9 complete phases) or **Short** (3 simplified phases)."
|
|
74
|
+
- If no selection → go to **Step 9 (FAIL)**.
|
|
75
|
+
- Record the selection in the `init.md` artifact.
|
|
92
76
|
|
|
93
|
-
6. **
|
|
94
|
-
-
|
|
95
|
-
- El artefacto **DEBE** crearse usando **exactamente** la estructura definida en:
|
|
77
|
+
6. **Create the `init.md` artifact (MANDATORY)**
|
|
78
|
+
- The artifact **MUST** be created using **exactly** the structure defined in:
|
|
96
79
|
- `templates.init`
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- **
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
10. FAIL (obligatorio)
|
|
122
|
-
- Declarar `init` como **NO completado**.
|
|
123
|
-
- Explicar exactamente qué requisito falló.
|
|
124
|
-
- Pedir la acción mínima necesaria.
|
|
125
|
-
- **No preguntar por la tarea**.
|
|
126
|
-
- Terminar el workflow en estado bloqueado.
|
|
127
|
-
|
|
128
|
-
11. PASS (solo si Gate PASS)
|
|
129
|
-
- Preguntar por la tarea:
|
|
130
|
-
- "¿Qué tarea quieres iniciar ahora? Dame un título corto y el objetivo."
|
|
131
|
-
- Una vez recibidos título y objetivo:
|
|
132
|
-
- Si `strategy == "long"` → lanzar `workflows.tasklifecycle-long`
|
|
133
|
-
- Si `strategy == "short"` → lanzar `workflows.tasklifecycle-short`
|
|
80
|
+
- All mandatory template fields **MUST** be completed.
|
|
81
|
+
- Include the `strategy: long | short` field.
|
|
82
|
+
- Modifying, omitting, or reinterpreting the template structure is not allowed.
|
|
83
|
+
|
|
84
|
+
7. Write the file to:
|
|
85
|
+
- `artifacts.candidate.init`
|
|
86
|
+
|
|
87
|
+
8. Evaluate Gate.
|
|
88
|
+
- If Gate FAIL → go to **Step 9 (FAIL)**.
|
|
89
|
+
- If Gate PASS → continue.
|
|
90
|
+
|
|
91
|
+
9. FAIL (mandatory)
|
|
92
|
+
- Declare `init` as **NOT completed**.
|
|
93
|
+
- Explain exactly which requirement failed.
|
|
94
|
+
- Request the minimum necessary action.
|
|
95
|
+
- **Do not ask for the task**.
|
|
96
|
+
- Terminate the workflow in blocked state.
|
|
97
|
+
|
|
98
|
+
10. PASS (only if Gate PASS)
|
|
99
|
+
- Ask for the task:
|
|
100
|
+
- "What task do you want to start now? Give me a short title and the objective."
|
|
101
|
+
- Once title and objective are received:
|
|
102
|
+
- If `strategy == "long"` → launch `workflows.tasklifecycle-long`
|
|
103
|
+
- If `strategy == "short"` → launch `workflows.tasklifecycle-short`
|
|
134
104
|
|
|
135
105
|
## Output (REQUIRED)
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
- Index actualizado:
|
|
139
|
-
- `artifacts.candidate.index`
|
|
106
|
+
- Artifact created:
|
|
107
|
+
- `artifacts.candidate.init`
|
|
140
108
|
|
|
141
109
|
## Gate (REQUIRED)
|
|
142
|
-
|
|
143
|
-
1)
|
|
144
|
-
-
|
|
145
|
-
2)
|
|
146
|
-
- `language.value`
|
|
110
|
+
Requirements (all mandatory):
|
|
111
|
+
1) The artifact exists:
|
|
112
|
+
- `artifacts.candidate.init`
|
|
113
|
+
2) In its YAML:
|
|
114
|
+
- `language.value` not empty
|
|
147
115
|
- `language.confirmed == true`
|
|
148
|
-
- `strategy`
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
6) **Trazabilidad completa**:
|
|
155
|
-
- El agente ha verificado conectividad MCP (`runtime_chat`).
|
|
156
|
-
- El agente ha llamado `runtime_run` para iniciar el workflow.
|
|
157
|
-
- El agente ha llamado `runtime_validate_gate` antes de evaluar el Gate.
|
|
158
|
-
7) El init candidate está indexado en `artifacts.candidate.index`.
|
|
159
|
-
8) No se cargaron índices fuera del set permitido (solo `.agent/index.md`, `agent.domains.rules.index`, `rules.constitution.index`).
|
|
160
|
-
9) El Root Index `.agent/index.md` fue cargado antes de cualquier otro índice.
|
|
161
|
-
10) **Auditoría de logs**: Los pasos del workflow deben estar registrados en el buffer de logs del runtime.
|
|
116
|
+
- `strategy` is "long" or "short"
|
|
117
|
+
3) The artifact follows the official template.
|
|
118
|
+
4) Language defined and confirmed.
|
|
119
|
+
5) Strategy selected.
|
|
120
|
+
6) No indexes were loaded outside the allowed set (only `.agent/index.md`, `agent.domains.rules.index`, `rules.constitution.index`).
|
|
121
|
+
7) The Root Index `.agent/index.md` was loaded before any other index.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Scaffold a new Agentic Module using the scaffolding skill.
|
|
3
|
+
trigger: /scaffold-module <module-name>
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Workflow: Scaffold Module
|
|
7
|
+
|
|
8
|
+
## Input
|
|
9
|
+
- Module Name (from argument or prompt).
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. **Invoke Skill**
|
|
14
|
+
- Use `run_command` to execute the Yeoman generator from `src/cli/scaffolding`.
|
|
15
|
+
"CommandLine": "npx yo ./src/cli/scaffolding/generators/module {{ module_name }} --force"
|
|
16
|
+
|
|
17
|
+
2. **Validation**
|
|
18
|
+
- Verify creation of:
|
|
19
|
+
- `src/extension/modules/<module-name>/index.ts`
|
|
20
|
+
- `src/extension/modules/<module-name>/view/index.ts`
|
|
21
|
+
- `src/extension/modules/<module-name>/view/templates/main/html.ts`
|
|
22
|
+
- `src/extension/modules/<module-name>/view/templates/main/css.ts`
|
|
23
|
+
- `src/extension/modules/<module-name>/background/index.ts`
|
|
24
|
+
- `src/extension/modules/<module-name>/backend/index.ts`
|
|
25
|
+
|
|
26
|
+
3. **TypeScript Compilation**
|
|
27
|
+
- Run `npm run compile` to verify no TypeScript errors.
|
|
28
|
+
- **CRITICAL**: Module MUST compile without errors.
|
|
29
|
+
- If compilation fails, fix errors before proceeding.
|
|
30
|
+
|
|
31
|
+
4. **ESLint Validation**
|
|
32
|
+
- Run `npm run lint` (or equivalent) to verify no linting errors.
|
|
33
|
+
- **CRITICAL**: Module MUST pass linting.
|
|
34
|
+
- If linting fails, fix errors before proceeding.
|
|
35
|
+
|
|
36
|
+
5. **Report**
|
|
37
|
+
- Confirm successful generation and validation to the user.
|
|
38
|
+
- Report any errors encountered during validation.
|